ngx-kit 8.3.1 → 8.3.2
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/fesm2022/ngx-kit-core.mjs +5 -2
- package/fesm2022/ngx-kit-core.mjs.map +1 -1
- package/fesm2022/ngx-kit-drag-resize.mjs +3 -3
- package/fesm2022/ngx-kit-drag-resize.mjs.map +1 -1
- package/fesm2022/ngx-kit-gradient-picker.mjs +2 -2
- package/fesm2022/ngx-kit-gradient-picker.mjs.map +1 -1
- package/fesm2022/ngx-kit-notify.mjs +1 -1
- package/fesm2022/ngx-kit-notify.mjs.map +1 -1
- package/fesm2022/ngx-kit-tooltip.mjs +1 -1
- package/fesm2022/ngx-kit-tooltip.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -212,7 +212,7 @@ class DragRef {
|
|
|
212
212
|
scrollListener;
|
|
213
213
|
resizeListener;
|
|
214
214
|
init() {
|
|
215
|
-
this.previousTransform = getComputedStyle(this.el)
|
|
215
|
+
this.previousTransform = getComputedStyle?.(this.el)?.getPropertyValue?.('transform');
|
|
216
216
|
}
|
|
217
217
|
withDropList(list) {
|
|
218
218
|
if (this.dropList === list)
|
|
@@ -993,7 +993,7 @@ class ScrollFrame {
|
|
|
993
993
|
}
|
|
994
994
|
}
|
|
995
995
|
function scrolls(el) {
|
|
996
|
-
const s = getComputedStyle(el);
|
|
996
|
+
const s = getComputedStyle?.(el);
|
|
997
997
|
// `hidden` containers still scroll programmatically; `clip` never does.
|
|
998
998
|
const scrollish = (v) => v === 'auto' || v === 'scroll' || v === 'overlay' || v === 'hidden';
|
|
999
999
|
return scrollish(s.overflowX) || scrollish(s.overflowY);
|
|
@@ -1298,7 +1298,7 @@ class SortSession {
|
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
1300
1300
|
function initialTransform(el) {
|
|
1301
|
-
const t = getComputedStyle(el)
|
|
1301
|
+
const t = getComputedStyle?.(el)?.transform;
|
|
1302
1302
|
return t && t !== 'none' ? ` ${t}` : '';
|
|
1303
1303
|
}
|
|
1304
1304
|
|