@eturnity/eturnity_reusable_components 6.28.0-EPDM-7478.3 → 6.28.0-EPDM-7066.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "6.28.0-EPDM-7478.3",
3
+ "version": "6.28.0-EPDM-7066.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -59,4 +59,4 @@
59
59
  "author": "Aaron Enser",
60
60
  "license": "ISC",
61
61
  "homepage": "https://bitbucket.org/eturnitydevs/eturnity_reusable_components#readme"
62
- }
62
+ }
@@ -1,4 +1,4 @@
1
- <svg fill="none" height="20" viewbox="12 12 16 16" width="16" xmlns="http://www.w3.org/2000/svg">
1
+ <svg fill="none" height="16" viewbox="12 12 16 16" width="16" xmlns="http://www.w3.org/2000/svg">
2
2
  <path d="M13 13H27V14.5556H13V13Z" fill="#B2B9C5"></path>
3
3
  <path d="M13 21.5556H27V23.1111H13V21.5556Z" fill="#B2B9C5"></path>
4
4
  <path d="M13 13H14.5556V22.3333H13V13Z" fill="#B2B9C5"></path>
@@ -100,6 +100,7 @@
100
100
  :selectedValue="selectedValue"
101
101
  @option-selected="optionSelected"
102
102
  @option-hovered="optionHovered"
103
+ @mouseleave="optionLeave"
103
104
  >
104
105
  <slot name="dropdown"></slot>
105
106
  </selectDropdown>
@@ -314,6 +315,10 @@ export default {
314
315
  required: false,
315
316
  default: false
316
317
  },
318
+ dropdownAutoClose: {
319
+ required: false,
320
+ default: true
321
+ },
317
322
  alignItems: {
318
323
  required: false,
319
324
  default: 'horizontal'
@@ -443,6 +448,11 @@ export default {
443
448
  this.blur()
444
449
  }
445
450
  },
451
+ optionLeave() {
452
+ if(this.dropdownAutoClose) {
453
+ this.isDropdownOpen = false
454
+ }
455
+ },
446
456
  searchChange(value) {
447
457
  this.textSearch = value
448
458
  this.$emit('search-change', value)