@pequity/squirrel 1.0.28-beta.1 → 1.0.28
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/dist/cjs/chunks/p-dropdown-select.js +2 -2
- package/dist/cjs/p-select-pill.js +6 -3
- package/dist/cjs/tailwind.js +5 -4333
- package/dist/es/chunks/p-dropdown-select.js +2 -2
- package/dist/es/p-select-pill.js +6 -3
- package/dist/es/tailwind.js +5 -4333
- package/package.json +32 -35
- package/squirrel/components/p-dropdown-select/p-dropdown-select.vue +1 -1
- package/squirrel/components/p-select-pill/p-select-pill.vue +6 -2
- package/squirrel/utils/tailwind.ts +1 -1
|
@@ -243,10 +243,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
243
243
|
scrollToActiveItem();
|
|
244
244
|
};
|
|
245
245
|
const onHide = () => {
|
|
246
|
-
var _a;
|
|
246
|
+
var _a, _b;
|
|
247
247
|
dropdownShow.value = false;
|
|
248
248
|
destroyNavigationSvc();
|
|
249
|
-
((_a = formControl.value) == null ? void 0 : _a.querySelector("button")).focus();
|
|
249
|
+
(_b = (_a = formControl.value) == null ? void 0 : _a.querySelector("button")) == null ? void 0 : _b.focus();
|
|
250
250
|
};
|
|
251
251
|
return (_ctx, _cache) => {
|
|
252
252
|
const _directive_close_popper = resolveDirective("close-popper");
|
package/dist/es/p-select-pill.js
CHANGED
|
@@ -53,7 +53,8 @@ const _sfc_main = defineComponent({
|
|
|
53
53
|
handler() {
|
|
54
54
|
setTimeout(() => this.setPillStyle(), 60);
|
|
55
55
|
},
|
|
56
|
-
immediate: true
|
|
56
|
+
immediate: true,
|
|
57
|
+
flush: "post"
|
|
57
58
|
}
|
|
58
59
|
},
|
|
59
60
|
methods: {
|
|
@@ -68,8 +69,10 @@ const _sfc_main = defineComponent({
|
|
|
68
69
|
return;
|
|
69
70
|
}
|
|
70
71
|
const dimensions = el.offsetWidth !== 0 ? { left: `${el.offsetLeft}px`, width: `${el.offsetWidth}px` } : getOffsetValues(this.$el);
|
|
71
|
-
this.$refs.pill.
|
|
72
|
-
|
|
72
|
+
if (this.$refs.pill && this.$refs.pill instanceof HTMLElement) {
|
|
73
|
+
this.$refs.pill.style.left = dimensions.left;
|
|
74
|
+
this.$refs.pill.style.width = dimensions.width;
|
|
75
|
+
}
|
|
73
76
|
}
|
|
74
77
|
}
|
|
75
78
|
});
|