@magmamath/students-features 0.9.101 → 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 (141) 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/feedback/model/model.js.map +1 -1
  32. package/dist/commonjs/features/feedback/model/sockets.js +8 -5
  33. package/dist/commonjs/features/feedback/model/sockets.js.map +1 -1
  34. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +24 -6
  35. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  36. package/dist/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.js +9 -1
  37. package/dist/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.js.map +1 -1
  38. package/dist/commonjs/features/keyboard/components/UnitsLayout/types.js +1 -0
  39. package/dist/commonjs/features/keyboard/components/UnitsLayout/types.js.map +1 -1
  40. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js +2 -1
  41. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  42. package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js +18 -3
  43. package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
  44. package/dist/commonjs/shared/icons/TimeIcon.js +37 -0
  45. package/dist/commonjs/shared/icons/TimeIcon.js.map +1 -0
  46. package/dist/commonjs/shared/translation/localization/ca.json +2 -1
  47. package/dist/commonjs/shared/translation/localization/de.json +2 -1
  48. package/dist/commonjs/shared/translation/localization/en.json +2 -1
  49. package/dist/commonjs/shared/translation/localization/gb.json +2 -1
  50. package/dist/commonjs/shared/translation/localization/sct.json +2 -1
  51. package/dist/commonjs/shared/translation/localization/sw.json +2 -1
  52. package/dist/module/features/feedback/model/model.js.map +1 -1
  53. package/dist/module/features/feedback/model/sockets.js +8 -5
  54. package/dist/module/features/feedback/model/sockets.js.map +1 -1
  55. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +25 -7
  56. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  57. package/dist/module/features/keyboard/components/UnitsLayout/keyboardGroups.js +9 -1
  58. package/dist/module/features/keyboard/components/UnitsLayout/keyboardGroups.js.map +1 -1
  59. package/dist/module/features/keyboard/components/UnitsLayout/types.js +1 -0
  60. package/dist/module/features/keyboard/components/UnitsLayout/types.js.map +1 -1
  61. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js +3 -2
  62. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  63. package/dist/module/features/keyboard/types/MathKeysGroups/units.js +18 -3
  64. package/dist/module/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
  65. package/dist/module/shared/icons/TimeIcon.js +29 -0
  66. package/dist/module/shared/icons/TimeIcon.js.map +1 -0
  67. package/dist/module/shared/translation/localization/ca.json +2 -1
  68. package/dist/module/shared/translation/localization/de.json +2 -1
  69. package/dist/module/shared/translation/localization/en.json +2 -1
  70. package/dist/module/shared/translation/localization/gb.json +2 -1
  71. package/dist/module/shared/translation/localization/sct.json +2 -1
  72. package/dist/module/shared/translation/localization/sw.json +2 -1
  73. package/dist/typescript/commonjs/features/feedback/model/model.d.ts +4 -1
  74. package/dist/typescript/commonjs/features/feedback/model/model.d.ts.map +1 -1
  75. package/dist/typescript/commonjs/features/feedback/model/sockets.d.ts.map +1 -1
  76. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts +5 -5
  77. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
  78. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +1 -0
  79. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +1 -1
  80. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/types.d.ts +2 -1
  81. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/types.d.ts.map +1 -1
  82. package/dist/typescript/commonjs/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  83. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts +15 -0
  84. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
  85. package/dist/typescript/commonjs/shared/icons/TimeIcon.d.ts +4 -0
  86. package/dist/typescript/commonjs/shared/icons/TimeIcon.d.ts.map +1 -0
  87. package/dist/typescript/commonjs/shared/translation/constants.d.ts +6 -0
  88. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  89. package/dist/typescript/commonjs/shared/translation/model.d.ts +2 -0
  90. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -1
  91. package/dist/typescript/module/features/feedback/model/model.d.ts +4 -1
  92. package/dist/typescript/module/features/feedback/model/model.d.ts.map +1 -1
  93. package/dist/typescript/module/features/feedback/model/sockets.d.ts.map +1 -1
  94. package/dist/typescript/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts +5 -5
  95. package/dist/typescript/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
  96. package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +1 -0
  97. package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +1 -1
  98. package/dist/typescript/module/features/keyboard/components/UnitsLayout/types.d.ts +2 -1
  99. package/dist/typescript/module/features/keyboard/components/UnitsLayout/types.d.ts.map +1 -1
  100. package/dist/typescript/module/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  101. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts +15 -0
  102. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
  103. package/dist/typescript/module/shared/icons/TimeIcon.d.ts +4 -0
  104. package/dist/typescript/module/shared/icons/TimeIcon.d.ts.map +1 -0
  105. package/dist/typescript/module/shared/translation/constants.d.ts +6 -0
  106. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  107. package/dist/typescript/module/shared/translation/model.d.ts +2 -0
  108. package/dist/typescript/module/shared/translation/model.d.ts.map +1 -1
  109. package/example/.expo/README.md +8 -0
  110. package/example/.expo/devices.json +3 -0
  111. package/example/.expo/web/cache/production/images/favicon/favicon-24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb-contain-transparent/favicon-48.png +0 -0
  112. package/example/app.json +30 -0
  113. package/example/assets/adaptive-icon.png +0 -0
  114. package/example/assets/favicon.png +0 -0
  115. package/example/assets/icon.png +0 -0
  116. package/example/assets/splash-icon.png +0 -0
  117. package/example/babel.config.js +28 -0
  118. package/example/index.js +8 -0
  119. package/example/metro.config.js +18 -0
  120. package/example/package.json +25 -0
  121. package/example/src/App.tsx +8 -0
  122. package/example/tsconfig.json +6 -0
  123. package/example/yarn.lock +6552 -0
  124. package/package.json +1 -1
  125. package/src/features/feedback/model/model.ts +4 -1
  126. package/src/features/feedback/model/sockets.ts +8 -6
  127. package/src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts +29 -4
  128. package/src/features/keyboard/components/UnitsLayout/keyboardGroups.ts +11 -0
  129. package/src/features/keyboard/components/UnitsLayout/types.ts +1 -0
  130. package/src/features/keyboard/constants/keyboardGroupsByLocale.ts +2 -0
  131. package/src/features/keyboard/types/MathKeysGroups/units.tsx +15 -0
  132. package/src/shared/icons/TimeIcon.tsx +23 -0
  133. package/src/shared/translation/localization/ca.json +2 -1
  134. package/src/shared/translation/localization/de.json +2 -1
  135. package/src/shared/translation/localization/en.json +2 -1
  136. package/src/shared/translation/localization/gb.json +2 -1
  137. package/src/shared/translation/localization/sct.json +2 -1
  138. package/src/shared/translation/localization/sw.json +2 -1
  139. package/tsconfig.build.json +4 -0
  140. package/tsconfig.json +34 -0
  141. 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"}
@@ -8,7 +8,10 @@ export type TeacherFeedbackModelProps = {
8
8
  getComments: (props: GetCommentsPayload) => Promise<GetCommentsResponse>;
9
9
  updateCommentStatusSeen: (props: UpdateCommentStatusSeenPayload) => Promise<void>;
10
10
  };
11
- socket: any;
11
+ /**
12
+ * @deprecated - use socket and events directly in the client
13
+ */
14
+ socket?: any;
12
15
  credits: {
13
16
  $assignmentId: Store<string>;
14
17
  $problemId: Store<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../../src/features/feedback/model/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,EAAE,MAAM,UAAU,CAAA;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,oBAAoB,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;IACtC,GAAG,EAAE;QACH,WAAW,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,OAAO,CAAC,mBAAmB,CAAC,CAAA;QACxE,uBAAuB,EAAE,CAAC,KAAK,EAAE,8BAA8B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;KAClF,CAAA;IACD;;OAEG;IACH,MAAM,CAAC,EAAE,GAAG,CAAA;IACZ,OAAO,EAAE;QACP,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;QAC5B,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;KAC1B,CAAA;CACF,CAAA;AAED,qBAAa,oBAAoB;IAC/B,SAAgB,OAAO,EAAE,sBAAsB,CAAA;IAC/C,SAAgB,GAAG,EAAE,kBAAkB,CAAA;IACvC,SAAgB,QAAQ,EAAE,oBAAoB,CAAA;IAC9C,SAAgB,SAAS,4CAAyB;IAClD,SAAgB,OAAO,4CAAiC;IAExD,SAAgB,0BAA0B,4CAAyB;IACnE,SAAgB,wBAAwB,4CAAiD;gBAE7E,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,yBAAyB;CA8FhE"}
@@ -1 +1 @@
1
- {"version":3,"file":"sockets.d.ts","sourceRoot":"","sources":["../../../../../../src/features/feedback/model/sockets.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAwB,MAAM,UAAU,CAAA;AAE/D,qBAAa,sBAAsB;IACjC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAK;IAC5B,SAAgB,YAAY,mDAAgC;IAC5D,SAAgB,cAAc,mDAAgC;gBAElD,MAAM,EAAE,GAAG;IAIvB,OAAO;IAKP,GAAG;CAIJ"}
1
+ {"version":3,"file":"sockets.d.ts","sourceRoot":"","sources":["../../../../../../src/features/feedback/model/sockets.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAwB,MAAM,UAAU,CAAA;AAE/D,qBAAa,sBAAsB;IACjC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAY;IACnC,SAAgB,YAAY,mDAAgC;IAC5D,SAAgB,cAAc,mDAAgC;gBAElD,MAAM,EAAE,GAAG;IAMvB,OAAO;IAKP,GAAG;CAIJ"}
@@ -1,11 +1,11 @@
1
1
  import { TabOptionProps } from '@magmamath/react-native-ui';
2
- import { KeyboardUnitsGroupType } from '../types';
2
+ type UnitTab = TabOptionProps & {
3
+ minWidth: number;
4
+ };
3
5
  export declare const useUnitTabs: () => {
4
- tabs: {
5
- title: string;
6
- key: KeyboardUnitsGroupType;
7
- }[];
6
+ tabs: UnitTab[];
8
7
  activeTab: TabOptionProps;
9
8
  setActiveTab: import("react").Dispatch<import("react").SetStateAction<TabOptionProps>>;
10
9
  };
10
+ export {};
11
11
  //# sourceMappingURL=useUnitTabs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useUnitTabs.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEjD,eAAO,MAAM,WAAW;;;;;;;CAyBvB,CAAA"}
1
+ {"version":3,"file":"useUnitTabs.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAI3D,KAAK,OAAO,GAAG,cAAc,GAAG;IAC9B,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,eAAO,MAAM,WAAW;;;;CA8CvB,CAAA"}
@@ -8,6 +8,7 @@ export declare const MATH_ENTRY_VOLUME_UNITS_SW_KEYBOARD_GROUPS: UnitKeyboardGro
8
8
  export declare const MATH_ENTRY_VOLUME_UNITS_US_KEYBOARD_GROUPS: UnitKeyboardGroups;
9
9
  export declare const MATH_ENTRY_VOLUME_UNITS_UK_KEYBOARD_GROUPS: UnitKeyboardGroups;
10
10
  export declare const MATH_ENTRY_WEIGHT_UNITS_SW_KEYBOARD_GROUPS: UnitKeyboardGroups;
11
+ export declare const MATH_ENTRY_TIME_UNITS_SW_KEYBOARD_GROUPS: UnitKeyboardGroups;
11
12
  export declare const MATH_ENTRY_WEIGHT_UNITS_US_KEYBOARD_GROUPS: UnitKeyboardGroups;
12
13
  export declare const UNITS_KEYBOARD_GROUPS: Map<KeyboardUnitsGroupType, {
13
14
  keys: import("../..").KeyboardKey[][];
@@ -1 +1 @@
1
- {"version":3,"file":"keyboardGroups.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnitsLayout/keyboardGroups.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAGpE,eAAO,MAAM,0CAA0C,EAAE,kBAWxD,CAAA;AAED,eAAO,MAAM,0CAA0C,EAAE,kBAiBxD,CAAA;AAED,eAAO,MAAM,wCAAwC,EAAE,kBAYtD,CAAA;AAED,eAAO,MAAM,wCAAwC,EAAE,kBAiBtD,CAAA;AAED,eAAO,MAAM,wCAAwC,EAAE,kBAiBtD,CAAA;AAED,eAAO,MAAM,0CAA0C,EAAE,kBAiBxD,CAAA;AAED,eAAO,MAAM,0CAA0C,EAAE,kBAoBxD,CAAA;AAED,eAAO,MAAM,0CAA0C,EAAE,kBAoBxD,CAAA;AAED,eAAO,MAAM,0CAA0C,EAAE,kBAWxD,CAAA;AAED,eAAO,MAAM,0CAA0C,EAAE,kBAMxD,CAAA;AAED,eAAO,MAAM,qBAAqB;;;EAoBhC,CAAA"}
1
+ {"version":3,"file":"keyboardGroups.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnitsLayout/keyboardGroups.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAIpE,eAAO,MAAM,0CAA0C,EAAE,kBAWxD,CAAA;AAED,eAAO,MAAM,0CAA0C,EAAE,kBAiBxD,CAAA;AAED,eAAO,MAAM,wCAAwC,EAAE,kBAYtD,CAAA;AAED,eAAO,MAAM,wCAAwC,EAAE,kBAiBtD,CAAA;AAED,eAAO,MAAM,wCAAwC,EAAE,kBAiBtD,CAAA;AAED,eAAO,MAAM,0CAA0C,EAAE,kBAiBxD,CAAA;AAED,eAAO,MAAM,0CAA0C,EAAE,kBAoBxD,CAAA;AAED,eAAO,MAAM,0CAA0C,EAAE,kBAoBxD,CAAA;AAED,eAAO,MAAM,0CAA0C,EAAE,kBAWxD,CAAA;AAED,eAAO,MAAM,wCAAwC,EAAE,kBAGtD,CAAA;AAED,eAAO,MAAM,0CAA0C,EAAE,kBAMxD,CAAA;AAED,eAAO,MAAM,qBAAqB;;;EAwBhC,CAAA"}
@@ -7,7 +7,8 @@ export declare enum KeyboardUnitsGroupType {
7
7
  LENGTH = "length",
8
8
  AREA = "area",
9
9
  VOLUME = "volume",
10
- WEIGHT = "weight"
10
+ WEIGHT = "weight",
11
+ TIME = "time"
11
12
  }
12
13
  export type UnitKeyboardGroups = {
13
14
  keys: KeyboardKey[][];
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnitsLayout/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAEzE,oBAAY,cAAc;IACxB,OAAO,YAAY;IACnB,KAAK,UAAU;CAChB;AAED,oBAAY,sBAAsB;IAChC,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,WAAW,EAAE,EAAE,CAAA;CACtB,GAAG,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnitsLayout/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAEzE,oBAAY,cAAc;IACxB,OAAO,YAAY;IACnB,KAAK,UAAU;CAChB;AAED,oBAAY,sBAAsB;IAChC,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,WAAW,EAAE,EAAE,CAAA;CACtB,GAAG,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"keyboardGroupsByLocale.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboardGroupsByLocale.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAuC5D,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AAEpD,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAmC5F,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,CAuCzF,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAClD,MAAM,EACN,MAAM,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAwBnD,CAAA"}
1
+ {"version":3,"file":"keyboardGroupsByLocale.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboardGroupsByLocale.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAwC5D,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AAEpD,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAoC5F,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,CAuCzF,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAClD,MAAM,EACN,MAAM,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAwBnD,CAAA"}
@@ -954,16 +954,31 @@ export declare const MATH_TIME_UNITS: {
954
954
  label: string;
955
955
  mathliveValue: string;
956
956
  katexValue: string;
957
+ style: {
958
+ button: {
959
+ width: number;
960
+ };
961
+ };
957
962
  };
958
963
  M: {
959
964
  label: string;
960
965
  mathliveValue: string;
961
966
  katexValue: string;
967
+ style: {
968
+ button: {
969
+ width: number;
970
+ };
971
+ };
962
972
  };
963
973
  H: {
964
974
  label: string;
965
975
  mathliveValue: string;
966
976
  katexValue: string;
977
+ style: {
978
+ button: {
979
+ width: number;
980
+ };
981
+ };
967
982
  };
968
983
  DAY: {
969
984
  label: string;
@@ -1 +1 @@
1
- {"version":3,"file":"units.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/units.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,OAAO,CAAA;AAiCzB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC9B,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0E5B,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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5B,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiF1B,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { IconProps } from './icon.types';
2
+ import React from 'react';
3
+ export declare const TimeIcon: ({ size, color }: IconProps) => React.JSX.Element;
4
+ //# sourceMappingURL=TimeIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimeIcon.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/TimeIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,QAAQ,oBAA6C,SAAS,sBAiB1E,CAAA"}
@@ -39,6 +39,7 @@ export declare const LOCALIZATION_CONFIGS: {
39
39
  area: string;
40
40
  volume: string;
41
41
  weight: string;
42
+ time: string;
42
43
  };
43
44
  };
44
45
  "en-GB": {
@@ -81,6 +82,7 @@ export declare const LOCALIZATION_CONFIGS: {
81
82
  area: string;
82
83
  volume: string;
83
84
  weight: string;
85
+ time: string;
84
86
  };
85
87
  };
86
88
  "sv-SE": {
@@ -123,6 +125,7 @@ export declare const LOCALIZATION_CONFIGS: {
123
125
  area: string;
124
126
  volume: string;
125
127
  weight: string;
128
+ time: string;
126
129
  };
127
130
  };
128
131
  "en-CA": {
@@ -165,6 +168,7 @@ export declare const LOCALIZATION_CONFIGS: {
165
168
  area: string;
166
169
  volume: string;
167
170
  weight: string;
171
+ time: string;
168
172
  };
169
173
  };
170
174
  "en-SCT": {
@@ -207,6 +211,7 @@ export declare const LOCALIZATION_CONFIGS: {
207
211
  area: string;
208
212
  volume: string;
209
213
  weight: string;
214
+ time: string;
210
215
  };
211
216
  };
212
217
  "de-DE": {
@@ -249,6 +254,7 @@ export declare const LOCALIZATION_CONFIGS: {
249
254
  area: string;
250
255
  volume: string;
251
256
  weight: string;
257
+ time: string;
252
258
  };
253
259
  };
254
260
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhC,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhC,CAAA"}
@@ -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
+ }