@wenathlan/getry 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/getry",
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,14 +5,14 @@
5
5
  // theme anchor, page anchors, prisma schema, db layer) and pins the reform:
6
6
  // the devthink foundation (mica #202020 over the 8-step ladder #242424→
7
7
  // #494949, Inter Variable + Geist Mono, the 13px/450 body, the trylle shadow
8
- // ladder), the windows hands (press .7 pins, dtPopIntro, the fluent window
9
- // curve, the red close, the inactive grayscale law, the eight resize
10
- // handles, the win11 scrollbar), the two-accent contract (the getry violet
11
- // identity beside the windows accent), the entry-flow law (intro →
12
- // onboarding → the platform over the catalogued seen state) and the banned
13
- // list (no pill, no all-properties transition, no scale(0) outside the pin
14
- // law, no banned hue, no build ghost). The stylesheet is read as text — no
15
- // browser, no DOM.
8
+ // ladder), the windows hands (press .7 pins, dtPopIntro, the win11
9
+ // scrollbar), the two-accent contract (the getry violet identity beside the
10
+ // windows accent), the FAMILY STANDALONE LAW (the shell answers the direct
11
+ // url full-bleed, the window chrome lives only inside the os embed), the
12
+ // entry-flow law (intro → onboarding → the platform over the catalogued seen
13
+ // state) and the banned list (no pill, no all-properties transition, no
14
+ // scale(0) outside the pin law, no banned hue, no build ghost). The sources
15
+ // are read as text — no browser, no DOM.
16
16
  import { readFileSync } from "node:fs";
17
17
  import { describe, expect, it } from "vitest";
18
18
 
@@ -122,24 +122,22 @@ describe("design contract — the windows hands", () => {
122
122
  expect(CSS).toContain("--dur-press: 100ms");
123
123
  });
124
124
 
125
- it("carries the fluent red close, the inactive law and the eight resize handles", () => {
126
- expect(CSS).toContain("rgb(232 17 35)");
127
- expect(CSS).toContain("rgb(139 10 20)");
128
- expect(CSS).toContain("grayscale(80%)");
129
- for (const edge of ["n", "s", "e", "w", "ne", "nw", "se", "sw"]) {
130
- expect(CSS).toContain(`.winapp__rz[data-edge="${edge}"]`);
131
- }
132
- expect(SHELL).toContain('RESIZE_EDGES = ["n", "s", "e", "w", "ne", "nw", "se", "sw"]');
125
+ it("answers the direct url full-bleed — the window chrome lives only inside the os", () => {
126
+ /* the family standalone law: an app accessed by its own url is the
127
+ normal application, one hundred percent — the shell renders
128
+ shell--standalone with no window chrome of its own (no title bar, no
129
+ captions, no resize handles, no inactive law, no entry scale), while
130
+ the framed contract keeps the bare stage for the os power clip */
131
+ expect(SHELL).toContain("shell--standalone");
132
+ expect(SHELL).toContain("shell--embedded");
133
+ expect(SHELL).not.toMatch(
134
+ /className="appframe"|winapp__title|winapp__cap|winapp__rz|winchip|setPointerCapture|data-inactive|RESIZE_EDGES/,
135
+ );
136
+ expect(CSS).toMatch(/\.shell--standalone \{[^}]*height: 100vh/);
133
137
  });
134
138
 
135
- it("opens the window on the fluent curve and rides the win11 scrollbar", () => {
136
- expect(rules(CSS)).toMatch(/\.winapp \{[^}]*animation: winappOpen var\(--dur-2\) var\(--ease-window\)/);
139
+ it("rides the win11 scrollbar beside the standalone stage", () => {
137
140
  expect(CSS).toContain("*:hover::-webkit-scrollbar-thumb");
138
- expect(rules(CSS)).toMatch(/\.winapp__rz \{[^}]*touch-action: none/);
139
- });
140
-
141
- it("rests the title-bar mark on the landing (logo discipline)", () => {
142
- expect(CSS).toContain("data-landing");
143
141
  });
144
142
 
145
143
  it("pins the footer to the window floor (the sticky-footer law)", () => {