oasis-editor 0.0.42 → 0.0.43

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.
@@ -1,4 +1,5 @@
1
1
  import { EditorPageSettings } from '../../../core/model.js';
2
+ import { PX_PER_INCH, PX_PER_CM } from '../../../core/units.js';
2
3
 
3
4
  /**
4
5
  * Horizontal ruler geometry. The editor stores page dimensions, margins and
@@ -6,8 +7,7 @@ import { EditorPageSettings } from '../../../core/model.js';
6
7
  * pixels too — no point/twip conversion is needed for positioning. Only the
7
8
  * tick labels convert pixels to inches/centimeters for display.
8
9
  */
9
- export declare const PX_PER_INCH = 96;
10
- export declare const PX_PER_CM: number;
10
+ export { PX_PER_INCH, PX_PER_CM };
11
11
  /** Minimum content width (px) the editor guarantees; mirrors getPageContentWidth. */
12
12
  export declare const MIN_CONTENT_WIDTH_PX = 24;
13
13
  export interface RulerIndents {
@@ -1,4 +1,3 @@
1
1
  /** 11pt expressed in CSS pixels (11 * 96 / 72). */
2
2
  export declare const DEFAULT_FONT_SIZE = 14.6667;
3
- /** CSS pixels per typographic point. */
4
- export declare const PX_PER_POINT: number;
3
+ export { PX_PER_POINT } from '../../core/units.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oasis-editor",
3
- "version": "0.0.42",
3
+ "version": "0.0.43",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",