Skip to content

Commit 3521b2c

Browse files
author
farfromrefug
committed
Merge remote-tracking branch 'origin/master'
2 parents 56d7066 + 1814620 commit 3521b2c

37 files changed

+4399
-5035
lines changed

.gitignore

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,19 @@ packages/**/*.d.ts
4343
bin
4444
build
4545
Pods
46-
!packages/platforms
46+
!packages/*/platforms
4747
/packages/**/*.aar
48+
/packages/**/*.framework
49+
/packages/**/*.xcframework
4850
/demo-snippets/**/*.aar
4951
*.xcuserdatad
5052
/packages/README.md
5153
packages/**/*js.map
5254
packages/**/*js
53-
packages/**/angular/*.json
54-
packages/*.ngsummary.json
55-
packages/*.metadata.json
5655
packages/angular
5756
packages/typings
57+
packages/**/angular/*.json
58+
packages/**/*.ngsummary.json
59+
packages/**/*.metadata.json
5860

5961
/blueprint.md

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,36 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [14.1.24](https://github.com/nativescript-community/ui-pager/compare/v14.1.23...v14.1.24) (2024-05-14)
7+
8+
### Features
9+
10+
* padding support ([3624df8](https://github.com/nativescript-community/ui-pager/commit/3624df8330fe33cc5d8517f18ebe907af81216dd))
11+
12+
## [14.1.23](https://github.com/nativescript-community/ui-pager/compare/v14.1.22...v14.1.23) (2024-04-17)
13+
14+
### Bug Fixes
15+
16+
* **angular:** Correct initialisation issue with angular ([c83c292](https://github.com/nativescript-community/ui-pager/commit/c83c2926bf92959c9eda8e4d705248841ce6c37d))
17+
18+
## [14.1.22](https://github.com/nativescript-community/ui-pager/compare/v14.1.21...v14.1.22) (2024-03-22)
19+
20+
### Bug Fixes
21+
22+
* **ios:** page item not updating on change ([9a38a43](https://github.com/nativescript-community/ui-pager/commit/9a38a43e18170387f157ed173d21c02918d4c37a))
23+
24+
## [14.1.21](https://github.com/nativescript-community/ui-pager/compare/v14.1.20...v14.1.21) (2024-03-22)
25+
26+
### Bug Fixes
27+
28+
* **ios:** ensure all templates are registered ([658e9c2](https://github.com/nativescript-community/ui-pager/commit/658e9c27a10cd714ab43f6674fdbf1ddd9abc8ac))
29+
30+
## [14.1.20](https://github.com/nativescript-community/ui-pager/compare/v14.1.19...v14.1.20) (2024-03-01)
31+
32+
### Bug Fixes
33+
34+
* **ios:** correctly apply transformer if start index is not 0 ([59c55a8](https://github.com/nativescript-community/ui-pager/commit/59c55a87d5abd8c807a6b7a45440e783dae4ddb6))
35+
636
## [14.1.19](https://github.com/nativescript-community/ui-pager/compare/v14.1.18...v14.1.19) (2024-02-15)
737

838
### Bug Fixes

demo-react

demo-snippets/vue/BasicPager.vue

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ export default {
2727
data() {
2828
return {
2929
items: [
30-
{title: "First", color: "#e67e22"},
31-
{title: "Second", color: "#3498db"},
32-
{title: "Third", color: "#e74c3c"},
33-
{title: "Fourth", color: "#9b59b6"},
30+
{ title: 'First', color: '#e67e22' },
31+
{ title: 'Second', color: '#3498db' },
32+
{ title: 'Third', color: '#e74c3c' },
33+
{ title: 'Fourth', color: '#9b59b6' }
3434
]
35-
}
35+
};
3636
},
3737
methods: {
3838
moveTo3() {
@@ -46,7 +46,6 @@ export default {
4646
</script>
4747

4848
<style lang="scss" scoped>
49-
5049
.page Label {
5150
font-size: 35;
5251
text-align: center;
@@ -55,5 +54,4 @@ export default {
5554
color: #ffffff;
5655
text-transform: uppercase;
5756
}
58-
59-
</style>
57+
</style>

demo-snippets/vue/Indicator.vue

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,22 @@
1313
</GridLayout>
1414
</v-template>
1515
</Pager>
16-
<PagerIndicator pagerViewId="pager" type="fill" verticalAlignment="bottom" horizontalAlignment="center" marginBottom="10"/>
17-
<Button row="1" text="Reset" @tap="resetPager" />
16+
<PagerIndicator pagerViewId="pager" type="fill" verticalAlignment="bottom" horizontalAlignment="center" marginBottom="10" />
17+
<Button row="1" text="Reset" @tap="resetPager" />
1818
</GridLayout>
1919
</Page>
2020
</template>
2121

2222
<script>
23-
2423
export default {
2524
data() {
2625
return {
2726
selectedIndex: 2,
2827
items: [
29-
{title: 'First', color: '#e67e22'},
30-
{title: 'Second', color: '#3498db'},
31-
{title: 'Third', color: '#e74c3c'},
32-
{title: 'Fourth', color: '#9b59b6'},
28+
{ title: 'First', color: '#e67e22' },
29+
{ title: 'Second', color: '#3498db' },
30+
{ title: 'Third', color: '#e74c3c' },
31+
{ title: 'Fourth', color: '#9b59b6' }
3332
]
3433
};
3534
},
@@ -38,7 +37,7 @@ export default {
3837
this.selectedIndex = 0;
3938
},
4039
selectedIndexChange(args) {
41-
console.log("SELECTED INDEX CHANGES", args.value)
40+
console.log('SELECTED INDEX CHANGES', args.value);
4241
this.selectedIndex = args.value;
4342
}
4443
}

demo-snippets/vue/RenderIssue.vue

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
<template>
32
<Page>
43
<ActionBar>
@@ -20,7 +19,7 @@
2019
</StackLayout>
2120
<StackLayout marginBottom="50">
2221
<Label :text="item.field3" />
23-
<StackLayout v-show="item.field3" backgroundColor="blue" height="10" width="10"/>
22+
<StackLayout v-show="item.field3" backgroundColor="blue" height="10" width="10" />
2423
</StackLayout>
2524
</StackLayout>
2625
</v-template>
@@ -34,18 +33,16 @@ export default {
3433
data() {
3534
return {
3635
items: [
37-
{ field1: true, field2: true, field3: true},
38-
{ field1: true, field2: true, field3: false},
39-
{ field1: true, field2: false, field3: true},
40-
{ field1: false, field2: true, field3: true},
41-
{ field1: false, field2: true, field3: true},
42-
{ field1: true, field2: true, field3: false},
36+
{ field1: true, field2: true, field3: true },
37+
{ field1: true, field2: true, field3: false },
38+
{ field1: true, field2: false, field3: true },
39+
{ field1: false, field2: true, field3: true },
40+
{ field1: false, field2: true, field3: true },
41+
{ field1: true, field2: true, field3: false }
4342
]
44-
}
43+
};
4544
}
4645
};
4746
</script>
4847

49-
<style lang="scss" scoped>
50-
51-
</style>
48+
<style lang="scss" scoped></style>

demo-snippets/vue/StaticPager.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</ActionBar>
77

88
<StackLayout class="page">
9-
<Pager height="100%" peaking="30" spacing="10">
9+
<Pager height="100%" peaking="30">
1010
<PagerItem backgroundColor="#e67e22"><Label text="First" /></PagerItem>
1111
<PagerItem backgroundColor="#3498db"><Label text="Second" /></PagerItem>
1212
<PagerItem backgroundColor="#e74c3c"><Label text="Third" /></PagerItem>
@@ -21,13 +21,11 @@ export default {};
2121
</script>
2222

2323
<style lang="scss" scoped>
24-
2524
.page Label {
2625
font-size: 35;
2726
horizontal-alignment: center;
2827
vertical-alignment: center;
2928
color: #ffffff;
3029
text-transform: uppercase;
3130
}
32-
33-
</style>
31+
</style>

demo-snippets/vue/Transformer.vue

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,25 @@
1818
</template>
1919

2020
<script>
21-
2221
import { Pager } from '@nativescript-community/ui-pager';
2322
import transformer from '@nativescript-community/ui-pager/transformers/Scale';
2423
25-
Pager.registerTransformer('scale', transformer)
24+
Pager.registerTransformer('scale', transformer);
2625
export default {
2726
data() {
2827
return {
2928
items: [
30-
{title: "First", color: "#e67e22"},
31-
{title: "Second", color: "#3498db"},
32-
{title: "Third", color: "#e74c3c"},
33-
{title: "Fourth", color: "#9b59b6"},
29+
{ title: 'First', color: '#e67e22' },
30+
{ title: 'Second', color: '#3498db' },
31+
{ title: 'Third', color: '#e74c3c' },
32+
{ title: 'Fourth', color: '#9b59b6' }
3433
]
35-
}
34+
};
3635
}
3736
};
3837
</script>
3938

4039
<style lang="scss" scoped>
41-
4240
.page Label {
4341
font-size: 35;
4442
text-align: center;
@@ -47,5 +45,4 @@ export default {
4745
color: #ffffff;
4846
text-transform: uppercase;
4947
}
50-
51-
</style>
48+
</style>

0 commit comments

Comments
 (0)