@eturnity/eturnity_reusable_components 7.45.5-EPDM-10609.2 → 7.45.5-EPDM-10609.3

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": "7.45.5-EPDM-10609.2",
3
+ "version": "7.45.5-EPDM-10609.3",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -0,0 +1,4 @@
1
+ <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M22 10V12L0 12L1.19209e-07 10L22 10Z" fill="white"/>
3
+ <path d="M10 0H12V22H10V0Z" fill="white"/>
4
+ </svg>
@@ -141,11 +141,12 @@
141
141
  computed: {},
142
142
  methods: {
143
143
  clickHandler(e) {
144
- if (this.isDisabled || !!this.$attrs?.onClick) {
144
+ if (this.isDisabled) {
145
145
  // prevent emitter if the option is disabled
146
146
  return
147
+ } else {
148
+ this.$parent.$emit('option-selected', this.value, e)
147
149
  }
148
- this.$parent.$emit('option-selected', this.value, e)
149
150
  },
150
151
  hoverHandler() {
151
152
  this.$parent.$emit('option-hovered', this.value)
@@ -1,3 +0,0 @@
1
- <svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M6 9.46199L9.708 11.7L8.724 7.48199L12 4.64399L7.686 4.27799L6 0.299988L4.314 4.27799L0 4.64399L3.276 7.48199L2.292 11.7L6 9.46199Z" fill="#FDB813"/>
3
- </svg>