@magmamath/students-features 1.3.9 → 1.3.10-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/features/chatbot/helpers.js +1 -5
- package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBotModel.js +0 -1
- package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
- package/dist/commonjs/features/chatbot/types/model.types.js.map +1 -1
- package/dist/commonjs/features/uiMode/getUIMode.js +47 -0
- package/dist/commonjs/features/uiMode/getUIMode.js.map +1 -0
- package/dist/commonjs/features/uiMode/index.js +20 -0
- package/dist/commonjs/features/uiMode/index.js.map +1 -0
- package/dist/commonjs/features/uiMode/uiMode.constants.js +14 -0
- package/dist/commonjs/features/uiMode/uiMode.constants.js.map +1 -0
- package/dist/commonjs/features/uiMode/uiMode.helpers.js +53 -0
- package/dist/commonjs/features/uiMode/uiMode.helpers.js.map +1 -0
- package/dist/commonjs/features/uiMode/uiMode.types.js +6 -0
- package/dist/commonjs/features/uiMode/uiMode.types.js.map +1 -0
- package/dist/commonjs/index.js +12 -0
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/types/answerTypes.js +15 -0
- package/dist/commonjs/types/answerTypes.js.map +1 -0
- package/dist/module/features/chatbot/helpers.js +1 -5
- package/dist/module/features/chatbot/helpers.js.map +1 -1
- package/dist/module/features/chatbot/model/ChatBotModel.js +0 -1
- package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
- package/dist/module/features/chatbot/types/model.types.js.map +1 -1
- package/dist/module/features/uiMode/getUIMode.js +42 -0
- package/dist/module/features/uiMode/getUIMode.js.map +1 -0
- package/dist/module/features/uiMode/index.js +5 -0
- package/dist/module/features/uiMode/index.js.map +1 -0
- package/dist/module/features/uiMode/uiMode.constants.js +10 -0
- package/dist/module/features/uiMode/uiMode.constants.js.map +1 -0
- package/dist/module/features/uiMode/uiMode.helpers.js +45 -0
- package/dist/module/features/uiMode/uiMode.helpers.js.map +1 -0
- package/dist/module/features/uiMode/uiMode.types.js +4 -0
- package/dist/module/features/uiMode/uiMode.types.js.map +1 -0
- package/dist/module/index.js +1 -0
- package/dist/module/index.js.map +1 -1
- package/dist/module/types/answerTypes.js +11 -0
- package/dist/module/types/answerTypes.js.map +1 -0
- package/dist/typescript/commonjs/features/chatbot/helpers.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 +0 -2
- package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts +0 -1
- package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/uiMode/getUIMode.d.ts +3 -0
- package/dist/typescript/commonjs/features/uiMode/getUIMode.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/uiMode/index.d.ts +3 -0
- package/dist/typescript/commonjs/features/uiMode/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/uiMode/uiMode.constants.d.ts +7 -0
- package/dist/typescript/commonjs/features/uiMode/uiMode.constants.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/uiMode/uiMode.helpers.d.ts +8 -0
- package/dist/typescript/commonjs/features/uiMode/uiMode.helpers.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/uiMode/uiMode.types.d.ts +57 -0
- package/dist/typescript/commonjs/features/uiMode/uiMode.types.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/types/answerTypes.d.ts +8 -0
- package/dist/typescript/commonjs/types/answerTypes.d.ts.map +1 -0
- package/dist/typescript/module/features/chatbot/helpers.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 +0 -2
- package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/model.types.d.ts +0 -1
- package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
- package/dist/typescript/module/features/uiMode/getUIMode.d.ts +3 -0
- package/dist/typescript/module/features/uiMode/getUIMode.d.ts.map +1 -0
- package/dist/typescript/module/features/uiMode/index.d.ts +3 -0
- package/dist/typescript/module/features/uiMode/index.d.ts.map +1 -0
- package/dist/typescript/module/features/uiMode/uiMode.constants.d.ts +7 -0
- package/dist/typescript/module/features/uiMode/uiMode.constants.d.ts.map +1 -0
- package/dist/typescript/module/features/uiMode/uiMode.helpers.d.ts +8 -0
- package/dist/typescript/module/features/uiMode/uiMode.helpers.d.ts.map +1 -0
- package/dist/typescript/module/features/uiMode/uiMode.types.d.ts +57 -0
- package/dist/typescript/module/features/uiMode/uiMode.types.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/types/answerTypes.d.ts +8 -0
- package/dist/typescript/module/types/answerTypes.d.ts.map +1 -0
- package/package.json +3 -1
- package/src/features/chatbot/helpers.ts +0 -2
- package/src/features/chatbot/model/ChatBotModel.ts +0 -1
- package/src/features/chatbot/types/api.types.ts +0 -2
- package/src/features/chatbot/types/model.types.ts +0 -1
- package/src/features/uiMode/getUIMode.ts +28 -0
- package/src/features/uiMode/index.ts +2 -0
- package/src/features/uiMode/uiMode.constants.ts +7 -0
- package/src/features/uiMode/uiMode.helpers.ts +52 -0
- package/src/features/uiMode/uiMode.types.ts +46 -0
- package/src/index.ts +1 -0
- package/src/types/answerTypes.ts +7 -0
- package/.claude/settings.local.json +0 -25
- package/.editorconfig +0 -15
- package/.eslintignore +0 -2
- package/.eslintrc +0 -22
- package/.gitattributes +0 -3
- package/.github/actions/setup/action.yml +0 -37
- package/.github/workflows/ci.yml +0 -73
- package/.gitignore +0 -84
- package/.idea/.gitignore +0 -8
- package/.idea/codeStyles/Project.xml +0 -62
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/copilot.data.migration.agent.xml +0 -6
- package/.idea/copilot.data.migration.ask.xml +0 -6
- package/.idea/copilot.data.migration.ask2agent.xml +0 -6
- package/.idea/copilot.data.migration.edit.xml +0 -6
- package/.idea/inspectionProfiles/Project_Default.xml +0 -8
- package/.idea/jsLinters/eslint.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/prettier.xml +0 -7
- package/.idea/students-features.iml +0 -12
- package/.idea/vcs.xml +0 -6
- package/.idea/workspace.xml +0 -675
- package/.nvmrc +0 -1
- package/.prettierrc +0 -11
- package/.release-it.json +0 -17
- package/.watchmanconfig +0 -1
- package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +0 -541
- package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +0 -28
- package/.yarn/releases/yarn-3.6.1.cjs +0 -874
- package/babel.config.js +0 -5
- package/bob.config.js +0 -25
- package/example/.expo/README.md +0 -8
- package/example/.expo/devices.json +0 -3
- package/example/.expo/web/cache/production/images/favicon/favicon-24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb-contain-transparent/favicon-48.png +0 -0
- package/example/app.json +0 -30
- package/example/assets/adaptive-icon.png +0 -0
- package/example/assets/favicon.png +0 -0
- package/example/assets/icon.png +0 -0
- package/example/assets/splash-icon.png +0 -0
- package/example/babel.config.js +0 -28
- package/example/index.js +0 -8
- package/example/metro.config.js +0 -18
- package/example/package.json +0 -25
- package/example/src/App.tsx +0 -8
- package/example/tsconfig.json +0 -6
- package/tsconfig.build.json +0 -4
- package/tsconfig.json +0 -34
- package/yarn.lock +0 -10984
package/babel.config.js
DELETED
package/bob.config.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
source: 'src',
|
|
3
|
-
output: 'dist',
|
|
4
|
-
targets: [
|
|
5
|
-
[
|
|
6
|
-
'commonjs',
|
|
7
|
-
{
|
|
8
|
-
esm: true,
|
|
9
|
-
},
|
|
10
|
-
],
|
|
11
|
-
[
|
|
12
|
-
'module',
|
|
13
|
-
{
|
|
14
|
-
esm: true,
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
[
|
|
18
|
-
'typescript',
|
|
19
|
-
{
|
|
20
|
-
project: 'tsconfig.build.json',
|
|
21
|
-
esm: true,
|
|
22
|
-
},
|
|
23
|
-
],
|
|
24
|
-
],
|
|
25
|
-
}
|
package/example/.expo/README.md
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
> Why do I have a folder named ".expo" in my project?
|
|
2
|
-
The ".expo" folder is created when an Expo project is started using "expo start" command.
|
|
3
|
-
> What do the files contain?
|
|
4
|
-
- "devices.json": contains information about devices that have recently opened this project. This is used to populate the "Development sessions" list in your development builds.
|
|
5
|
-
- "settings.json": contains the server configuration that is used to serve the application manifest.
|
|
6
|
-
> Should I commit the ".expo" folder?
|
|
7
|
-
No, you should not share the ".expo" folder. It does not contain any information that is relevant for other developers working on the project, it is specific to your machine.
|
|
8
|
-
Upon project creation, the ".expo" folder is already added to your ".gitignore" file.
|
|
Binary file
|
package/example/app.json
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"expo": {
|
|
3
|
-
"name": "example",
|
|
4
|
-
"slug": "example",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"orientation": "portrait",
|
|
7
|
-
"icon": "./assets/icon.png",
|
|
8
|
-
"userInterfaceStyle": "light",
|
|
9
|
-
"newArchEnabled": true,
|
|
10
|
-
"splash": {
|
|
11
|
-
"image": "./assets/splash-icon.png",
|
|
12
|
-
"resizeMode": "contain",
|
|
13
|
-
"backgroundColor": "#ffffff"
|
|
14
|
-
},
|
|
15
|
-
"ios": {
|
|
16
|
-
"supportsTablet": true,
|
|
17
|
-
"bundleIdentifier": "magmamath.features.example"
|
|
18
|
-
},
|
|
19
|
-
"android": {
|
|
20
|
-
"adaptiveIcon": {
|
|
21
|
-
"foregroundImage": "./assets/adaptive-icon.png",
|
|
22
|
-
"backgroundColor": "#ffffff"
|
|
23
|
-
},
|
|
24
|
-
"package": "magmamath.features.example"
|
|
25
|
-
},
|
|
26
|
-
"web": {
|
|
27
|
-
"favicon": "./assets/favicon.png"
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
Binary file
|
|
Binary file
|
package/example/assets/icon.png
DELETED
|
Binary file
|
|
Binary file
|
package/example/babel.config.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
const path = require('path')
|
|
2
|
-
const { getConfig } = require('react-native-builder-bob/babel-config')
|
|
3
|
-
const pkg = require('../package.json')
|
|
4
|
-
|
|
5
|
-
const root = path.resolve(__dirname, '..')
|
|
6
|
-
|
|
7
|
-
module.exports = function (api) {
|
|
8
|
-
api.cache(true)
|
|
9
|
-
|
|
10
|
-
return getConfig(
|
|
11
|
-
{
|
|
12
|
-
presets: ['babel-preset-expo'],
|
|
13
|
-
plugins: [
|
|
14
|
-
[
|
|
15
|
-
'module-resolver',
|
|
16
|
-
{
|
|
17
|
-
extensions: ['.tsx', '.ts', '.js', '.json'],
|
|
18
|
-
alias: {
|
|
19
|
-
[pkg.name]: path.join(__dirname, '../', pkg.source),
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
['@babel/plugin-transform-private-methods', { loose: true }],
|
|
24
|
-
],
|
|
25
|
-
},
|
|
26
|
-
{ root, pkg },
|
|
27
|
-
)
|
|
28
|
-
}
|
package/example/index.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { registerRootComponent } from 'expo';
|
|
2
|
-
|
|
3
|
-
import App from './src/App';
|
|
4
|
-
|
|
5
|
-
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
|
|
6
|
-
// It also ensures that whether you load the app in Expo Go or in a native build,
|
|
7
|
-
// the environment is set up appropriately
|
|
8
|
-
registerRootComponent(App);
|
package/example/metro.config.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const path = require('path');
|
|
2
|
-
const { getDefaultConfig } = require('@expo/metro-config');
|
|
3
|
-
const { getConfig } = require('react-native-builder-bob/metro-config');
|
|
4
|
-
const pkg = require('../package.json');
|
|
5
|
-
|
|
6
|
-
const root = path.resolve(__dirname, '..');
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Metro configuration
|
|
10
|
-
* https://facebook.github.io/metro/docs/configuration
|
|
11
|
-
*
|
|
12
|
-
* @type {import('metro-config').MetroConfig}
|
|
13
|
-
*/
|
|
14
|
-
module.exports = getConfig(getDefaultConfig(__dirname), {
|
|
15
|
-
root,
|
|
16
|
-
pkg,
|
|
17
|
-
project: __dirname,
|
|
18
|
-
});
|
package/example/package.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@magmamath/students-features-example",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"main": "index.js",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"start": "expo start",
|
|
7
|
-
"android": "expo start --android",
|
|
8
|
-
"ios": "expo start --ios",
|
|
9
|
-
"web": "expo start --web"
|
|
10
|
-
},
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"@expo/metro-runtime": "~4.0.0",
|
|
13
|
-
"expo": "~52.0.11",
|
|
14
|
-
"expo-status-bar": "~2.0.0",
|
|
15
|
-
"react": "18.3.1",
|
|
16
|
-
"react-dom": "18.3.1",
|
|
17
|
-
"react-native": "0.76.3",
|
|
18
|
-
"react-native-web": "~0.19.13"
|
|
19
|
-
},
|
|
20
|
-
"devDependencies": {
|
|
21
|
-
"@babel/core": "^7.20.0",
|
|
22
|
-
"react-native-builder-bob": "^0.33.3"
|
|
23
|
-
},
|
|
24
|
-
"private": true
|
|
25
|
-
}
|
package/example/src/App.tsx
DELETED
package/example/tsconfig.json
DELETED
package/tsconfig.build.json
DELETED
package/tsconfig.json
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"paths": {
|
|
4
|
-
"@magmamath/students-features": ["./src/index"]
|
|
5
|
-
},
|
|
6
|
-
"target": "esnext",
|
|
7
|
-
"baseUrl": "./",
|
|
8
|
-
"lib": [
|
|
9
|
-
"dom",
|
|
10
|
-
"dom.iterable",
|
|
11
|
-
"esnext"
|
|
12
|
-
],
|
|
13
|
-
"declaration": true,
|
|
14
|
-
"allowJs": true,
|
|
15
|
-
"skipLibCheck": true,
|
|
16
|
-
"esModuleInterop": true,
|
|
17
|
-
"allowSyntheticDefaultImports": true,
|
|
18
|
-
"strict": true,
|
|
19
|
-
"forceConsistentCasingInFileNames": true,
|
|
20
|
-
"module": "esnext",
|
|
21
|
-
"moduleResolution": "node",
|
|
22
|
-
"resolveJsonModule": true,
|
|
23
|
-
"isolatedModules": true,
|
|
24
|
-
"jsx": "react",
|
|
25
|
-
"experimentalDecorators": true
|
|
26
|
-
},
|
|
27
|
-
"include": [
|
|
28
|
-
"src"
|
|
29
|
-
],
|
|
30
|
-
"exclude": [
|
|
31
|
-
"node_modules",
|
|
32
|
-
"example"
|
|
33
|
-
]
|
|
34
|
-
}
|