react-x11 2.18.5 → 2.19.0

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.
@@ -32,7 +32,7 @@
32
32
  // buttons do what they say. input.js routes; this answers where things are.
33
33
 
34
34
  import fs from 'node:fs';
35
- import { Path2D } from 'ntk';
35
+ import { Path2D } from 'ntk/path';
36
36
  import { RESIZE_EDGE, TOPLEVEL_STATE } from './window.js';
37
37
  import { DEFAULTS, parseButtonLayout, titleFont } from './framestyle.js';
38
38
 
@@ -15,7 +15,7 @@
15
15
  // `indexAt()` returns code points, which is what the selection and the caret
16
16
  // speak. DirectWrite is UTF-16 end to end, like CoreText, so the conversion
17
17
  // happens at this boundary and nowhere else.
18
- import { cssColorStraight } from 'ntk';
18
+ import { cssColorStraight } from 'ntk/color';
19
19
 
20
20
  // REACT_X11_WIN32_DEBUG=1 reports the size each paragraph is shaped at, which
21
21
  // is how to tell a scale that never reached the text engine from one that did.