Skip to content

Commit

Permalink
7.0.0-beta.20 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Apr 15, 2022
1 parent 8bc1985 commit 21fce09
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 28 deletions.
8 changes: 1 addition & 7 deletions kitchen-sink/vue/src/pages/elevation.vue
Expand Up @@ -114,13 +114,7 @@
<f7-row>
<f7-col>
<div
class="
elevation-demo
elevation-6
elevation-hover-24
elevation-pressed-12
elevation-transition
"
class="elevation-demo elevation-6 elevation-hover-24 elevation-pressed-12 elevation-transition"
>
6 + hover-24 + pressed-12
</div>
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/core/package.json
@@ -1,6 +1,6 @@
{
"name": "framework7",
"version": "7.0.0-beta.16",
"version": "7.0.0-beta.20",
"description": "Full featured mobile HTML framework for building iOS & Android apps",
"type": "module",
"exports": {
Expand Down Expand Up @@ -302,6 +302,6 @@
"path-to-regexp": "^6.2.0",
"skeleton-elements": "^4.0.0",
"ssr-window": "^4.0.2",
"swiper": "^8.0.6"
"swiper": "^8.1.0"
}
}
4 changes: 2 additions & 2 deletions packages/react/package.json
@@ -1,6 +1,6 @@
{
"name": "framework7-react",
"version": "7.0.0-beta.16",
"version": "7.0.0-beta.20",
"description": "Build full featured iOS & Android apps using Framework7 & React",
"type": "module",
"exports": {
Expand Down Expand Up @@ -46,4 +46,4 @@
"type": "patreon",
"url": "https://www.patreon.com/framework7"
}
}
}
4 changes: 2 additions & 2 deletions packages/svelte/package.json
@@ -1,6 +1,6 @@
{
"name": "framework7-svelte",
"version": "7.0.0-beta.16",
"version": "7.0.0-beta.20",
"description": "Build full featured iOS & Android apps using Framework7 & Svelte",
"type": "module",
"svelte": "./framework7-svelte.js",
Expand Down Expand Up @@ -45,4 +45,4 @@
"type": "patreon",
"url": "https://www.patreon.com/framework7"
}
}
}
4 changes: 2 additions & 2 deletions packages/vue/framework7-vue-web-types.json
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-04/schema#",
"framework": "vue",
"name": "framework7-vue",
"version": "7.0.0-beta.16",
"version": "7.0.0-beta.20",
"contributions": {
"html": {
"types-syntax": "typescript",
Expand Down Expand Up @@ -16679,4 +16679,4 @@
]
}
}
}
}
4 changes: 2 additions & 2 deletions packages/vue/package.json
@@ -1,6 +1,6 @@
{
"name": "framework7-vue",
"version": "7.0.0-beta.16",
"version": "7.0.0-beta.20",
"description": "Build full featured iOS & Android apps using Framework7 & Vue",
"type": "module",
"exports": {
Expand Down Expand Up @@ -47,4 +47,4 @@
"type": "patreon",
"url": "https://www.patreon.com/framework7"
}
}
}
14 changes: 10 additions & 4 deletions scripts/build-core-lazy-components.js
Expand Up @@ -235,12 +235,18 @@ function buildLazyComponentsJs(components, cb) {
.replace('var getDevice = Framework7.getDevice;', '')
.replace('var getSupport = Framework7.getSupport;', '');
}
fileContent = fileContent.replace(/export default ([a-zA-Z_]*);/, (line, name) => {
// eslint-disable-line
return install.replace(/COMPONENT/g, name);
});
fileContent = fileContent
.replace(/export default ([a-zA-Z_]*);/, (line, name) => {
// eslint-disable-line
return install.replace(/COMPONENT/g, name);
})
.replace(/export { ([a-zA-Z_]*) as default };/, (line, name) => {
// eslint-disable-line
return install.replace(/COMPONENT/g, name);
});

fileContent = (await minify(fileContent)).code;

fileContent = `(${fileContent}(Framework7, typeof Framework7AutoInstallComponent === 'undefined' ? undefined : Framework7AutoInstallComponent))`;

fs.writeFileSync(
Expand Down

0 comments on commit 21fce09

Please sign in to comment.