@magmamath/students-features 0.9.14-rc.6 → 0.9.92

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 (292) 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/types/model.types.js.map +1 -1
  8. package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js +2 -3
  9. package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
  10. package/dist/commonjs/features/feedback/model/model.js.map +1 -1
  11. package/dist/commonjs/features/feedback/model/sockets.js +5 -8
  12. package/dist/commonjs/features/feedback/model/sockets.js.map +1 -1
  13. package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +2 -2
  14. package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
  15. package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js +2 -2
  16. package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
  17. package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js +1 -5
  18. package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
  19. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +2 -2
  20. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.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} +11 -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/{MainLayout/constants.js → constants.js} +1 -1
  30. package/dist/commonjs/features/keyboard/components/constants.js.map +1 -0
  31. package/dist/commonjs/features/keyboard/constants/constants.js +2 -3
  32. package/dist/commonjs/features/keyboard/constants/constants.js.map +1 -1
  33. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js +0 -20
  34. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  35. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +0 -7
  36. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  37. package/dist/commonjs/features/keyboard/helpers.js +0 -16
  38. package/dist/commonjs/features/keyboard/helpers.js.map +1 -1
  39. package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js +29 -2
  40. package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
  41. package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js +0 -27
  42. package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
  43. package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js +0 -1
  44. package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js.map +1 -1
  45. package/dist/commonjs/lib/helpers/helpers.js +5 -28
  46. package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
  47. package/dist/commonjs/shared/translation/constants.js +1 -3
  48. package/dist/commonjs/shared/translation/constants.js.map +1 -1
  49. package/dist/commonjs/shared/translation/localization/ca.json +5 -5
  50. package/dist/commonjs/shared/translation/localization/en.json +5 -5
  51. package/dist/commonjs/shared/translation/localization/gb.json +5 -5
  52. package/dist/commonjs/shared/translation/localization/sct.json +5 -5
  53. package/dist/commonjs/shared/translation/localization/sw.json +5 -5
  54. package/dist/commonjs/shared/translation/types.js +0 -1
  55. package/dist/commonjs/shared/translation/types.js.map +1 -1
  56. package/dist/module/features/celebrations/helpers.js +1 -4
  57. package/dist/module/features/celebrations/helpers.js.map +1 -1
  58. package/dist/module/features/chatbot/components/Chatbot.js +2 -2
  59. package/dist/module/features/chatbot/components/Chatbot.js.map +1 -1
  60. package/dist/module/features/chatbot/model/ChatBotModel.js +6 -8
  61. package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
  62. package/dist/module/features/chatbot/types/model.types.js.map +1 -1
  63. package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js +2 -3
  64. package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
  65. package/dist/module/features/feedback/model/model.js.map +1 -1
  66. package/dist/module/features/feedback/model/sockets.js +5 -8
  67. package/dist/module/features/feedback/model/sockets.js.map +1 -1
  68. package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +1 -1
  69. package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
  70. package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js +2 -2
  71. package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
  72. package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js +0 -4
  73. package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
  74. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +1 -1
  75. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
  76. package/dist/module/features/keyboard/components/Keyboard.js +4 -6
  77. package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
  78. package/dist/module/features/keyboard/components/KeysList/KeysList.js.map +1 -1
  79. package/dist/module/features/keyboard/components/{MainLayout/MainLayout.js → MainLayout.js} +12 -10
  80. package/dist/module/features/keyboard/components/MainLayout.js.map +1 -0
  81. package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +2 -3
  82. package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
  83. package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js +1 -2
  84. package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js.map +1 -1
  85. package/dist/module/features/keyboard/components/{MainLayout/constants.js → constants.js} +1 -1
  86. package/dist/module/features/keyboard/components/constants.js.map +1 -0
  87. package/dist/module/features/keyboard/constants/constants.js +1 -2
  88. package/dist/module/features/keyboard/constants/constants.js.map +1 -1
  89. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js +1 -21
  90. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  91. package/dist/module/features/keyboard/constants/keyboardLayouts.js +0 -6
  92. package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  93. package/dist/module/features/keyboard/helpers.js +0 -13
  94. package/dist/module/features/keyboard/helpers.js.map +1 -1
  95. package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js +29 -2
  96. package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
  97. package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js +0 -27
  98. package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
  99. package/dist/module/features/keyboard/types/keyboardGroupIds.js +0 -1
  100. package/dist/module/features/keyboard/types/keyboardGroupIds.js.map +1 -1
  101. package/dist/module/lib/helpers/helpers.js +5 -28
  102. package/dist/module/lib/helpers/helpers.js.map +1 -1
  103. package/dist/module/shared/translation/constants.js +1 -3
  104. package/dist/module/shared/translation/constants.js.map +1 -1
  105. package/dist/module/shared/translation/localization/ca.json +5 -5
  106. package/dist/module/shared/translation/localization/en.json +5 -5
  107. package/dist/module/shared/translation/localization/gb.json +5 -5
  108. package/dist/module/shared/translation/localization/sct.json +5 -5
  109. package/dist/module/shared/translation/localization/sw.json +5 -5
  110. package/dist/module/shared/translation/types.js +0 -1
  111. package/dist/module/shared/translation/types.js.map +1 -1
  112. package/dist/typescript/commonjs/features/celebrations/helpers.d.ts.map +1 -1
  113. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts +7 -8
  114. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  115. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +0 -3
  116. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
  117. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts +1 -3
  118. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
  119. package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
  120. package/dist/typescript/commonjs/features/feedback/model/model.d.ts +1 -4
  121. package/dist/typescript/commonjs/features/feedback/model/model.d.ts.map +1 -1
  122. package/dist/typescript/commonjs/features/feedback/model/sockets.d.ts.map +1 -1
  123. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
  124. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +0 -1
  125. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
  126. package/dist/typescript/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts.map +1 -1
  127. package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts +2 -3
  128. package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts.map +1 -1
  129. package/dist/typescript/commonjs/features/keyboard/components/{MainLayout/MainLayout.d.ts → MainLayout.d.ts} +1 -1
  130. package/dist/typescript/commonjs/features/keyboard/components/MainLayout.d.ts.map +1 -0
  131. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +1 -5
  132. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
  133. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +1 -1
  134. package/dist/typescript/commonjs/features/keyboard/components/constants.d.ts.map +1 -0
  135. package/dist/typescript/commonjs/features/keyboard/constants/constants.d.ts +1 -2
  136. package/dist/typescript/commonjs/features/keyboard/constants/constants.d.ts.map +1 -1
  137. package/dist/typescript/commonjs/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  138. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +0 -1
  139. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  140. package/dist/typescript/commonjs/features/keyboard/helpers.d.ts +0 -2
  141. package/dist/typescript/commonjs/features/keyboard/helpers.d.ts.map +1 -1
  142. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +18 -0
  143. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +1 -1
  144. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +0 -18
  145. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
  146. package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts +0 -1
  147. package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
  148. package/dist/typescript/commonjs/lib/helpers/helpers.d.ts.map +1 -1
  149. package/dist/typescript/commonjs/shared/translation/constants.d.ts +0 -42
  150. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  151. package/dist/typescript/commonjs/shared/translation/types.d.ts +1 -2
  152. package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
  153. package/dist/typescript/module/features/celebrations/helpers.d.ts.map +1 -1
  154. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts +7 -8
  155. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  156. package/dist/typescript/module/features/chatbot/types/api.types.d.ts +0 -3
  157. package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
  158. package/dist/typescript/module/features/chatbot/types/model.types.d.ts +1 -3
  159. package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
  160. package/dist/typescript/module/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
  161. package/dist/typescript/module/features/feedback/model/model.d.ts +1 -4
  162. package/dist/typescript/module/features/feedback/model/model.d.ts.map +1 -1
  163. package/dist/typescript/module/features/feedback/model/sockets.d.ts.map +1 -1
  164. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
  165. package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +0 -1
  166. package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
  167. package/dist/typescript/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts.map +1 -1
  168. package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts +2 -3
  169. package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts.map +1 -1
  170. package/dist/typescript/module/features/keyboard/components/{MainLayout/MainLayout.d.ts → MainLayout.d.ts} +1 -1
  171. package/dist/typescript/module/features/keyboard/components/MainLayout.d.ts.map +1 -0
  172. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +1 -5
  173. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
  174. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +1 -1
  175. package/dist/typescript/module/features/keyboard/components/constants.d.ts.map +1 -0
  176. package/dist/typescript/module/features/keyboard/constants/constants.d.ts +1 -2
  177. package/dist/typescript/module/features/keyboard/constants/constants.d.ts.map +1 -1
  178. package/dist/typescript/module/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  179. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +0 -1
  180. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  181. package/dist/typescript/module/features/keyboard/helpers.d.ts +0 -2
  182. package/dist/typescript/module/features/keyboard/helpers.d.ts.map +1 -1
  183. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +18 -0
  184. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +1 -1
  185. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +0 -18
  186. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
  187. package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts +0 -1
  188. package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
  189. package/dist/typescript/module/lib/helpers/helpers.d.ts.map +1 -1
  190. package/dist/typescript/module/shared/translation/constants.d.ts +0 -42
  191. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  192. package/dist/typescript/module/shared/translation/types.d.ts +1 -2
  193. package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
  194. package/package.json +1 -1
  195. package/src/features/celebrations/helpers.ts +33 -35
  196. package/src/features/chatbot/components/Chatbot.tsx +2 -2
  197. package/src/features/chatbot/model/ChatBotModel.ts +5 -10
  198. package/src/features/chatbot/types/api.types.ts +0 -3
  199. package/src/features/chatbot/types/model.types.ts +1 -3
  200. package/src/features/endOfAssignment/ui/PracticeButtonGroup.tsx +3 -4
  201. package/src/features/feedback/model/model.ts +1 -4
  202. package/src/features/feedback/model/sockets.ts +6 -8
  203. package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +1 -2
  204. package/src/features/keyboard/components/BasicLayout/BasicLayout.tsx +2 -2
  205. package/src/features/keyboard/components/BasicLayout/keyboardGroups.ts +0 -4
  206. package/src/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.tsx +1 -2
  207. package/src/features/keyboard/components/Keyboard.tsx +7 -19
  208. package/src/features/keyboard/components/KeysList/KeysList.tsx +1 -1
  209. package/src/features/keyboard/components/{MainLayout/MainLayout.tsx → MainLayout.tsx} +12 -8
  210. package/src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx +2 -7
  211. package/src/features/keyboard/components/UnderlinedLayout/keyboardGroups.ts +3 -5
  212. package/src/features/keyboard/components/{MainLayout/constants.ts → constants.ts} +1 -1
  213. package/src/features/keyboard/constants/constants.ts +1 -3
  214. package/src/features/keyboard/constants/keyboardGroupsByLocale.ts +0 -21
  215. package/src/features/keyboard/constants/keyboardLayouts.ts +0 -11
  216. package/src/features/keyboard/helpers.ts +0 -16
  217. package/src/features/keyboard/types/MathKeysGroups/basicOperators.tsx +23 -2
  218. package/src/features/keyboard/types/MathKeysGroups/specialOperators.tsx +0 -21
  219. package/src/features/keyboard/types/keyboardGroupIds.ts +0 -1
  220. package/src/lib/helpers/helpers.ts +8 -23
  221. package/src/shared/translation/constants.ts +0 -2
  222. package/src/shared/translation/localization/ca.json +5 -5
  223. package/src/shared/translation/localization/en.json +5 -5
  224. package/src/shared/translation/localization/gb.json +5 -5
  225. package/src/shared/translation/localization/sct.json +5 -5
  226. package/src/shared/translation/localization/sw.json +5 -5
  227. package/src/shared/translation/types.ts +0 -4
  228. package/.editorconfig +0 -15
  229. package/.eslintignore +0 -2
  230. package/.eslintrc +0 -22
  231. package/.gitattributes +0 -3
  232. package/.github/actions/setup/action.yml +0 -37
  233. package/.github/workflows/ci.yml +0 -73
  234. package/.gitignore +0 -84
  235. package/.idea/.gitignore +0 -8
  236. package/.idea/codeStyles/Project.xml +0 -62
  237. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  238. package/.idea/copilot.data.migration.agent.xml +0 -6
  239. package/.idea/copilot.data.migration.ask.xml +0 -6
  240. package/.idea/copilot.data.migration.ask2agent.xml +0 -6
  241. package/.idea/copilot.data.migration.edit.xml +0 -6
  242. package/.idea/inspectionProfiles/Project_Default.xml +0 -8
  243. package/.idea/jsLinters/eslint.xml +0 -6
  244. package/.idea/modules.xml +0 -8
  245. package/.idea/prettier.xml +0 -7
  246. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025,_13_10_[Changes]/shelved.patch +0 -18
  247. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025,_13_11_[Changes]/shelved.patch +0 -19
  248. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025__13_10__Changes_.xml +0 -4
  249. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025__13_11__Changes_.xml +0 -4
  250. package/.idea/students-features.iml +0 -12
  251. package/.idea/vcs.xml +0 -6
  252. package/.idea/workspace.xml +0 -648
  253. package/.nvmrc +0 -1
  254. package/.prettierrc +0 -11
  255. package/.release-it.json +0 -17
  256. package/.watchmanconfig +0 -1
  257. package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +0 -541
  258. package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +0 -28
  259. package/.yarn/releases/yarn-3.6.1.cjs +0 -874
  260. package/babel.config.js +0 -5
  261. package/bob.config.js +0 -25
  262. package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js.map +0 -1
  263. package/dist/commonjs/features/keyboard/components/MainLayout/constants.js.map +0 -1
  264. package/dist/commonjs/shared/translation/localization/de.json +0 -42
  265. package/dist/module/features/keyboard/components/MainLayout/MainLayout.js.map +0 -1
  266. package/dist/module/features/keyboard/components/MainLayout/constants.js.map +0 -1
  267. package/dist/module/shared/translation/localization/de.json +0 -42
  268. package/dist/typescript/commonjs/features/keyboard/components/MainLayout/MainLayout.d.ts.map +0 -1
  269. package/dist/typescript/commonjs/features/keyboard/components/MainLayout/constants.d.ts.map +0 -1
  270. package/dist/typescript/module/features/keyboard/components/MainLayout/MainLayout.d.ts.map +0 -1
  271. package/dist/typescript/module/features/keyboard/components/MainLayout/constants.d.ts.map +0 -1
  272. package/example/.expo/README.md +0 -8
  273. package/example/.expo/devices.json +0 -3
  274. package/example/.expo/web/cache/production/images/favicon/favicon-24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb-contain-transparent/favicon-48.png +0 -0
  275. package/example/app.json +0 -30
  276. package/example/assets/adaptive-icon.png +0 -0
  277. package/example/assets/favicon.png +0 -0
  278. package/example/assets/icon.png +0 -0
  279. package/example/assets/splash-icon.png +0 -0
  280. package/example/babel.config.js +0 -28
  281. package/example/index.js +0 -8
  282. package/example/metro.config.js +0 -18
  283. package/example/package.json +0 -25
  284. package/example/src/App.tsx +0 -8
  285. package/example/tsconfig.json +0 -6
  286. package/example/yarn.lock +0 -6552
  287. package/src/shared/translation/localization/de.json +0 -42
  288. package/tsconfig.build.json +0 -4
  289. package/tsconfig.json +0 -34
  290. package/yarn.lock +0 -8623
  291. /package/dist/typescript/commonjs/features/keyboard/components/{MainLayout/constants.d.ts → constants.d.ts} +0 -0
  292. /package/dist/typescript/module/features/keyboard/components/{MainLayout/constants.d.ts → constants.d.ts} +0 -0
@@ -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",
@@ -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",
@@ -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",
@@ -3,15 +3,15 @@
3
3
  "teacherFeedback.noComments": "Inga kommentarer än",
4
4
  "time.justNow": "alldeles nyss",
5
5
  "time.minuteAgo": "minut sedan",
6
- "time.minutesAgo": "{{count}} minuter sedan",
6
+ "time.minutesAgo": "minuter sedan",
7
7
  "time.hourAgo": "timme sedan",
8
- "time.hoursAgo": "{{count}} timmar sedan",
8
+ "time.hoursAgo": "timmar sedan",
9
9
  "time.dayAgo": "dag sedan",
10
- "time.daysAgo": "{{count}} dagar sedan",
10
+ "time.daysAgo": "dagar sedan",
11
11
  "time.monthAgo": "månad sedan",
12
- "time.monthsAgo": "{{count}} månader sedan",
12
+ "time.monthsAgo": "månader sedan",
13
13
  "time.yearAgo": "år sedan",
14
- "time.yearsAgo": "{{count}} år sedan",
14
+ "time.yearsAgo": "år sedan",
15
15
  "chat": {
16
16
  "anotherHint": "Ge mig en till ledtråd",
17
17
  "giveHint": "Ge mig en ledtråd",
@@ -3,8 +3,6 @@ import swTranslations from './localization/sw.json'
3
3
  import gbTranslations from './localization/gb.json'
4
4
  import caTranslations from './localization/ca.json'
5
5
  import sctTranslations from './localization/sct.json'
6
- import deTranslations from "./localization/de.json"
7
-
8
6
  import { RetrieveKeys } from '../../lib/types/keys'
9
7
  import { ISValidTranslation } from './validation.types'
10
8
 
@@ -18,7 +16,6 @@ export enum Locale {
18
16
  GB = 'en-GB',
19
17
  CA = 'en-CA',
20
18
  SCT = 'en-SCT',
21
- DE = 'de-DE'
22
19
  }
23
20
 
24
21
  // Validation of translations, do not remove
@@ -27,4 +24,3 @@ type ISValidSW = ISValidTranslation<typeof swTranslations>
27
24
  type ISValidGB = ISValidTranslation<typeof gbTranslations>
28
25
  type ISValidCA = ISValidTranslation<typeof caTranslations>
29
26
  type ISValidSCT = ISValidTranslation<typeof sctTranslations>
30
- type ISValidDE = ISValidTranslation<typeof deTranslations>
package/.editorconfig DELETED
@@ -1,15 +0,0 @@
1
- # EditorConfig helps developers define and maintain consistent
2
- # coding styles between different editors and IDEs
3
- # editorconfig.org
4
-
5
- root = true
6
-
7
- [*]
8
-
9
- indent_style = space
10
- indent_size = 2
11
-
12
- end_of_line = lf
13
- charset = utf-8
14
- trim_trailing_whitespace = true
15
- insert_final_newline = true
package/.eslintignore DELETED
@@ -1,2 +0,0 @@
1
- node_modules/
2
- ./lib/
package/.eslintrc DELETED
@@ -1,22 +0,0 @@
1
- {
2
- "env": {
3
- "browser": true,
4
- "es2020": true
5
- },
6
- "extends": [
7
- "eslint:recommended",
8
- "plugin:@typescript-eslint/recommended",
9
- "plugin:react-hooks/recommended",
10
- "plugin:storybook/recommended",
11
- "prettier"
12
- ],
13
- "parser": "@typescript-eslint/parser",
14
- "parserOptions": {
15
- "ecmaVersion": "latest",
16
- "sourceType": "module"
17
- },
18
- "plugins": ["react-refresh"],
19
- "rules": {
20
- "react-refresh/only-export-components": "warn"
21
- }
22
- }
package/.gitattributes DELETED
@@ -1,3 +0,0 @@
1
- *.pbxproj -text
2
- # specific for windows script files
3
- *.bat text eol=crlf
@@ -1,37 +0,0 @@
1
- name: Setup
2
- description: Setup Node.js and install dependencies
3
-
4
- inputs:
5
- npmrc-auth-token:
6
- required: true
7
-
8
- runs:
9
- using: composite
10
- steps:
11
- - name: Setup Node.js
12
- uses: actions/setup-node@v3
13
- with:
14
- node-version-file: .nvmrc
15
-
16
- - name: Create .npmrc
17
- shell: bash
18
- run: |
19
- echo "registry=https://registry.npmjs.org" > .npmrc
20
- echo "//registry.npmjs.org/:_authToken=${{ inputs.npmrc-auth-token }}" >> .npmrc
21
-
22
- - name: Cache dependencies
23
- id: yarn-cache
24
- uses: actions/cache@v3
25
- with:
26
- path: |
27
- **/node_modules
28
- .yarn/install-state.gz
29
- key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
30
- restore-keys: |
31
- ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
32
- ${{ runner.os }}-yarn-
33
-
34
- - name: Install dependencies
35
- if: steps.yarn-cache.outputs.cache-hit != 'true'
36
- run: yarn install --immutable
37
- shell: bash
@@ -1,73 +0,0 @@
1
- name: CI
2
-
3
- on:
4
- push:
5
- branches:
6
- - main
7
- pull_request:
8
- branches:
9
- - main
10
- merge_group:
11
- types:
12
- - checks_requested
13
-
14
- jobs:
15
- lint:
16
- runs-on: ubuntu-latest
17
- steps:
18
- - name: Checkout
19
- uses: actions/checkout@v3
20
-
21
- - name: Setup
22
- uses: ./.github/actions/setup
23
- with:
24
- npmrc-auth-token: ${{ secrets.MAGMA_NPMRC_TOKEN }}
25
-
26
- - name: Lint files
27
- run: yarn lint
28
-
29
- - name: Typecheck files
30
- run: yarn typecheck
31
-
32
- test:
33
- runs-on: ubuntu-latest
34
- steps:
35
- - name: Checkout
36
- uses: actions/checkout@v3
37
-
38
- - name: Setup
39
- uses: ./.github/actions/setup
40
- with:
41
- npmrc-auth-token: ${{ secrets.MAGMA_NPMRC_TOKEN }}
42
-
43
- - name: Run unit tests
44
- run: yarn test --maxWorkers=2 --coverage
45
-
46
- build-library:
47
- runs-on: ubuntu-latest
48
- steps:
49
- - name: Checkout
50
- uses: actions/checkout@v3
51
-
52
- - name: Setup
53
- uses: ./.github/actions/setup
54
- with:
55
- npmrc-auth-token: ${{ secrets.MAGMA_NPMRC_TOKEN }}
56
-
57
- - name: Build package
58
- run: yarn prepare
59
-
60
- build-web:
61
- runs-on: ubuntu-latest
62
- steps:
63
- - name: Checkout
64
- uses: actions/checkout@v3
65
-
66
- - name: Setup
67
- uses: ./.github/actions/setup
68
- with:
69
- npmrc-auth-token: ${{ secrets.MAGMA_NPMRC_TOKEN }}
70
-
71
- - name: Build example for Web
72
- run: |
73
- yarn example expo export --platform web
package/.gitignore DELETED
@@ -1,84 +0,0 @@
1
- # OSX
2
- #
3
- .DS_Store
4
-
5
- # XDE
6
- .expo/
7
-
8
- # VSCode
9
- .vscode/
10
- jsconfig.json
11
-
12
- # Xcode
13
- #
14
- build/
15
- *.pbxuser
16
- !default.pbxuser
17
- *.mode1v3
18
- !default.mode1v3
19
- *.mode2v3
20
- !default.mode2v3
21
- *.perspectivev3
22
- !default.perspectivev3
23
- xcuserdata
24
- *.xccheckout
25
- *.moved-aside
26
- DerivedData
27
- *.hmap
28
- *.ipa
29
- *.xcuserstate
30
- project.xcworkspace
31
-
32
- # Android/IJ
33
- #
34
- .classpath
35
- .cxx
36
- .gradle
37
- .idea
38
- .project
39
- .settings
40
- local.properties
41
- android.iml
42
-
43
- # Cocoapods
44
- #
45
- example/ios/Pods
46
-
47
- # Ruby
48
- example/vendor/
49
-
50
- # node.js
51
- #
52
- node_modules/
53
- npm-debug.log
54
- yarn-debug.log
55
- yarn-error.log
56
-
57
- # BUCK
58
- buck-out/
59
- \.buckd/
60
- android/app/libs
61
- android/keystores/debug.keystore
62
-
63
- # Yarn
64
- .yarn/*
65
- !.yarn/patches
66
- !.yarn/plugins
67
- !.yarn/releases
68
- !.yarn/sdks
69
- !.yarn/versions
70
-
71
- # Expo
72
- .expo/
73
-
74
- # Turborepo
75
- .turbo/
76
-
77
- # generated by bob
78
- dist/
79
- !src/lib/
80
-
81
- # React Native Codegen
82
- ios/generated
83
- android/generated
84
- .npmrc
package/.idea/.gitignore DELETED
@@ -1,8 +0,0 @@
1
- # Default ignored files
2
- /shelf/
3
- /workspace.xml
4
- # Editor-based HTTP Client requests
5
- /httpRequests/
6
- # Datasource local storage ignored files
7
- /dataSources/
8
- /dataSources.local.xml
@@ -1,62 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <code_scheme name="Project" version="173">
3
- <option name="LINE_SEPARATOR" value="&#10;" />
4
- <HTMLCodeStyleSettings>
5
- <option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
6
- </HTMLCodeStyleSettings>
7
- <JSCodeStyleSettings version="0">
8
- <option name="USE_SEMICOLON_AFTER_STATEMENT" value="false" />
9
- <option name="FORCE_SEMICOLON_STYLE" value="true" />
10
- <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
11
- <option name="USE_DOUBLE_QUOTES" value="false" />
12
- <option name="FORCE_QUOTE_STYlE" value="true" />
13
- <option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
14
- <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
15
- <option name="SPACES_WITHIN_IMPORTS" value="true" />
16
- </JSCodeStyleSettings>
17
- <TypeScriptCodeStyleSettings version="0">
18
- <option name="USE_SEMICOLON_AFTER_STATEMENT" value="false" />
19
- <option name="FORCE_SEMICOLON_STYLE" value="true" />
20
- <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
21
- <option name="USE_DOUBLE_QUOTES" value="false" />
22
- <option name="FORCE_QUOTE_STYlE" value="true" />
23
- <option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
24
- <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
25
- <option name="SPACES_WITHIN_IMPORTS" value="true" />
26
- </TypeScriptCodeStyleSettings>
27
- <VueCodeStyleSettings>
28
- <option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
29
- <option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
30
- </VueCodeStyleSettings>
31
- <codeStyleSettings language="HTML">
32
- <option name="SOFT_MARGINS" value="100" />
33
- <indentOptions>
34
- <option name="INDENT_SIZE" value="2" />
35
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
36
- <option name="TAB_SIZE" value="2" />
37
- </indentOptions>
38
- </codeStyleSettings>
39
- <codeStyleSettings language="JavaScript">
40
- <option name="SOFT_MARGINS" value="100" />
41
- <indentOptions>
42
- <option name="INDENT_SIZE" value="2" />
43
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
44
- <option name="TAB_SIZE" value="2" />
45
- </indentOptions>
46
- </codeStyleSettings>
47
- <codeStyleSettings language="TypeScript">
48
- <option name="SOFT_MARGINS" value="100" />
49
- <indentOptions>
50
- <option name="INDENT_SIZE" value="2" />
51
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
52
- <option name="TAB_SIZE" value="2" />
53
- </indentOptions>
54
- </codeStyleSettings>
55
- <codeStyleSettings language="Vue">
56
- <option name="SOFT_MARGINS" value="100" />
57
- <indentOptions>
58
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
59
- </indentOptions>
60
- </codeStyleSettings>
61
- </code_scheme>
62
- </component>
@@ -1,5 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <state>
3
- <option name="USE_PER_PROJECT_SETTINGS" value="true" />
4
- </state>
5
- </component>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="AgentMigrationStateService">
4
- <option name="migrationStatus" value="COMPLETED" />
5
- </component>
6
- </project>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="AskMigrationStateService">
4
- <option name="migrationStatus" value="COMPLETED" />
5
- </component>
6
- </project>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="Ask2AgentMigrationStateService">
4
- <option name="migrationStatus" value="COMPLETED" />
5
- </component>
6
- </project>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="EditMigrationStateService">
4
- <option name="migrationStatus" value="COMPLETED" />
5
- </component>
6
- </project>
@@ -1,8 +0,0 @@
1
- <component name="InspectionProjectProfileManager">
2
- <profile version="1.0">
3
- <option name="myName" value="Project Default" />
4
- <inspection_tool class="EditorConfigUnusedDeclaration" enabled="false" level="WARNING" enabled_by_default="false" />
5
- <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
6
- <inspection_tool class="UnusedDefine" enabled="true" level="WARNING" enabled_by_default="true" />
7
- </profile>
8
- </component>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="EslintConfiguration">
4
- <option name="fix-on-save" value="true" />
5
- </component>
6
- </project>
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/students-features.iml" filepath="$PROJECT_DIR$/.idea/students-features.iml" />
6
- </modules>
7
- </component>
8
- </project>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="PrettierConfiguration">
4
- <option name="myConfigurationMode" value="AUTOMATIC" />
5
- <option name="myRunOnSave" value="true" />
6
- </component>
7
- </project>
@@ -1,18 +0,0 @@
1
- Index: src/features/keyboard/types/MathKeysGroups/units.tsx
2
- IDEA additional info:
3
- Subsystem: com.intellij.openapi.diff.impl.patch.BaseRevisionTextPatchEP
4
- <+>import { KroneIcon } from '../../../../shared/icons/keyboard/KroneIcon/KroneIcon'\nimport { DollarIcon } from '../../../../shared/icons/keyboard/DollarIcon/DollarIcon'\nimport { EuroIcon } from '../../../../shared/icons/keyboard/EuroIcon/EuroIcon'\nimport { PoundIcon } from '../../../../shared/icons/keyboard/PoundIcon/PoundIcon'\nimport { PesoIcon } from '../../../../shared/icons/keyboard/PesoIcon/PesoIcon'\nimport { YenIcon } from '../../../../shared/icons/keyboard/YenIcon/YenIcon'\nimport { CentIcon } from '../../../../shared/icons/keyboard/CentIcon/CentIcon'\nimport { DEFAULT_KEY_ICON_PROPS } from '../../constants/constants'\nimport React from 'react'\nimport { IS_MOBILE, IS_WEB } from '@magmamath/react-native-ui'\nimport { createMathKeysGroup } from './helpers'\n\nconst BASE_TEXT_STYLE = {\n fontSize: 14,\n fontWeight: 700,\n} as const\n\nconst STYLE_PRESETS = {\n SMALL: {\n button: { width: IS_WEB ? 40 : 44 },\n container: IS_MOBILE ? { flexBasis: 48 } : undefined,\n text: BASE_TEXT_STYLE,\n },\n MEDIUM: {\n button: { width: IS_WEB ? 45 : 51 },\n container: IS_MOBILE ? { flexBasis: 55 } : undefined,\n text: BASE_TEXT_STYLE,\n },\n LARGE: {\n button: { width: IS_WEB ? 48 : 55 },\n container: IS_MOBILE ? { flexBasis: 59 } : undefined,\n\n text: BASE_TEXT_STYLE,\n },\n XL: {\n button: { width: IS_WEB ? 52 : 54 },\n container: IS_MOBILE ? { flexBasis: 60 } : undefined,\n text: BASE_TEXT_STYLE,\n },\n}\n\nexport const MATH_CURRENCY_UNITS = createMathKeysGroup({\n KRONE: {\n icon: <KroneIcon {...DEFAULT_KEY_ICON_PROPS} />,\n mathliveValue: 'Kr',\n katexValue: 'Kr',\n },\n DOLLAR: {\n icon: <DollarIcon {...DEFAULT_KEY_ICON_PROPS} />,\n mathliveValue: '\\\\$',\n katexValue: '\\$',\n mathQuillValue: '\\\\$',\n },\n EURO: {\n icon: <EuroIcon {...DEFAULT_KEY_ICON_PROPS} />,\n mathliveValue: '€',\n katexValue: '€',\n },\n POUND: {\n icon: <PoundIcon {...DEFAULT_KEY_ICON_PROPS} />,\n mathliveValue: '£',\n katexValue: '£',\n },\n YEN: {\n icon: <YenIcon {...DEFAULT_KEY_ICON_PROPS} />,\n mathliveValue: '¥',\n katexValue: '¥',\n },\n PESO: {\n icon: <PesoIcon {...DEFAULT_KEY_ICON_PROPS} />,\n mathliveValue: 'p',\n katexValue: 'p',\n },\n CENT: {\n icon: <CentIcon {...DEFAULT_KEY_ICON_PROPS} />,\n mathliveValue: '¢',\n katexValue: '¢',\n },\n})\n\nexport const MATH_LENGTH_UNITS = createMathKeysGroup({\n KILOMETER: {\n label: 'km',\n mathliveValue: 'km',\n katexValue: 'km',\n style: STYLE_PRESETS.MEDIUM,\n },\n METER: {\n label: 'm',\n mathliveValue: '\\\\mathrm{m}',\n katexValue: 'm',\n style: STYLE_PRESETS.MEDIUM,\n },\n DECIMETER: {\n label: 'dm',\n mathliveValue: '\\\\mathrm{dm}',\n katexValue: 'dm',\n style: STYLE_PRESETS.MEDIUM,\n },\n CENTIMETER: {\n label: 'cm',\n mathliveValue: '\\\\mathrm{cm}',\n katexValue: 'cm',\n style: STYLE_PRESETS.MEDIUM,\n },\n MILLIMETER: {\n label: 'mm',\n mathliveValue: '\\\\mathrm{mm}',\n katexValue: 'mm',\n style: STYLE_PRESETS.MEDIUM,\n },\n HECTARE: {\n label: 'ha',\n mathliveValue: '\\\\mathrm{ha}',\n katexValue: 'ha',\n style: STYLE_PRESETS.MEDIUM,\n },\n INCH: {\n label: 'in',\n mathliveValue: '\\\\mathrm{in}',\n katexValue: 'in',\n mathQuillValue: '\\\\in',\n style: STYLE_PRESETS.SMALL,\n },\n FOOT: {\n label: 'ft',\n mathliveValue: '\\\\mathrm{ft}',\n katexValue: 'ft',\n style: STYLE_PRESETS.SMALL,\n },\n YARD: {\n label: 'yd',\n mathliveValue: '\\\\mathrm{yd}',\n katexValue: 'yd',\n style: STYLE_PRESETS.SMALL,\n },\n YARDS: {\n label: 'yds',\n mathliveValue: '\\\\mathrm{yds}',\n katexValue: 'yds',\n style: STYLE_PRESETS.SMALL,\n },\n MILE: {\n label: 'mi',\n mathliveValue: '\\\\mathrm{mi}',\n katexValue: 'mi',\n style: STYLE_PRESETS.SMALL,\n },\n MILE_SE: {\n label: 'mil',\n mathliveValue: '\\\\mathrm{mil}',\n katexValue: 'mil',\n style: STYLE_PRESETS.MEDIUM,\n },\n})\n\nexport const MATH_AREA_UNITS = createMathKeysGroup({\n SQUARE_KILOMETER: {\n label: 'km²',\n mathliveValue: '\\\\mathrm{km}^2',\n katexValue: 'km^2',\n mathQuillValue: 'km^{2}',\n style: STYLE_PRESETS.LARGE,\n },\n SQUARE_METER: {\n label: 'm²',\n mathliveValue: '\\\\mathrm{m}^2',\n katexValue: 'm^2',\n mathQuillValue: 'm^{2}',\n style: STYLE_PRESETS.MEDIUM,\n },\n SQUARE_DECIMETER: {\n label: 'dm²',\n mathliveValue: '\\\\mathrm{dm}^2',\n katexValue: 'dm^2',\n mathQuillValue: 'dm^{2}',\n style: STYLE_PRESETS.LARGE,\n },\n SQUARE_CENTIMETER: {\n label: 'cm²',\n mathliveValue: '\\\\mathrm{cm}^2',\n katexValue: 'cm^2',\n mathQuillValue: 'cm^{2}',\n style: STYLE_PRESETS.LARGE,\n },\n SQUARE_MILLIMETER: {\n label: 'mm²',\n mathliveValue: '\\\\mathrm{mm}^2',\n katexValue: 'mm^2',\n mathQuillValue: 'mm^{2}',\n style: STYLE_PRESETS.LARGE,\n },\n SQUARE_INCH: {\n label: 'in²',\n mathliveValue: '\\\\mathrm{in}^2',\n katexValue: 'in^2',\n mathQuillValue: 'in^{2}',\n style: STYLE_PRESETS.SMALL,\n },\n SQUARE_FOOT: {\n label: 'ft²',\n mathliveValue: '\\\\mathrm{ft}^2',\n katexValue: 'ft^2',\n mathQuillValue: 'ft^{2}',\n style: STYLE_PRESETS.SMALL,\n },\n SQUARE_MILE: {\n label: 'mi²',\n mathliveValue: '\\\\mathrm{mi}^2',\n katexValue: 'mi^2',\n mathQuillValue: 'mi^{2}',\n style: STYLE_PRESETS.MEDIUM,\n },\n SQUARE_YARD: {\n label: 'yd²',\n mathliveValue: '\\\\mathrm{yd}^2',\n katexValue: 'yd^2',\n mathQuillValue: 'yd^{2}',\n style: STYLE_PRESETS.MEDIUM,\n },\n HECTARE: {\n label: 'ha',\n mathliveValue: '\\\\mathrm{ha}',\n katexValue: 'ha',\n style: STYLE_PRESETS.SMALL,\n },\n})\n\nexport const MATH_VOLUME_UNITS = createMathKeysGroup({\n CUBIC_KILOMETER: {\n label: 'km³',\n mathliveValue: '\\\\mathrm{km}^3',\n katexValue: 'km^3',\n mathQuillValue: 'km^{3}',\n style: STYLE_PRESETS.LARGE,\n },\n CUBIC_METER: {\n label: 'm³',\n mathliveValue: '\\\\mathrm{m}^3',\n katexValue: 'm^3',\n mathQuillValue: 'm^{3}',\n style: STYLE_PRESETS.LARGE,\n },\n CUBIC_DECIMETER: {\n label: 'dm³',\n mathliveValue: '\\\\mathrm{dm}^3',\n katexValue: 'dm^3',\n mathQuillValue: 'dm^{3}',\n style: STYLE_PRESETS.LARGE,\n },\n CUBIC_CENTIMETER: {\n label: 'cm³',\n mathliveValue: '\\\\mathrm{cm}^3',\n katexValue: 'cm^3',\n mathQuillValue: 'cm^{3}',\n style: STYLE_PRESETS.LARGE,\n },\n CUBIC_MILLIMETER: {\n label: 'mm³',\n mathliveValue: '\\\\mathrm{mm}^3',\n katexValue: 'mm^3',\n mathQuillValue: 'mm^{3}',\n style: STYLE_PRESETS.LARGE,\n },\n CUBIC_INCH: {\n label: 'in³',\n mathliveValue: '\\\\mathrm{in}^3',\n katexValue: 'in^3',\n mathQuillValue: 'in^{3}',\n style: STYLE_PRESETS.SMALL,\n },\n CUBIC_FOOT: {\n label: 'ft³',\n mathliveValue: '\\\\mathrm{ft}^3',\n katexValue: 'ft^3',\n mathQuillValue: 'ft^{3}',\n style: STYLE_PRESETS.SMALL,\n },\n CUBIC_MILE: {\n label: 'mi³',\n mathliveValue: '\\\\mathrm{mi}^3',\n katexValue: 'mi^3',\n mathQuillValue: 'mi^{3}',\n style: STYLE_PRESETS.LARGE,\n },\n CUBIC_YARD: {\n label: 'yd³',\n mathliveValue: '\\\\mathrm{yd}^3',\n katexValue: 'yd^3',\n mathQuillValue: 'yd^{3}',\n style: STYLE_PRESETS.MEDIUM,\n },\n MILLILITER: {\n label: 'ml',\n mathliveValue: '\\\\mathrm{mL}',\n katexValue: 'ml',\n style: STYLE_PRESETS.SMALL,\n },\n LITER: {\n label: 'L',\n mathliveValue: '\\\\mathrm{L}',\n katexValue: 'L',\n style: STYLE_PRESETS.SMALL,\n },\n MILLILITER_SE: {\n label: 'ml',\n mathliveValue: '\\\\mathrm{ml}',\n katexValue: 'ml',\n style: STYLE_PRESETS.SMALL,\n },\n LITER_SE: {\n label: 'l',\n mathliveValue: '\\\\mathrm{l}',\n katexValue: 'l',\n style: STYLE_PRESETS.SMALL,\n },\n DL: {\n label: 'dl',\n mathliveValue: '\\\\mathrm{dl}',\n katexValue: 'dl',\n style: STYLE_PRESETS.SMALL,\n },\n CUP: {\n label: 'cup',\n mathliveValue: '\\\\mathrm{cup}',\n katexValue: 'cup',\n mathQuillValue: '\\\\cup',\n style: STYLE_PRESETS.LARGE,\n },\n GAL: {\n label: 'gal',\n mathliveValue: '\\\\mathrm{gal}',\n katexValue: 'gal',\n style: STYLE_PRESETS.MEDIUM,\n },\n PINT: {\n label: 'pt',\n mathliveValue: '\\\\mathrm{pt}',\n katexValue: 'pt',\n style: STYLE_PRESETS.LARGE,\n },\n QUART: {\n label: 'qt',\n mathliveValue: '\\\\mathrm{qt}',\n katexValue: 'qt',\n style: STYLE_PRESETS.MEDIUM,\n },\n FLOZ: {\n label: 'floz',\n mathliveValue: '\\\\mathrm{floz}',\n katexValue: 'floz',\n style: STYLE_PRESETS.XL,\n },\n CL: {\n label: 'cl',\n mathliveValue: '\\\\mathrm{cl}',\n katexValue: 'cl',\n style: STYLE_PRESETS.SMALL,\n },\n})\n\nexport const MATH_WEIGHT_UNITS = createMathKeysGroup({\n KG: {\n label: 'kg',\n mathliveValue: '\\\\mathrm{kg}',\n katexValue: 'kg',\n style: STYLE_PRESETS.MEDIUM,\n },\n G: {\n label: 'g',\n mathliveValue: '\\\\mathrm{g}',\n katexValue: 'g',\n style: STYLE_PRESETS.SMALL,\n },\n MG: {\n label: 'mg',\n mathliveValue: '\\\\mathrm{mg}',\n katexValue: 'mg',\n style: STYLE_PRESETS.MEDIUM,\n },\n TON_SE: {\n label: 'ton',\n mathliveValue: '\\\\mathrm{ton}',\n katexValue: 'ton',\n style: STYLE_PRESETS.MEDIUM,\n },\n TON: {\n label: 'T',\n mathliveValue: '\\\\mathrm{T}',\n katexValue: 'T',\n style: STYLE_PRESETS.MEDIUM,\n },\n LB: {\n label: 'lb',\n mathliveValue: '\\\\mathrm{lb}',\n katexValue: 'lb',\n style: STYLE_PRESETS.SMALL,\n },\n OZ: {\n label: 'oz',\n mathliveValue: '\\\\mathrm{oz}',\n katexValue: 'oz',\n style: STYLE_PRESETS.SMALL,\n },\n GAL: {\n label: 'gal',\n mathliveValue: '\\\\mathrm{gal}',\n katexValue: 'gal',\n style: STYLE_PRESETS.MEDIUM,\n },\n HG: {\n label: 'hg',\n mathliveValue: '\\\\mathrm{hg}',\n katexValue: 'hg',\n style: STYLE_PRESETS.MEDIUM,\n },\n T: {\n label: 't',\n mathliveValue: '\\\\mathrm{t}',\n katexValue: 't',\n style: STYLE_PRESETS.MEDIUM,\n },\n})\n\nexport const MATH_TIME_UNITS = createMathKeysGroup({\n S: {\n label: 's',\n mathliveValue: '\\\\mathrm{s}',\n katexValue: 's',\n style: STYLE_PRESETS.LARGE,\n },\n M: {\n label: 'min',\n mathliveValue: '$\\\\mathrm{min}',\n katexValue: 'min',\n style: STYLE_PRESETS.LARGE,\n },\n H: {\n label: 'h',\n mathliveValue: '\\\\mathrm{h}',\n katexValue: 'h',\n style: STYLE_PRESETS.LARGE,\n },\n DAY: {\n label: 'day',\n mathliveValue: '\\\\mathrm{day}',\n katexValue: 'day',\n },\n WEEK: {\n label: 'week',\n mathliveValue: '$\\\\mathrm{week}',\n katexValue: 'week',\n },\n MONTH: {\n label: 'month',\n mathliveValue: '$\\\\mathrm{month}',\n katexValue: 'month',\n },\n YEAR: {\n label: 'year',\n mathliveValue: '$\\\\mathrm{year}',\n katexValue: 'year',\n },\n DAYS: {\n label: 'days',\n mathliveValue: '$\\\\mathrm{days}',\n katexValue: 'days',\n },\n WEEKS: {\n label: 'weeks',\n mathliveValue: '$\\\\mathrm{weeks}',\n katexValue: 'weeks',\n },\n MONTHS: {\n label: 'months',\n mathliveValue: '$\\\\mathrm{months}',\n katexValue: 'months',\n },\n YEARS: {\n label: 'years',\n mathliveValue: '$\\\\mathrm{years}',\n katexValue: 'years',\n },\n AM: {\n label: 'am',\n mathliveValue: '\\\\mathrm{am}',\n katexValue: 'am',\n },\n PM: {\n label: 'pm',\n mathliveValue: '\\\\mathrm{pm}',\n katexValue: 'pm',\n },\n})\n
5
- Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
6
- <+>UTF-8
7
- ===================================================================
8
- diff --git a/src/features/keyboard/types/MathKeysGroups/units.tsx b/src/features/keyboard/types/MathKeysGroups/units.tsx
9
- --- a/src/features/keyboard/types/MathKeysGroups/units.tsx (revision 9a8649561caad01ca3e034d3fb31ed5b65918617)
10
- +++ b/src/features/keyboard/types/MathKeysGroups/units.tsx (date 1767009780900)
11
- @@ -433,6 +433,7 @@
12
- label: 'min',
13
- mathliveValue: '$\\mathrm{min}',
14
- katexValue: 'min',
15
- + mathQuillValue: '\\\\min',
16
- style: STYLE_PRESETS.LARGE,
17
- },
18
- H: {
@@ -1,19 +0,0 @@
1
- Index: src/features/keyboard/types/MathKeysGroups/units.tsx
2
- IDEA additional info:
3
- Subsystem: com.intellij.openapi.diff.impl.patch.BaseRevisionTextPatchEP
4
- <+>import { KroneIcon } from '../../../../shared/icons/keyboard/KroneIcon/KroneIcon'\nimport { DollarIcon } from '../../../../shared/icons/keyboard/DollarIcon/DollarIcon'\nimport { EuroIcon } from '../../../../shared/icons/keyboard/EuroIcon/EuroIcon'\nimport { PoundIcon } from '../../../../shared/icons/keyboard/PoundIcon/PoundIcon'\nimport { PesoIcon } from '../../../../shared/icons/keyboard/PesoIcon/PesoIcon'\nimport { YenIcon } from '../../../../shared/icons/keyboard/YenIcon/YenIcon'\nimport { CentIcon } from '../../../../shared/icons/keyboard/CentIcon/CentIcon'\nimport { DEFAULT_KEY_ICON_PROPS } from '../../constants/constants'\nimport React from 'react'\nimport { IS_MOBILE, IS_WEB } from '@magmamath/react-native-ui'\nimport { createMathKeysGroup } from './helpers'\n\nconst BASE_TEXT_STYLE = {\n fontSize: 14,\n fontWeight: 700,\n} as const\n\nconst STYLE_PRESETS = {\n SMALL: {\n button: { width: IS_WEB ? 40 : 44 },\n container: IS_MOBILE ? { flexBasis: 48 } : undefined,\n text: BASE_TEXT_STYLE,\n },\n MEDIUM: {\n button: { width: IS_WEB ? 45 : 51 },\n container: IS_MOBILE ? { flexBasis: 55 } : undefined,\n text: BASE_TEXT_STYLE,\n },\n LARGE: {\n button: { width: IS_WEB ? 48 : 55 },\n container: IS_MOBILE ? { flexBasis: 59 } : undefined,\n\n text: BASE_TEXT_STYLE,\n },\n XL: {\n button: { width: IS_WEB ? 52 : 54 },\n container: IS_MOBILE ? { flexBasis: 60 } : undefined,\n text: BASE_TEXT_STYLE,\n },\n}\n\nexport const MATH_CURRENCY_UNITS = createMathKeysGroup({\n KRONE: {\n icon: <KroneIcon {...DEFAULT_KEY_ICON_PROPS} />,\n mathliveValue: 'Kr',\n katexValue: 'Kr',\n },\n DOLLAR: {\n icon: <DollarIcon {...DEFAULT_KEY_ICON_PROPS} />,\n mathliveValue: '\\\\$',\n katexValue: '\\$',\n mathQuillValue: '\\\\$',\n },\n EURO: {\n icon: <EuroIcon {...DEFAULT_KEY_ICON_PROPS} />,\n mathliveValue: '€',\n katexValue: '€',\n },\n POUND: {\n icon: <PoundIcon {...DEFAULT_KEY_ICON_PROPS} />,\n mathliveValue: '£',\n katexValue: '£',\n },\n YEN: {\n icon: <YenIcon {...DEFAULT_KEY_ICON_PROPS} />,\n mathliveValue: '¥',\n katexValue: '¥',\n },\n PESO: {\n icon: <PesoIcon {...DEFAULT_KEY_ICON_PROPS} />,\n mathliveValue: 'p',\n katexValue: 'p',\n },\n CENT: {\n icon: <CentIcon {...DEFAULT_KEY_ICON_PROPS} />,\n mathliveValue: '¢',\n katexValue: '¢',\n },\n})\n\nexport const MATH_LENGTH_UNITS = createMathKeysGroup({\n KILOMETER: {\n label: 'km',\n mathliveValue: 'km',\n katexValue: 'km',\n style: STYLE_PRESETS.MEDIUM,\n },\n METER: {\n label: 'm',\n mathliveValue: '\\\\mathrm{m}',\n katexValue: 'm',\n style: STYLE_PRESETS.MEDIUM,\n },\n DECIMETER: {\n label: 'dm',\n mathliveValue: '\\\\mathrm{dm}',\n katexValue: 'dm',\n style: STYLE_PRESETS.MEDIUM,\n },\n CENTIMETER: {\n label: 'cm',\n mathliveValue: '\\\\mathrm{cm}',\n katexValue: 'cm',\n style: STYLE_PRESETS.MEDIUM,\n },\n MILLIMETER: {\n label: 'mm',\n mathliveValue: '\\\\mathrm{mm}',\n katexValue: 'mm',\n style: STYLE_PRESETS.MEDIUM,\n },\n HECTARE: {\n label: 'ha',\n mathliveValue: '\\\\mathrm{ha}',\n katexValue: 'ha',\n style: STYLE_PRESETS.MEDIUM,\n },\n INCH: {\n label: 'in',\n mathliveValue: '\\\\mathrm{in}',\n katexValue: 'in',\n mathQuillValue: '\\\\in',\n style: STYLE_PRESETS.SMALL,\n },\n FOOT: {\n label: 'ft',\n mathliveValue: '\\\\mathrm{ft}',\n katexValue: 'ft',\n style: STYLE_PRESETS.SMALL,\n },\n YARD: {\n label: 'yd',\n mathliveValue: '\\\\mathrm{yd}',\n katexValue: 'yd',\n style: STYLE_PRESETS.SMALL,\n },\n YARDS: {\n label: 'yds',\n mathliveValue: '\\\\mathrm{yds}',\n katexValue: 'yds',\n style: STYLE_PRESETS.SMALL,\n },\n MILE: {\n label: 'mi',\n mathliveValue: '\\\\mathrm{mi}',\n katexValue: 'mi',\n style: STYLE_PRESETS.SMALL,\n },\n MILE_SE: {\n label: 'mil',\n mathliveValue: '\\\\mathrm{mil}',\n katexValue: 'mil',\n style: STYLE_PRESETS.MEDIUM,\n },\n})\n\nexport const MATH_AREA_UNITS = createMathKeysGroup({\n SQUARE_KILOMETER: {\n label: 'km²',\n mathliveValue: '\\\\mathrm{km}^2',\n katexValue: 'km^2',\n mathQuillValue: 'km^{2}',\n style: STYLE_PRESETS.LARGE,\n },\n SQUARE_METER: {\n label: 'm²',\n mathliveValue: '\\\\mathrm{m}^2',\n katexValue: 'm^2',\n mathQuillValue: 'm^{2}',\n style: STYLE_PRESETS.MEDIUM,\n },\n SQUARE_DECIMETER: {\n label: 'dm²',\n mathliveValue: '\\\\mathrm{dm}^2',\n katexValue: 'dm^2',\n mathQuillValue: 'dm^{2}',\n style: STYLE_PRESETS.LARGE,\n },\n SQUARE_CENTIMETER: {\n label: 'cm²',\n mathliveValue: '\\\\mathrm{cm}^2',\n katexValue: 'cm^2',\n mathQuillValue: 'cm^{2}',\n style: STYLE_PRESETS.LARGE,\n },\n SQUARE_MILLIMETER: {\n label: 'mm²',\n mathliveValue: '\\\\mathrm{mm}^2',\n katexValue: 'mm^2',\n mathQuillValue: 'mm^{2}',\n style: STYLE_PRESETS.LARGE,\n },\n SQUARE_INCH: {\n label: 'in²',\n mathliveValue: '\\\\mathrm{in}^2',\n katexValue: 'in^2',\n mathQuillValue: 'in^{2}',\n style: STYLE_PRESETS.SMALL,\n },\n SQUARE_FOOT: {\n label: 'ft²',\n mathliveValue: '\\\\mathrm{ft}^2',\n katexValue: 'ft^2',\n mathQuillValue: 'ft^{2}',\n style: STYLE_PRESETS.SMALL,\n },\n SQUARE_MILE: {\n label: 'mi²',\n mathliveValue: '\\\\mathrm{mi}^2',\n katexValue: 'mi^2',\n mathQuillValue: 'mi^{2}',\n style: STYLE_PRESETS.MEDIUM,\n },\n SQUARE_YARD: {\n label: 'yd²',\n mathliveValue: '\\\\mathrm{yd}^2',\n katexValue: 'yd^2',\n mathQuillValue: 'yd^{2}',\n style: STYLE_PRESETS.MEDIUM,\n },\n HECTARE: {\n label: 'ha',\n mathliveValue: '\\\\mathrm{ha}',\n katexValue: 'ha',\n style: STYLE_PRESETS.SMALL,\n },\n})\n\nexport const MATH_VOLUME_UNITS = createMathKeysGroup({\n CUBIC_KILOMETER: {\n label: 'km³',\n mathliveValue: '\\\\mathrm{km}^3',\n katexValue: 'km^3',\n mathQuillValue: 'km^{3}',\n style: STYLE_PRESETS.LARGE,\n },\n CUBIC_METER: {\n label: 'm³',\n mathliveValue: '\\\\mathrm{m}^3',\n katexValue: 'm^3',\n mathQuillValue: 'm^{3}',\n style: STYLE_PRESETS.LARGE,\n },\n CUBIC_DECIMETER: {\n label: 'dm³',\n mathliveValue: '\\\\mathrm{dm}^3',\n katexValue: 'dm^3',\n mathQuillValue: 'dm^{3}',\n style: STYLE_PRESETS.LARGE,\n },\n CUBIC_CENTIMETER: {\n label: 'cm³',\n mathliveValue: '\\\\mathrm{cm}^3',\n katexValue: 'cm^3',\n mathQuillValue: 'cm^{3}',\n style: STYLE_PRESETS.LARGE,\n },\n CUBIC_MILLIMETER: {\n label: 'mm³',\n mathliveValue: '\\\\mathrm{mm}^3',\n katexValue: 'mm^3',\n mathQuillValue: 'mm^{3}',\n style: STYLE_PRESETS.LARGE,\n },\n CUBIC_INCH: {\n label: 'in³',\n mathliveValue: '\\\\mathrm{in}^3',\n katexValue: 'in^3',\n mathQuillValue: 'in^{3}',\n style: STYLE_PRESETS.SMALL,\n },\n CUBIC_FOOT: {\n label: 'ft³',\n mathliveValue: '\\\\mathrm{ft}^3',\n katexValue: 'ft^3',\n mathQuillValue: 'ft^{3}',\n style: STYLE_PRESETS.SMALL,\n },\n CUBIC_MILE: {\n label: 'mi³',\n mathliveValue: '\\\\mathrm{mi}^3',\n katexValue: 'mi^3',\n mathQuillValue: 'mi^{3}',\n style: STYLE_PRESETS.LARGE,\n },\n CUBIC_YARD: {\n label: 'yd³',\n mathliveValue: '\\\\mathrm{yd}^3',\n katexValue: 'yd^3',\n mathQuillValue: 'yd^{3}',\n style: STYLE_PRESETS.MEDIUM,\n },\n MILLILITER: {\n label: 'ml',\n mathliveValue: '\\\\mathrm{mL}',\n katexValue: 'ml',\n style: STYLE_PRESETS.SMALL,\n },\n LITER: {\n label: 'L',\n mathliveValue: '\\\\mathrm{L}',\n katexValue: 'L',\n style: STYLE_PRESETS.SMALL,\n },\n MILLILITER_SE: {\n label: 'ml',\n mathliveValue: '\\\\mathrm{ml}',\n katexValue: 'ml',\n style: STYLE_PRESETS.SMALL,\n },\n LITER_SE: {\n label: 'l',\n mathliveValue: '\\\\mathrm{l}',\n katexValue: 'l',\n style: STYLE_PRESETS.SMALL,\n },\n DL: {\n label: 'dl',\n mathliveValue: '\\\\mathrm{dl}',\n katexValue: 'dl',\n style: STYLE_PRESETS.SMALL,\n },\n CUP: {\n label: 'cup',\n mathliveValue: '\\\\mathrm{cup}',\n katexValue: 'cup',\n mathQuillValue: '\\\\cup',\n style: STYLE_PRESETS.LARGE,\n },\n GAL: {\n label: 'gal',\n mathliveValue: '\\\\mathrm{gal}',\n katexValue: 'gal',\n style: STYLE_PRESETS.MEDIUM,\n },\n PINT: {\n label: 'pt',\n mathliveValue: '\\\\mathrm{pt}',\n katexValue: 'pt',\n style: STYLE_PRESETS.LARGE,\n },\n QUART: {\n label: 'qt',\n mathliveValue: '\\\\mathrm{qt}',\n katexValue: 'qt',\n style: STYLE_PRESETS.MEDIUM,\n },\n FLOZ: {\n label: 'floz',\n mathliveValue: '\\\\mathrm{floz}',\n katexValue: 'floz',\n style: STYLE_PRESETS.XL,\n },\n CL: {\n label: 'cl',\n mathliveValue: '\\\\mathrm{cl}',\n katexValue: 'cl',\n style: STYLE_PRESETS.SMALL,\n },\n})\n\nexport const MATH_WEIGHT_UNITS = createMathKeysGroup({\n KG: {\n label: 'kg',\n mathliveValue: '\\\\mathrm{kg}',\n katexValue: 'kg',\n style: STYLE_PRESETS.MEDIUM,\n },\n G: {\n label: 'g',\n mathliveValue: '\\\\mathrm{g}',\n katexValue: 'g',\n style: STYLE_PRESETS.SMALL,\n },\n MG: {\n label: 'mg',\n mathliveValue: '\\\\mathrm{mg}',\n katexValue: 'mg',\n style: STYLE_PRESETS.MEDIUM,\n },\n TON_SE: {\n label: 'ton',\n mathliveValue: '\\\\mathrm{ton}',\n katexValue: 'ton',\n style: STYLE_PRESETS.MEDIUM,\n },\n TON: {\n label: 'T',\n mathliveValue: '\\\\mathrm{T}',\n katexValue: 'T',\n style: STYLE_PRESETS.MEDIUM,\n },\n LB: {\n label: 'lb',\n mathliveValue: '\\\\mathrm{lb}',\n katexValue: 'lb',\n style: STYLE_PRESETS.SMALL,\n },\n OZ: {\n label: 'oz',\n mathliveValue: '\\\\mathrm{oz}',\n katexValue: 'oz',\n style: STYLE_PRESETS.SMALL,\n },\n GAL: {\n label: 'gal',\n mathliveValue: '\\\\mathrm{gal}',\n katexValue: 'gal',\n style: STYLE_PRESETS.MEDIUM,\n },\n HG: {\n label: 'hg',\n mathliveValue: '\\\\mathrm{hg}',\n katexValue: 'hg',\n style: STYLE_PRESETS.MEDIUM,\n },\n T: {\n label: 't',\n mathliveValue: '\\\\mathrm{t}',\n katexValue: 't',\n style: STYLE_PRESETS.MEDIUM,\n },\n})\n\nexport const MATH_TIME_UNITS = createMathKeysGroup({\n S: {\n label: 's',\n mathliveValue: '\\\\mathrm{s}',\n katexValue: 's',\n },\n M: {\n label: 'min',\n mathliveValue: '$\\\\mathrm{min}',\n katexValue: 'min',\n },\n H: {\n label: 'h',\n mathliveValue: '\\\\mathrm{h}',\n katexValue: 'h',\n },\n DAY: {\n label: 'day',\n mathliveValue: '\\\\mathrm{day}',\n katexValue: 'day',\n },\n WEEK: {\n label: 'week',\n mathliveValue: '$\\\\mathrm{week}',\n katexValue: 'week',\n },\n MONTH: {\n label: 'month',\n mathliveValue: '$\\\\mathrm{month}',\n katexValue: 'month',\n },\n YEAR: {\n label: 'year',\n mathliveValue: '$\\\\mathrm{year}',\n katexValue: 'year',\n },\n DAYS: {\n label: 'days',\n mathliveValue: '$\\\\mathrm{days}',\n katexValue: 'days',\n },\n WEEKS: {\n label: 'weeks',\n mathliveValue: '$\\\\mathrm{weeks}',\n katexValue: 'weeks',\n },\n MONTHS: {\n label: 'months',\n mathliveValue: '$\\\\mathrm{months}',\n katexValue: 'months',\n },\n YEARS: {\n label: 'years',\n mathliveValue: '$\\\\mathrm{years}',\n katexValue: 'years',\n },\n AM: {\n label: 'am',\n mathliveValue: '\\\\mathrm{am}',\n katexValue: 'am',\n },\n PM: {\n label: 'pm',\n mathliveValue: '\\\\mathrm{pm}',\n katexValue: 'pm',\n },\n})\n
5
- Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
6
- <+>UTF-8
7
- ===================================================================
8
- diff --git a/src/features/keyboard/types/MathKeysGroups/units.tsx b/src/features/keyboard/types/MathKeysGroups/units.tsx
9
- --- a/src/features/keyboard/types/MathKeysGroups/units.tsx (revision e8c14858c03a7768a2a264afb68d70bfe3410477)
10
- +++ b/src/features/keyboard/types/MathKeysGroups/units.tsx (date 1767010270068)
11
- @@ -432,6 +432,8 @@
12
- label: 'min',
13
- mathliveValue: '$\\mathrm{min}',
14
- katexValue: 'min',
15
- + mathQuillValue: '\\\\min',
16
- + style: STYLE_PRESETS.LARGE,
17
- },
18
- H: {
19
- label: 'h',
@@ -1,4 +0,0 @@
1
- <changelist name="Uncommitted_changes_before_Checkout_at_29_12_2025,_13_10_[Changes]" date="1767010270088" recycled="true" deleted="true">
2
- <option name="PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025,_13_10_[Changes]/shelved.patch" />
3
- <option name="DESCRIPTION" value="Uncommitted changes before Checkout at 29/12/2025, 13:10 [Changes]" />
4
- </changelist>
@@ -1,4 +0,0 @@
1
- <changelist name="Uncommitted_changes_before_Checkout_at_29_12_2025,_13_11_[Changes]" date="1767010322796" recycled="true" deleted="true">
2
- <option name="PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025,_13_11_[Changes]/shelved.patch" />
3
- <option name="DESCRIPTION" value="Uncommitted changes before Checkout at 29/12/2025, 13:11 [Changes]" />
4
- </changelist>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$">
5
- <excludeFolder url="file://$MODULE_DIR$/.tmp" />
6
- <excludeFolder url="file://$MODULE_DIR$/temp" />
7
- <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
- </content>
9
- <orderEntry type="inheritedJdk" />
10
- <orderEntry type="sourceFolder" forTests="false" />
11
- </component>
12
- </module>
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="" vcs="Git" />
5
- </component>
6
- </project>