@magmamath/students-features 0.9.7 → 0.9.8-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 (181) hide show
  1. package/dist/commonjs/features/chatbot/model/t2s.js +4 -3
  2. package/dist/commonjs/features/chatbot/model/t2s.js.map +1 -1
  3. package/dist/commonjs/features/chatbot/types/model.types.js.map +1 -1
  4. package/dist/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js +44 -0
  5. package/dist/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js.map +1 -0
  6. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +10 -3
  7. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
  8. package/dist/commonjs/features/endOfAssignment/components/EOAModal.js +2 -4
  9. package/dist/commonjs/features/endOfAssignment/components/EOAModal.js.map +1 -1
  10. package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js +5 -3
  11. package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
  12. package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +2 -1
  13. package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
  14. package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js +9 -2
  15. package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
  16. package/dist/commonjs/features/endOfAssignment/helpers.js +10 -3
  17. package/dist/commonjs/features/endOfAssignment/helpers.js.map +1 -1
  18. package/dist/commonjs/features/endOfAssignment/model/model.js +7 -0
  19. package/dist/commonjs/features/endOfAssignment/model/model.js.map +1 -1
  20. package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js +2 -2
  21. package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
  22. package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js +3 -1
  23. package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
  24. package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js +1 -1
  25. package/dist/commonjs/features/keyboard/components/Keyboard.js +2 -0
  26. package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
  27. package/dist/commonjs/features/keyboard/components/KeysList/KeysList.js +4 -3
  28. package/dist/commonjs/features/keyboard/components/KeysList/KeysList.js.map +1 -1
  29. package/dist/commonjs/features/keyboard/components/MainLayout.js +2 -1
  30. package/dist/commonjs/features/keyboard/components/MainLayout.js.map +1 -1
  31. package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js +14 -1
  32. package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js.map +1 -1
  33. package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js +31 -25
  34. package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js.map +1 -1
  35. package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
  36. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +15 -0
  37. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  38. package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js +18 -18
  39. package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
  40. package/dist/commonjs/lib/types/requests.js +2 -0
  41. package/dist/commonjs/lib/types/requests.js.map +1 -0
  42. package/dist/module/features/chatbot/model/t2s.js +4 -3
  43. package/dist/module/features/chatbot/model/t2s.js.map +1 -1
  44. package/dist/module/features/chatbot/types/model.types.js.map +1 -1
  45. package/dist/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js +38 -0
  46. package/dist/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js.map +1 -0
  47. package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +10 -3
  48. package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
  49. package/dist/module/features/endOfAssignment/components/EOAModal.js +2 -4
  50. package/dist/module/features/endOfAssignment/components/EOAModal.js.map +1 -1
  51. package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js +6 -4
  52. package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
  53. package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +3 -2
  54. package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
  55. package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js +9 -2
  56. package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
  57. package/dist/module/features/endOfAssignment/helpers.js +8 -2
  58. package/dist/module/features/endOfAssignment/helpers.js.map +1 -1
  59. package/dist/module/features/endOfAssignment/model/model.js +7 -0
  60. package/dist/module/features/endOfAssignment/model/model.js.map +1 -1
  61. package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js +2 -2
  62. package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
  63. package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js +3 -1
  64. package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
  65. package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js +1 -1
  66. package/dist/module/features/keyboard/components/Keyboard.js +2 -0
  67. package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
  68. package/dist/module/features/keyboard/components/KeysList/KeysList.js +4 -3
  69. package/dist/module/features/keyboard/components/KeysList/KeysList.js.map +1 -1
  70. package/dist/module/features/keyboard/components/MainLayout.js +2 -1
  71. package/dist/module/features/keyboard/components/MainLayout.js.map +1 -1
  72. package/dist/module/features/keyboard/components/Numpad/Numpad.js +14 -1
  73. package/dist/module/features/keyboard/components/Numpad/Numpad.js.map +1 -1
  74. package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js +31 -25
  75. package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js.map +1 -1
  76. package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
  77. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +15 -0
  78. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  79. package/dist/module/features/keyboard/types/MathKeysGroups/units.js +19 -19
  80. package/dist/module/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
  81. package/dist/module/lib/types/requests.js +2 -0
  82. package/dist/module/lib/types/requests.js.map +1 -0
  83. package/dist/typescript/commonjs/features/chatbot/model/ChatbotApi.d.ts +1 -1
  84. package/dist/typescript/commonjs/features/chatbot/model/ChatbotApi.d.ts.map +1 -1
  85. package/dist/typescript/commonjs/features/chatbot/model/t2s.d.ts.map +1 -1
  86. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +7 -1
  87. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
  88. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts +2 -1
  89. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
  90. package/dist/typescript/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.d.ts +10 -0
  91. package/dist/typescript/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.d.ts.map +1 -0
  92. package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts.map +1 -1
  93. package/dist/typescript/commonjs/features/endOfAssignment/components/EOAModal.d.ts +1 -3
  94. package/dist/typescript/commonjs/features/endOfAssignment/components/EOAModal.d.ts.map +1 -1
  95. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts +1 -1
  96. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts.map +1 -1
  97. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.d.ts.map +1 -1
  98. package/dist/typescript/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.d.ts.map +1 -1
  99. package/dist/typescript/commonjs/features/endOfAssignment/helpers.d.ts +3 -1
  100. package/dist/typescript/commonjs/features/endOfAssignment/helpers.d.ts.map +1 -1
  101. package/dist/typescript/commonjs/features/endOfAssignment/model/model.d.ts +5 -0
  102. package/dist/typescript/commonjs/features/endOfAssignment/model/model.d.ts.map +1 -1
  103. package/dist/typescript/commonjs/features/endOfAssignment/types.d.ts +2 -2
  104. package/dist/typescript/commonjs/features/endOfAssignment/types.d.ts.map +1 -1
  105. package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.d.ts +3 -2
  106. package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
  107. package/dist/typescript/commonjs/features/keyboard/components/KeysList/KeysList.d.ts +4 -1
  108. package/dist/typescript/commonjs/features/keyboard/components/KeysList/KeysList.d.ts.map +1 -1
  109. package/dist/typescript/commonjs/features/keyboard/components/KeysList/helpers.d.ts +2 -0
  110. package/dist/typescript/commonjs/features/keyboard/components/KeysList/helpers.d.ts.map +1 -1
  111. package/dist/typescript/commonjs/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
  112. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.d.ts.map +1 -1
  113. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
  114. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts +26 -2
  115. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
  116. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts +208 -208
  117. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
  118. package/dist/typescript/commonjs/lib/types/requests.d.ts +4 -0
  119. package/dist/typescript/commonjs/lib/types/requests.d.ts.map +1 -0
  120. package/dist/typescript/module/features/chatbot/model/ChatbotApi.d.ts +1 -1
  121. package/dist/typescript/module/features/chatbot/model/ChatbotApi.d.ts.map +1 -1
  122. package/dist/typescript/module/features/chatbot/model/t2s.d.ts.map +1 -1
  123. package/dist/typescript/module/features/chatbot/types/api.types.d.ts +7 -1
  124. package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
  125. package/dist/typescript/module/features/chatbot/types/model.types.d.ts +2 -1
  126. package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
  127. package/dist/typescript/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.d.ts +10 -0
  128. package/dist/typescript/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.d.ts.map +1 -0
  129. package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts.map +1 -1
  130. package/dist/typescript/module/features/endOfAssignment/components/EOAModal.d.ts +1 -3
  131. package/dist/typescript/module/features/endOfAssignment/components/EOAModal.d.ts.map +1 -1
  132. package/dist/typescript/module/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts +1 -1
  133. package/dist/typescript/module/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts.map +1 -1
  134. package/dist/typescript/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.d.ts.map +1 -1
  135. package/dist/typescript/module/features/endOfAssignment/components/NoAnswer/NoAnswer.d.ts.map +1 -1
  136. package/dist/typescript/module/features/endOfAssignment/helpers.d.ts +3 -1
  137. package/dist/typescript/module/features/endOfAssignment/helpers.d.ts.map +1 -1
  138. package/dist/typescript/module/features/endOfAssignment/model/model.d.ts +5 -0
  139. package/dist/typescript/module/features/endOfAssignment/model/model.d.ts.map +1 -1
  140. package/dist/typescript/module/features/endOfAssignment/types.d.ts +2 -2
  141. package/dist/typescript/module/features/endOfAssignment/types.d.ts.map +1 -1
  142. package/dist/typescript/module/features/endOfAssignment/ui/PracticeButtonGroup.d.ts +3 -2
  143. package/dist/typescript/module/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
  144. package/dist/typescript/module/features/keyboard/components/KeysList/KeysList.d.ts +4 -1
  145. package/dist/typescript/module/features/keyboard/components/KeysList/KeysList.d.ts.map +1 -1
  146. package/dist/typescript/module/features/keyboard/components/KeysList/helpers.d.ts +2 -0
  147. package/dist/typescript/module/features/keyboard/components/KeysList/helpers.d.ts.map +1 -1
  148. package/dist/typescript/module/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
  149. package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitTabs.d.ts.map +1 -1
  150. package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
  151. package/dist/typescript/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts +26 -2
  152. package/dist/typescript/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
  153. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts +208 -208
  154. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
  155. package/dist/typescript/module/lib/types/requests.d.ts +4 -0
  156. package/dist/typescript/module/lib/types/requests.d.ts.map +1 -0
  157. package/package.json +2 -2
  158. package/src/features/chatbot/model/t2s.ts +3 -2
  159. package/src/features/chatbot/types/api.types.ts +10 -1
  160. package/src/features/chatbot/types/model.types.ts +2 -1
  161. package/src/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.tsx +43 -0
  162. package/src/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.tsx +20 -10
  163. package/src/features/endOfAssignment/components/EOAModal.tsx +2 -9
  164. package/src/features/endOfAssignment/components/ExamPaused/ExamPaused.tsx +6 -6
  165. package/src/features/endOfAssignment/components/ExamSubmit/ExamSubmit.tsx +2 -2
  166. package/src/features/endOfAssignment/components/NoAnswer/NoAnswer.tsx +17 -6
  167. package/src/features/endOfAssignment/helpers.ts +10 -3
  168. package/src/features/endOfAssignment/model/model.ts +5 -1
  169. package/src/features/endOfAssignment/types.ts +2 -1
  170. package/src/features/endOfAssignment/ui/PracticeButtonGroup.tsx +4 -3
  171. package/src/features/keyboard/components/BasicLayout/BasicLayout.tsx +3 -1
  172. package/src/features/keyboard/components/BasicLayout/TimeBasicLayout.tsx +1 -1
  173. package/src/features/keyboard/components/Keyboard.tsx +2 -0
  174. package/src/features/keyboard/components/KeysList/KeysList.tsx +4 -2
  175. package/src/features/keyboard/components/MainLayout.tsx +2 -1
  176. package/src/features/keyboard/components/Numpad/Numpad.tsx +18 -1
  177. package/src/features/keyboard/components/UnitsLayout/UnitTabs.tsx +29 -24
  178. package/src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx +0 -1
  179. package/src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts +4 -0
  180. package/src/features/keyboard/types/MathKeysGroups/units.tsx +13 -14
  181. package/src/lib/types/requests.ts +1 -0
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { StyleProp, ViewStyle } from 'react-native';
2
3
  import { ButtonStyle, SelectOptionColor } from '@magmamath/react-native-ui';
3
4
  import { KeyboardKey, KeyboardLayoutProps } from '../../types/types';
4
5
  type KeysListProps = {
@@ -7,20 +8,22 @@ type KeysListProps = {
7
8
  disabledKeys?: KeyboardKey[];
8
9
  color?: SelectOptionColor;
9
10
  style?: {
11
+ container?: StyleProp<ViewStyle>;
10
12
  option?: ButtonStyle;
11
13
  };
12
14
  } & KeyboardLayoutProps;
13
15
  export declare const KeysList: ({ keys, numOfRows, style, onKeyPress, isDisabled, disabledKeys, }: KeysListProps) => React.JSX.Element;
14
16
  export declare const styles: {
15
17
  container: {
16
- gap: number;
17
18
  width: "auto";
19
+ gap: number;
18
20
  };
19
21
  row: {
20
22
  gap: number;
21
23
  };
22
24
  optionContainer: {
23
25
  flexGrow: number;
26
+ flexShrink: number;
24
27
  flexBasis: 45 | "auto";
25
28
  };
26
29
  optionButton: {
@@ -1 +1 @@
1
- {"version":3,"file":"KeysList.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/KeysList/KeysList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAA;AAEtC,OAAO,EACL,WAAW,EAEX,iBAAiB,EAElB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAIpE,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,WAAW,EAAE,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;IAC5B,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,KAAK,CAAC,EAAE;QACN,MAAM,CAAC,EAAE,WAAW,CAAA;KACrB,CAAA;CACF,GAAG,mBAAmB,CAAA;AAEvB,eAAO,MAAM,QAAQ,sEAOlB,aAAa,sBA4Bf,CAAA;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;CAmBjB,CAAA"}
1
+ {"version":3,"file":"KeysList.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/KeysList/KeysList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,SAAS,EAAc,SAAS,EAAE,MAAM,cAAc,CAAA;AAC/D,OAAO,EACL,WAAW,EAEX,iBAAiB,EAElB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAIpE,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,WAAW,EAAE,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;IAC5B,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,KAAK,CAAC,EAAE;QACN,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;QAChC,MAAM,CAAC,EAAE,WAAW,CAAA;KACrB,CAAA;CACF,GAAG,mBAAmB,CAAA;AAEvB,eAAO,MAAM,QAAQ,sEAOlB,aAAa,sBA4Bf,CAAA;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;CAoBjB,CAAA"}
@@ -18,6 +18,7 @@ export declare const mapKeyToOption: ({ key, onKeyPress, disabledKeys, optionSty
18
18
  style: {
19
19
  container: (import("react-native").StyleProp<import("react-native").ViewStyle> | {
20
20
  flexGrow: number;
21
+ flexShrink: number;
21
22
  flexBasis: 45 | "auto";
22
23
  })[];
23
24
  button: (import("react-native").StyleProp<import("react-native").ViewStyle> | {
@@ -37,6 +38,7 @@ export declare const mapKeyToOption: ({ key, onKeyPress, disabledKeys, optionSty
37
38
  style: {
38
39
  container: (import("react-native").StyleProp<import("react-native").ViewStyle> | {
39
40
  flexGrow: number;
41
+ flexShrink: number;
40
42
  flexBasis: 45 | "auto";
41
43
  })[];
42
44
  button: (import("react-native").StyleProp<import("react-native").ViewStyle> | {
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/KeysList/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAIxD,KAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,WAAW,CAAA;IAChB,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAA;IAC5C,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;IAC5B,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,UAAU,SAA4B,CAAA;AAWnD,eAAO,MAAM,cAAc,gEAMxB,mBAAmB;;iBACK,qBAAqB;;;;;;;;;;;;;;;;;;;mBAArB,qBAAqB;;;;;;;;;;;;;;;;;CAmB/C,CAAA"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/KeysList/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAIxD,KAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,WAAW,CAAA;IAChB,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAA;IAC5C,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;IAC5B,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,UAAU,SAA4B,CAAA;AAWnD,eAAO,MAAM,cAAc,gEAMxB,mBAAmB;;iBACK,qBAAqB;;;;;;;;;;;;;;;;;;;;mBAArB,qBAAqB;;;;;;;;;;;;;;;;;;CAmB/C,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Numpad.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/Numpad/Numpad.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAA;AAErE,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAIrE,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B,GAAG,mBAAmB,CAAA;AAEvB,eAAO,MAAM,MAAM,wBAAyB,WAAW,sBAStD,CAAA"}
1
+ {"version":3,"file":"Numpad.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/Numpad/Numpad.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAA;AAErE,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAIrE,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B,GAAG,mBAAmB,CAAA;AAEvB,eAAO,MAAM,MAAM,wBAAyB,WAAW,sBAgBtD,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"UnitTabs.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnitsLayout/UnitTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAoB,cAAc,EAAyB,MAAM,4BAA4B,CAAA;AAEpG,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAMvD,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,SAAS,EAAE,cAAc,CAAA;IACzB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAA;CAC9C,GAAG,mBAAmB,CAAA;AAEvB,eAAO,MAAM,QAAQ,+CAAgD,aAAa,sBAmCjF,CAAA"}
1
+ {"version":3,"file":"UnitTabs.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnitsLayout/UnitTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAoB,cAAc,EAAyB,MAAM,4BAA4B,CAAA;AAEpG,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAMvD,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,SAAS,EAAE,cAAc,CAAA;IACzB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAA;CAC9C,GAAG,mBAAmB,CAAA;AAEvB,eAAO,MAAM,QAAQ,+CAAgD,aAAa,sBAqCjF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"UnitsLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAMvC,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAQrE,eAAO,MAAM,WAAW,iCAAkC,mBAAmB,sBA0C5E,CAAA"}
1
+ {"version":3,"file":"UnitsLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAMvC,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAQrE,eAAO,MAAM,WAAW,iCAAkC,mBAAmB,sBAyC5E,CAAA"}
@@ -1,10 +1,34 @@
1
1
  import { TabOptionProps } from '@magmamath/react-native-ui';
2
2
  import { KeyboardUnitsGroupType } from '../types';
3
3
  export declare const useUnitTabs: () => {
4
- tabs: {
4
+ tabs: ({
5
5
  title: string;
6
+ style: {
7
+ paddingLeft: number;
8
+ paddingRight: number;
9
+ marginRight: number;
10
+ paddingHorizontal?: undefined;
11
+ };
6
12
  key: KeyboardUnitsGroupType;
7
- }[];
13
+ } | {
14
+ title: string;
15
+ style: {
16
+ paddingHorizontal: number;
17
+ paddingLeft?: undefined;
18
+ paddingRight?: undefined;
19
+ marginRight?: undefined;
20
+ };
21
+ key: KeyboardUnitsGroupType;
22
+ } | {
23
+ title: string;
24
+ style: {
25
+ paddingHorizontal: number;
26
+ paddingRight: number;
27
+ paddingLeft?: undefined;
28
+ marginRight?: undefined;
29
+ };
30
+ key: KeyboardUnitsGroupType;
31
+ })[];
8
32
  activeTab: TabOptionProps;
9
33
  setActiveTab: import("react").Dispatch<import("react").SetStateAction<TabOptionProps>>;
10
34
  };
@@ -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;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEjD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BvB,CAAA"}