@magmamath/students-features 0.9.102 → 0.9.103-rc.0

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 (127) 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 +642 -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 +24 -6
  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 +25 -7
  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 +5 -5
  68. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
  69. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +1 -0
  70. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +1 -1
  71. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/types.d.ts +2 -1
  72. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/types.d.ts.map +1 -1
  73. package/dist/typescript/commonjs/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  74. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts +15 -0
  75. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
  76. package/dist/typescript/commonjs/shared/icons/TimeIcon.d.ts +4 -0
  77. package/dist/typescript/commonjs/shared/icons/TimeIcon.d.ts.map +1 -0
  78. package/dist/typescript/commonjs/shared/translation/constants.d.ts +6 -0
  79. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  80. package/dist/typescript/commonjs/shared/translation/model.d.ts +2 -0
  81. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -1
  82. package/dist/typescript/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts +5 -5
  83. package/dist/typescript/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
  84. package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +1 -0
  85. package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +1 -1
  86. package/dist/typescript/module/features/keyboard/components/UnitsLayout/types.d.ts +2 -1
  87. package/dist/typescript/module/features/keyboard/components/UnitsLayout/types.d.ts.map +1 -1
  88. package/dist/typescript/module/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  89. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts +15 -0
  90. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
  91. package/dist/typescript/module/shared/icons/TimeIcon.d.ts +4 -0
  92. package/dist/typescript/module/shared/icons/TimeIcon.d.ts.map +1 -0
  93. package/dist/typescript/module/shared/translation/constants.d.ts +6 -0
  94. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  95. package/dist/typescript/module/shared/translation/model.d.ts +2 -0
  96. package/dist/typescript/module/shared/translation/model.d.ts.map +1 -1
  97. package/example/.expo/README.md +8 -0
  98. package/example/.expo/devices.json +3 -0
  99. package/example/.expo/web/cache/production/images/favicon/favicon-24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb-contain-transparent/favicon-48.png +0 -0
  100. package/example/app.json +30 -0
  101. package/example/assets/adaptive-icon.png +0 -0
  102. package/example/assets/favicon.png +0 -0
  103. package/example/assets/icon.png +0 -0
  104. package/example/assets/splash-icon.png +0 -0
  105. package/example/babel.config.js +28 -0
  106. package/example/index.js +8 -0
  107. package/example/metro.config.js +18 -0
  108. package/example/package.json +25 -0
  109. package/example/src/App.tsx +8 -0
  110. package/example/tsconfig.json +6 -0
  111. package/example/yarn.lock +6552 -0
  112. package/package.json +1 -1
  113. package/src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts +29 -4
  114. package/src/features/keyboard/components/UnitsLayout/keyboardGroups.ts +11 -0
  115. package/src/features/keyboard/components/UnitsLayout/types.ts +1 -0
  116. package/src/features/keyboard/constants/keyboardGroupsByLocale.ts +2 -0
  117. package/src/features/keyboard/types/MathKeysGroups/units.tsx +15 -0
  118. package/src/shared/icons/TimeIcon.tsx +23 -0
  119. package/src/shared/translation/localization/ca.json +2 -1
  120. package/src/shared/translation/localization/de.json +2 -1
  121. package/src/shared/translation/localization/en.json +2 -1
  122. package/src/shared/translation/localization/gb.json +2 -1
  123. package/src/shared/translation/localization/sct.json +2 -1
  124. package/src/shared/translation/localization/sw.json +2 -1
  125. package/tsconfig.build.json +4 -0
  126. package/tsconfig.json +34 -0
  127. package/yarn.lock +8623 -0
@@ -40,6 +40,7 @@ export declare const setLocalization: import("effector").EventCallable<{
40
40
  area: string;
41
41
  volume: string;
42
42
  weight: string;
43
+ time: string;
43
44
  };
44
45
  } | ((config: typeof LOCALIZATION_CONFIGS) => Translations)>;
45
46
  export declare const $localization: import("effector").StoreWritable<{
@@ -82,6 +83,7 @@ export declare const $localization: import("effector").StoreWritable<{
82
83
  area: string;
83
84
  volume: string;
84
85
  weight: string;
86
+ time: string;
85
87
  };
86
88
  }>;
87
89
  //# sourceMappingURL=model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/model.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,YAAY,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAElD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cACD,OAAO,oBAAoB,KAAK,YAAY,EACpE,CAAA;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMzB,CAAA"}
1
+ {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/model.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,YAAY,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAElD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cACD,OAAO,oBAAoB,KAAK,YAAY,EACpE,CAAA;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMzB,CAAA"}
@@ -0,0 +1,8 @@
1
+ > Why do I have a folder named ".expo" in my project?
2
+ The ".expo" folder is created when an Expo project is started using "expo start" command.
3
+ > What do the files contain?
4
+ - "devices.json": contains information about devices that have recently opened this project. This is used to populate the "Development sessions" list in your development builds.
5
+ - "settings.json": contains the server configuration that is used to serve the application manifest.
6
+ > Should I commit the ".expo" folder?
7
+ No, you should not share the ".expo" folder. It does not contain any information that is relevant for other developers working on the project, it is specific to your machine.
8
+ Upon project creation, the ".expo" folder is already added to your ".gitignore" file.
@@ -0,0 +1,3 @@
1
+ {
2
+ "devices": []
3
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "expo": {
3
+ "name": "example",
4
+ "slug": "example",
5
+ "version": "1.0.0",
6
+ "orientation": "portrait",
7
+ "icon": "./assets/icon.png",
8
+ "userInterfaceStyle": "light",
9
+ "newArchEnabled": true,
10
+ "splash": {
11
+ "image": "./assets/splash-icon.png",
12
+ "resizeMode": "contain",
13
+ "backgroundColor": "#ffffff"
14
+ },
15
+ "ios": {
16
+ "supportsTablet": true,
17
+ "bundleIdentifier": "magmamath.features.example"
18
+ },
19
+ "android": {
20
+ "adaptiveIcon": {
21
+ "foregroundImage": "./assets/adaptive-icon.png",
22
+ "backgroundColor": "#ffffff"
23
+ },
24
+ "package": "magmamath.features.example"
25
+ },
26
+ "web": {
27
+ "favicon": "./assets/favicon.png"
28
+ }
29
+ }
30
+ }
Binary file
Binary file
Binary file
Binary file
@@ -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
+ }