From af901c9900d2b88d67687deb7f31f89697b54e16 Mon Sep 17 00:00:00 2001 From: Damien Sorel Date: Tue, 31 May 2022 12:48:48 +0200 Subject: [PATCH 01/13] doc: fix changelog and announcements --- docs/.vuepress/enhanceApp.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/.vuepress/enhanceApp.js b/docs/.vuepress/enhanceApp.js index 7fae2aac4..eee32e11f 100644 --- a/docs/.vuepress/enhanceApp.js +++ b/docs/.vuepress/enhanceApp.js @@ -8,6 +8,8 @@ import 'vue-slider-component/dist-css/vue-slider-component.css'; import 'vue-slider-component/theme/material.css' import 'vue-swatches/dist/vue-swatches.css'; +window.global = window; + export default ({ Vue, router }) => { Vue.use(VueMaterial); Vue.component('v-swatches', VSwatches); From f3a62bb9561c8e205fdb676559eeca408c95d093 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 5 Jun 2022 10:53:34 +0200 Subject: [PATCH 02/13] Bump stylelint-config-standard-scss from 3.0.0 to 4.0.0 (#687) Bumps [stylelint-config-standard-scss](https://github.com/stylelint-scss/stylelint-config-standard-scss) from 3.0.0 to 4.0.0. - [Release notes](https://github.com/stylelint-scss/stylelint-config-standard-scss/releases) - [Changelog](https://github.com/stylelint-scss/stylelint-config-standard-scss/blob/main/CHANGELOG.md) - [Commits](https://github.com/stylelint-scss/stylelint-config-standard-scss/compare/v3.0.0...v4.0.0) --- updated-dependencies: - dependency-name: stylelint-config-standard-scss dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 59ef92b00..52555149c 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "rollup-plugin-string": "^3.0.0", "sass": "^1.43.4", "stylelint": "^14.0.0", - "stylelint-config-standard-scss": "^3.0.0", + "stylelint-config-standard-scss": "^4.0.0", "typescript": "^4.4.2", "vue-material": "^1.0.0-beta-15", "vue-slider-component": "^3.2.14", From 9aa13d27c10ddef5503b57a18fbb2d54510356f3 Mon Sep 17 00:00:00 2001 From: Damien Sorel Date: Tue, 7 Jun 2022 13:49:14 +0200 Subject: [PATCH 03/13] Remove circular dependency --- src/buttons/DescriptionButton.js | 3 +-- src/utils/Dynamic.js | 2 +- src/utils/MultiDynamic.js | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/buttons/DescriptionButton.js b/src/buttons/DescriptionButton.js index ca389011f..a75499b38 100644 --- a/src/buttons/DescriptionButton.js +++ b/src/buttons/DescriptionButton.js @@ -1,4 +1,3 @@ -import { NavbarCaption } from '../components/NavbarCaption'; import { EVENTS, IDS } from '../data/constants'; import info from '../icons/info.svg'; import { AbstractButton } from './AbstractButton'; @@ -103,7 +102,7 @@ export class DescriptionButton extends AbstractButton { */ refreshUi(refresh = false) { if (refresh) { - const caption = this.psv.navbar.getButton(NavbarCaption.id, false); + const caption = this.psv.navbar.getButton('caption', false); const captionHidden = caption && !caption.isVisible(); const hasDescription = !!this.psv.config.description; diff --git a/src/utils/Dynamic.js b/src/utils/Dynamic.js index 1b18b5ac2..78f4f4b8c 100644 --- a/src/utils/Dynamic.js +++ b/src/utils/Dynamic.js @@ -1,5 +1,5 @@ import { PSVError } from '../PSVError'; -import { bound, loop } from './index'; +import { bound, loop } from './math'; /** * @summary Represents a variable that can dynamically change with time (using requestAnimationFrame) diff --git a/src/utils/MultiDynamic.js b/src/utils/MultiDynamic.js index 1b36f15ec..3e6efce7c 100644 --- a/src/utils/MultiDynamic.js +++ b/src/utils/MultiDynamic.js @@ -1,4 +1,4 @@ -import { each } from './index'; +import { each } from './misc'; /** * @summary Wrapper for multiple {@link PSV.utils.Dynamic} evolving together From 4cf5a36ecf3456c2bbd26347203b3ca829baa09b Mon Sep 17 00:00:00 2001 From: Damien Sorel Date: Tue, 7 Jun 2022 13:49:48 +0200 Subject: [PATCH 04/13] doc: fix changelog and announcements --- docs/.vuepress/components/Announcements.vue | 10 ++++++++-- docs/.vuepress/components/Changelog.vue | 12 +++++++++--- docs/.vuepress/enhanceApp.js | 2 -- package.json | 1 - 4 files changed, 17 insertions(+), 8 deletions(-) diff --git a/docs/.vuepress/components/Announcements.vue b/docs/.vuepress/components/Announcements.vue index 3a07a4b8e..337a68920 100644 --- a/docs/.vuepress/components/Announcements.vue +++ b/docs/.vuepress/components/Announcements.vue @@ -10,7 +10,6 @@