chore(package): update to stencil 0.14.1-1 (#15992)

This commit is contained in:
Adam Bradley
2018-10-17 15:01:37 -05:00
committed by GitHub
parent a8f0f0d6c9
commit 86d5f33841
15 changed files with 11 additions and 28 deletions

View File

@ -30,7 +30,7 @@
"ionicons": "4.4.6"
},
"devDependencies": {
"@stencil/core": "0.14.1-0",
"@stencil/core": "0.14.1-1",
"@stencil/sass": "0.1.1",
"@stencil/utils": "latest",
"@types/jest": "^23.3.1",

View File

@ -7,6 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<script src="/dist/ionic.js"></script>
<link rel="stylesheet" type="text/css" href="/css/ionic.bundle.css">
<script src="/scripts/screenshot/testing.js"></script>
</head>
<body>

View File

@ -120,7 +120,7 @@
}
.custom2 {
--background: url(https://images.unsplash.com/photo-1503756234508-e32369269deb?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=47b63db904d2c72377ffc588f645eb45&auto=format&fit=crop&w=975&q=80) center 20%;
--background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAARQAQMAAAA2ut43AAAABlBMVEXMzMz////TjRV2AAAEPUlEQVR42u3RMREAMBDDsPAn/eXhavOq87Ztu7u7+6eBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBf2hvgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgatgn4GBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGr7S0wMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBwFewzMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwcLW9BQYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBq6CfQYG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gYGjvYD5WuYrpZqdmcAAAAASUVORK5CYII=) center 50%;
--color: white;
text-shadow: 2px 2px 6px black;
}

View File

@ -9,6 +9,8 @@ it('loading: basic', async () => {
const loading = await page.find('ion-loading');
expect(loading).not.toBeNull();
await loading.waitForVisible();
const compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();
});

View File

@ -9,6 +9,8 @@ it('loading: standalone', async () => {
const loading = await page.find('ion-loading');
expect(loading).not.toBeNull();
await loading.waitForVisible();
const compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();
});

View File

@ -317,7 +317,6 @@
var isTrue = el[prop] ? false : true;
el[prop] = isTrue;
console.log('in toggleBoolean, setting', prop, 'to', isTrue);
}
</script>
</ion-app>

View File

@ -79,16 +79,13 @@
<script>
const menuCtrl = document.querySelector('ion-menu-controller');
function openStart() {
console.log('Open start menu');
menuCtrl.open('start');
}
function push() {
console.log('Push page');
}
async function menu() {
console.log('Disable/enable menu');
menuCtrl.enable(!await menuCtrl.isEnabled());
}
</script>

View File

@ -79,16 +79,13 @@
<script>
const menuCtrl = document.querySelector('ion-menu-controller');
function openStart() {
console.log('Open start menu');
menuCtrl.open('left');
}
function push() {
console.log('Push page');
}
function menu() {
console.log('Disable/enable menu');
menuCtrl.enable(!menuCtrl.isEnabled());
}
</script>

View File

@ -102,23 +102,18 @@
var isTrue = el[prop] ? false : true;
el[prop] = isTrue;
console.log('in toggleBoolean, setting', prop, 'to', isTrue);
}
function toggleString(id, prop) {
var el = document.getElementById(id);
console.log('INPUT ELE', el);
var newString = el[prop] === 'dynamic' ? 'changed' : 'dynamic';
el[prop] = newString;
console.log('in toggleString, setting', prop, 'to', newString);
}
function clearString(id, prop) {
var el = document.getElementById(id);
el[prop] = '';
console.log('in toggleString, setting', prop, 'to', '');
}
</script>
</ion-app>

View File

@ -107,23 +107,18 @@
var isTrue = el[prop] ? false : true;
el[prop] = isTrue;
console.log('in toggleBoolean, setting', prop, 'to', isTrue);
}
function toggleString(id, prop) {
var el = document.getElementById(id);
console.log('INPUT ELE', el);
var newString = el[prop] === 'dynamic' ? 'changed' : 'dynamic';
el[prop] = newString;
console.log('in toggleString, setting', prop, 'to', newString);
}
function clearString(id, prop) {
var el = document.getElementById(id);
el[prop] = '';
console.log('in toggleString, setting', prop, 'to', '');
}
</script>
</ion-app>

View File

@ -88,7 +88,7 @@
<script>
function printForm(ev) {
console.log('TODO get working with forms');
}
function toggleBoolean(id, prop) {
@ -96,7 +96,6 @@
var isTrue = el[prop] ? false : true;
el[prop] = isTrue;
console.log('in toggleBoolean, setting', prop, 'to', isTrue);
}
</script>

View File

@ -87,7 +87,7 @@
<script>
function printForm(ev) {
console.log('TODO get working with forms');
}
function toggleBoolean(id, prop) {
@ -95,7 +95,6 @@
var isTrue = el[prop] ? false : true;
el[prop] = isTrue;
console.log('in toggleBoolean, setting', prop, 'to', isTrue);
}
</script>

View File

@ -176,7 +176,7 @@
<script>
function buttonClick(ev) {
console.log('clicked button', ev);
}
</script>
</body>

View File

@ -240,7 +240,7 @@
<script>
function buttonClick(ev) {
console.log('clicked button', ev);
}
</script>
</body>

View File

@ -64,12 +64,9 @@
const infiniteScroll = document.getElementById('infinite-scroll');
infiniteScroll.addEventListener('ionInfinite', async function () {
console.log('Loading data...');
const data = await getAsyncData();
infiniteScroll.complete();
addItems(data);
console.log('Done');
});
function addItems(append) {