@magmamath/students-features 0.5.4 → 0.5.5
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/celebrations/components/ParticleBatch.js.map +1 -1
- package/dist/commonjs/features/celebrations/components/Spark.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/Modal/assets/SunrisingIcon.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/Modal/assets/TrophyIcon.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/ui/SparkIcon.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/ui/ThumbUpIcon.js.map +1 -1
- package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js +52 -0
- package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js.map +1 -0
- package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js +64 -0
- package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js.map +1 -0
- package/dist/commonjs/features/formulaSheet/index.js +20 -0
- package/dist/commonjs/features/formulaSheet/index.js.map +1 -0
- package/dist/commonjs/features/formulaSheet/model/api.model.js +15 -0
- package/dist/commonjs/features/formulaSheet/model/api.model.js.map +1 -0
- package/dist/commonjs/features/formulaSheet/model/file.model.js +19 -0
- package/dist/commonjs/features/formulaSheet/model/file.model.js.map +1 -0
- package/dist/commonjs/features/formulaSheet/model/modal.model.js +15 -0
- package/dist/commonjs/features/formulaSheet/model/modal.model.js.map +1 -0
- package/dist/commonjs/features/formulaSheet/model/model.js +35 -0
- package/dist/commonjs/features/formulaSheet/model/model.js.map +1 -0
- package/dist/commonjs/index.js +12 -0
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/shared/icons/Halloween.js.map +1 -1
- package/dist/commonjs/shared/icons/MessageBubbleIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/Pi.js.map +1 -1
- package/dist/commonjs/shared/icons/Star.js.map +1 -1
- package/dist/commonjs/shared/icons/Valentine.js.map +1 -1
- package/dist/commonjs/shared/icons/Winter.js.map +1 -1
- package/dist/commonjs/shared/icons/XCloseIcon.js.map +1 -1
- package/dist/module/features/celebrations/components/ParticleBatch.js.map +1 -1
- package/dist/module/features/celebrations/components/Spark.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/Modal/assets/SunrisingIcon.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/Modal/assets/TrophyIcon.js.map +1 -1
- package/dist/module/features/endOfAssignment/ui/SparkIcon.js.map +1 -1
- package/dist/module/features/endOfAssignment/ui/ThumbUpIcon.js.map +1 -1
- package/dist/module/features/formulaSheet/components/FormulaSheet.js +46 -0
- package/dist/module/features/formulaSheet/components/FormulaSheet.js.map +1 -0
- package/dist/module/features/formulaSheet/components/FormulaSheetModal.js +58 -0
- package/dist/module/features/formulaSheet/components/FormulaSheetModal.js.map +1 -0
- package/dist/module/features/formulaSheet/index.js +5 -0
- package/dist/module/features/formulaSheet/index.js.map +1 -0
- package/dist/module/features/formulaSheet/model/api.model.js +10 -0
- package/dist/module/features/formulaSheet/model/api.model.js.map +1 -0
- package/dist/module/features/formulaSheet/model/file.model.js +14 -0
- package/dist/module/features/formulaSheet/model/file.model.js.map +1 -0
- package/dist/module/features/formulaSheet/model/modal.model.js +10 -0
- package/dist/module/features/formulaSheet/model/modal.model.js.map +1 -0
- package/dist/module/features/formulaSheet/model/model.js +30 -0
- package/dist/module/features/formulaSheet/model/model.js.map +1 -0
- package/dist/module/index.js +1 -0
- package/dist/module/index.js.map +1 -1
- package/dist/module/shared/icons/Halloween.js.map +1 -1
- package/dist/module/shared/icons/MessageBubbleIcon.js.map +1 -1
- package/dist/module/shared/icons/Pi.js.map +1 -1
- package/dist/module/shared/icons/Star.js.map +1 -1
- package/dist/module/shared/icons/Valentine.js.map +1 -1
- package/dist/module/shared/icons/Winter.js.map +1 -1
- package/dist/module/shared/icons/XCloseIcon.js.map +1 -1
- package/dist/typescript/commonjs/features/celebrations/components/ParticleBatch.d.ts +1 -1
- package/dist/typescript/commonjs/features/celebrations/components/ParticleBatch.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/celebrations/components/Spark.d.ts +1 -1
- package/dist/typescript/commonjs/features/celebrations/components/Spark.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/assets/SunrisingIcon.d.ts +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/assets/SunrisingIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/assets/TrophyIcon.d.ts +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/assets/TrophyIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/ui/SparkIcon.d.ts +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/ui/SparkIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/ui/ThumbUpIcon.d.ts +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/ui/ThumbUpIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheet.d.ts +15 -0
- package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheet.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheetModal.d.ts +10 -0
- package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheetModal.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/formulaSheet/index.d.ts +3 -0
- package/dist/typescript/commonjs/features/formulaSheet/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/formulaSheet/model/api.model.d.ts +9 -0
- package/dist/typescript/commonjs/features/formulaSheet/model/api.model.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/formulaSheet/model/file.model.d.ts +14 -0
- package/dist/typescript/commonjs/features/formulaSheet/model/file.model.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/formulaSheet/model/modal.model.d.ts +7 -0
- package/dist/typescript/commonjs/features/formulaSheet/model/modal.model.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/formulaSheet/model/model.d.ts +14 -0
- package/dist/typescript/commonjs/features/formulaSheet/model/model.d.ts.map +1 -0
- package/dist/typescript/commonjs/index.d.ts +1 -0
- package/dist/typescript/commonjs/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/Halloween.d.ts +1 -1
- package/dist/typescript/commonjs/shared/icons/Halloween.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/MessageBubbleIcon.d.ts +1 -1
- package/dist/typescript/commonjs/shared/icons/MessageBubbleIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/Pi.d.ts +1 -1
- package/dist/typescript/commonjs/shared/icons/Pi.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/Star.d.ts +1 -1
- package/dist/typescript/commonjs/shared/icons/Star.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/Valentine.d.ts +1 -1
- package/dist/typescript/commonjs/shared/icons/Valentine.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/Winter.d.ts +1 -1
- package/dist/typescript/commonjs/shared/icons/Winter.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/XCloseIcon.d.ts +1 -1
- package/dist/typescript/commonjs/shared/icons/XCloseIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/celebrations/components/ParticleBatch.d.ts +1 -1
- package/dist/typescript/module/features/celebrations/components/ParticleBatch.d.ts.map +1 -1
- package/dist/typescript/module/features/celebrations/components/Spark.d.ts +1 -1
- package/dist/typescript/module/features/celebrations/components/Spark.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/Modal/assets/SunrisingIcon.d.ts +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/Modal/assets/SunrisingIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/Modal/assets/TrophyIcon.d.ts +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/Modal/assets/TrophyIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/ui/SparkIcon.d.ts +1 -1
- package/dist/typescript/module/features/endOfAssignment/ui/SparkIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/ui/ThumbUpIcon.d.ts +1 -1
- package/dist/typescript/module/features/endOfAssignment/ui/ThumbUpIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/formulaSheet/components/FormulaSheet.d.ts +15 -0
- package/dist/typescript/module/features/formulaSheet/components/FormulaSheet.d.ts.map +1 -0
- package/dist/typescript/module/features/formulaSheet/components/FormulaSheetModal.d.ts +10 -0
- package/dist/typescript/module/features/formulaSheet/components/FormulaSheetModal.d.ts.map +1 -0
- package/dist/typescript/module/features/formulaSheet/index.d.ts +3 -0
- package/dist/typescript/module/features/formulaSheet/index.d.ts.map +1 -0
- package/dist/typescript/module/features/formulaSheet/model/api.model.d.ts +9 -0
- package/dist/typescript/module/features/formulaSheet/model/api.model.d.ts.map +1 -0
- package/dist/typescript/module/features/formulaSheet/model/file.model.d.ts +14 -0
- package/dist/typescript/module/features/formulaSheet/model/file.model.d.ts.map +1 -0
- package/dist/typescript/module/features/formulaSheet/model/modal.model.d.ts +7 -0
- package/dist/typescript/module/features/formulaSheet/model/modal.model.d.ts.map +1 -0
- package/dist/typescript/module/features/formulaSheet/model/model.d.ts +14 -0
- package/dist/typescript/module/features/formulaSheet/model/model.d.ts.map +1 -0
- package/dist/typescript/module/index.d.ts +1 -0
- package/dist/typescript/module/index.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/Halloween.d.ts +1 -1
- package/dist/typescript/module/shared/icons/Halloween.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/MessageBubbleIcon.d.ts +1 -1
- package/dist/typescript/module/shared/icons/MessageBubbleIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/Pi.d.ts +1 -1
- package/dist/typescript/module/shared/icons/Pi.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/Star.d.ts +1 -1
- package/dist/typescript/module/shared/icons/Star.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/Valentine.d.ts +1 -1
- package/dist/typescript/module/shared/icons/Valentine.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/Winter.d.ts +1 -1
- package/dist/typescript/module/shared/icons/Winter.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/XCloseIcon.d.ts +1 -1
- package/dist/typescript/module/shared/icons/XCloseIcon.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/features/celebrations/components/ParticleBatch.tsx +1 -1
- package/src/features/celebrations/components/Spark.tsx +4 -4
- package/src/features/endOfAssignment/components/Modal/assets/SunrisingIcon.tsx +74 -74
- package/src/features/endOfAssignment/components/Modal/assets/TrophyIcon.tsx +24 -24
- package/src/features/endOfAssignment/ui/SparkIcon.tsx +1 -2
- package/src/features/endOfAssignment/ui/ThumbUpIcon.tsx +2 -2
- package/src/features/formulaSheet/components/FormulaSheet.tsx +74 -0
- package/src/features/formulaSheet/components/FormulaSheetModal.tsx +64 -0
- package/src/features/formulaSheet/index.ts +2 -0
- package/src/features/formulaSheet/model/api.model.ts +13 -0
- package/src/features/formulaSheet/model/file.model.ts +18 -0
- package/src/features/formulaSheet/model/modal.model.ts +10 -0
- package/src/features/formulaSheet/model/model.ts +31 -0
- package/src/index.ts +1 -0
- package/src/shared/icons/Halloween.tsx +2 -2
- package/src/shared/icons/MessageBubbleIcon.tsx +6 -5
- package/src/shared/icons/Pi.tsx +2 -1
- package/src/shared/icons/Star.tsx +2 -1
- package/src/shared/icons/Valentine.tsx +2 -1
- package/src/shared/icons/Winter.tsx +2 -2
- package/src/shared/icons/XCloseIcon.tsx +4 -3
package/src/shared/icons/Pi.tsx
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import Svg, { Path } from 'react-native-svg'
|
|
3
|
-
import { COLORS
|
|
3
|
+
import { COLORS } from '@magmamath/react-native-ui'
|
|
4
|
+
import { IconProps } from './icon.types'
|
|
4
5
|
|
|
5
6
|
function Pi({ size = 57, color = COLORS.NEUTRAL_8 }: IconProps) {
|
|
6
7
|
return (
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import Svg, { Path } from 'react-native-svg'
|
|
3
|
-
import { COLORS
|
|
3
|
+
import { COLORS } from '@magmamath/react-native-ui'
|
|
4
|
+
import { IconProps } from './icon.types'
|
|
4
5
|
|
|
5
6
|
function Star({ size = 57, color = COLORS.NEUTRAL_8 }: IconProps) {
|
|
6
7
|
return (
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import Svg, { Path } from 'react-native-svg'
|
|
3
|
-
import { COLORS
|
|
3
|
+
import { COLORS } from '@magmamath/react-native-ui'
|
|
4
|
+
import { IconProps } from './icon.types'
|
|
4
5
|
|
|
5
6
|
function Valentine({ size = 57, color = COLORS.NEUTRAL_8 }: IconProps) {
|
|
6
7
|
return (
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import Svg, { Path } from 'react-native-svg'
|
|
3
|
-
|
|
4
|
-
import {
|
|
3
|
+
import { COLORS } from '@magmamath/react-native-ui'
|
|
4
|
+
import { IconProps } from './icon.types'
|
|
5
5
|
|
|
6
6
|
function Winter({ size = 50, color = COLORS.NEUTRAL_8 }: IconProps) {
|
|
7
7
|
return (
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import Svg, { Path } from 'react-native-svg'
|
|
3
|
-
import {
|
|
3
|
+
import { COLORS } from '@magmamath/react-native-ui'
|
|
4
|
+
import { IconProps } from './icon.types'
|
|
4
5
|
|
|
5
6
|
export const XCloseIcon = ({ size = 26, color = COLORS.NEUTRAL_9 }: IconProps) => {
|
|
6
7
|
return (
|
|
7
|
-
<Svg width={size} height={size} viewBox=
|
|
8
|
+
<Svg width={size} height={size} viewBox="0 0 26 26" fill="none">
|
|
8
9
|
<Path
|
|
9
|
-
d=
|
|
10
|
+
d="M4.38388 2.61612C3.89573 2.12796 3.10427 2.12796 2.61612 2.61612C2.12796 3.10427 2.12796 3.89573 2.61612 4.38388L11.2322 13L2.61612 21.6161C2.12796 22.1043 2.12796 22.8957 2.61612 23.3839C3.10427 23.872 3.89573 23.872 4.38388 23.3839L13 14.7678L21.6161 23.3839C22.1043 23.872 22.8957 23.872 23.3839 23.3839C23.872 22.8957 23.872 22.1043 23.3839 21.6161L14.7678 13L23.3839 4.38388C23.872 3.89573 23.872 3.10427 23.3839 2.61612C22.8957 2.12796 22.1043 2.12796 21.6161 2.61612L13 11.2322L4.38388 2.61612Z"
|
|
10
11
|
fill={color}
|
|
11
12
|
/>
|
|
12
13
|
</Svg>
|