@magmamath/students-features 1.3.2-rc.4 → 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.
- package/dist/commonjs/features/chatbot/helpers.js +5 -1
- package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
- package/dist/commonjs/features/chatbot/index.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBotModel.js +7 -6
- package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/groups/index.js +0 -11
- package/dist/commonjs/features/keyboard/constants/groups/index.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js +0 -2
- package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +2 -8
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js +1 -86
- package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keys/text.constants.js +9 -9
- package/dist/commonjs/features/keyboard/types/types.js +0 -1
- package/dist/commonjs/features/keyboard/types/types.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/AngleIcon.js +3 -4
- package/dist/commonjs/shared/icons/keyboard/AngleIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js +8 -12
- package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js +6 -11
- package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js +8 -12
- package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
- package/dist/module/features/chatbot/helpers.js +5 -1
- package/dist/module/features/chatbot/helpers.js.map +1 -1
- package/dist/module/features/chatbot/index.js.map +1 -1
- package/dist/module/features/chatbot/model/ChatBotModel.js +7 -6
- package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
- package/dist/module/features/keyboard/constants/groups/index.js +0 -1
- package/dist/module/features/keyboard/constants/groups/index.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboard.helpers.js +1 -3
- package/dist/module/features/keyboard/constants/keyboard.helpers.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboardLayouts.js +2 -8
- package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/module/features/keyboard/constants/keys/geometry.constants.js +1 -86
- package/dist/module/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
- package/dist/module/features/keyboard/constants/keys/text.constants.js +9 -9
- package/dist/module/features/keyboard/types/types.js +0 -1
- package/dist/module/features/keyboard/types/types.js.map +1 -1
- package/dist/module/shared/icons/keyboard/AngleIcon.js +3 -4
- package/dist/module/shared/icons/keyboard/AngleIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js +9 -13
- package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/LineSegmentIcon.js +7 -12
- package/dist/module/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js +9 -13
- package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/index.d.ts +1 -1
- package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +8 -6
- package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts +0 -1
- package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +0 -5
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts +0 -1
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/index.d.ts +1 -1
- package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/api.types.d.ts +8 -6
- package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts +0 -1
- package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +0 -5
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/types.d.ts +0 -1
- package/dist/typescript/module/features/keyboard/types/types.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/features/chatbot/helpers.ts +2 -0
- package/src/features/chatbot/index.ts +9 -1
- package/src/features/chatbot/model/ChatBotModel.ts +7 -10
- package/src/features/chatbot/types/api.types.ts +11 -6
- package/src/features/keyboard/constants/groups/index.ts +0 -1
- package/src/features/keyboard/constants/keyboard.helpers.ts +0 -3
- package/src/features/keyboard/constants/keyboardLayouts.ts +2 -8
- package/src/features/keyboard/constants/keys/geometry.constants.tsx +1 -61
- package/src/features/keyboard/constants/keys/text.constants.tsx +9 -9
- package/src/features/keyboard/types/types.ts +0 -1
- package/src/shared/icons/keyboard/AngleIcon.tsx +2 -4
- package/src/shared/icons/keyboard/BidirectionalSegmentIcon.tsx +8 -5
- package/src/shared/icons/keyboard/LineSegmentIcon.tsx +7 -6
- package/src/shared/icons/keyboard/RightDirectedSegmentIcon.tsx +8 -5
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js +0 -85
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/GeometryLayout/helpers.js +0 -41
- package/dist/commonjs/features/keyboard/components/GeometryLayout/helpers.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/GeometryLayout/types.js +0 -12
- package/dist/commonjs/features/keyboard/components/GeometryLayout/types.js.map +0 -1
- package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js +0 -11
- package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js.map +0 -1
- package/dist/commonjs/shared/icons/GeometryIcon.js +0 -32
- package/dist/commonjs/shared/icons/GeometryIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js +0 -30
- package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js +0 -29
- package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js +0 -29
- package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js +0 -29
- package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js +0 -42
- package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js +0 -32
- package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js.map +0 -1
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js +0 -78
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +0 -1
- package/dist/module/features/keyboard/components/GeometryLayout/helpers.js +0 -36
- package/dist/module/features/keyboard/components/GeometryLayout/helpers.js.map +0 -1
- package/dist/module/features/keyboard/components/GeometryLayout/types.js +0 -8
- package/dist/module/features/keyboard/components/GeometryLayout/types.js.map +0 -1
- package/dist/module/features/keyboard/constants/groups/geometry.constants.js +0 -7
- package/dist/module/features/keyboard/constants/groups/geometry.constants.js.map +0 -1
- package/dist/module/shared/icons/GeometryIcon.js +0 -24
- package/dist/module/shared/icons/GeometryIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/ImpliesIcon.js +0 -22
- package/dist/module/shared/icons/keyboard/ImpliesIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/LetterAIcon.js +0 -21
- package/dist/module/shared/icons/keyboard/LetterAIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/LetterBIcon.js +0 -21
- package/dist/module/shared/icons/keyboard/LetterBIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/LetterCIcon.js +0 -21
- package/dist/module/shared/icons/keyboard/LetterCIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/ThereforeIcon.js +0 -34
- package/dist/module/shared/icons/keyboard/ThereforeIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/TriangleIcon.js +0 -24
- package/dist/module/shared/icons/keyboard/TriangleIcon.js.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +0 -4
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/helpers.d.ts +0 -14
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/helpers.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/types.d.ts +0 -5
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/types.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts +0 -3
- package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +0 -4
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/helpers.d.ts +0 -14
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/helpers.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/types.d.ts +0 -5
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/types.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts +0 -3
- package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/GeometryIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/GeometryIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts.map +0 -1
- package/src/features/keyboard/components/GeometryLayout/GeometryLayout.tsx +0 -82
- package/src/features/keyboard/components/GeometryLayout/helpers.tsx +0 -46
- package/src/features/keyboard/components/GeometryLayout/types.ts +0 -4
- package/src/features/keyboard/constants/groups/geometry.constants.ts +0 -25
- package/src/shared/icons/GeometryIcon.tsx +0 -18
- package/src/shared/icons/keyboard/ImpliesIcon.tsx +0 -16
- package/src/shared/icons/keyboard/LetterAIcon.tsx +0 -14
- package/src/shared/icons/keyboard/LetterBIcon.tsx +0 -14
- package/src/shared/icons/keyboard/LetterCIcon.tsx +0 -14
- package/src/shared/icons/keyboard/ThereforeIcon.tsx +0 -15
- package/src/shared/icons/keyboard/TriangleIcon.tsx +0 -18
package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map
DELETED
|
@@ -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
|
package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/helpers.d.ts.map
DELETED
|
@@ -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 +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"}
|
package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts.map
DELETED
|
@@ -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 +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 +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 +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 +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 +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 +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 +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"}
|
package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map
DELETED
|
@@ -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 +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"}
|
package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts.map
DELETED
|
@@ -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 +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 +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 +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 +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 +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 +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 +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,25 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
MATH_BASIC_OPERATORS,
|
|
3
|
-
MATH_GEOMETRY_SYMBOLS,
|
|
4
|
-
} from '../keys'
|
|
5
|
-
import { KeyboardGroup } from '../../types/types'
|
|
6
|
-
|
|
7
|
-
export const KEYBOARD_GEOMETRY: KeyboardGroup = {
|
|
8
|
-
keys: [
|
|
9
|
-
MATH_GEOMETRY_SYMBOLS.ANGLE,
|
|
10
|
-
MATH_GEOMETRY_SYMBOLS.TRIANGLE,
|
|
11
|
-
MATH_GEOMETRY_SYMBOLS.THEREFORE,
|
|
12
|
-
MATH_GEOMETRY_SYMBOLS.IMPLIES,
|
|
13
|
-
MATH_BASIC_OPERATORS.SIMILARITY,
|
|
14
|
-
MATH_GEOMETRY_SYMBOLS.LINE_SEGMENT,
|
|
15
|
-
MATH_GEOMETRY_SYMBOLS.RIGHT_DIRECTED_SEGMENT,
|
|
16
|
-
MATH_GEOMETRY_SYMBOLS.BIDIRECTIONAL_SEGMENT,
|
|
17
|
-
MATH_GEOMETRY_SYMBOLS.PERPENDICULAR,
|
|
18
|
-
MATH_BASIC_OPERATORS.APPROXIMATELY_EQUAL,
|
|
19
|
-
MATH_GEOMETRY_SYMBOLS.A,
|
|
20
|
-
MATH_GEOMETRY_SYMBOLS.B,
|
|
21
|
-
MATH_GEOMETRY_SYMBOLS.C,
|
|
22
|
-
MATH_GEOMETRY_SYMBOLS.PARALLEL,
|
|
23
|
-
MATH_BASIC_OPERATORS.CONGRUENT,
|
|
24
|
-
],
|
|
25
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { IconProps } from './keyboard/icon.types'
|
|
3
|
-
import Svg, { Path } from 'react-native-svg'
|
|
4
|
-
|
|
5
|
-
export const GeometryIcon = ({ size = 16, color }: IconProps) => {
|
|
6
|
-
return (
|
|
7
|
-
<Svg width={size} height={size} viewBox="0 0 16 16" fill="none">
|
|
8
|
-
<Path
|
|
9
|
-
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"
|
|
10
|
-
fill={color}
|
|
11
|
-
/>
|
|
12
|
-
<Path
|
|
13
|
-
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"
|
|
14
|
-
fill={color}
|
|
15
|
-
/>
|
|
16
|
-
</Svg>
|
|
17
|
-
)
|
|
18
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Path } from 'react-native-svg'
|
|
4
|
-
|
|
5
|
-
const ASPECT_RATIO = 20 / 18
|
|
6
|
-
|
|
7
|
-
export const ImpliesIcon = ({ size = 20, color }: IconProps) => {
|
|
8
|
-
return (
|
|
9
|
-
<Svg width={size} height={size / ASPECT_RATIO} viewBox="0 0 20 18" fill="none">
|
|
10
|
-
<Path
|
|
11
|
-
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"
|
|
12
|
-
fill={color}
|
|
13
|
-
/>
|
|
14
|
-
</Svg>
|
|
15
|
-
)
|
|
16
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Path } from 'react-native-svg'
|
|
4
|
-
|
|
5
|
-
export const LetterAIcon = ({ size = 16, color }: IconProps) => {
|
|
6
|
-
return (
|
|
7
|
-
<Svg width={size} height={size} viewBox="0 0 16 16" fill="none">
|
|
8
|
-
<Path
|
|
9
|
-
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"
|
|
10
|
-
fill={color}
|
|
11
|
-
/>
|
|
12
|
-
</Svg>
|
|
13
|
-
)
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Path } from 'react-native-svg'
|
|
4
|
-
|
|
5
|
-
export const LetterBIcon = ({ size = 16, color }: IconProps) => {
|
|
6
|
-
return (
|
|
7
|
-
<Svg width={size} height={size} viewBox="0 0 16 16" fill="none">
|
|
8
|
-
<Path
|
|
9
|
-
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"
|
|
10
|
-
fill={color}
|
|
11
|
-
/>
|
|
12
|
-
</Svg>
|
|
13
|
-
)
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Path } from 'react-native-svg'
|
|
4
|
-
|
|
5
|
-
export const LetterCIcon = ({ size = 16, color }: IconProps) => {
|
|
6
|
-
return (
|
|
7
|
-
<Svg width={size} height={size} viewBox="0 0 16 16" fill="none">
|
|
8
|
-
<Path
|
|
9
|
-
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"
|
|
10
|
-
fill={color}
|
|
11
|
-
/>
|
|
12
|
-
</Svg>
|
|
13
|
-
)
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Circle } from 'react-native-svg'
|
|
4
|
-
|
|
5
|
-
const ASPECT_RATIO = 20 / 18
|
|
6
|
-
|
|
7
|
-
export const ThereforeIcon = ({ size = 20, color }: IconProps) => {
|
|
8
|
-
return (
|
|
9
|
-
<Svg width={size} height={size / ASPECT_RATIO} viewBox="0 0 20 18" fill="none">
|
|
10
|
-
<Circle cx="7.07972" cy="11.6398" r="1.8" fill={color} />
|
|
11
|
-
<Circle cx="12.9203" cy="11.6398" r="1.8" fill={color} />
|
|
12
|
-
<Circle cx="10" cy="6.36006" r="1.8" fill={color} />
|
|
13
|
-
</Svg>
|
|
14
|
-
)
|
|
15
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Path } from 'react-native-svg'
|
|
4
|
-
|
|
5
|
-
const ASPECT_RATIO = 20 / 18
|
|
6
|
-
|
|
7
|
-
export const TriangleIcon = ({ size = 20, color }: IconProps) => {
|
|
8
|
-
return (
|
|
9
|
-
<Svg width={size} height={size / ASPECT_RATIO} viewBox="0 0 20 18" fill="none">
|
|
10
|
-
<Path
|
|
11
|
-
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"
|
|
12
|
-
stroke={color}
|
|
13
|
-
strokeWidth="1.6"
|
|
14
|
-
strokeLinejoin="round"
|
|
15
|
-
/>
|
|
16
|
-
</Svg>
|
|
17
|
-
)
|
|
18
|
-
}
|