@pretable/ui 0.20.2 → 0.20.3
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.cjs +1 -2
- package/dist/index.d.cts +2 -4
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +2 -4
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
2
|
+
// src/density.ts
|
|
3
3
|
const FALLBACK_ROW_HEIGHT = 32;
|
|
4
4
|
const FALLBACK_HEADER_HEIGHT = 36;
|
|
5
5
|
function parsePx(value) {
|
|
@@ -58,6 +58,5 @@ function getDensityHeights(element) {
|
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
//#endregion
|
|
62
61
|
exports.getDensityHeights = getDensityHeights;
|
|
63
62
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/density.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Density-related heights (in CSS pixels) read from the active theme.
|
|
4
3
|
*
|
|
@@ -42,7 +41,6 @@ interface DensityHeights {
|
|
|
42
41
|
*
|
|
43
42
|
* @public
|
|
44
43
|
*/
|
|
45
|
-
declare function getDensityHeights(element?: Element | null): DensityHeights;
|
|
46
|
-
|
|
47
|
-
export { type DensityHeights, getDensityHeights };
|
|
44
|
+
export declare function getDensityHeights(element?: Element | null): DensityHeights;
|
|
45
|
+
export type { DensityHeights };
|
|
48
46
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/density.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/density.ts"],"mappings":";;;;;UAQiB;EACf;EACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA2Cc,kBAAkB,UAAU,iBAAiB"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/density.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Density-related heights (in CSS pixels) read from the active theme.
|
|
4
3
|
*
|
|
@@ -42,7 +41,6 @@ interface DensityHeights {
|
|
|
42
41
|
*
|
|
43
42
|
* @public
|
|
44
43
|
*/
|
|
45
|
-
declare function getDensityHeights(element?: Element | null): DensityHeights;
|
|
46
|
-
|
|
47
|
-
export { type DensityHeights, getDensityHeights };
|
|
44
|
+
export declare function getDensityHeights(element?: Element | null): DensityHeights;
|
|
45
|
+
export type { DensityHeights };
|
|
48
46
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/density.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/density.ts"],"mappings":";;;;;UAQiB;EACf;EACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA2Cc,kBAAkB,UAAU,iBAAiB"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/density.ts
|
|
2
2
|
const FALLBACK_ROW_HEIGHT = 32;
|
|
3
3
|
const FALLBACK_HEADER_HEIGHT = 36;
|
|
4
4
|
function parsePx(value) {
|
|
@@ -57,6 +57,5 @@ function getDensityHeights(element) {
|
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
//#endregion
|
|
61
60
|
export { getDensityHeights };
|
|
62
61
|
//# sourceMappingURL=index.mjs.map
|