@namba_one/ui-kit-2 1.0.54 → 1.0.55
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/index.es.js +2 -2
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -4153,9 +4153,9 @@ const Wh = /* @__PURE__ */ _e({
|
|
|
4153
4153
|
return ut(() => {
|
|
4154
4154
|
var c, d, u, h;
|
|
4155
4155
|
if (a.isStretchToParent) {
|
|
4156
|
-
const v = ((c = e == null ? void 0 : e.parent) == null ? void 0 : c.refs.
|
|
4156
|
+
const v = ((c = e == null ? void 0 : e.parent) == null ? void 0 : c.refs.parentElementRef) instanceof HTMLElement ? (d = e == null ? void 0 : e.parent) == null ? void 0 : d.refs.parentElementRef : (
|
|
4157
4157
|
//@ts-expect-error skip check types
|
|
4158
|
-
(h = (u = e == null ? void 0 : e.parent) == null ? void 0 : u.refs.
|
|
4158
|
+
(h = (u = e == null ? void 0 : e.parent) == null ? void 0 : u.refs.parentElementRef) == null ? void 0 : h.$el
|
|
4159
4159
|
);
|
|
4160
4160
|
r.value.width = `${v == null ? void 0 : v.clientWidth}px`;
|
|
4161
4161
|
}
|