@thinkpixellab-public/px-vue 3.0.17 → 3.0.18

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.
@@ -18,7 +18,7 @@ export default {
18
18
  variantValue() {
19
19
  return (
20
20
  (this.variantBase ? `${this.variantBase} ` : '') +
21
- (this.variant || this.variantDefault)
21
+ (this.variantDefault ? this.variantDefault : this.variant)
22
22
  );
23
23
  },
24
24
  },
@@ -344,9 +344,11 @@ export default {
344
344
  },
345
345
  methods: {
346
346
  show(reference) {
347
+ if (reference) {
348
+ this.referenceValue = reference;
349
+ }
347
350
  this.hideSource = null;
348
351
  this.visibleValue = true;
349
- this.referenceValue = reference;
350
352
  },
351
353
 
352
354
  showAtCursor(mouseEvent) {
@@ -121,7 +121,6 @@ $dur: 400ms;
121
121
 
122
122
  &__overlay {
123
123
  background-color: clr(accent, -6, 0.2);
124
- backdrop-filter: blur(10px);
125
124
  }
126
125
 
127
126
  &__drawer,
@@ -160,5 +159,11 @@ $dur: 400ms;
160
159
  )
161
160
  );
162
161
  }
162
+
163
+ &--blur & {
164
+ &__overlay {
165
+ backdrop-filter: blur(10px);
166
+ }
167
+ }
163
168
  }
164
169
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkpixellab-public/px-vue",
3
- "version": "3.0.17",
3
+ "version": "3.0.18",
4
4
  "description": "General purpose Vue components and helpers that can be used across projects.",
5
5
  "author": "Pixel Lab",
6
6
  "license": "MIT",