@qontinui/ui-bridge-native 0.6.5 → 0.6.7
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/dist/core/index.js +40 -4
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +40 -5
- package/dist/core/index.mjs.map +1 -1
- package/dist/core/registry.d.ts +40 -1
- package/dist/core/registry.d.ts.map +1 -1
- package/dist/debug/index.js.map +1 -1
- package/dist/debug/index.mjs.map +1 -1
- package/dist/index.js +45 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +45 -16
- package/dist/index.mjs.map +1 -1
- package/dist/react/index.js +45 -16
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +45 -16
- package/dist/react/index.mjs.map +1 -1
- package/dist/server/design-handlers.d.ts +21 -1
- package/dist/server/design-handlers.d.ts.map +1 -1
- package/dist/server/handlers.d.ts.map +1 -1
- package/dist/server/index.js +10 -12
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +10 -12
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/page-health.d.ts +12 -0
- package/dist/server/page-health.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -26,6 +26,18 @@
|
|
|
26
26
|
* `class contains spin|pulse|skeleton|...` heuristic is always empty.
|
|
27
27
|
* We still emit the `css_signals` field (as `[]`) so the response shape
|
|
28
28
|
* stays platform-neutral.
|
|
29
|
+
*
|
|
30
|
+
* Fold semantics (see Step 7: Visual anomalies):
|
|
31
|
+
*
|
|
32
|
+
* The `outside_viewport` count tracks only *horizontal* overflow — elements
|
|
33
|
+
* whose normalized x is left of the viewport (`x + width < 0`) or right of
|
|
34
|
+
* it (`x > 1`). Vertical offsets (`y > 1`, `y + height < 0`) are NOT an
|
|
35
|
+
* anomaly on mobile: ScrollView / FlatList content legitimately extends
|
|
36
|
+
* above or below the visible fold, and the user reaches it by scrolling.
|
|
37
|
+
* Flagging those would WARNING every scrollable screen (settings, feed,
|
|
38
|
+
* list pages). Only horizontal overflow is unreachable by the user on
|
|
39
|
+
* typical mobile layouts (the viewport is ~full-width, no horizontal
|
|
40
|
+
* scroll), so that's the meaningful anomaly we surface.
|
|
29
41
|
*/
|
|
30
42
|
import type { NativeElementState } from '../core/types';
|
|
31
43
|
export type PageHealthSeverity = 'OK' | 'WARNING' | 'CRITICAL';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-health.d.ts","sourceRoot":"","sources":["../../src/server/page-health.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"page-health.d.ts","sourceRoot":"","sources":["../../src/server/page-health.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAMxD,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,SAAS,GAAG,UAAU,CAAC;AAE/D,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC/B;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,kBAAkB,CAAC;IAC5B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,kBAAkB,CAAC;CAC3B;AAkHD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,iBAAiB,EAAE,EAC7B,QAAQ,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAC1C,gBAAgB,CAmNlB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qontinui/ui-bridge-native",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.7",
|
|
4
4
|
"description": "UI Bridge Framework for React Native - Hooks and providers for UI observation and control in mobile apps",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|