From b58bad59e0f90b2e59f88ce770b1dc2246678b01 Mon Sep 17 00:00:00 2001 From: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com> Date: Mon, 1 Mar 2021 13:35:13 +0300 Subject: [PATCH 1/4] PSS-485: remove overflow style from select prefix (#147) * remove overflow style * up package version to 0.7.10 --- package.json | 2 +- src/styles/select.scss | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 1acb55e3..9dc27676 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@soramitsu/soramitsu-js-ui", - "version": "0.7.9", + "version": "0.7.10", "private": false, "publishConfig": { "registry": "https://nexus.iroha.tech/repository/npm-soramitsu-private/" diff --git a/src/styles/select.scss b/src/styles/select.scss index e1e1db04..97057348 100644 --- a/src/styles/select.scss +++ b/src/styles/select.scss @@ -65,7 +65,6 @@ $select-prefix-height: $s-size-mini; width: $select-prefix-width; height: $select-prefix-height; margin: auto; - overflow: hidden; } } } From 76f46bce8068c8ca91e9f47dd1b132c2766a31d4 Mon Sep 17 00:00:00 2001 From: Aleksandr Makhnev Date: Tue, 2 Mar 2021 18:01:48 +0500 Subject: [PATCH 2/4] Add on section click event --- src/components/ScrollSections/SScrollSections.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ScrollSections/SScrollSections.vue b/src/components/ScrollSections/SScrollSections.vue index c907a554..198ac33d 100644 --- a/src/components/ScrollSections/SScrollSections.vue +++ b/src/components/ScrollSections/SScrollSections.vue @@ -189,6 +189,7 @@ export default class SScrollSections extends Vue { return } this.router.push({ hash: `#${section}` }) + this.$emit('on-section-click', section) const component = this.menuItems.filter((component: any) => component.section === section)[0] as any (component.$el as HTMLElement).scrollIntoView({ behavior: 'smooth' }) } From b972256bce07d5a7620d08db96d437984ee8468a Mon Sep 17 00:00:00 2001 From: Aleksandr Makhnev Date: Tue, 2 Mar 2021 18:02:16 +0500 Subject: [PATCH 3/4] Update version to 0.7.11 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9dc27676..07edcd64 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@soramitsu/soramitsu-js-ui", - "version": "0.7.10", + "version": "0.7.11", "private": false, "publishConfig": { "registry": "https://nexus.iroha.tech/repository/npm-soramitsu-private/" From c4497c03cc134585d8c76d2307ab7e05efc1d64b Mon Sep 17 00:00:00 2001 From: Aleksandr Makhnev Date: Tue, 2 Mar 2021 18:15:16 +0500 Subject: [PATCH 4/4] Change naming --- src/components/ScrollSections/SScrollSections.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ScrollSections/SScrollSections.vue b/src/components/ScrollSections/SScrollSections.vue index 198ac33d..ec999958 100644 --- a/src/components/ScrollSections/SScrollSections.vue +++ b/src/components/ScrollSections/SScrollSections.vue @@ -189,7 +189,7 @@ export default class SScrollSections extends Vue { return } this.router.push({ hash: `#${section}` }) - this.$emit('on-section-click', section) + this.$emit('section-click', section) const component = this.menuItems.filter((component: any) => component.section === section)[0] as any (component.$el as HTMLElement).scrollIntoView({ behavior: 'smooth' }) }