From 884a8ec879215f5b9f870b81e536e4bea9ad1e04 Mon Sep 17 00:00:00 2001 From: Vladimir Kharlampidi Date: Mon, 5 Feb 2024 13:28:24 +0300 Subject: [PATCH] 8.3.1 --- .eslintignore | 1 + CHANGELOG.md | 12 ++++++++++++ packages/core/package.json | 4 ++-- packages/react/package.json | 4 ++-- packages/svelte/package.json | 4 ++-- packages/vue/framework7-vue-web-types.json | 2 +- packages/vue/package.json | 4 ++-- src/core/components/app/app-class.js | 8 ++++---- 8 files changed, 26 insertions(+), 13 deletions(-) diff --git a/.eslintignore b/.eslintignore index 3ef3543be5..0b6fe3f0e0 100644 --- a/.eslintignore +++ b/.eslintignore @@ -13,6 +13,7 @@ src/core/framework7.js src/core/framework7-lite.js src/core/modules/demo-module.js src/core/modules/component/snabbdom +src/core/shared/material-color-utils.js woff2 src/vue-temp diff --git a/CHANGELOG.md b/CHANGELOG.md index 38ae464c03..a75f4cbbf9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ # Change Log +# [8.3.1](https://github.com/framework7io/framework7/compare/v8.3.0...v8.3.1) (2024-02-05) + + +### Bug Fixes + +* **calendar:** fix param type of calendar parameter formatValue ([#4235](https://github.com/framework7io/framework7/issues/4235)) ([ac1f205](https://github.com/framework7io/framework7/commit/ac1f2053b504f5a898775cb6fb80f7513f8cc8ff)) +* **core:** insert theme stylesheet first to allow overriding ([#4219](https://github.com/framework7io/framework7/issues/4219)) ([#4220](https://github.com/framework7io/framework7/issues/4220)) ([c02e90d](https://github.com/framework7io/framework7/commit/c02e90da66c284f16eae11bd01284b98e844047e)) +* **core:** replace references to obsolete addListener/removeListener ([#4221](https://github.com/framework7io/framework7/issues/4221)) ([4430722](https://github.com/framework7io/framework7/commit/443072262bcbf0755f4fed293df90d220af12f54)) +* **sortable:** Prevent touchscreen scrolling conflict via touch-action ([#4227](https://github.com/framework7io/framework7/issues/4227)) ([0505835](https://github.com/framework7io/framework7/commit/0505835f00466765c4ed20dfbd0669b1c1c26b10)), closes [#4178](https://github.com/framework7io/framework7/issues/4178) +* **types:** correct exports for react, vue and svelte ([5b380eb](https://github.com/framework7io/framework7/commit/5b380eb3ee48107f1f3c95ef39203956c564e591)) +* **types:** fix missing types ([#4231](https://github.com/framework7io/framework7/issues/4231)) ([734ab0a](https://github.com/framework7io/framework7/commit/734ab0ab8573c62ff82b782172162849454f137d)), closes [#4181](https://github.com/framework7io/framework7/issues/4181) + # [8.3.0](https://github.com/framework7io/framework7/compare/v8.2.0...v8.3.0) (2023-08-18) ### Bug Fixes diff --git a/packages/core/package.json b/packages/core/package.json index 9ca757d569..56833d2b5f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "framework7", - "version": "8.3.0", + "version": "8.3.1", "description": "Full featured mobile HTML framework for building iOS & Android apps", "type": "module", "exports": { @@ -454,5 +454,5 @@ "ssr-window": "^4.0.2", "swiper": "^10.2.0" }, - "releaseDate": "August 18, 2023" + "releaseDate": "February 5, 2024" } diff --git a/packages/react/package.json b/packages/react/package.json index 71ef3a3a21..bf6f88a05c 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "framework7-react", - "version": "8.3.0", + "version": "8.3.1", "description": "Build full featured iOS & Android apps using Framework7 & React", "type": "module", "exports": { @@ -50,5 +50,5 @@ "type": "patreon", "url": "https://www.patreon.com/framework7" }, - "releaseDate": "August 18, 2023" + "releaseDate": "February 5, 2024" } \ No newline at end of file diff --git a/packages/svelte/package.json b/packages/svelte/package.json index 3f96e1e029..6d2eff4527 100644 --- a/packages/svelte/package.json +++ b/packages/svelte/package.json @@ -1,6 +1,6 @@ { "name": "framework7-svelte", - "version": "8.3.0", + "version": "8.3.1", "description": "Build full featured iOS & Android apps using Framework7 & Svelte", "type": "module", "svelte": "./framework7-svelte.js", @@ -49,5 +49,5 @@ "type": "patreon", "url": "https://www.patreon.com/framework7" }, - "releaseDate": "August 18, 2023" + "releaseDate": "February 5, 2024" } \ No newline at end of file diff --git a/packages/vue/framework7-vue-web-types.json b/packages/vue/framework7-vue-web-types.json index ad734d68ea..c1d532b837 100644 --- a/packages/vue/framework7-vue-web-types.json +++ b/packages/vue/framework7-vue-web-types.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-04/schema#", "framework": "vue", "name": "framework7-vue", - "version": "8.3.0", + "version": "8.3.1", "contributions": { "html": { "types-syntax": "typescript", diff --git a/packages/vue/package.json b/packages/vue/package.json index 7802ed5ba5..b3b8a44ef7 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "framework7-vue", - "version": "8.3.0", + "version": "8.3.1", "description": "Build full featured iOS & Android apps using Framework7 & Vue", "type": "module", "exports": { @@ -61,5 +61,5 @@ "type": "patreon", "url": "https://www.patreon.com/framework7" }, - "releaseDate": "August 18, 2023" + "releaseDate": "February 5, 2024" } \ No newline at end of file diff --git a/src/core/components/app/app-class.js b/src/core/components/app/app-class.js index 48f33b3425..9cf90de25a 100644 --- a/src/core/components/app/app-class.js +++ b/src/core/components/app/app-class.js @@ -198,8 +198,8 @@ class Framework7 extends Framework7Class { const app = this; const html = document.querySelector('html'); if (app.mq.dark && app.mq.light) { - app.mq.dark.addEventListener("change", app.colorSchemeListener); - app.mq.light.addEventListener("change", app.colorSchemeListener); + app.mq.dark.addEventListener('change', app.colorSchemeListener); + app.mq.light.addEventListener('change', app.colorSchemeListener); } if (app.mq.dark && app.mq.dark.matches) { html.classList.add('dark'); @@ -216,8 +216,8 @@ class Framework7 extends Framework7Class { const window = getWindow(); if (!window.matchMedia) return; const app = this; - if (app.mq.dark) app.mq.dark.removeEventListener("change", app.colorSchemeListener); - if (app.mq.light) app.mq.light.removeEventListener("change", app.colorSchemeListener); + if (app.mq.dark) app.mq.dark.removeEventListener('change', app.colorSchemeListener); + if (app.mq.light) app.mq.light.removeEventListener('change', app.colorSchemeListener); } setDarkMode(mode) {