@pretable/ui 0.20.1 → 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 CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- //#region src/density.ts
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
- //#endregion
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
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/density.ts"],"mappings":";;;;;;UAQiB;EACf;EACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2Cc,kBAAkB,UAAU,iBAAiB"}
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
- //#endregion
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
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/density.ts"],"mappings":";;;;;;UAQiB;EACf;EACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2Cc,kBAAkB,UAAU,iBAAiB"}
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
- //#region src/density.ts
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pretable/ui",
3
- "version": "0.20.1",
3
+ "version": "0.20.3",
4
4
  "description": "CSS themes, tokens, and grid styles for Pretable.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -71,7 +71,7 @@
71
71
  "api": "api-extractor run --local --config api-extractor.json",
72
72
  "api:check": "api-extractor run --config api-extractor.json",
73
73
  "build": "tsdown --config tsdown.config.ts",
74
- "lint": "eslint src --ext .ts",
74
+ "lint": "eslint .",
75
75
  "lint:packaging": "publint --strict && attw --pack --exclude-entrypoints ./themes/excel.css ./themes/material.css ./themes/pretable.css ./grid.css ./tailwind.css ./tokens.css",
76
76
  "test": "vitest run",
77
77
  "typecheck": "tsc -p tsconfig.typecheck.json --noEmit"