Skip to content

Commit 654e461

Browse files
authored
Merge pull request #60 from NativeScript/release/1.0.0-alpha.3
feat: 1.0.0-alpha.3
2 parents cc93f5c + cfbfe6f commit 654e461

File tree

153 files changed

+6011
-2731
lines changed

Some content is hidden

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

153 files changed

+6011
-2731
lines changed

CanvasNative.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Pod::Spec.new do |s|
22

33
s.name = "CanvasNative"
44

5-
s.version = "1.0.0-alpha.2"
5+
s.version = "1.0.0-alpha.3"
66

77
s.summary = "A Canvas library"
88

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<template>
2+
<Page>
3+
<ActionBar>
4+
<Label text="canvas-babylon"/>
5+
</ActionBar>
6+
7+
<GridLayout>
8+
<Button class="info" :text="message"/>
9+
</GridLayout>
10+
</Page>
11+
</template>
12+
13+
<script lang="ts">
14+
import Vue from "nativescript-vue";
15+
import { DemoSharedCanvasBabylon } from '@demo/shared';
16+
import { } from '@nativescript/canvas-babylon';
17+
18+
export default Vue.extend({
19+
computed: {
20+
message() {
21+
return "Test canvas-babylon";
22+
}
23+
}
24+
});
25+
</script>
26+
27+
<style scoped lang="scss">
28+
29+
.info {
30+
font-size: 20;
31+
horizontal-align: center;
32+
vertical-align: center;
33+
}
34+
</style>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<template>
2+
<Page>
3+
<ActionBar>
4+
<Label text="canvas-media"/>
5+
</ActionBar>
6+
7+
<GridLayout>
8+
<Button class="info" :text="message"/>
9+
</GridLayout>
10+
</Page>
11+
</template>
12+
13+
<script lang="ts">
14+
import Vue from "nativescript-vue";
15+
import { DemoSharedCanvasMedia } from '@demo/shared';
16+
import { } from '@nativescript/canvas-media';
17+
18+
export default Vue.extend({
19+
computed: {
20+
message() {
21+
return "Test canvas-media";
22+
}
23+
}
24+
});
25+
</script>
26+
27+
<style scoped lang="scss">
28+
29+
.info {
30+
font-size: 20;
31+
horizontal-align: center;
32+
vertical-align: center;
33+
}
34+
</style>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<template>
2+
<Page>
3+
<ActionBar>
4+
<Label text="canvas-phaser-ce"/>
5+
</ActionBar>
6+
7+
<GridLayout>
8+
<Button class="info" :text="message"/>
9+
</GridLayout>
10+
</Page>
11+
</template>
12+
13+
<script lang="ts">
14+
import Vue from "nativescript-vue";
15+
import { DemoSharedCanvasPhaserCe } from '@demo/shared';
16+
import { } from '@nativescript/canvas-phaser-ce';
17+
18+
export default Vue.extend({
19+
computed: {
20+
message() {
21+
return "Test canvas-phaser-ce";
22+
}
23+
}
24+
});
25+
</script>
26+
27+
<style scoped lang="scss">
28+
29+
.info {
30+
font-size: 20;
31+
horizontal-align: center;
32+
vertical-align: center;
33+
}
34+
</style>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<template>
2+
<Page>
3+
<ActionBar>
4+
<Label text="canvas-phaser"/>
5+
</ActionBar>
6+
7+
<GridLayout>
8+
<Button class="info" :text="message"/>
9+
</GridLayout>
10+
</Page>
11+
</template>
12+
13+
<script lang="ts">
14+
import Vue from "nativescript-vue";
15+
import { DemoSharedCanvasPhaser } from '@demo/shared';
16+
import { } from '@nativescript/canvas-phaser';
17+
18+
export default Vue.extend({
19+
computed: {
20+
message() {
21+
return "Test canvas-phaser";
22+
}
23+
}
24+
});
25+
</script>
26+
27+
<style scoped lang="scss">
28+
29+
.info {
30+
font-size: 20;
31+
horizontal-align: center;
32+
vertical-align: center;
33+
}
34+
</style>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<template>
2+
<Page>
3+
<ActionBar>
4+
<Label text="canvas-pixi"/>
5+
</ActionBar>
6+
7+
<GridLayout>
8+
<Button class="info" :text="message"/>
9+
</GridLayout>
10+
</Page>
11+
</template>
12+
13+
<script lang="ts">
14+
import Vue from "nativescript-vue";
15+
import { DemoSharedCanvasPixi } from '@demo/shared';
16+
import { } from '@nativescript/canvas-pixi';
17+
18+
export default Vue.extend({
19+
computed: {
20+
message() {
21+
return "Test canvas-pixi";
22+
}
23+
}
24+
});
25+
</script>
26+
27+
<style scoped lang="scss">
28+
29+
.info {
30+
font-size: 20;
31+
horizontal-align: center;
32+
vertical-align: center;
33+
}
34+
</style>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<template>
2+
<Page>
3+
<ActionBar>
4+
<Label text="canvas-polyfill"/>
5+
</ActionBar>
6+
7+
<GridLayout>
8+
<Button class="info" :text="message"/>
9+
</GridLayout>
10+
</Page>
11+
</template>
12+
13+
<script lang="ts">
14+
import Vue from "nativescript-vue";
15+
import { DemoSharedCanvasPolyfill } from '@demo/shared';
16+
import { } from '@nativescript/canvas-polyfill';
17+
18+
export default Vue.extend({
19+
computed: {
20+
message() {
21+
return "Test canvas-polyfill";
22+
}
23+
}
24+
});
25+
</script>
26+
27+
<style scoped lang="scss">
28+
29+
.info {
30+
font-size: 20;
31+
horizontal-align: center;
32+
vertical-align: center;
33+
}
34+
</style>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<template>
2+
<Page>
3+
<ActionBar>
4+
<Label text="canvas-three"/>
5+
</ActionBar>
6+
7+
<GridLayout>
8+
<Button class="info" :text="message"/>
9+
</GridLayout>
10+
</Page>
11+
</template>
12+
13+
<script lang="ts">
14+
import Vue from "nativescript-vue";
15+
import { DemoSharedCanvasThree } from '@demo/shared';
16+
import { } from '@nativescript/canvas-three';
17+
18+
export default Vue.extend({
19+
computed: {
20+
message() {
21+
return "Test canvas-three";
22+
}
23+
}
24+
});
25+
</script>
26+
27+
<style scoped lang="scss">
28+
29+
.info {
30+
font-size: 20;
31+
horizontal-align: center;
32+
vertical-align: center;
33+
}
34+
</style>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<template>
2+
<Page>
3+
<ActionBar>
4+
<Label text="canvas"/>
5+
</ActionBar>
6+
7+
<GridLayout>
8+
<Button class="info" :text="message"/>
9+
</GridLayout>
10+
</Page>
11+
</template>
12+
13+
<script lang="ts">
14+
import Vue from "nativescript-vue";
15+
import { DemoSharedCanvas } from '@demo/shared';
16+
import { } from '@nativescript/canvas';
17+
18+
export default Vue.extend({
19+
computed: {
20+
message() {
21+
return "Test canvas";
22+
}
23+
}
24+
});
25+
</script>
26+
27+
<style scoped lang="scss">
28+
29+
.info {
30+
font-size: 20;
31+
horizontal-align: center;
32+
vertical-align: center;
33+
}
34+
</style>

apps/demo/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"@nativescript/canvas-polyfill": "file:../../packages/canvas-polyfill",
1414
"@nativescript/canvas-three": "file:../../packages/canvas-three",
1515
"@nativescript/core": "file:../../node_modules/@nativescript/core",
16+
"@nativescript/webpack": "^5.0.0",
1617
"babylonjs": "file:../../node_modules/babylonjs",
1718
"babylonjs-materials": "file:../../node_modules/babylonjs-materials",
1819
"chart.js": "file:../../node_modules/chart.js",
@@ -27,7 +28,7 @@
2728
"zen-3d": "file:../../node_modules/zen-3d"
2829
},
2930
"devDependencies": {
30-
"@nativescript/android": "8.0.0",
31+
"@nativescript/android": "8.2.0-alpha.2",
3132
"@nativescript/ios": "8.0.0"
3233
}
3334
}

0 commit comments

Comments
 (0)