monowind 0.2.0 → 0.2.2
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/README.md +13 -0
- package/dist/borders.d.ts +12 -9
- package/dist/borders.d.ts.map +1 -1
- package/dist/cdn.js +38 -32
- package/dist/cdn.js.map +1 -1
- package/dist/element.d.ts.map +1 -1
- package/dist/flex.d.ts.map +1 -1
- package/dist/glyphs.d.ts +9 -0
- package/dist/glyphs.d.ts.map +1 -1
- package/dist/grid.d.ts.map +1 -1
- package/dist/index.js +1215 -808
- package/dist/index.js.map +1 -1
- package/dist/layout.d.ts +7 -0
- package/dist/layout.d.ts.map +1 -1
- package/dist/multicol.d.ts.map +1 -1
- package/dist/plain-text.d.ts +14 -2
- package/dist/plain-text.d.ts.map +1 -1
- package/dist/pointer.d.ts +15 -6
- package/dist/pointer.d.ts.map +1 -1
- package/dist/sort.js +1 -1
- package/dist/sort.js.map +1 -1
- package/dist/style.d.ts.map +1 -1
- package/dist/table.d.ts.map +1 -1
- package/dist/types.d.ts +75 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/styles.css +66 -5
- package/src/{rules.css → utilities.css} +25 -0
package/dist/layout.d.ts
CHANGED
|
@@ -45,6 +45,13 @@ export declare function makeIntrinsicCache(): IntrinsicCache;
|
|
|
45
45
|
export declare function layoutNode(node: LayoutNode, availableWidth: number, availableHeight: number | undefined, parentX: number, parentY: number, widthMode: SizingMode, cache: IntrinsicCache, forced?: {
|
|
46
46
|
width?: number | undefined;
|
|
47
47
|
height?: number | undefined;
|
|
48
|
+
/** Second-pass auto-gutter reservation (see the scrollRange block):
|
|
49
|
+
* an overflowing `auto` axis re-lays out once WITH its gutter and
|
|
50
|
+
* keeps it regardless of the new extent — no oscillation. */
|
|
51
|
+
gutter?: {
|
|
52
|
+
right: boolean;
|
|
53
|
+
bottom: boolean;
|
|
54
|
+
};
|
|
48
55
|
}): void;
|
|
49
56
|
export declare function clampSize(value: number, min: number, max: number | undefined): number;
|
|
50
57
|
/** A single-column text leaf's wrapped lines with their vertical
|
package/dist/layout.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../src/layout.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAkB1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../src/layout.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAkB1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAI5C,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EAET,UAAU,EAEV,cAAc,EACd,OAAO,EACP,IAAI,EACJ,SAAS,EACV,MAAM,YAAY,CAAC;AAEpB;;;;;;;GAOG;AAEH;;;GAGG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAevF;AAED,qDAAqD;AACrD,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAErD;AAED,4DAA4D;AAC5D,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAEtD;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE3C,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;IACxC,UAAU,EAAE,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;IACxC;wEACoE;IACpE,aAAa,EAAE,OAAO,CAAC,UAAU,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,C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AO,EAAE,MAAM,EACf,KAAK,EAAE,cAAc,GACpB,MAAM,CA2QR"}
|
package/dist/plain-text.d.ts
CHANGED
|
@@ -10,7 +10,8 @@ import type { LayoutNode } from "./types.ts";
|
|
|
10
10
|
* way the browser would paint it (same border-run and word-wrap code), minus
|
|
11
11
|
* colors and fonts.
|
|
12
12
|
*
|
|
13
|
-
*
|
|
13
|
+
* The grid covers the layout's ink extent (layoutRoot grows the root
|
|
14
|
+
* to it); ink above or left of the origin has no cells and is dropped.
|
|
14
15
|
*/
|
|
15
16
|
export declare function renderPlainText(root: LayoutNode): string;
|
|
16
17
|
/** Per-cell paint; every field optional so spans only carry what
|
|
@@ -19,7 +20,9 @@ export declare function renderPlainText(root: LayoutNode): string;
|
|
|
19
20
|
* neutralized in styles.css so the grid owns backgrounds outright). */
|
|
20
21
|
export interface CellPaint {
|
|
21
22
|
color?: string;
|
|
22
|
-
|
|
23
|
+
/** `string | undefined` (not just optional): a bg-clear fill merges
|
|
24
|
+
* an EXPLICIT undefined over the cell to erase the bg beneath. */
|
|
25
|
+
backgroundColor?: string | undefined;
|
|
23
26
|
fontWeight?: string;
|
|
24
27
|
fontStyle?: string;
|
|
25
28
|
textDecorationLine?: string;
|
|
@@ -46,4 +49,13 @@ export declare function applyCellPaint(paint: CellPaint, style: CSSStyleDeclarat
|
|
|
46
49
|
/** True when a segment carries no paint — the DOM adapter emits a bare
|
|
47
50
|
* text node for these instead of an empty <span>. */
|
|
48
51
|
export declare function isBarePaint(paint: CellPaint): boolean;
|
|
52
|
+
/** Thumb geometry on a bar `trackLen` cells long: proportional to the
|
|
53
|
+
* visible fraction, but shrunk until every scroll offset gets its own
|
|
54
|
+
* thumb position (`trackLen − max` cells at most, one at least) — so a
|
|
55
|
+
* scrollable bar always shows track, and each step moves the thumb
|
|
56
|
+
* while the track has room. Shared with thumb dragging (element.ts). */
|
|
57
|
+
export declare function thumbSpan(trackLen: number, size: number, max: number, offset: number): {
|
|
58
|
+
at: number;
|
|
59
|
+
len: number;
|
|
60
|
+
};
|
|
49
61
|
//# sourceMappingURL=plain-text.d.ts.map
|
package/dist/plain-text.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plain-text.d.ts","sourceRoot":"","sources":["../src/plain-text.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"plain-text.d.ts","sourceRoot":"","sources":["../src/plain-text.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,CAIxD;AAED;;;uEAGuE;AACvE,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;sEACkE;IAClE,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;sEAGkE;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;iCAEiC;AACjC,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;qCAEqC;AACrC,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,UAAU,GAAG,WAAW,EAAE,EAAE,CAGpE;AAoBD,wBAAgB,SAAS,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,CASzE;AAED;uEACuE;AACvE,wBAAgB,cAAc,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,mBAAmB,GAAG,IAAI,CAOjF;AAED;qDACqD;AACrD,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CASrD;AA0QD;;;;wEAIwE;AACxE,wBAAgB,SAAS,CACvB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,GACb;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAM7B"}
|
package/dist/pointer.d.ts
CHANGED
|
@@ -6,11 +6,20 @@ import type { LayoutNode } from "./types.ts";
|
|
|
6
6
|
* match — the engine derives them from the pointer's cell instead,
|
|
7
7
|
* leaving every event on the grid (selection stays intact).
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
export interface HitEntry {
|
|
10
|
+
node: LayoutNode;
|
|
11
|
+
/** The node's PAINTED border-box origin, in absolute cells
|
|
12
|
+
* (ancestor scroll offsets applied). */
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
}
|
|
16
|
+
/** The nodes under a cell with their painted origins, outermost
|
|
17
|
+
* first: the innermost node whose border-box covers the cell, plus
|
|
18
|
+
* its ancestors — native :hover marks the whole chain, so the
|
|
19
|
+
* synthesized attribute does too. Overlapping siblings resolve to the
|
|
20
|
+
* TOPMOST in paint order (z-index, document-order ties), matching
|
|
21
|
+
* what the grid shows at that cell. */
|
|
22
|
+
export declare function hitStack(root: LayoutNode, col: number, row: number): HitEntry[];
|
|
23
|
+
/** The hit stack's elements — what the synthesized states mark. */
|
|
15
24
|
export declare function hitChain(root: LayoutNode, col: number, row: number): Element[];
|
|
16
25
|
//# sourceMappingURL=pointer.d.ts.map
|
package/dist/pointer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pointer.d.ts","sourceRoot":"","sources":["../src/pointer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;;GAMG;AAEH;;;;;
|
|
1
|
+
{"version":3,"file":"pointer.d.ts","sourceRoot":"","sources":["../src/pointer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;;GAMG;AAEH,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,UAAU,CAAC;IACjB;4CACwC;IACxC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED;;;;;uCAKuC;AACvC,wBAAgB,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,QAAQ,EAAE,CA4B/E;AAED,mEAAmE;AACnE,wBAAgB,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,EAAE,CAE9E"}
|
package/dist/sort.js
CHANGED
|
@@ -544,5 +544,5 @@ ${n}`)}}))c.get(e)?.(_);for(let e of d)e(_);if(f){let t=[];for(let[e,n]of _.them
|
|
|
544
544
|
--radius: 0.25rem;
|
|
545
545
|
--max-width-prose: 65ch;
|
|
546
546
|
}
|
|
547
|
-
`,To=`@property --mw-rule-x-width{syntax:"<length>";inherits:false;initial-value:0}@property --mw-rule-y-width{syntax:"<length>";inherits:false;initial-value:0}@property --mw-rule-x-style{syntax:"solid|dashed|dotted|double";inherits:false;initial-value:solid}@property --mw-rule-y-style{syntax:"solid|dashed|dotted|double";inherits:false;initial-value:solid}@property --mw-rule-x-color{syntax:"*";inherits:false}@property --mw-rule-y-color{syntax:"*";inherits:false}@utility rule-x-*{--mw-rule-x-width: calc(--value("0", "2", "3", "4", integer) * 1px); --mw-rule-x-width: --value([*], --default(1px)); column-rule-width: var(--mw-rule-x-width);}@utility rule-y-*{--mw-rule-y-width: calc(--value("0", "2", "3", "4", integer) * 1px); --mw-rule-y-width: --value([*], --default(1px)); row-rule-width: var(--mw-rule-y-width);}@utility rule-*{--mw-rule-x-width: calc(--value("0", "2", "3", "4", integer) * 1px); --mw-rule-x-width: --value([length], --default(1px)); --mw-rule-y-width: calc(--value("0", "2", "3", "4", integer) * 1px); --mw-rule-y-width: --value([length], --default(1px)); column-rule-width: var(--mw-rule-x-width); row-rule-width: var(--mw-rule-y-width); --mw-rule-x-color: --value(--color-*, [color]); --mw-rule-y-color: --value(--color-*, [color]); column-rule-color: var(--mw-rule-x-color); row-rule-color: var(--mw-rule-y-color);}@utility rule-solid{column-rule-style: solid; row-rule-style: solid; --mw-rule-x-style: solid; --mw-rule-y-style: solid;}@utility rule-dashed{column-rule-style: dashed; row-rule-style: dashed; --mw-rule-x-style: dashed; --mw-rule-y-style: dashed;}@utility rule-dotted{column-rule-style: dotted; row-rule-style: dotted; --mw-rule-x-style: dotted; --mw-rule-y-style: dotted;}@utility rule-double{column-rule-style: double; row-rule-style: double; --mw-rule-x-style: double; --mw-rule-y-style: double;}@property --mw-rule-break{syntax:"none|normal|intersection";inherits:false;initial-value:normal}@property --mw-rule-inset{syntax:"<length>|overlap-join";inherits:false;initial-value:0}@property --mw-rule-visibility-items{syntax:"normal|all|around|between";inherits:false;initial-value:normal}@utility rule-break-none{rule-break: none; --mw-rule-break: none;}@utility rule-break-normal{rule-break: normal; --mw-rule-break: normal;}@utility rule-break-intersection{rule-break: intersection; --mw-rule-break: intersection;}@utility rule-inset-*{--mw-rule-inset: calc(--value("0", "1", "2", "3", "4", integer) * 1px); --mw-rule-inset: --value([*]); rule-inset: var(--mw-rule-inset);}@utility rule-inset-overlap-join{rule-inset: overlap-join; --mw-rule-inset: overlap-join;}@utility rule-visibility-all{rule-visibility-items: all; --mw-rule-visibility-items: all;}@utility rule-visibility-around{rule-visibility-items: around; --mw-rule-visibility-items: around;}@utility rule-visibility-between{rule-visibility-items: between; --mw-rule-visibility-items: between;}@utility bg-clear{background-color: transparent; --mw-bg-clear: 1;}@property --mw-bg-clear{syntax:"<integer>";inherits:false;initial-value:0}@utility borders-default{--mw-border-glyphs: default;}@utility borders-rounded{--mw-border-glyphs: rounded;}@utility borders-ascii{--mw-border-glyphs: ascii;}@utility borders-single{--mw-border-glyphs: single;}@utility borders-blocks{--mw-border-glyphs: blocks;}@utility borders-cp437{--mw-border-glyphs: cp437;}`,Eo=null;Co(`${wo}\n${To}`).then(e=>{Eo=e});function Do(e){let t=e.split(/\s+/).filter(Boolean);return!Eo||t.length<2?t.join(` `):Eo.getClassOrder(t).sort(([,e],[,t])=>e===t?0:e===null?-1:t===null?1:e<t?-1:1).map(([e])=>e).join(` `)}Object.assign(globalThis,{monowind:{...globalThis.monowind,sortClasses:Do}})})();
|
|
547
|
+
`,To=`@property --mw-rule-x-width{syntax:"<length>";inherits:false;initial-value:0}@property --mw-rule-y-width{syntax:"<length>";inherits:false;initial-value:0}@property --mw-rule-x-style{syntax:"solid|dashed|dotted|double";inherits:false;initial-value:solid}@property --mw-rule-y-style{syntax:"solid|dashed|dotted|double";inherits:false;initial-value:solid}@property --mw-rule-x-color{syntax:"*";inherits:false}@property --mw-rule-y-color{syntax:"*";inherits:false}@utility rule-x-*{--mw-rule-x-width: calc(--value("0", "2", "3", "4", integer) * 1px); --mw-rule-x-width: --value([*], --default(1px)); column-rule-width: var(--mw-rule-x-width);}@utility rule-y-*{--mw-rule-y-width: calc(--value("0", "2", "3", "4", integer) * 1px); --mw-rule-y-width: --value([*], --default(1px)); row-rule-width: var(--mw-rule-y-width);}@utility rule-*{--mw-rule-x-width: calc(--value("0", "2", "3", "4", integer) * 1px); --mw-rule-x-width: --value([length], --default(1px)); --mw-rule-y-width: calc(--value("0", "2", "3", "4", integer) * 1px); --mw-rule-y-width: --value([length], --default(1px)); column-rule-width: var(--mw-rule-x-width); row-rule-width: var(--mw-rule-y-width); --mw-rule-x-color: --value(--color-*, [color]); --mw-rule-y-color: --value(--color-*, [color]); column-rule-color: var(--mw-rule-x-color); row-rule-color: var(--mw-rule-y-color);}@utility rule-solid{column-rule-style: solid; row-rule-style: solid; --mw-rule-x-style: solid; --mw-rule-y-style: solid;}@utility rule-dashed{column-rule-style: dashed; row-rule-style: dashed; --mw-rule-x-style: dashed; --mw-rule-y-style: dashed;}@utility rule-dotted{column-rule-style: dotted; row-rule-style: dotted; --mw-rule-x-style: dotted; --mw-rule-y-style: dotted;}@utility rule-double{column-rule-style: double; row-rule-style: double; --mw-rule-x-style: double; --mw-rule-y-style: double;}@property --mw-rule-break{syntax:"none|normal|intersection";inherits:false;initial-value:normal}@property --mw-rule-inset{syntax:"<length>|overlap-join";inherits:false;initial-value:0}@property --mw-rule-visibility-items{syntax:"normal|all|around|between";inherits:false;initial-value:normal}@utility rule-break-none{rule-break: none; --mw-rule-break: none;}@utility rule-break-normal{rule-break: normal; --mw-rule-break: normal;}@utility rule-break-intersection{rule-break: intersection; --mw-rule-break: intersection;}@utility rule-inset-*{--mw-rule-inset: calc(--value("0", "1", "2", "3", "4", integer) * 1px); --mw-rule-inset: --value([*]); rule-inset: var(--mw-rule-inset);}@utility rule-inset-overlap-join{rule-inset: overlap-join; --mw-rule-inset: overlap-join;}@utility rule-visibility-all{rule-visibility-items: all; --mw-rule-visibility-items: all;}@utility rule-visibility-around{rule-visibility-items: around; --mw-rule-visibility-items: around;}@utility rule-visibility-between{rule-visibility-items: between; --mw-rule-visibility-items: between;}@utility bg-clear{background-color: transparent; --mw-bg-clear: 1;}@property --mw-bg-clear{syntax:"<integer>";inherits:false;initial-value:0}@utility borders-default{--mw-border-glyphs: default;}@utility borders-rounded{--mw-border-glyphs: rounded;}@utility borders-ascii{--mw-border-glyphs: ascii;}@utility borders-single{--mw-border-glyphs: single;}@utility borders-blocks{--mw-border-glyphs: blocks;}@utility borders-cp437{--mw-border-glyphs: cp437;}@utility scrollbar-*{--mw-scrollbar-x-size: --value(integer); --mw-scrollbar-y-size: --value(integer);}@utility scrollbar-x-*{--mw-scrollbar-x-size: --value(integer);}@utility scrollbar-y-*{--mw-scrollbar-y-size: --value(integer);}@property --mw-scrollbar-x-size{syntax:"<integer>";inherits:false;initial-value:1}@property --mw-scrollbar-y-size{syntax:"<integer>";inherits:false;initial-value:1}`,Eo=null;Co(`${wo}\n${To}`).then(e=>{Eo=e});function Do(e){let t=e.split(/\s+/).filter(Boolean);return!Eo||t.length<2?t.join(` `):Eo.getClassOrder(t).sort(([,e],[,t])=>e===t?0:e===null?-1:t===null?1:e<t?-1:1).map(([e])=>e).join(` `)}Object.assign(globalThis,{monowind:{...globalThis.monowind,sortClasses:Do}})})();
|
|
548
548
|
//# sourceMappingURL=sort.js.map
|