Skip to content
This repository was archived by the owner on Dec 21, 2022. It is now read-only.

Commit 3508669

Browse files
Introducing Into Screen Widget
Introducing intro screen widget with swipeable containers and custom options to change slides using nanoflow
1 parent cdce0b7 commit 3508669

File tree

60 files changed

+2418
-597
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+2418
-597
lines changed

.eslintrc.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
const deepmerge = require("deepmerge");
2+
13
const base = require("@mendix/pluggable-widgets-tools/configs/eslint.ts.base.json");
24

3-
base.parserOptions.project = "./tsconfig.json";
5+
delete base.parserOptions.project;
46

5-
module.exports = {
6-
...base
7-
};
7+
module.exports = deepmerge(base, {
8+
rules: {
9+
"@typescript-eslint/ban-ts-ignore": "off"
10+
}
11+
});

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ A bundle of R&D Platform supported widgets & nanoflow actions for building nativ
3030
| [Web view][] | Display an external web page or load custom HTML. |
3131
| [Animation][] | Provides default animations for contents and widgets. |
3232
| [List view swipe][] | Show controls on swipe for an interactive list view. |
33+
| [Intro screen][] | Show swipeable containers to show contents as intros |
3334

3435
## Web & Hybrid widgets
3536

@@ -64,6 +65,7 @@ A bundle of R&D Platform supported widgets & nanoflow actions for building nativ
6465
[web view]: https://github.com/mendix/widgets-resources/blob/master/packages-native/web-view
6566
[animation]: https://github.com/mendix/widgets-resources/blob/master/packages-native/animation
6667
[list view swipe]: https://github.com/mendix/widgets-resources/blob/master/packages-native/listview-swipe
68+
[intro screen]: https://github.com/mendix/widgets-resources/blob/master/packages-native/intro-screen
6769

6870
## Included nanoflow actions
6971

package-lock.json

Lines changed: 772 additions & 549 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"postinstall": "lerna bootstrap --no-ci",
1010
"prettier": "prettier --config \"./prettier.config.js\" --write \"./**/{src,test}/**/*.{js,jsx,ts,tsx}\"",
1111
"format": "pretty-quick --staged",
12-
"lint": "npm run lint:scripts && lerna run lint",
12+
"lint": "npm run lint:scripts && lerna run lint --stream --concurrency 1",
1313
"lint:scripts": "eslint --config .eslintrc.js --ext .jsx,.js,.ts,.tsx packages-web/**/src packages-native/**/src",
14-
"test": "lerna run test --ignore @widgets-resources/utils-react-widgets",
14+
"test": "lerna run test --ignore @widgets-resources/utils-react-widgets --stream --concurrency 1",
1515
"build": "lerna run build --ignore @widgets-resources/utils-react-widgets",
1616
"publish": "ts-node --project ./scripts/tsconfig.json ./scripts/release/Release.ts",
1717
"version": "ts-node --project ./scripts/tsconfig.json ./scripts/release/BumpVersion.ts",
@@ -23,7 +23,7 @@
2323
"@commitlint/cli": "^7.5.2",
2424
"@commitlint/config-conventional": "^7.5.0",
2525
"@commitlint/config-lerna-scopes": "^7.5.1",
26-
"@mendix/pluggable-widgets-tools": "^8.0.5",
26+
"@mendix/pluggable-widgets-tools": "^8.2.0",
2727
"@types/big.js": "^4.0.5",
2828
"@types/classnames": "^2.2.4",
2929
"@types/dotenv": "^6.1.1",
@@ -48,6 +48,8 @@
4848
"check-dependencies": "^1.1.0",
4949
"cross-env": "^5.2.0",
5050
"dotenv": "^8.1.0",
51+
"deepmerge": "^4.1.1",
52+
"es-abstract": "^1.15.0",
5153
"gh-release": "^3.5.0",
5254
"gulp-change": "^1.0.2",
5355
"gulp-git": "^2.9.0",

packages-native/activity-indicator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"postversion": "../../node_modules/.bin/ts-node ../../scripts/release/UpdateGithubRelease.ts --project ../../scripts/tsconfig.json"
2424
},
2525
"dependencies": {
26-
"@native-mobile-resources/util-widgets": "^0.0.1"
26+
"@native-mobile-resources/util-widgets": "^1.0.0"
2727
}
2828
}

packages-native/animation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@
4040
"dependencies": {
4141
"big.js": "^5.2.2",
4242
"react-native-animatable": "^1.3.2",
43-
"@native-mobile-resources/util-widgets": "^0.0.1"
43+
"@native-mobile-resources/util-widgets": "^1.0.0"
4444
}
4545
}

packages-native/app-events/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"postversion": "../../node_modules/.bin/ts-node ../../scripts/release/UpdateGithubRelease.ts --project ../../scripts/tsconfig.json"
2424
},
2525
"devDependencies": {
26-
"@native-mobile-resources/util-widgets": "^0.0.1"
26+
"@native-mobile-resources/util-widgets": "^1.0.0"
2727
}
2828
}

packages-native/app-events/src/__tests__/AppEvents.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { actionValue } from "@native-mobile-resources/util-widgets/test";
1+
import { actionValue } from "@native-mobile-resources/util-widgets";
22
import { createElement } from "react";
33
import { AppStateStatus } from "react-native";
44
import { flushMicrotasksQueue, render } from "react-native-testing-library";

packages-native/badge/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"postversion": "../../node_modules/.bin/ts-node ../../scripts/release/UpdateGithubRelease.ts --project ../../scripts/tsconfig.json"
2424
},
2525
"dependencies": {
26-
"@native-mobile-resources/util-widgets": "^0.0.1"
26+
"@native-mobile-resources/util-widgets": "^1.0.0"
2727
}
2828
}

packages-native/badge/src/__tests__/Badge.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { actionValue, dynamicValue } from "@native-mobile-resources/util-widgets/test";
1+
import { actionValue, dynamicValue } from "@native-mobile-resources/util-widgets";
22
import { createElement } from "react";
33
import { Platform, Text } from "react-native";
44
import { fireEvent, render } from "react-native-testing-library";

0 commit comments

Comments
 (0)