@ai-matrx/design-system 0.86.362 → 0.86.363
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/CHANGELOG.md +4 -0
- package/dist/data-table/index.cjs +1 -0
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +1 -0
- package/dist/data-table/index.js.map +1 -1
- package/dist/index.cjs +366 -305
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +29 -2
- package/dist/index.d.ts +29 -2
- package/dist/index.js +231 -182
- package/dist/index.js.map +1 -1
- package/dist/styles.css +13 -0
- package/package.json +2 -2
package/dist/data-table/index.js
CHANGED
|
@@ -8215,6 +8215,7 @@ function cellTextIsMultiline(cell) {
|
|
|
8215
8215
|
const minStep = Number.isFinite(lineHeight) ? lineHeight * 0.75 : 10;
|
|
8216
8216
|
const walker = cell.ownerDocument.createTreeWalker(cell, NodeFilter.SHOW_TEXT);
|
|
8217
8217
|
const range = cell.ownerDocument.createRange();
|
|
8218
|
+
if (typeof range.getClientRects !== "function") return false;
|
|
8218
8219
|
let firstTop = null;
|
|
8219
8220
|
for (let node = walker.nextNode(); node; node = walker.nextNode()) {
|
|
8220
8221
|
if (!node.textContent?.trim()) continue;
|