@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 +1 -1
- package/tests/design.test.ts +21 -23
package/package.json
CHANGED
package/tests/design.test.ts
CHANGED
|
@@ -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
|
|
9
|
-
//
|
|
10
|
-
//
|
|
11
|
-
//
|
|
12
|
-
// onboarding → the platform over the catalogued seen
|
|
13
|
-
// list (no pill, no all-properties transition, no
|
|
14
|
-
// law, no banned hue, no build ghost). The
|
|
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("
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
expect(SHELL).toContain(
|
|
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("
|
|
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)", () => {
|