@kbach/react-native 1.0.0-beta.55 → 1.0.0-beta.57

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/AGENTS.md CHANGED
@@ -129,10 +129,14 @@ theme)`.
129
129
  Native has no selector/cascade engine. Two groups:
130
130
 
131
131
  **Resolved in the engine from live parameters:**
132
- - `dark:` — current OS/app color scheme.
133
- - `sm:` `md:` `lg:` `xl:` `2xl:` — window width vs `theme.screens`.
132
+ - `dark:` — current OS/app color scheme; `not-dark:` is the other one.
133
+ - `sm:` `md:` `lg:` `xl:` `2xl:` — window width vs `theme.screens`, plus
134
+ any breakpoint a config adds (`3xl:`, `tablet:`), and `max-<name>:`
135
+ (strictly below that width). `not-<name>:` / `not-max-<name>:` flip
136
+ either one.
134
137
  - `min-[500px]:` / `max-[30rem]:` — arbitrary width breakpoints (constant
135
- px/rem only).
138
+ px/rem only). `max-[…]` is strictly below its width, like `max-<name>:`;
139
+ through core-engine 1.0.0-beta.18 it also held at exactly that width.
136
140
  - `active:` — `Pressable` press state (via its style-callback).
137
141
 
138
142
  **Resolved in `jsxRuntimeCore.ts` from React props, before the engine sees
@@ -338,7 +342,10 @@ apart statically — use `colors.get(name)` when you need a guaranteed
338
342
  ## 10. Unknown-class warnings
339
343
 
340
344
  On a native dev-client/CLI build, a class matching no Kbach utility on any
341
- platform emits a one-time `console.warn` (dev only). A real utility native
345
+ platform emits a one-time `console.warn` (dev only), with a "did you
346
+ mean" when there is one: a Tailwind shade mapped to Kbach's
347
+ (`bg-blue-500` → `bg-blue-6`) or a one-character typo fix (core-engine
348
+ suggest.rs). A real utility native
342
349
  just doesn't support yet (`grid-cols-3`, `blur`, …) stays silent — that's a
343
350
  documented platform gap, not a typo. Not available in Expo Go.
344
351