@magmamath/students-features 1.3.2-rc.5 → 1.3.2

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 (205) hide show
  1. package/dist/commonjs/features/chatbot/helpers.js +5 -1
  2. package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
  3. package/dist/commonjs/features/chatbot/index.js.map +1 -1
  4. package/dist/commonjs/features/chatbot/model/ChatBotModel.js +7 -6
  5. package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
  6. package/dist/commonjs/features/keyboard/constants/groups/index.js +0 -11
  7. package/dist/commonjs/features/keyboard/constants/groups/index.js.map +1 -1
  8. package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js +0 -2
  9. package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js.map +1 -1
  10. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +2 -8
  11. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  12. package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js +1 -86
  13. package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
  14. package/dist/commonjs/features/keyboard/constants/keys/text.constants.js +9 -9
  15. package/dist/commonjs/features/keyboard/constants/keys/units.constants.js +1 -2
  16. package/dist/commonjs/features/keyboard/constants/keys/units.constants.js.map +1 -1
  17. package/dist/commonjs/features/keyboard/types/types.js +0 -1
  18. package/dist/commonjs/features/keyboard/types/types.js.map +1 -1
  19. package/dist/commonjs/shared/icons/keyboard/AngleIcon.js +3 -4
  20. package/dist/commonjs/shared/icons/keyboard/AngleIcon.js.map +1 -1
  21. package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js +8 -12
  22. package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
  23. package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js +6 -11
  24. package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
  25. package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js +8 -12
  26. package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
  27. package/dist/module/features/chatbot/helpers.js +5 -1
  28. package/dist/module/features/chatbot/helpers.js.map +1 -1
  29. package/dist/module/features/chatbot/index.js.map +1 -1
  30. package/dist/module/features/chatbot/model/ChatBotModel.js +7 -6
  31. package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
  32. package/dist/module/features/keyboard/constants/groups/index.js +0 -1
  33. package/dist/module/features/keyboard/constants/groups/index.js.map +1 -1
  34. package/dist/module/features/keyboard/constants/keyboard.helpers.js +1 -3
  35. package/dist/module/features/keyboard/constants/keyboard.helpers.js.map +1 -1
  36. package/dist/module/features/keyboard/constants/keyboardLayouts.js +2 -8
  37. package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  38. package/dist/module/features/keyboard/constants/keys/geometry.constants.js +1 -86
  39. package/dist/module/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
  40. package/dist/module/features/keyboard/constants/keys/text.constants.js +9 -9
  41. package/dist/module/features/keyboard/constants/keys/units.constants.js +1 -2
  42. package/dist/module/features/keyboard/constants/keys/units.constants.js.map +1 -1
  43. package/dist/module/features/keyboard/types/types.js +0 -1
  44. package/dist/module/features/keyboard/types/types.js.map +1 -1
  45. package/dist/module/shared/icons/keyboard/AngleIcon.js +3 -4
  46. package/dist/module/shared/icons/keyboard/AngleIcon.js.map +1 -1
  47. package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js +9 -13
  48. package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
  49. package/dist/module/shared/icons/keyboard/LineSegmentIcon.js +7 -12
  50. package/dist/module/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
  51. package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js +9 -13
  52. package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
  53. package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
  54. package/dist/typescript/commonjs/features/chatbot/index.d.ts +1 -1
  55. package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
  56. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  57. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +8 -6
  58. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
  59. package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts +0 -1
  60. package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts.map +1 -1
  61. package/dist/typescript/commonjs/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
  62. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +0 -5
  63. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  64. package/dist/typescript/commonjs/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
  65. package/dist/typescript/commonjs/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
  66. package/dist/typescript/commonjs/features/keyboard/types/types.d.ts +0 -1
  67. package/dist/typescript/commonjs/features/keyboard/types/types.d.ts.map +1 -1
  68. package/dist/typescript/commonjs/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
  69. package/dist/typescript/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
  70. package/dist/typescript/commonjs/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
  71. package/dist/typescript/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
  72. package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
  73. package/dist/typescript/module/features/chatbot/index.d.ts +1 -1
  74. package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
  75. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  76. package/dist/typescript/module/features/chatbot/types/api.types.d.ts +8 -6
  77. package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
  78. package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts +0 -1
  79. package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts.map +1 -1
  80. package/dist/typescript/module/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
  81. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +0 -5
  82. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  83. package/dist/typescript/module/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
  84. package/dist/typescript/module/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
  85. package/dist/typescript/module/features/keyboard/types/types.d.ts +0 -1
  86. package/dist/typescript/module/features/keyboard/types/types.d.ts.map +1 -1
  87. package/dist/typescript/module/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
  88. package/dist/typescript/module/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
  89. package/dist/typescript/module/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
  90. package/dist/typescript/module/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
  91. package/package.json +1 -1
  92. package/src/features/chatbot/helpers.ts +2 -0
  93. package/src/features/chatbot/index.ts +9 -1
  94. package/src/features/chatbot/model/ChatBotModel.ts +7 -10
  95. package/src/features/chatbot/types/api.types.ts +11 -6
  96. package/src/features/keyboard/constants/groups/index.ts +0 -1
  97. package/src/features/keyboard/constants/keyboard.helpers.ts +0 -3
  98. package/src/features/keyboard/constants/keyboardLayouts.ts +2 -8
  99. package/src/features/keyboard/constants/keys/geometry.constants.tsx +1 -61
  100. package/src/features/keyboard/constants/keys/text.constants.tsx +9 -9
  101. package/src/features/keyboard/constants/keys/units.constants.tsx +0 -1
  102. package/src/features/keyboard/types/types.ts +0 -1
  103. package/src/shared/icons/keyboard/AngleIcon.tsx +2 -4
  104. package/src/shared/icons/keyboard/BidirectionalSegmentIcon.tsx +8 -5
  105. package/src/shared/icons/keyboard/LineSegmentIcon.tsx +7 -6
  106. package/src/shared/icons/keyboard/RightDirectedSegmentIcon.tsx +8 -5
  107. package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js +0 -85
  108. package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +0 -1
  109. package/dist/commonjs/features/keyboard/components/GeometryLayout/helpers.js +0 -41
  110. package/dist/commonjs/features/keyboard/components/GeometryLayout/helpers.js.map +0 -1
  111. package/dist/commonjs/features/keyboard/components/GeometryLayout/types.js +0 -12
  112. package/dist/commonjs/features/keyboard/components/GeometryLayout/types.js.map +0 -1
  113. package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js +0 -11
  114. package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js.map +0 -1
  115. package/dist/commonjs/shared/icons/GeometryIcon.js +0 -32
  116. package/dist/commonjs/shared/icons/GeometryIcon.js.map +0 -1
  117. package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js +0 -30
  118. package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js.map +0 -1
  119. package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js +0 -29
  120. package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js.map +0 -1
  121. package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js +0 -29
  122. package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js.map +0 -1
  123. package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js +0 -29
  124. package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js.map +0 -1
  125. package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js +0 -42
  126. package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js.map +0 -1
  127. package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js +0 -32
  128. package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js.map +0 -1
  129. package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js +0 -78
  130. package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +0 -1
  131. package/dist/module/features/keyboard/components/GeometryLayout/helpers.js +0 -36
  132. package/dist/module/features/keyboard/components/GeometryLayout/helpers.js.map +0 -1
  133. package/dist/module/features/keyboard/components/GeometryLayout/types.js +0 -8
  134. package/dist/module/features/keyboard/components/GeometryLayout/types.js.map +0 -1
  135. package/dist/module/features/keyboard/constants/groups/geometry.constants.js +0 -7
  136. package/dist/module/features/keyboard/constants/groups/geometry.constants.js.map +0 -1
  137. package/dist/module/shared/icons/GeometryIcon.js +0 -24
  138. package/dist/module/shared/icons/GeometryIcon.js.map +0 -1
  139. package/dist/module/shared/icons/keyboard/ImpliesIcon.js +0 -22
  140. package/dist/module/shared/icons/keyboard/ImpliesIcon.js.map +0 -1
  141. package/dist/module/shared/icons/keyboard/LetterAIcon.js +0 -21
  142. package/dist/module/shared/icons/keyboard/LetterAIcon.js.map +0 -1
  143. package/dist/module/shared/icons/keyboard/LetterBIcon.js +0 -21
  144. package/dist/module/shared/icons/keyboard/LetterBIcon.js.map +0 -1
  145. package/dist/module/shared/icons/keyboard/LetterCIcon.js +0 -21
  146. package/dist/module/shared/icons/keyboard/LetterCIcon.js.map +0 -1
  147. package/dist/module/shared/icons/keyboard/ThereforeIcon.js +0 -34
  148. package/dist/module/shared/icons/keyboard/ThereforeIcon.js.map +0 -1
  149. package/dist/module/shared/icons/keyboard/TriangleIcon.js +0 -24
  150. package/dist/module/shared/icons/keyboard/TriangleIcon.js.map +0 -1
  151. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +0 -4
  152. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +0 -1
  153. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/helpers.d.ts +0 -14
  154. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/helpers.d.ts.map +0 -1
  155. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/types.d.ts +0 -5
  156. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/types.d.ts.map +0 -1
  157. package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts +0 -3
  158. package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts.map +0 -1
  159. package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts +0 -4
  160. package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts.map +0 -1
  161. package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts +0 -4
  162. package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts.map +0 -1
  163. package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts +0 -4
  164. package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts.map +0 -1
  165. package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts +0 -4
  166. package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts.map +0 -1
  167. package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts +0 -4
  168. package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts.map +0 -1
  169. package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts +0 -4
  170. package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts.map +0 -1
  171. package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts +0 -4
  172. package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts.map +0 -1
  173. package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +0 -4
  174. package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +0 -1
  175. package/dist/typescript/module/features/keyboard/components/GeometryLayout/helpers.d.ts +0 -14
  176. package/dist/typescript/module/features/keyboard/components/GeometryLayout/helpers.d.ts.map +0 -1
  177. package/dist/typescript/module/features/keyboard/components/GeometryLayout/types.d.ts +0 -5
  178. package/dist/typescript/module/features/keyboard/components/GeometryLayout/types.d.ts.map +0 -1
  179. package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts +0 -3
  180. package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts.map +0 -1
  181. package/dist/typescript/module/shared/icons/GeometryIcon.d.ts +0 -4
  182. package/dist/typescript/module/shared/icons/GeometryIcon.d.ts.map +0 -1
  183. package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts +0 -4
  184. package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts.map +0 -1
  185. package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts +0 -4
  186. package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts.map +0 -1
  187. package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts +0 -4
  188. package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts.map +0 -1
  189. package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts +0 -4
  190. package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts.map +0 -1
  191. package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts +0 -4
  192. package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts.map +0 -1
  193. package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts +0 -4
  194. package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts.map +0 -1
  195. package/src/features/keyboard/components/GeometryLayout/GeometryLayout.tsx +0 -82
  196. package/src/features/keyboard/components/GeometryLayout/helpers.tsx +0 -46
  197. package/src/features/keyboard/components/GeometryLayout/types.ts +0 -4
  198. package/src/features/keyboard/constants/groups/geometry.constants.ts +0 -25
  199. package/src/shared/icons/GeometryIcon.tsx +0 -18
  200. package/src/shared/icons/keyboard/ImpliesIcon.tsx +0 -16
  201. package/src/shared/icons/keyboard/LetterAIcon.tsx +0 -14
  202. package/src/shared/icons/keyboard/LetterBIcon.tsx +0 -14
  203. package/src/shared/icons/keyboard/LetterCIcon.tsx +0 -14
  204. package/src/shared/icons/keyboard/ThereforeIcon.tsx +0 -15
  205. package/src/shared/icons/keyboard/TriangleIcon.tsx +0 -18
@@ -1,7 +0,0 @@
1
- "use strict";
2
-
3
- import { MATH_BASIC_OPERATORS, MATH_GEOMETRY_SYMBOLS } from "../keys/index.js";
4
- export const KEYBOARD_GEOMETRY = {
5
- keys: [MATH_GEOMETRY_SYMBOLS.ANGLE, MATH_GEOMETRY_SYMBOLS.TRIANGLE, MATH_GEOMETRY_SYMBOLS.THEREFORE, MATH_GEOMETRY_SYMBOLS.IMPLIES, MATH_BASIC_OPERATORS.SIMILARITY, MATH_GEOMETRY_SYMBOLS.LINE_SEGMENT, MATH_GEOMETRY_SYMBOLS.RIGHT_DIRECTED_SEGMENT, MATH_GEOMETRY_SYMBOLS.BIDIRECTIONAL_SEGMENT, MATH_GEOMETRY_SYMBOLS.PERPENDICULAR, MATH_BASIC_OPERATORS.APPROXIMATELY_EQUAL, MATH_GEOMETRY_SYMBOLS.A, MATH_GEOMETRY_SYMBOLS.B, MATH_GEOMETRY_SYMBOLS.C, MATH_GEOMETRY_SYMBOLS.PARALLEL, MATH_BASIC_OPERATORS.CONGRUENT]
6
- };
7
- //# sourceMappingURL=geometry.constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["MATH_BASIC_OPERATORS","MATH_GEOMETRY_SYMBOLS","KEYBOARD_GEOMETRY","keys","ANGLE","TRIANGLE","THEREFORE","IMPLIES","SIMILARITY","LINE_SEGMENT","RIGHT_DIRECTED_SEGMENT","BIDIRECTIONAL_SEGMENT","PERPENDICULAR","APPROXIMATELY_EQUAL","A","B","C","PARALLEL","CONGRUENT"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/constants/groups/geometry.constants.ts"],"mappings":";;AAAA,SACEA,oBAAoB,EACpBC,qBAAqB,QAChB,kBAAS;AAGhB,OAAO,MAAMC,iBAAgC,GAAG;EAC9CC,IAAI,EAAE,CACJF,qBAAqB,CAACG,KAAK,EAC3BH,qBAAqB,CAACI,QAAQ,EAC9BJ,qBAAqB,CAACK,SAAS,EAC/BL,qBAAqB,CAACM,OAAO,EAC7BP,oBAAoB,CAACQ,UAAU,EAC/BP,qBAAqB,CAACQ,YAAY,EAClCR,qBAAqB,CAACS,sBAAsB,EAC5CT,qBAAqB,CAACU,qBAAqB,EAC3CV,qBAAqB,CAACW,aAAa,EACnCZ,oBAAoB,CAACa,mBAAmB,EACxCZ,qBAAqB,CAACa,CAAC,EACvBb,qBAAqB,CAACc,CAAC,EACvBd,qBAAqB,CAACe,CAAC,EACvBf,qBAAqB,CAACgB,QAAQ,EAC9BjB,oBAAoB,CAACkB,SAAS;AAElC,CAAC","ignoreList":[]}
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import Svg, { Path } from 'react-native-svg';
5
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
- export const GeometryIcon = ({
7
- size = 16,
8
- color
9
- }) => {
10
- return /*#__PURE__*/_jsxs(Svg, {
11
- width: size,
12
- height: size,
13
- viewBox: "0 0 16 16",
14
- fill: "none",
15
- children: [/*#__PURE__*/_jsx(Path, {
16
- d: "M15.499 16.0009H14.998L15.499 15.4999V16.0009ZM0.399414 15.9902C0.204051 15.9502 0.0497107 15.7968 0.00976562 15.6015L0 15.5009V0.500901C9.37645e-05 0.0555518 0.538555 -0.167482 0.853516 0.147385L15.8525 15.1474C16.1674 15.4624 15.9444 16.0009 15.499 16.0009V15.4999L14.998 16.0009H0.5L0.399414 15.9902ZM1.59961 14.4003H12.8428L1.59961 3.15715V14.4003Z",
17
- fill: color
18
- }), /*#__PURE__*/_jsx(Path, {
19
- d: "M5.09541 10.7012C5.20587 10.7012 5.29541 10.7907 5.29541 10.9012V13.5055C5.29541 13.616 5.20587 13.7055 5.09541 13.7055H4.20604C4.09558 13.7055 4.00604 13.616 4.00604 13.5055V12.1898C4.00604 12.0793 3.9165 11.9898 3.80604 11.9898H2.49108C2.38062 11.9898 2.29108 11.9002 2.29108 11.7898V10.9012C2.29108 10.7907 2.38062 10.7012 2.49108 10.7012H5.09541Z",
20
- fill: color
21
- })]
22
- });
23
- };
24
- //# sourceMappingURL=GeometryIcon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Svg","Path","jsx","_jsx","jsxs","_jsxs","GeometryIcon","size","color","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../src","sources":["shared/icons/GeometryIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE5C,OAAO,MAAMC,YAAY,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC;AAAiB,CAAC,KAAK;EAC/D,oBACEH,KAAA,CAACL,GAAG;IAACS,KAAK,EAAEF,IAAK;IAACG,MAAM,EAAEH,IAAK;IAACI,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,gBAC7DV,IAAA,CAACF,IAAI;MACHa,CAAC,EAAC,kWAAkW;MACpWF,IAAI,EAAEJ;IAAM,CACb,CAAC,eACFL,IAAA,CAACF,IAAI;MACHa,CAAC,EAAC,gWAAgW;MAClWF,IAAI,EAAEJ;IAAM,CACb,CAAC;EAAA,CACC,CAAC;AAEV,CAAC","ignoreList":[]}
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import Svg, { Path } from 'react-native-svg';
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- const ASPECT_RATIO = 20 / 18;
7
- export const ImpliesIcon = ({
8
- size = 20,
9
- color
10
- }) => {
11
- return /*#__PURE__*/_jsx(Svg, {
12
- width: size,
13
- height: size / ASPECT_RATIO,
14
- viewBox: "0 0 20 18",
15
- fill: "none",
16
- children: /*#__PURE__*/_jsx(Path, {
17
- d: "M11.1808 4.25566C11.4933 3.94351 12.0004 3.94333 12.3127 4.25566L16.4904 8.43438C16.8025 8.74673 16.8025 9.25289 16.4904 9.56524L12.3127 13.7439C12.0004 14.0563 11.4933 14.0561 11.1808 13.7439C10.8684 13.4315 10.8684 12.9245 11.1808 12.6121L11.5441 12.2488H4.07538C3.63366 12.2487 3.27557 11.8908 3.27557 11.449C3.27573 11.0074 3.63376 10.6494 4.07538 10.6492H12.9781C13.0841 10.6492 13.1859 10.6071 13.2609 10.5321L14.7224 9.07052C14.7615 9.03146 14.7615 8.96815 14.7224 8.92909L13.2599 7.46657C13.1849 7.39156 13.0832 7.34941 12.9771 7.34941H4.07538C3.63366 7.34928 3.27557 6.99136 3.27557 6.54961C3.27573 6.108 3.63376 5.74994 4.07538 5.74981H11.5432L11.1808 5.3875C10.8685 5.07514 10.8686 4.5681 11.1808 4.25566Z",
18
- fill: color
19
- })
20
- });
21
- };
22
- //# sourceMappingURL=ImpliesIcon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Svg","Path","jsx","_jsx","ASPECT_RATIO","ImpliesIcon","size","color","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../../src","sources":["shared/icons/keyboard/ImpliesIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAE5C,MAAMC,YAAY,GAAG,EAAE,GAAG,EAAE;AAE5B,OAAO,MAAMC,WAAW,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC;AAAiB,CAAC,KAAK;EAC9D,oBACEJ,IAAA,CAACH,GAAG;IAACQ,KAAK,EAAEF,IAAK;IAACG,MAAM,EAAEH,IAAI,GAAGF,YAAa;IAACM,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC5ET,IAAA,CAACF,IAAI;MACHY,CAAC,EAAC,8sBAA8sB;MAChtBF,IAAI,EAAEJ;IAAM,CACb;EAAC,CACC,CAAC;AAEV,CAAC","ignoreList":[]}
@@ -1,21 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import Svg, { Path } from 'react-native-svg';
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- export const LetterAIcon = ({
7
- size = 16,
8
- color
9
- }) => {
10
- return /*#__PURE__*/_jsx(Svg, {
11
- width: size,
12
- height: size,
13
- viewBox: "0 0 16 16",
14
- fill: "none",
15
- children: /*#__PURE__*/_jsx(Path, {
16
- d: "M10.352 14L9.92 11.2H5.152L3.424 14H1.584L8.608 2.8H10.16L12 14H10.352ZM6.064 9.68H9.712L8.976 4.96L6.064 9.68Z",
17
- fill: color
18
- })
19
- });
20
- };
21
- //# sourceMappingURL=LetterAIcon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Svg","Path","jsx","_jsx","LetterAIcon","size","color","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../../src","sources":["shared/icons/keyboard/LetterAIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAE5C,OAAO,MAAMC,WAAW,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC;AAAiB,CAAC,KAAK;EAC9D,oBACEH,IAAA,CAACH,GAAG;IAACO,KAAK,EAAEF,IAAK;IAACG,MAAM,EAAEH,IAAK;IAACI,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7DR,IAAA,CAACF,IAAI;MACHW,CAAC,EAAC,iHAAiH;MACnHF,IAAI,EAAEJ;IAAM,CACb;EAAC,CACC,CAAC;AAEV,CAAC","ignoreList":[]}
@@ -1,21 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import Svg, { Path } from 'react-native-svg';
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- export const LetterBIcon = ({
7
- size = 16,
8
- color
9
- }) => {
10
- return /*#__PURE__*/_jsx(Svg, {
11
- width: size,
12
- height: size,
13
- viewBox: "0 0 16 16",
14
- fill: "none",
15
- children: /*#__PURE__*/_jsx(Path, {
16
- d: "M9.752 2.8C11.592 2.8 12.488 3.984 12.488 5.248C12.488 6.496 11.688 7.76 10.152 8.08C11.448 8.432 12.04 9.424 12.04 10.464C12.04 12.208 10.504 14 7.848 14H3.544L6.136 2.8H9.752ZM5.496 12.512H8.04C9.64 12.512 10.408 11.472 10.408 10.464C10.408 9.616 9.752 8.864 8.52 8.864H6.344L5.496 12.512ZM6.632 7.552H8.712C10.088 7.552 10.856 6.56 10.856 5.648C10.856 4.8 10.328 4.288 9.224 4.288H7.384L6.632 7.552Z",
17
- fill: color
18
- })
19
- });
20
- };
21
- //# sourceMappingURL=LetterBIcon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Svg","Path","jsx","_jsx","LetterBIcon","size","color","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../../src","sources":["shared/icons/keyboard/LetterBIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAE5C,OAAO,MAAMC,WAAW,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC;AAAiB,CAAC,KAAK;EAC9D,oBACEH,IAAA,CAACH,GAAG;IAACO,KAAK,EAAEF,IAAK;IAACG,MAAM,EAAEH,IAAK;IAACI,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7DR,IAAA,CAACF,IAAI;MACHW,CAAC,EAAC,oZAAoZ;MACtZF,IAAI,EAAEJ;IAAM,CACb;EAAC,CACC,CAAC;AAEV,CAAC","ignoreList":[]}
@@ -1,21 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import Svg, { Path } from 'react-native-svg';
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- export const LetterCIcon = ({
7
- size = 16,
8
- color
9
- }) => {
10
- return /*#__PURE__*/_jsx(Svg, {
11
- width: size,
12
- height: size,
13
- viewBox: "0 0 16 16",
14
- fill: "none",
15
- children: /*#__PURE__*/_jsx(Path, {
16
- d: "M7.98 12.688C9.596 12.688 10.716 11.808 11.516 10.272L12.86 11.024C11.692 13.232 10.012 14.256 7.82 14.256C4.444 14.256 2.732 11.808 2.732 9.024C2.732 5.68 5.148 2.544 8.94 2.544C10.876 2.544 12.348 3.376 13.324 4.88L11.996 5.856C11.356 4.752 10.316 4.096 8.796 4.096C5.948 4.096 4.38 6.464 4.38 8.816C4.38 10.896 5.612 12.688 7.98 12.688Z",
17
- fill: color
18
- })
19
- });
20
- };
21
- //# sourceMappingURL=LetterCIcon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Svg","Path","jsx","_jsx","LetterCIcon","size","color","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../../src","sources":["shared/icons/keyboard/LetterCIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAE5C,OAAO,MAAMC,WAAW,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC;AAAiB,CAAC,KAAK;EAC9D,oBACEH,IAAA,CAACH,GAAG;IAACO,KAAK,EAAEF,IAAK;IAACG,MAAM,EAAEH,IAAK;IAACI,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7DR,IAAA,CAACF,IAAI;MACHW,CAAC,EAAC,qVAAqV;MACvVF,IAAI,EAAEJ;IAAM,CACb;EAAC,CACC,CAAC;AAEV,CAAC","ignoreList":[]}
@@ -1,34 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import Svg, { Circle } from 'react-native-svg';
5
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
- const ASPECT_RATIO = 20 / 18;
7
- export const ThereforeIcon = ({
8
- size = 20,
9
- color
10
- }) => {
11
- return /*#__PURE__*/_jsxs(Svg, {
12
- width: size,
13
- height: size / ASPECT_RATIO,
14
- viewBox: "0 0 20 18",
15
- fill: "none",
16
- children: [/*#__PURE__*/_jsx(Circle, {
17
- cx: "7.07972",
18
- cy: "11.6398",
19
- r: "1.8",
20
- fill: color
21
- }), /*#__PURE__*/_jsx(Circle, {
22
- cx: "12.9203",
23
- cy: "11.6398",
24
- r: "1.8",
25
- fill: color
26
- }), /*#__PURE__*/_jsx(Circle, {
27
- cx: "10",
28
- cy: "6.36006",
29
- r: "1.8",
30
- fill: color
31
- })]
32
- });
33
- };
34
- //# sourceMappingURL=ThereforeIcon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Svg","Circle","jsx","_jsx","jsxs","_jsxs","ASPECT_RATIO","ThereforeIcon","size","color","width","height","viewBox","fill","children","cx","cy","r"],"sourceRoot":"../../../../../src","sources":["shared/icons/keyboard/ThereforeIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,GAAG,IAAIC,MAAM,QAAQ,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE9C,MAAMC,YAAY,GAAG,EAAE,GAAG,EAAE;AAE5B,OAAO,MAAMC,aAAa,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC;AAAiB,CAAC,KAAK;EAChE,oBACEJ,KAAA,CAACL,GAAG;IAACU,KAAK,EAAEF,IAAK;IAACG,MAAM,EAAEH,IAAI,GAAGF,YAAa;IAACM,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,gBAC5EX,IAAA,CAACF,MAAM;MAACc,EAAE,EAAC,SAAS;MAACC,EAAE,EAAC,SAAS;MAACC,CAAC,EAAC,KAAK;MAACJ,IAAI,EAAEJ;IAAM,CAAE,CAAC,eACzDN,IAAA,CAACF,MAAM;MAACc,EAAE,EAAC,SAAS;MAACC,EAAE,EAAC,SAAS;MAACC,CAAC,EAAC,KAAK;MAACJ,IAAI,EAAEJ;IAAM,CAAE,CAAC,eACzDN,IAAA,CAACF,MAAM;MAACc,EAAE,EAAC,IAAI;MAACC,EAAE,EAAC,SAAS;MAACC,CAAC,EAAC,KAAK;MAACJ,IAAI,EAAEJ;IAAM,CAAE,CAAC;EAAA,CACjD,CAAC;AAEV,CAAC","ignoreList":[]}
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import Svg, { Path } from 'react-native-svg';
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- const ASPECT_RATIO = 20 / 18;
7
- export const TriangleIcon = ({
8
- size = 20,
9
- color
10
- }) => {
11
- return /*#__PURE__*/_jsx(Svg, {
12
- width: size,
13
- height: size / ASPECT_RATIO,
14
- viewBox: "0 0 20 18",
15
- fill: "none",
16
- children: /*#__PURE__*/_jsx(Path, {
17
- d: "M9.82983 3.56494C9.9081 3.43933 10.0913 3.43941 10.1697 3.56494L16.2488 13.3228C16.3317 13.4559 16.2366 13.6281 16.0798 13.6284H3.92065C3.76376 13.6284 3.66791 13.456 3.75073 13.3228L9.82983 3.56494Z",
18
- stroke: color,
19
- strokeWidth: "1.6",
20
- strokeLinejoin: "round"
21
- })
22
- });
23
- };
24
- //# sourceMappingURL=TriangleIcon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Svg","Path","jsx","_jsx","ASPECT_RATIO","TriangleIcon","size","color","width","height","viewBox","fill","children","d","stroke","strokeWidth","strokeLinejoin"],"sourceRoot":"../../../../../src","sources":["shared/icons/keyboard/TriangleIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAE5C,MAAMC,YAAY,GAAG,EAAE,GAAG,EAAE;AAE5B,OAAO,MAAMC,YAAY,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC;AAAiB,CAAC,KAAK;EAC/D,oBACEJ,IAAA,CAACH,GAAG;IAACQ,KAAK,EAAEF,IAAK;IAACG,MAAM,EAAEH,IAAI,GAAGF,YAAa;IAACM,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC5ET,IAAA,CAACF,IAAI;MACHY,CAAC,EAAC,yMAAyM;MAC3MC,MAAM,EAAEP,KAAM;MACdQ,WAAW,EAAC,KAAK;MACjBC,cAAc,EAAC;IAAO,CACvB;EAAC,CACC,CAAC;AAEV,CAAC","ignoreList":[]}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { KeyboardLayoutProps } from '../../types/types';
3
- export declare const GeometryLayout: ({ onLayoutChange, keys, ...props }: KeyboardLayoutProps) => React.JSX.Element;
4
- //# sourceMappingURL=GeometryLayout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeometryLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/GeometryLayout/GeometryLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAUhD,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAMrE,eAAO,MAAM,cAAc,uCAAwC,mBAAmB,sBAyCrF,CAAA"}
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { SelectedLayout } from './types';
3
- type GetSelectOptionsProps = {
4
- selectedLayout: SelectedLayout;
5
- setSelectedLayout: (layout: SelectedLayout) => void;
6
- onLayoutChange?: (isSecondaryLayout: boolean) => void;
7
- };
8
- export declare function getSelectOptions({ selectedLayout, setSelectedLayout, onLayoutChange, }: GetSelectOptionsProps): {
9
- key: SelectedLayout;
10
- title: React.JSX.Element;
11
- onPressIn: () => void;
12
- }[];
13
- export {};
14
- //# sourceMappingURL=helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/GeometryLayout/helpers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAExC,KAAK,qBAAqB,GAAG;IAC3B,cAAc,EAAE,cAAc,CAAA;IAC9B,iBAAiB,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAA;IACnD,cAAc,CAAC,EAAE,CAAC,iBAAiB,EAAE,OAAO,KAAK,IAAI,CAAA;CACtD,CAAA;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,cAAc,EACd,iBAAiB,EACjB,cAAc,GACf,EAAE,qBAAqB;;;;IA6BvB"}
@@ -1,5 +0,0 @@
1
- export declare enum SelectedLayout {
2
- BASIC = "basic",
3
- GEOMETRY = "geometry"
4
- }
5
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/GeometryLayout/types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB"}
@@ -1,3 +0,0 @@
1
- import { KeyboardGroup } from '../../types/types';
2
- export declare const KEYBOARD_GEOMETRY: KeyboardGroup;
3
- //# sourceMappingURL=geometry.constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"geometry.constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/constants/groups/geometry.constants.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,eAAO,MAAM,iBAAiB,EAAE,aAkB/B,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from './keyboard/icon.types';
3
- export declare const GeometryIcon: ({ size, color }: IconProps) => React.JSX.Element;
4
- //# sourceMappingURL=GeometryIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeometryIcon.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/GeometryIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,eAAO,MAAM,YAAY,oBAA0B,SAAS,sBAa3D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from './icon.types';
3
- export declare const ImpliesIcon: ({ size, color }: IconProps) => React.JSX.Element;
4
- //# sourceMappingURL=ImpliesIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ImpliesIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/ImpliesIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,WAAW,oBAA0B,SAAS,sBAS1D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from './icon.types';
3
- export declare const LetterAIcon: ({ size, color }: IconProps) => React.JSX.Element;
4
- //# sourceMappingURL=LetterAIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LetterAIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/LetterAIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAGxC,eAAO,MAAM,WAAW,oBAA0B,SAAS,sBAS1D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from './icon.types';
3
- export declare const LetterBIcon: ({ size, color }: IconProps) => React.JSX.Element;
4
- //# sourceMappingURL=LetterBIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LetterBIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/LetterBIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAGxC,eAAO,MAAM,WAAW,oBAA0B,SAAS,sBAS1D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from './icon.types';
3
- export declare const LetterCIcon: ({ size, color }: IconProps) => React.JSX.Element;
4
- //# sourceMappingURL=LetterCIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LetterCIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/LetterCIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAGxC,eAAO,MAAM,WAAW,oBAA0B,SAAS,sBAS1D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from './icon.types';
3
- export declare const ThereforeIcon: ({ size, color }: IconProps) => React.JSX.Element;
4
- //# sourceMappingURL=ThereforeIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThereforeIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/ThereforeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,aAAa,oBAA0B,SAAS,sBAQ5D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from './icon.types';
3
- export declare const TriangleIcon: ({ size, color }: IconProps) => React.JSX.Element;
4
- //# sourceMappingURL=TriangleIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TriangleIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/TriangleIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,YAAY,oBAA0B,SAAS,sBAW3D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { KeyboardLayoutProps } from '../../types/types';
3
- export declare const GeometryLayout: ({ onLayoutChange, keys, ...props }: KeyboardLayoutProps) => React.JSX.Element;
4
- //# sourceMappingURL=GeometryLayout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeometryLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/GeometryLayout/GeometryLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAUhD,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAMrE,eAAO,MAAM,cAAc,uCAAwC,mBAAmB,sBAyCrF,CAAA"}
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { SelectedLayout } from './types';
3
- type GetSelectOptionsProps = {
4
- selectedLayout: SelectedLayout;
5
- setSelectedLayout: (layout: SelectedLayout) => void;
6
- onLayoutChange?: (isSecondaryLayout: boolean) => void;
7
- };
8
- export declare function getSelectOptions({ selectedLayout, setSelectedLayout, onLayoutChange, }: GetSelectOptionsProps): {
9
- key: SelectedLayout;
10
- title: React.JSX.Element;
11
- onPressIn: () => void;
12
- }[];
13
- export {};
14
- //# sourceMappingURL=helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/GeometryLayout/helpers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAExC,KAAK,qBAAqB,GAAG;IAC3B,cAAc,EAAE,cAAc,CAAA;IAC9B,iBAAiB,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAA;IACnD,cAAc,CAAC,EAAE,CAAC,iBAAiB,EAAE,OAAO,KAAK,IAAI,CAAA;CACtD,CAAA;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,cAAc,EACd,iBAAiB,EACjB,cAAc,GACf,EAAE,qBAAqB;;;;IA6BvB"}
@@ -1,5 +0,0 @@
1
- export declare enum SelectedLayout {
2
- BASIC = "basic",
3
- GEOMETRY = "geometry"
4
- }
5
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/GeometryLayout/types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB"}
@@ -1,3 +0,0 @@
1
- import { KeyboardGroup } from '../../types/types';
2
- export declare const KEYBOARD_GEOMETRY: KeyboardGroup;
3
- //# sourceMappingURL=geometry.constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"geometry.constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/constants/groups/geometry.constants.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,eAAO,MAAM,iBAAiB,EAAE,aAkB/B,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from './keyboard/icon.types';
3
- export declare const GeometryIcon: ({ size, color }: IconProps) => React.JSX.Element;
4
- //# sourceMappingURL=GeometryIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeometryIcon.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/GeometryIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,eAAO,MAAM,YAAY,oBAA0B,SAAS,sBAa3D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from './icon.types';
3
- export declare const ImpliesIcon: ({ size, color }: IconProps) => React.JSX.Element;
4
- //# sourceMappingURL=ImpliesIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ImpliesIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/ImpliesIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,WAAW,oBAA0B,SAAS,sBAS1D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from './icon.types';
3
- export declare const LetterAIcon: ({ size, color }: IconProps) => React.JSX.Element;
4
- //# sourceMappingURL=LetterAIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LetterAIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/LetterAIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAGxC,eAAO,MAAM,WAAW,oBAA0B,SAAS,sBAS1D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from './icon.types';
3
- export declare const LetterBIcon: ({ size, color }: IconProps) => React.JSX.Element;
4
- //# sourceMappingURL=LetterBIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LetterBIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/LetterBIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAGxC,eAAO,MAAM,WAAW,oBAA0B,SAAS,sBAS1D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from './icon.types';
3
- export declare const LetterCIcon: ({ size, color }: IconProps) => React.JSX.Element;
4
- //# sourceMappingURL=LetterCIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LetterCIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/LetterCIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAGxC,eAAO,MAAM,WAAW,oBAA0B,SAAS,sBAS1D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from './icon.types';
3
- export declare const ThereforeIcon: ({ size, color }: IconProps) => React.JSX.Element;
4
- //# sourceMappingURL=ThereforeIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThereforeIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/ThereforeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,aAAa,oBAA0B,SAAS,sBAQ5D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from './icon.types';
3
- export declare const TriangleIcon: ({ size, color }: IconProps) => React.JSX.Element;
4
- //# sourceMappingURL=TriangleIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TriangleIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/TriangleIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,YAAY,oBAA0B,SAAS,sBAW3D,CAAA"}
@@ -1,82 +0,0 @@
1
- import React, { useMemo, useState } from 'react'
2
- import { KeysList } from '../KeysList/KeysList'
3
- import { StyleSheet, useWindowDimensions, View } from 'react-native'
4
- import {
5
- COLORS,
6
- IS_MOBILE,
7
- SelectGroup,
8
- SelectOptionSize,
9
- SPACING,
10
- } from '@magmamath/react-native-ui'
11
- import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
12
- import { SelectedLayout } from './types'
13
- import { getMainKeyboardGroup } from '../../helpers'
14
- import { getSelectOptions } from './helpers'
15
- import { KEYBOARD_LAYOUTS } from '../../constants/keyboardLayouts'
16
-
17
- export const GeometryLayout = ({ onLayoutChange, keys, ...props }: KeyboardLayoutProps) => {
18
- const [selectedLayout, setSelectedLayout] = useState<SelectedLayout>(SelectedLayout.BASIC)
19
- const { width } = useWindowDimensions()
20
- const selectOptions = getSelectOptions({ selectedLayout, setSelectedLayout, onLayoutChange })
21
- const isDesktop = width > KEYBOARD_LAYOUTS[KeyboardType.Geometry].mobileBreakpoint && !IS_MOBILE
22
-
23
- const keyboardGroups = useMemo(() => {
24
- const geometry = getMainKeyboardGroup(keys, KeyboardType.Geometry)
25
- const basic = getMainKeyboardGroup(
26
- keys,
27
- isDesktop ? KeyboardType.BasicPlusPlus : KeyboardType.BasicPlusPlusMobile,
28
- )
29
-
30
- return new Map([
31
- [SelectedLayout.BASIC, basic],
32
- [SelectedLayout.GEOMETRY, geometry],
33
- ])
34
- }, [isDesktop, keys])
35
-
36
- const currentKeys = keyboardGroups.get(selectedLayout)?.keys ?? []
37
-
38
- return (
39
- <View style={styles.container}>
40
- {isDesktop && (
41
- <SelectGroup
42
- numOfRows={2}
43
- options={selectOptions}
44
- size={SelectOptionSize.SMALL}
45
- style={{
46
- container: styles.optionContainer,
47
- option: { container: styles.option },
48
- }}
49
- color={props.color}
50
- selectedOptions={[
51
- selectedLayout === SelectedLayout.BASIC ? selectOptions[0] : selectOptions[1],
52
- ]}
53
- />
54
- )}
55
- <KeysList keys={currentKeys} numOfRows={3} {...props} />
56
- </View>
57
- )
58
- }
59
-
60
- const styles = StyleSheet.create({
61
- container: {
62
- display: 'flex',
63
- flexDirection: 'row',
64
- gap: SPACING[400],
65
- paddingRight: SPACING[400],
66
- },
67
- optionContainer: {
68
- flexGrow: 0,
69
- flexShrink: 0,
70
- flexBasis: IS_MOBILE ? 60 : 'auto',
71
- width: 'auto',
72
- paddingRight: 18,
73
- borderRightWidth: 1,
74
- borderRightColor: COLORS.NEUTRAL_3,
75
- maxWidth: 65,
76
- gap: 9,
77
- },
78
- option: {
79
- flexBasis: 45,
80
- width: 44,
81
- },
82
- })
@@ -1,46 +0,0 @@
1
- import React from 'react'
2
- import { COLORS } from '@magmamath/react-native-ui'
3
- import { AlgebraIcon } from '../../../../shared/icons/AlgebraIcon'
4
- import { GeometryIcon } from '../../../../shared/icons/GeometryIcon'
5
- import { SelectedLayout } from './types'
6
-
7
- type GetSelectOptionsProps = {
8
- selectedLayout: SelectedLayout
9
- setSelectedLayout: (layout: SelectedLayout) => void
10
- onLayoutChange?: (isSecondaryLayout: boolean) => void
11
- }
12
-
13
- export function getSelectOptions({
14
- selectedLayout,
15
- setSelectedLayout,
16
- onLayoutChange,
17
- }: GetSelectOptionsProps) {
18
- return [
19
- {
20
- key: SelectedLayout.BASIC,
21
- title: (
22
- <AlgebraIcon
23
- color={selectedLayout === SelectedLayout.BASIC ? COLORS.NEUTRAL_1 : COLORS.NEUTRAL_9}
24
- size={22}
25
- />
26
- ),
27
- onPressIn: () => {
28
- setSelectedLayout(SelectedLayout.BASIC)
29
- onLayoutChange?.(false)
30
- },
31
- },
32
- {
33
- key: SelectedLayout.GEOMETRY,
34
- title: (
35
- <GeometryIcon
36
- color={selectedLayout === SelectedLayout.GEOMETRY ? COLORS.NEUTRAL_1 : COLORS.NEUTRAL_9}
37
- size={16}
38
- />
39
- ),
40
- onPressIn: () => {
41
- setSelectedLayout(SelectedLayout.GEOMETRY)
42
- onLayoutChange?.(true)
43
- },
44
- },
45
- ]
46
- }
@@ -1,4 +0,0 @@
1
- export enum SelectedLayout {
2
- BASIC = 'basic',
3
- GEOMETRY = 'geometry',
4
- }