@wenathlan/argan 2.0.150 → 2.0.151

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wenathlan/argan",
3
- "version": "2.0.150",
3
+ "version": "2.0.151",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/wenathlan/devthink"
@@ -5,9 +5,11 @@
5
5
  // app identity, route anchor) and pins the family laws: no banned hue, no
6
6
  // pill, no all-properties transition, no zero-scale entry (the windows
7
7
  // dtPopIntro bounce excepted), the trylle font stacks, the source-face entry,
8
- // the reduced-motion stop, tabular numerals, the sticky-footer law, the honest
9
- // page set of the application identity and the first-run flow contract (the
10
- // entry gate, the shared onboarding state, the db mirror).
8
+ // the reduced-motion stop, tabular numerals, the sticky-footer law, the
9
+ // FAMILY STANDALONE LAW (the direct url answers full-bleed, the window
10
+ // chrome lives only inside the os embed), the honest page set of the
11
+ // application identity and the first-run flow contract (the entry gate,
12
+ // the shared onboarding state, the db mirror).
11
13
  import { readFileSync } from "node:fs";
12
14
  import { describe, expect, it } from "vitest";
13
15
 
@@ -82,9 +84,21 @@ describe("design contract", () => {
82
84
  expect(CSS).toMatch(/font-variant-numeric:\s*tabular-nums/);
83
85
  });
84
86
 
85
- it("rests the title-bar mark on the landing (logo discipline)", () => {
86
- expect(CSS).toMatch(/data-landing/);
87
- expect(MARK).toMatch(/data-landing/);
87
+ it("answers the direct url full-bleed — the window chrome lives only inside the os", () => {
88
+ /* the family standalone law: an app accessed by its own url is the
89
+ normal application, one hundred percent — the shell renders
90
+ shell--standalone with no window chrome of its own (no title bar, no
91
+ captions, no resize handles), while the framed contract keeps the
92
+ bare stage for the os power clip */
93
+ expect(MARK).toContain("shell--standalone");
94
+ expect(MARK).toContain("shell--embedded");
95
+ expect(MARK).not.toMatch(/className="appframe"|className="winapp /);
96
+ expect(MARK).not.toContain("winapp__title");
97
+ expect(MARK).not.toContain("winapp__cap");
98
+ expect(MARK).not.toContain("winapp__handle");
99
+ expect(MARK).not.toContain("winchip");
100
+ expect(MARK).not.toContain("setPointerCapture");
101
+ expect(CSS).toMatch(/\.shell--standalone \{[^}]*height: 100vh/);
88
102
  });
89
103
 
90
104
  it("pins the footer to the window floor (the sticky-footer law)", () => {