@magmamath/students-features 0.9.99 → 0.9.100-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 (125) hide show
  1. package/.editorconfig +15 -0
  2. package/.eslintignore +2 -0
  3. package/.eslintrc +22 -0
  4. package/.gitattributes +3 -0
  5. package/.github/actions/setup/action.yml +37 -0
  6. package/.github/workflows/ci.yml +73 -0
  7. package/.gitignore +84 -0
  8. package/.idea/.gitignore +8 -0
  9. package/.idea/codeStyles/Project.xml +62 -0
  10. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  11. package/.idea/copilot.data.migration.agent.xml +6 -0
  12. package/.idea/copilot.data.migration.ask.xml +6 -0
  13. package/.idea/copilot.data.migration.ask2agent.xml +6 -0
  14. package/.idea/copilot.data.migration.edit.xml +6 -0
  15. package/.idea/inspectionProfiles/Project_Default.xml +8 -0
  16. package/.idea/jsLinters/eslint.xml +6 -0
  17. package/.idea/modules.xml +8 -0
  18. package/.idea/prettier.xml +7 -0
  19. package/.idea/students-features.iml +12 -0
  20. package/.idea/vcs.xml +6 -0
  21. package/.idea/workspace.xml +650 -0
  22. package/.nvmrc +1 -0
  23. package/.prettierrc +11 -0
  24. package/.release-it.json +17 -0
  25. package/.watchmanconfig +1 -0
  26. package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +541 -0
  27. package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +28 -0
  28. package/.yarn/releases/yarn-3.6.1.cjs +874 -0
  29. package/babel.config.js +5 -0
  30. package/bob.config.js +25 -0
  31. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +3 -0
  32. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  33. package/dist/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.js +9 -1
  34. package/dist/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.js.map +1 -1
  35. package/dist/commonjs/features/keyboard/components/UnitsLayout/types.js +1 -0
  36. package/dist/commonjs/features/keyboard/components/UnitsLayout/types.js.map +1 -1
  37. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js +2 -1
  38. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  39. package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js +18 -3
  40. package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
  41. package/dist/commonjs/shared/icons/TimeIcon.js +37 -0
  42. package/dist/commonjs/shared/icons/TimeIcon.js.map +1 -0
  43. package/dist/commonjs/shared/translation/localization/ca.json +2 -1
  44. package/dist/commonjs/shared/translation/localization/de.json +2 -1
  45. package/dist/commonjs/shared/translation/localization/en.json +2 -1
  46. package/dist/commonjs/shared/translation/localization/gb.json +2 -1
  47. package/dist/commonjs/shared/translation/localization/sct.json +2 -1
  48. package/dist/commonjs/shared/translation/localization/sw.json +2 -1
  49. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +3 -0
  50. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  51. package/dist/module/features/keyboard/components/UnitsLayout/keyboardGroups.js +9 -1
  52. package/dist/module/features/keyboard/components/UnitsLayout/keyboardGroups.js.map +1 -1
  53. package/dist/module/features/keyboard/components/UnitsLayout/types.js +1 -0
  54. package/dist/module/features/keyboard/components/UnitsLayout/types.js.map +1 -1
  55. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js +3 -2
  56. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  57. package/dist/module/features/keyboard/types/MathKeysGroups/units.js +18 -3
  58. package/dist/module/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
  59. package/dist/module/shared/icons/TimeIcon.js +29 -0
  60. package/dist/module/shared/icons/TimeIcon.js.map +1 -0
  61. package/dist/module/shared/translation/localization/ca.json +2 -1
  62. package/dist/module/shared/translation/localization/de.json +2 -1
  63. package/dist/module/shared/translation/localization/en.json +2 -1
  64. package/dist/module/shared/translation/localization/gb.json +2 -1
  65. package/dist/module/shared/translation/localization/sct.json +2 -1
  66. package/dist/module/shared/translation/localization/sw.json +2 -1
  67. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
  68. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +1 -0
  69. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +1 -1
  70. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/types.d.ts +2 -1
  71. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/types.d.ts.map +1 -1
  72. package/dist/typescript/commonjs/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  73. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts +15 -0
  74. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
  75. package/dist/typescript/commonjs/shared/icons/TimeIcon.d.ts +4 -0
  76. package/dist/typescript/commonjs/shared/icons/TimeIcon.d.ts.map +1 -0
  77. package/dist/typescript/commonjs/shared/translation/constants.d.ts +6 -0
  78. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  79. package/dist/typescript/commonjs/shared/translation/model.d.ts +2 -0
  80. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -1
  81. package/dist/typescript/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
  82. package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +1 -0
  83. package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +1 -1
  84. package/dist/typescript/module/features/keyboard/components/UnitsLayout/types.d.ts +2 -1
  85. package/dist/typescript/module/features/keyboard/components/UnitsLayout/types.d.ts.map +1 -1
  86. package/dist/typescript/module/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  87. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts +15 -0
  88. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
  89. package/dist/typescript/module/shared/icons/TimeIcon.d.ts +4 -0
  90. package/dist/typescript/module/shared/icons/TimeIcon.d.ts.map +1 -0
  91. package/dist/typescript/module/shared/translation/constants.d.ts +6 -0
  92. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  93. package/dist/typescript/module/shared/translation/model.d.ts +2 -0
  94. package/dist/typescript/module/shared/translation/model.d.ts.map +1 -1
  95. package/example/.expo/README.md +8 -0
  96. package/example/.expo/devices.json +3 -0
  97. package/example/.expo/web/cache/production/images/favicon/favicon-24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb-contain-transparent/favicon-48.png +0 -0
  98. package/example/app.json +30 -0
  99. package/example/assets/adaptive-icon.png +0 -0
  100. package/example/assets/favicon.png +0 -0
  101. package/example/assets/icon.png +0 -0
  102. package/example/assets/splash-icon.png +0 -0
  103. package/example/babel.config.js +28 -0
  104. package/example/index.js +8 -0
  105. package/example/metro.config.js +18 -0
  106. package/example/package.json +25 -0
  107. package/example/src/App.tsx +8 -0
  108. package/example/tsconfig.json +6 -0
  109. package/example/yarn.lock +6552 -0
  110. package/package.json +1 -1
  111. package/src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts +4 -0
  112. package/src/features/keyboard/components/UnitsLayout/keyboardGroups.ts +11 -0
  113. package/src/features/keyboard/components/UnitsLayout/types.ts +1 -0
  114. package/src/features/keyboard/constants/keyboardGroupsByLocale.ts +2 -0
  115. package/src/features/keyboard/types/MathKeysGroups/units.tsx +15 -0
  116. package/src/shared/icons/TimeIcon.tsx +23 -0
  117. package/src/shared/translation/localization/ca.json +2 -1
  118. package/src/shared/translation/localization/de.json +2 -1
  119. package/src/shared/translation/localization/en.json +2 -1
  120. package/src/shared/translation/localization/gb.json +2 -1
  121. package/src/shared/translation/localization/sct.json +2 -1
  122. package/src/shared/translation/localization/sw.json +2 -1
  123. package/tsconfig.build.json +4 -0
  124. package/tsconfig.json +34 -0
  125. package/yarn.lock +8623 -0
@@ -0,0 +1,28 @@
1
+ const path = require('path')
2
+ const { getConfig } = require('react-native-builder-bob/babel-config')
3
+ const pkg = require('../package.json')
4
+
5
+ const root = path.resolve(__dirname, '..')
6
+
7
+ module.exports = function (api) {
8
+ api.cache(true)
9
+
10
+ return getConfig(
11
+ {
12
+ presets: ['babel-preset-expo'],
13
+ plugins: [
14
+ [
15
+ 'module-resolver',
16
+ {
17
+ extensions: ['.tsx', '.ts', '.js', '.json'],
18
+ alias: {
19
+ [pkg.name]: path.join(__dirname, '../', pkg.source),
20
+ },
21
+ },
22
+ ],
23
+ ['@babel/plugin-transform-private-methods', { loose: true }],
24
+ ],
25
+ },
26
+ { root, pkg },
27
+ )
28
+ }
@@ -0,0 +1,8 @@
1
+ import { registerRootComponent } from 'expo';
2
+
3
+ import App from './src/App';
4
+
5
+ // registerRootComponent calls AppRegistry.registerComponent('main', () => App);
6
+ // It also ensures that whether you load the app in Expo Go or in a native build,
7
+ // the environment is set up appropriately
8
+ registerRootComponent(App);
@@ -0,0 +1,18 @@
1
+ const path = require('path');
2
+ const { getDefaultConfig } = require('@expo/metro-config');
3
+ const { getConfig } = require('react-native-builder-bob/metro-config');
4
+ const pkg = require('../package.json');
5
+
6
+ const root = path.resolve(__dirname, '..');
7
+
8
+ /**
9
+ * Metro configuration
10
+ * https://facebook.github.io/metro/docs/configuration
11
+ *
12
+ * @type {import('metro-config').MetroConfig}
13
+ */
14
+ module.exports = getConfig(getDefaultConfig(__dirname), {
15
+ root,
16
+ pkg,
17
+ project: __dirname,
18
+ });
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "@magmamath/students-features-example",
3
+ "version": "1.0.0",
4
+ "main": "index.js",
5
+ "scripts": {
6
+ "start": "expo start",
7
+ "android": "expo start --android",
8
+ "ios": "expo start --ios",
9
+ "web": "expo start --web"
10
+ },
11
+ "dependencies": {
12
+ "@expo/metro-runtime": "~4.0.0",
13
+ "expo": "~52.0.11",
14
+ "expo-status-bar": "~2.0.0",
15
+ "react": "18.3.1",
16
+ "react-dom": "18.3.1",
17
+ "react-native": "0.76.3",
18
+ "react-native-web": "~0.19.13"
19
+ },
20
+ "devDependencies": {
21
+ "@babel/core": "^7.20.0",
22
+ "react-native-builder-bob": "^0.33.3"
23
+ },
24
+ "private": true
25
+ }
@@ -0,0 +1,8 @@
1
+ import React from 'react'
2
+ import { Text } from 'react-native'
3
+
4
+ const App = () => {
5
+ return <Text>Hello</Text>
6
+ }
7
+
8
+ export default App
@@ -0,0 +1,6 @@
1
+ {
2
+ "extends": "../tsconfig",
3
+ "compilerOptions": {
4
+ // Avoid expo-cli auto-generating a tsconfig
5
+ }
6
+ }