Skip to content

Commit

Permalink
chore: build, cl, version
Browse files Browse the repository at this point in the history
  • Loading branch information
adamberecz committed Jul 29, 2024
1 parent b5c6d04 commit 16be229
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 11 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## v2.6.9

> `2024-07-29`
### 🐞 Bug Fixes
- Removed optional chaining, fixes #420

## v2.6.8

> `2024-06-14`
Expand Down
2 changes: 1 addition & 1 deletion dist/multiselect.global.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/multiselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,7 @@ function usePointer (props, context, dep)
});

watch(isOpen, (val) => {
if (val && multiselect?.value) {
if (val && multiselect && multiselect.value) {
let firstSelected = multiselect.value.querySelectorAll(`[data-selected]`)[0];

if (!firstSelected) {
Expand Down Expand Up @@ -4322,7 +4322,7 @@ var script = {
])
},
beforeMount() {
if (this.$root.constructor?.version?.match(/^2\./) || this.vueVersionMs === 2) {
if ((this.$root.constructor && this.$root.constructor.version && this.$root.constructor.version.match(/^2\./)) || this.vueVersionMs === 2) {
if (!this.$options.components.Teleport) {
this.$options.components.Teleport = {
render() {
Expand Down
2 changes: 1 addition & 1 deletion dist/multiselect.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/multiselect.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,7 @@ function usePointer (props, context, dep)
});

watch(isOpen, (val) => {
if (val && multiselect?.value) {
if (val && multiselect && multiselect.value) {
let firstSelected = multiselect.value.querySelectorAll(`[data-selected]`)[0];

if (!firstSelected) {
Expand Down Expand Up @@ -4322,7 +4322,7 @@ var script = {
])
},
beforeMount() {
if (this.$root.constructor?.version?.match(/^2\./) || this.vueVersionMs === 2) {
if ((this.$root.constructor && this.$root.constructor.version && this.$root.constructor.version.match(/^2\./)) || this.vueVersionMs === 2) {
if (!this.$options.components.Teleport) {
this.$options.components.Teleport = {
render() {
Expand Down
2 changes: 1 addition & 1 deletion dist/multiselect.vue2.global.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/multiselect.vue2.js
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,7 @@ function usePointer (props, context, dep)
});

watch(isOpen, (val) => {
if (val && multiselect?.value) {
if (val && multiselect && multiselect.value) {
let firstSelected = multiselect.value.querySelectorAll(`[data-selected]`)[0];

if (!firstSelected) {
Expand Down Expand Up @@ -4324,7 +4324,7 @@ function resolveDeps (props, context, features, deps = {}) {
])
},
beforeMount() {
if (this.$root.constructor?.version?.match(/^2\./) || this.vueVersionMs === 2) {
if ((this.$root.constructor && this.$root.constructor.version && this.$root.constructor.version.match(/^2\./)) || this.vueVersionMs === 2) {
if (!this.$options.components.Teleport) {
this.$options.components.Teleport = {
render() {
Expand Down
2 changes: 1 addition & 1 deletion dist/multiselect.vue2.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vueform/multiselect",
"version": "2.6.8",
"version": "2.6.9",
"private": false,
"description": "Vue 3 multiselect component with single select, multiselect and tagging options.",
"license": "MIT",
Expand Down

0 comments on commit 16be229

Please sign in to comment.