@abi-software/map-utilities 1.6.0-beta.0 → 1.6.0-beta.1

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": "@abi-software/map-utilities",
3
- "version": "1.6.0-beta.0",
3
+ "version": "1.6.0-beta.1",
4
4
  "files": [
5
5
  "dist/*",
6
6
  "src/*",
@@ -84,7 +84,6 @@
84
84
  :class="{ 'show-picker': showColourPicker }"
85
85
  v-model="data.activeColour"
86
86
  size="small"
87
- :popper-class="myPopperClass"
88
87
  @change="setColour(data, $event)"
89
88
  />
90
89
  <div class="lastChildInItem">
@@ -157,7 +156,6 @@ export default {
157
156
  return {
158
157
  defaultExpandedKeys: ["All"],
159
158
  filterText: "",
160
- myPopperClass: "hide-scaffold-colour-popup",
161
159
  tooltipVisible: false,
162
160
  tooltipLabel: "",
163
161
  tooltipAtBottom: false,
@@ -186,13 +184,6 @@ export default {
186
184
  },
187
185
  },
188
186
  watch: {
189
- showColourPicker: {
190
- immediate: true,
191
- handler: function () {
192
- if (this.showColourPicker) this.myPopperClass = "showPicker";
193
- else this.myPopperClass = "hide-scaffold-colour-popup";
194
- },
195
- },
196
187
  filterText: {
197
188
  handler: function (value) {
198
189
  if (this.$refs.regionTree) this.$refs.regionTree.filter(value);
@@ -394,6 +385,7 @@ export default {
394
385
  width: 100%;
395
386
 
396
387
  :deep(.el-color-picker) {
388
+ pointer-events: none;
397
389
  height: 14px !important;
398
390
  }
399
391
 
@@ -412,14 +404,17 @@ export default {
412
404
  }
413
405
 
414
406
  :deep(.el-color-picker__icon) {
415
- &.el-icon-arrow-down {
407
+ &.is-icon-arrow-down {
416
408
  display: none;
417
409
  }
418
410
  }
419
411
 
420
412
  :deep(.show-picker) {
413
+ &.el-color-picker {
414
+ pointer-events: auto;
415
+ }
421
416
  .el-color-picker__icon {
422
- &.el-icon-arrow-down {
417
+ &.is-icon-arrow-down {
423
418
  display: block;
424
419
  }
425
420
  }