@magmamath/students-features 0.9.0-rc6 → 0.9.0-rc8
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.
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +1 -1
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.js +1 -1
- package/dist/commonjs/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.js +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js +1 -1
- package/dist/commonjs/features/keyboard/components/Keyboard.js +3 -2
- package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/KeysList/KeysList.js +4 -3
- package/dist/commonjs/features/keyboard/components/KeysList/KeysList.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js +4 -4
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +3 -3
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keysValues.js +1 -1
- package/dist/commonjs/features/keyboard/index.js +13 -1
- package/dist/commonjs/features/keyboard/index.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/calculusOperators.js +1 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/calculusOperators.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/index.js +83 -0
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/index.js.map +1 -0
- package/dist/commonjs/features/keyboard/types/types.js.map +1 -0
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +1 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.js +1 -1
- package/dist/module/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.js +1 -1
- package/dist/module/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/Keyboard.js +4 -3
- package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/module/features/keyboard/components/KeysList/KeysList.js +4 -3
- package/dist/module/features/keyboard/components/KeysList/KeysList.js.map +1 -1
- package/dist/module/features/keyboard/components/Numpad/Numpad.js +1 -1
- package/dist/module/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js +4 -4
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboardLayouts.js +3 -3
- package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/module/features/keyboard/constants/keysValues.js +1 -1
- package/dist/module/features/keyboard/constants/keysValues.js.map +1 -1
- package/dist/module/features/keyboard/index.js +2 -1
- package/dist/module/features/keyboard/index.js.map +1 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/calculusOperators.js +1 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/calculusOperators.js.map +1 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/index.js +10 -0
- package/dist/module/features/keyboard/types/MathKeysGroups/index.js.map +1 -0
- package/dist/module/features/keyboard/types/types.js.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/keyboardGroups.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicExtendedLayout/keyboardGroups.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicExtendedLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicExtendedPlusLayout/keyboardGroups.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicExtendedPlusLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/BasicLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroup.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroup.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts +2 -1
- package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/KeysList/KeysList.d.ts +3 -2
- package/dist/typescript/commonjs/features/keyboard/components/KeysList/KeysList.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/Numpad/Numpad.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/Numpad/keyboardGroups.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/Numpad/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +8 -8
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keysValues.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keysValues.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/helpers.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/index.d.ts +2 -1
- package/dist/typescript/commonjs/features/keyboard/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/calculusOperators.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/calculusOperators.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/geometry.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/geometry.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/index.d.ts +8 -0
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/symbols.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/symbols.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/textSymbols.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/textSymbols.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/trigonometric.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/trigonometric.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/{types.d.ts → types/types.d.ts} +1 -0
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/keyboardGroups.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicExtendedLayout/keyboardGroups.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicExtendedLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicExtendedPlusLayout/keyboardGroups.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicExtendedPlusLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/BasicLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroup.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroup.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts +2 -1
- package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/KeysList/KeysList.d.ts +3 -2
- package/dist/typescript/module/features/keyboard/components/KeysList/KeysList.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/Numpad/Numpad.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/Numpad/keyboardGroups.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/Numpad/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitTabs.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitTabs.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +8 -8
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keysValues.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/constants/keysValues.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/helpers.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/index.d.ts +2 -1
- package/dist/typescript/module/features/keyboard/index.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/calculusOperators.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/calculusOperators.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/geometry.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/geometry.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/index.d.ts +8 -0
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/index.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/symbols.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/symbols.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/textSymbols.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/textSymbols.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/trigonometric.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/trigonometric.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/{types.d.ts → types/types.d.ts} +1 -0
- package/dist/typescript/module/features/keyboard/types/types.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +1 -1
- package/src/features/keyboard/components/AlgebraLayout/keyboardGroups.tsx +1 -1
- package/src/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.tsx +1 -1
- package/src/features/keyboard/components/BasicExtendedLayout/keyboardGroups.tsx +1 -1
- package/src/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.tsx +1 -1
- package/src/features/keyboard/components/BasicExtendedPlusLayout/keyboardGroups.tsx +1 -1
- package/src/features/keyboard/components/BasicLayout/BasicLayout.tsx +1 -1
- package/src/features/keyboard/components/BasicLayout/CurrencyBasicLayout.tsx +1 -1
- package/src/features/keyboard/components/BasicLayout/TimeBasicLayout.tsx +1 -1
- package/src/features/keyboard/components/BasicLayout/keyboardGroup.ts +1 -1
- package/src/features/keyboard/components/Keyboard.tsx +5 -3
- package/src/features/keyboard/components/KeysList/KeysList.tsx +6 -3
- package/src/features/keyboard/components/Numpad/Numpad.tsx +1 -1
- package/src/features/keyboard/components/Numpad/keyboardGroups.tsx +1 -1
- package/src/features/keyboard/components/UnitsLayout/UnitTabs.tsx +1 -1
- package/src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx +3 -4
- package/src/features/keyboard/components/UnitsLayout/keyboardGroups.tsx +1 -1
- package/src/features/keyboard/constants/keyboardLayouts.ts +3 -3
- package/src/features/keyboard/constants/keysValues.ts +1 -1
- package/src/features/keyboard/helpers.ts +1 -1
- package/src/features/keyboard/index.ts +2 -1
- package/src/features/keyboard/types/MathKeysGroups/basicOperators.tsx +1 -1
- package/src/features/keyboard/types/MathKeysGroups/calculusOperators.tsx +2 -2
- package/src/features/keyboard/types/MathKeysGroups/geometry.tsx +1 -1
- package/src/features/keyboard/types/MathKeysGroups/index.ts +7 -0
- package/src/features/keyboard/types/MathKeysGroups/specialOperators.tsx +1 -1
- package/src/features/keyboard/types/MathKeysGroups/symbols.tsx +1 -1
- package/src/features/keyboard/types/MathKeysGroups/textSymbols.tsx +1 -1
- package/src/features/keyboard/types/MathKeysGroups/trigonometric.tsx +1 -1
- package/src/features/keyboard/types/MathKeysGroups/units.tsx +1 -1
- package/src/features/keyboard/{types.ts → types/types.ts} +1 -0
- package/dist/commonjs/features/keyboard/types.js.map +0 -1
- package/dist/module/features/keyboard/types.js.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/types.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/types.d.ts.map +0 -1
- /package/dist/commonjs/features/keyboard/{types.js → types/types.js} +0 -0
- /package/dist/module/features/keyboard/{types.js → types/types.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/keyboard/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/keyboard/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,cAAc,wBAAwB,CAAA"}
|
package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basicOperators.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/basicOperators.tsx"],"names":[],"mappings":"AAsCA,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"basicOperators.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/basicOperators.tsx"],"names":[],"mappings":"AAsCA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAOxC,oBAAY,iBAAiB;IAC3B,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,kBAAkB,uBAAuB;IACzC,qBAAqB,0BAA0B;IAC/C,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,mBAAmB,wBAAwB;IAC3C,aAAa,kBAAkB;IAC/B,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,MAAM,WAAW;IACjB,YAAY,iBAAiB;IAC7B,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,kBAAkB,uBAAuB;IACzC,GAAG,QAAQ;IACX,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,QAAQ,aAAa;CACtB;AAED,eAAO,MAAM,oBAAoB,EAAE,aAAa,CAAC,OAAO,iBAAiB,CAuNxE,CAAA"}
|
package/dist/typescript/module/features/keyboard/types/MathKeysGroups/calculusOperators.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calculusOperators.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/calculusOperators.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"calculusOperators.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/calculusOperators.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAQxC,oBAAY,mCAAmC;IAC7C,QAAQ,aAAa;IACrB,eAAe,mBAAmB;IAClC,iBAAiB,qBAAqB;IACtC,UAAU,eAAe;CAC1B;AAED,eAAO,MAAM,8BAA8B,EAAE,aAAa,CACxD,OAAO,mCAAmC,CAwB3C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geometry.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/geometry.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"geometry.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/geometry.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAGxC,oBAAY,mBAAmB;IAC7B,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,aAAa,kBAAkB;IAC/B,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,qBAAqB,EAAE,aAAa,CAAC,OAAO,mBAAmB,CA0B3E,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './basicOperators';
|
|
2
|
+
export * from './textSymbols';
|
|
3
|
+
export * from './units';
|
|
4
|
+
export * from './specialOperators';
|
|
5
|
+
export * from './trigonometric';
|
|
6
|
+
export * from './calculusOperators';
|
|
7
|
+
export * from './geometry';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,oBAAoB,CAAA;AAClC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,qBAAqB,CAAA;AACnC,cAAc,YAAY,CAAA"}
|
package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specialOperators.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/specialOperators.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"specialOperators.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/specialOperators.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAIxC,oBAAY,mBAAmB;IAC7B,GAAG,QAAQ;IACX,EAAE,OAAO;IACT,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,SAAS,cAAc;CACxB;AAED,eAAO,MAAM,sBAAsB,EAAE,aAAa,CAAC,OAAO,mBAAmB,CA0B5E,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"symbols.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/symbols.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"symbols.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/symbols.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAmBxC,oBAAY,UAAU;IACpB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,eAAe,mBAAmB;IAClC,eAAe,mBAAmB;IAClC,EAAE,OAAO;IACT,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,GAAG,QAAQ;IACX,EAAE,OAAO;IACT,GAAG,QAAQ;CACZ;AAED,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC,OAAO,UAAU,CAiFzD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textSymbols.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/textSymbols.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"textSymbols.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/textSymbols.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAOxC,oBAAY,cAAc;IACxB,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;CACR;AAED,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,OAAO,cAAc,CA8ClE,CAAA"}
|
package/dist/typescript/module/features/keyboard/types/MathKeysGroups/trigonometric.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigonometric.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/trigonometric.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"trigonometric.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/trigonometric.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,oBAAY,8BAA8B;IACxC,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;CACZ;AAED,oBAAY,gCAAgC;IAC1C,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,kCAAkC,EAAE,aAAa,CAC5D,OAAO,8BAA8B,CAgCtC,CAAA;AAED,eAAO,MAAM,oCAAoC,EAAE,aAAa,CAC9D,OAAO,gCAAgC,CAgCxC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"units.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/units.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"units.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/units.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAUxC,oBAAY,gBAAgB;IAC1B,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,IAAI,SAAS;CACd;AAED,oBAAY,cAAc;IACxB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;IACb,OAAO,YAAY;CACpB;AAED,oBAAY,YAAY;IACtB,gBAAgB,qBAAqB;IACrC,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;IACrC,iBAAiB,sBAAsB;IACvC,iBAAiB,sBAAsB;IACvC,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,OAAO,YAAY;CACpB;AAED,oBAAY,cAAc;IACxB,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IACnC,gBAAgB,qBAAqB;IACrC,gBAAgB,qBAAqB;IACrC,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,KAAK,UAAU;IACf,aAAa,kBAAkB;IAC/B,QAAQ,aAAa;IACrB,EAAE,OAAO;IACT,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;IACb,EAAE,OAAO;CACV;AAED,oBAAY,cAAc;IACxB,EAAE,OAAO;IACT,CAAC,MAAM;IACP,EAAE,OAAO;IACT,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,CAAC,MAAM;IACP,EAAE,OAAO;IACT,EAAE,OAAO;IACT,GAAG,QAAQ;IACX,EAAE,OAAO;CACV;AAED,oBAAY,YAAY;IACtB,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;IACP,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,EAAE,OAAO;IACT,EAAE,OAAO;CACV;AAED,eAAO,MAAM,mBAAmB,EAAE,aAAa,CAAC,OAAO,gBAAgB,CAoCtE,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,OAAO,cAAc,CA6DlE,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,aAAa,CAAC,OAAO,YAAY,CAmD9D,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,OAAO,cAAc,CAqGlE,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,OAAO,cAAc,CAmDlE,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,aAAa,CAAC,OAAO,YAAY,CAkE9D,CAAA"}
|
|
@@ -33,6 +33,7 @@ export type KeyboardLayoutProps = {
|
|
|
33
33
|
color?: SelectOptionColor;
|
|
34
34
|
isSpecialButtonsDisabled?: boolean;
|
|
35
35
|
isDisabled?: boolean;
|
|
36
|
+
disabledKeys?: KeyboardKey[];
|
|
36
37
|
};
|
|
37
38
|
export type MathKeysGroup<T extends Record<string, string>> = {
|
|
38
39
|
[K in keyof T as T[K]]: KeyboardKey;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/types/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAE9D,0BAAkB,YAAY;IAC5B,eAAe,oBAAoB;IACnC,KAAK,UAAU;IACf,aAAa,kBAAkB;IAC/B,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B,UAAU,eAAe;IACzB,iBAAiB,sBAAsB;IACvC,MAAM,WAAW;CAClB;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,SAAS,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,WAAW,EAAE,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,UAAU,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAA;IAC3C,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,wBAAwB,CAAC,EAAE,OAAO,CAAA;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI;KAC3D,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,WAAW;CACpC,CAAA"}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ import { AlgebraIcon } from '../../../../shared/icons/AlgebraIcon'
|
|
|
6
6
|
import { IntegralABIcon } from '../../../../shared/icons/MATH/IntegralABIcon/IntegralABIcon'
|
|
7
7
|
import { Locale, useText } from '../../../../shared/translation'
|
|
8
8
|
import { KEYBOARD_GROUPS_BY_LOCALE } from '../../constants/keysValues'
|
|
9
|
-
import { KeyboardLayoutProps, KeyboardType } from '../../types'
|
|
9
|
+
import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
10
10
|
|
|
11
11
|
enum SelectedLayout {
|
|
12
12
|
BASIC = 'basic',
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
MATH_BASIC_TRIGONOMETRIC_FUNCTIONS,
|
|
6
6
|
MATH_INVERSE_TRIGONOMETRIC_FUNCTIONS,
|
|
7
7
|
} from '../../types/MathKeysGroups/trigonometric'
|
|
8
|
-
import { KeyboardGroup } from '../../types'
|
|
8
|
+
import { KeyboardGroup } from '../../types/types'
|
|
9
9
|
|
|
10
10
|
export const MATH_ENTRY_ALGEBRA_KEYBOARD_GROUP: KeyboardGroup = {
|
|
11
11
|
id: 'math-entry-algebra',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { KeysList } from '../KeysList/KeysList'
|
|
3
3
|
import { StyleSheet, View } from 'react-native'
|
|
4
|
-
import { KeyboardLayoutProps, KeyboardType } from '../../types'
|
|
4
|
+
import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
5
5
|
import { IS_MOBILE } from '@magmamath/react-native-ui'
|
|
6
6
|
import { useText } from '../../../../shared/translation'
|
|
7
7
|
import { KEYBOARD_GROUPS_BY_LOCALE } from '../../constants/keysValues'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MATH_BASIC_OPERATORS } from '../../types/MathKeysGroups/basicOperators'
|
|
2
2
|
import { MATH_TEXT_SYMBOLS } from '../../types/MathKeysGroups/textSymbols'
|
|
3
|
-
import { KeyboardGroup } from '../../types'
|
|
3
|
+
import { KeyboardGroup } from '../../types/types'
|
|
4
4
|
|
|
5
5
|
export const MATH_ENTRY_BASIC_SW_EXTENDED: KeyboardGroup = {
|
|
6
6
|
id: 'math-entry-basic-sw-extended',
|
package/src/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { StyleSheet, View } from 'react-native'
|
|
3
3
|
import { KeysList } from '../KeysList/KeysList'
|
|
4
|
-
import { KeyboardLayoutProps, KeyboardType } from '../../types'
|
|
4
|
+
import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
5
5
|
import { IS_MOBILE } from '@magmamath/react-native-ui'
|
|
6
6
|
import { useText } from '../../../../shared/translation'
|
|
7
7
|
import { KEYBOARD_GROUPS_BY_LOCALE } from '../../constants/keysValues'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KeyboardGroup } from '../../types'
|
|
1
|
+
import { KeyboardGroup } from '../../types/types'
|
|
2
2
|
import { MATH_BASIC_OPERATORS } from '../../types/MathKeysGroups/basicOperators'
|
|
3
3
|
import { MATH_SYMBOLS } from '../../types/MathKeysGroups/symbols'
|
|
4
4
|
import { MATH_GEOMETRY_SYMBOLS } from '../../types/MathKeysGroups/geometry'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react'
|
|
2
2
|
import { KeysList } from '../KeysList/KeysList'
|
|
3
3
|
import { StyleSheet, View } from 'react-native'
|
|
4
|
-
import { KeyboardLayoutProps } from '../../types'
|
|
4
|
+
import { KeyboardLayoutProps } from '../../types/types'
|
|
5
5
|
import { MATH_ENTRY_BASIC_KEYBOARD_GROUP } from './keyboardGroup'
|
|
6
6
|
import { IS_MOBILE } from '@magmamath/react-native-ui'
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@ import React from 'react'
|
|
|
2
2
|
import { KeysList } from '../KeysList/KeysList'
|
|
3
3
|
import { StyleSheet } from 'react-native'
|
|
4
4
|
import { BasicLayout } from './BasicLayout'
|
|
5
|
-
import { KeyboardLayoutProps, KeyboardType } from '../../types'
|
|
5
|
+
import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
6
6
|
import { Locale, useText } from '../../../../shared/translation'
|
|
7
7
|
import { KEYBOARD_GROUPS_BY_LOCALE } from '../../constants/keysValues'
|
|
8
8
|
import { IS_MOBILE } from '@magmamath/react-native-ui'
|
|
@@ -2,7 +2,7 @@ import React from 'react'
|
|
|
2
2
|
import { KeysList } from '../KeysList/KeysList'
|
|
3
3
|
import { StyleSheet } from 'react-native'
|
|
4
4
|
import { BasicLayout } from './BasicLayout'
|
|
5
|
-
import { KeyboardLayoutProps, KeyboardType } from '../../types'
|
|
5
|
+
import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
6
6
|
import { useText, Locale } from '../../../../shared/translation'
|
|
7
7
|
import { KEYBOARD_GROUPS_BY_LOCALE } from '../../constants/keysValues'
|
|
8
8
|
import { IS_MOBILE } from '@magmamath/react-native-ui'
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
Easing,
|
|
8
8
|
useWindowDimensions,
|
|
9
9
|
} from 'react-native'
|
|
10
|
-
import { COLORS, SelectOptionColor } from '@magmamath/react-native-ui'
|
|
10
|
+
import { COLORS, SelectOptionColor, SHADOWS } from '@magmamath/react-native-ui'
|
|
11
11
|
import { Numpad } from './Numpad/Numpad'
|
|
12
12
|
import { getLayoutByCharType } from '../constants/keyboardLayouts'
|
|
13
|
-
import { KeyboardKeyValue } from '../types'
|
|
13
|
+
import { KeyboardKey, KeyboardKeyValue } from '../types/types'
|
|
14
14
|
|
|
15
15
|
type KeyboardProps = {
|
|
16
16
|
onKeyPress: ({ katexValue, mathliveValue, isSpecialSymbol }: KeyboardKeyValue) => void
|
|
@@ -20,6 +20,7 @@ type KeyboardProps = {
|
|
|
20
20
|
visible?: boolean
|
|
21
21
|
isSpecialButtonsDisabled?: boolean
|
|
22
22
|
isDisabled?: boolean
|
|
23
|
+
disabledKeys?: KeyboardKey[]
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
export const Keyboard = ({ style, characterType, visible = true, ...props }: KeyboardProps) => {
|
|
@@ -52,7 +53,7 @@ export const Keyboard = ({ style, characterType, visible = true, ...props }: Key
|
|
|
52
53
|
]}
|
|
53
54
|
>
|
|
54
55
|
<Layout {...props} />
|
|
55
|
-
{width >=
|
|
56
|
+
{width >= 1275 && <Numpad {...props} />}
|
|
56
57
|
</Animated.View>
|
|
57
58
|
)
|
|
58
59
|
}
|
|
@@ -72,5 +73,6 @@ const styles = StyleSheet.create({
|
|
|
72
73
|
width: 'auto',
|
|
73
74
|
overflow: 'hidden',
|
|
74
75
|
minHeight: 155,
|
|
76
|
+
...SHADOWS[2],
|
|
75
77
|
},
|
|
76
78
|
})
|
|
@@ -6,12 +6,13 @@ import {
|
|
|
6
6
|
SelectOptionColor,
|
|
7
7
|
SelectOptionSize,
|
|
8
8
|
} from '@magmamath/react-native-ui'
|
|
9
|
-
import { KeyboardKey, KeyboardLayoutProps } from '../../types'
|
|
9
|
+
import { KeyboardKey, KeyboardLayoutProps } from '../../types/types'
|
|
10
10
|
import { DISABLED_KEYS } from '../../constants/keysValues'
|
|
11
11
|
|
|
12
12
|
type KeysListProps = {
|
|
13
13
|
keys: KeyboardKey[]
|
|
14
14
|
numOfRows?: number
|
|
15
|
+
disabledKeys?: KeyboardKey[]
|
|
15
16
|
color?: SelectOptionColor
|
|
16
17
|
style?: {
|
|
17
18
|
container?: StyleProp<ViewStyle>
|
|
@@ -26,6 +27,7 @@ export const KeysList = ({
|
|
|
26
27
|
onKeyPress,
|
|
27
28
|
isSpecialButtonsDisabled,
|
|
28
29
|
isDisabled,
|
|
30
|
+
disabledKeys,
|
|
29
31
|
}: KeysListProps) => {
|
|
30
32
|
return (
|
|
31
33
|
<SelectGroup
|
|
@@ -44,10 +46,11 @@ export const KeysList = ({
|
|
|
44
46
|
numOfRows={numOfRows}
|
|
45
47
|
color={SelectOptionColor.GREY}
|
|
46
48
|
disabled={isDisabled}
|
|
47
|
-
options={keys.map((key) => ({
|
|
49
|
+
options={keys.map((key, index) => ({
|
|
48
50
|
key: key.katexValue,
|
|
49
51
|
title: key.icon ? key.icon : key.label,
|
|
50
|
-
disabled:
|
|
52
|
+
disabled:
|
|
53
|
+
(isSpecialButtonsDisabled && DISABLED_KEYS.includes(key)) || disabledKeys?.includes(key),
|
|
51
54
|
}))}
|
|
52
55
|
size={SelectOptionSize.SMALL}
|
|
53
56
|
onOptionChange={(option) => {
|
|
@@ -2,7 +2,7 @@ import React from 'react'
|
|
|
2
2
|
import { KeysList } from '../KeysList/KeysList'
|
|
3
3
|
import { StyleSheet, View } from 'react-native'
|
|
4
4
|
import { COLORS, SPACING } from '@magmamath/react-native-ui'
|
|
5
|
-
import { KeyboardLayoutProps, KeyboardType } from '../../types'
|
|
5
|
+
import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
6
6
|
import { Locale, useText } from '../../../../shared/translation'
|
|
7
7
|
import { getKeyboardGroup } from '../../helpers'
|
|
8
8
|
import { IS_MOBILE } from '@magmamath/react-native-ui'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MATH_SPECIAL_OPERATORS } from '../../types/MathKeysGroups/specialOperators'
|
|
2
2
|
import { MATH_BASIC_OPERATORS } from '../../types/MathKeysGroups/basicOperators'
|
|
3
|
-
import { KeyboardGroup } from '../../types'
|
|
3
|
+
import { KeyboardGroup } from '../../types/types'
|
|
4
4
|
|
|
5
5
|
export const MATH_ENTRY_NUMBERS_SW_KEYBOARD_GROUP: KeyboardGroup = {
|
|
6
6
|
id: 'math-entry-numbers-sw',
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
KeyboardUnitsGroupType,
|
|
8
8
|
MATH_ENTRY_LENGTH_UNITS_SW_KEYBOARD_GROUPS,
|
|
9
9
|
} from './keyboardGroups'
|
|
10
|
-
import { KeyboardLayoutProps } from '../../types'
|
|
10
|
+
import { KeyboardLayoutProps } from '../../types/types'
|
|
11
11
|
import { Locale, useText } from '../../../../shared/translation'
|
|
12
12
|
|
|
13
13
|
type UnitTabsProps = {
|
|
@@ -16,7 +16,7 @@ import { RectangleIcon } from '../../../../shared/icons/RectangleIcon'
|
|
|
16
16
|
import { VolumeIcon } from '../../../../shared/icons/VolumeIcon'
|
|
17
17
|
import { WeightIcon } from '../../../../shared/icons/WeightIcon'
|
|
18
18
|
import { UnitTabs } from './UnitTabs'
|
|
19
|
-
import { KeyboardLayoutProps, KeyboardType } from '../../types'
|
|
19
|
+
import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
20
20
|
import {
|
|
21
21
|
KeyboardUnitsGroupType,
|
|
22
22
|
MATH_ENTRY_AREA_UNITS_SW_KEYBOARD_GROUPS,
|
|
@@ -96,7 +96,7 @@ export const UnitsLayout = (props: KeyboardLayoutProps) => {
|
|
|
96
96
|
title: (
|
|
97
97
|
<AlgebraIcon
|
|
98
98
|
color={selectedLayout === SelectedLayout.ALGEBRA ? COLORS.NEUTRAL_1 : COLORS.NEUTRAL_9}
|
|
99
|
-
size={
|
|
99
|
+
size={20}
|
|
100
100
|
/>
|
|
101
101
|
),
|
|
102
102
|
key: '1',
|
|
@@ -113,8 +113,6 @@ export const UnitsLayout = (props: KeyboardLayoutProps) => {
|
|
|
113
113
|
]
|
|
114
114
|
}, [activeTab, selectedLayout])
|
|
115
115
|
|
|
116
|
-
console.log('IS_MOBILE', IS_MOBILE)
|
|
117
|
-
|
|
118
116
|
return (
|
|
119
117
|
<View style={styles.container}>
|
|
120
118
|
<SelectGroup
|
|
@@ -182,6 +180,7 @@ const styles = StyleSheet.create({
|
|
|
182
180
|
paddingRight: 16,
|
|
183
181
|
borderRightWidth: 1,
|
|
184
182
|
borderRightColor: COLORS.NEUTRAL_3,
|
|
183
|
+
maxWidth: 60,
|
|
185
184
|
},
|
|
186
185
|
key: {
|
|
187
186
|
width: 42,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KeyboardType } from '../types'
|
|
1
|
+
import { KeyboardType } from '../types/types'
|
|
2
2
|
import { AlgebraLayout } from '../components/AlgebraLayout/AlgebraLayout'
|
|
3
3
|
import { BasicLayout } from '../components/BasicLayout/BasicLayout'
|
|
4
4
|
import { BasicExtendedLayout } from '../components/BasicExtendedLayout/BasicExtendedLayout'
|
|
@@ -10,7 +10,7 @@ import { BasicExtendedPlusLayout } from '../components/BasicExtendedPlusLayout/B
|
|
|
10
10
|
export const KEYBOARD_LAYOUTS = {
|
|
11
11
|
[KeyboardType.AlgebraAdvanced]: {
|
|
12
12
|
Component: AlgebraLayout,
|
|
13
|
-
characterTypes: [6, 19, 21, 22],
|
|
13
|
+
characterTypes: [6, 19, 20, 21, 22],
|
|
14
14
|
},
|
|
15
15
|
[KeyboardType.Basic]: {
|
|
16
16
|
Component: BasicLayout,
|
|
@@ -30,7 +30,7 @@ export const KEYBOARD_LAYOUTS = {
|
|
|
30
30
|
},
|
|
31
31
|
[KeyboardType.BasicUnits]: {
|
|
32
32
|
Component: UnitsLayout,
|
|
33
|
-
characterTypes: [5, 14
|
|
33
|
+
characterTypes: [5, 14],
|
|
34
34
|
},
|
|
35
35
|
[KeyboardType.BasicExtendedPlus]: {
|
|
36
36
|
Component: BasicExtendedPlusLayout,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { KEYBOARD_GROUPS_BY_LOCALE } from './constants/keysValues'
|
|
2
|
-
import { KeyboardGroup, KeyboardType } from './types'
|
|
2
|
+
import { KeyboardGroup, KeyboardType } from './types/types'
|
|
3
3
|
import { Locale } from '../../shared/translation/types'
|
|
4
4
|
import { MATH_ENTRY_ALGEBRA_KEYBOARD_GROUP } from './components/AlgebraLayout/keyboardGroups'
|
|
5
5
|
|
|
@@ -36,7 +36,7 @@ import { PlusMinusIcon } from '../../../../shared/icons/MATH/PlusMinusIcon/PlusM
|
|
|
36
36
|
import { SigmaSumIcon } from '../../../../shared/icons/MATH/SigmaSumIcon/SigmaSumIcon'
|
|
37
37
|
import { ParenthesesIcon } from '../../../../shared/icons/MATH/ParenthesesIcon/ParenthesesIcon'
|
|
38
38
|
import { OrderedPairIcon } from '../../../../shared/icons/MATH/OrderedPairIcon/OrderedPairIcon'
|
|
39
|
-
import { MathKeysGroup } from '
|
|
39
|
+
import { MathKeysGroup } from '../types'
|
|
40
40
|
import { DEFAULT_KEY_ICON_PROPS } from '../../constants'
|
|
41
41
|
import { DivisionIcon } from '../../../../shared/icons/MATH/DivisionIcon/DivisionIcon'
|
|
42
42
|
import { EqualsIcon } from '../../../../shared/icons/MATH/EqualsIcon/EqualsIcon'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import { MathKeysGroup } from '
|
|
2
|
+
import { MathKeysGroup } from '../types'
|
|
3
3
|
import { COLORS } from '@magmamath/react-native-ui'
|
|
4
4
|
import { IntegralIcon } from '../../../../shared/icons/MATH/IntegralIcon/IntegralIcon'
|
|
5
5
|
import { DoubleIntegralIcon } from '../../../../shared/icons/MATH/DoubleIntegralIcon/DoubleIntegralIcon'
|
|
@@ -19,7 +19,7 @@ export const MATH_INTEGRALS_AND_DERIVATIVES: MathKeysGroup<
|
|
|
19
19
|
> = {
|
|
20
20
|
[MathIntegralsAndDerivativesOperator.INTEGRAL]: {
|
|
21
21
|
icon: <IntegralIcon {...DEFAULT_KEY_ICON_PROPS} />,
|
|
22
|
-
mathliveValue: '
|
|
22
|
+
mathliveValue: '\\int',
|
|
23
23
|
katexValue: '∫',
|
|
24
24
|
},
|
|
25
25
|
[MathIntegralsAndDerivativesOperator.DOUBLE_INTEGRAL]: {
|
|
@@ -3,7 +3,7 @@ import { DegreeIcon } from '../../../../shared/icons/MATH/DegreeIcon/DegreeIcon'
|
|
|
3
3
|
import { AngleIcon } from '../../../../shared/icons/MATH/AngleIcon/AngleIcon'
|
|
4
4
|
import { ParallelIcon } from '../../../../shared/icons/MATH/ParallelIcon/ParallelIcon'
|
|
5
5
|
import { PerpendicularIcon } from '../../../../shared/icons/MATH/PerpendicularIcon/PerpendicularIcon'
|
|
6
|
-
import { MathKeysGroup } from '
|
|
6
|
+
import { MathKeysGroup } from '../types'
|
|
7
7
|
import { DEFAULT_KEY_ICON_PROPS } from '../../constants'
|
|
8
8
|
|
|
9
9
|
export enum MathGeometrySymbols {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PiIcon } from '../../../../shared/icons/MATH/PiIcon/PiIcon'
|
|
2
|
-
import { MathKeysGroup } from '
|
|
2
|
+
import { MathKeysGroup } from '../types'
|
|
3
3
|
import { AlphaIcon } from '../../../../shared/icons/MATH/AlphaIcon/AlphaIcon'
|
|
4
4
|
import { BetaIcon } from '../../../../shared/icons/MATH/BetaIcon/BetaIcon'
|
|
5
5
|
import { GammaIcon } from '../../../../shared/icons/MATH/GammaIcon/GammaIcon'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { KroneIcon } from '../../../../shared/icons/MATH/KroneIcon/KroneIcon'
|
|
2
|
-
import { MathKeysGroup } from '
|
|
2
|
+
import { MathKeysGroup } from '../types'
|
|
3
3
|
import { DollarIcon } from '../../../../shared/icons/MATH/DollarIcon/DollarIcon'
|
|
4
4
|
import { EuroIcon } from '../../../../shared/icons/MATH/EuroIcon/EuroIcon'
|
|
5
5
|
import { PoundIcon } from '../../../../shared/icons/MATH/PoundIcon/PoundIcon'
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["KeyboardType","exports"],"sourceRoot":"../../../../src","sources":["features/keyboard/types.ts"],"mappings":";;;;;;IAGkBA,YAAY,GAAAC,OAAA,CAAAD,YAAA,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["KeyboardType"],"sourceRoot":"../../../../src","sources":["features/keyboard/types.ts"],"mappings":";;AAGA,WAAkBA,YAAY,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/features/keyboard/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAE9D,0BAAkB,YAAY;IAC5B,eAAe,oBAAoB;IACnC,KAAK,UAAU;IACf,aAAa,kBAAkB;IAC/B,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B,UAAU,eAAe;IACzB,iBAAiB,sBAAsB;IACvC,MAAM,WAAW;CAClB;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,SAAS,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,WAAW,EAAE,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,UAAU,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAA;IAC3C,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,wBAAwB,CAAC,EAAE,OAAO,CAAA;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI;KAC3D,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,WAAW;CACpC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/features/keyboard/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAE9D,0BAAkB,YAAY;IAC5B,eAAe,oBAAoB;IACnC,KAAK,UAAU;IACf,aAAa,kBAAkB;IAC/B,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B,UAAU,eAAe;IACzB,iBAAiB,sBAAsB;IACvC,MAAM,WAAW;CAClB;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,SAAS,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,WAAW,EAAE,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,UAAU,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAA;IAC3C,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,wBAAwB,CAAC,EAAE,OAAO,CAAA;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI;KAC3D,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,WAAW;CACpC,CAAA"}
|
|
File without changes
|
|
File without changes
|