@kbach/react-native 1.0.0-beta.55 → 1.0.0-beta.56
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 +7 -2
- package/android/src/main/jniLibs/arm64-v8a/libkbach_core_engine.so +0 -0
- package/android/src/main/jniLibs/x86_64/libkbach_core_engine.so +0 -0
- package/dist/chunk-4WQ2DOOC.mjs +575 -0
- package/dist/{chunk-KAA2Y67Z.mjs → chunk-VWGUF2NB.mjs} +1 -1
- package/dist/{chunk-WI7VGI2G.mjs → chunk-YDA2XA35.mjs} +1 -1
- package/dist/index.js +137 -23
- package/dist/index.web.js +1 -1
- package/dist/index.web.mjs +2 -2
- package/dist/jsx-dev-runtime.js +137 -23
- package/dist/jsx-dev-runtime.web.js +1 -1
- package/dist/jsx-dev-runtime.web.mjs +3 -3
- package/dist/jsx-runtime.js +137 -23
- package/dist/jsx-runtime.web.js +1 -1
- package/dist/jsx-runtime.web.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-CAD43NRG.mjs +0 -575
package/AGENTS.md
CHANGED
|
@@ -130,7 +130,9 @@ Native has no selector/cascade engine. Two groups:
|
|
|
130
130
|
|
|
131
131
|
**Resolved in the engine from live parameters:**
|
|
132
132
|
- `dark:` — current OS/app color scheme.
|
|
133
|
-
- `sm:` `md:` `lg:` `xl:` `2xl:` — window width vs `theme.screens
|
|
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).
|
|
134
136
|
- `min-[500px]:` / `max-[30rem]:` — arbitrary width breakpoints (constant
|
|
135
137
|
px/rem only).
|
|
136
138
|
- `active:` — `Pressable` press state (via its style-callback).
|
|
@@ -338,7 +340,10 @@ apart statically — use `colors.get(name)` when you need a guaranteed
|
|
|
338
340
|
## 10. Unknown-class warnings
|
|
339
341
|
|
|
340
342
|
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)
|
|
343
|
+
platform emits a one-time `console.warn` (dev only), with a "did you
|
|
344
|
+
mean" when there is one: a Tailwind shade mapped to Kbach's
|
|
345
|
+
(`bg-blue-500` → `bg-blue-6`) or a one-character typo fix (core-engine
|
|
346
|
+
suggest.rs). A real utility native
|
|
342
347
|
just doesn't support yet (`grid-cols-3`, `blur`, …) stays silent — that's a
|
|
343
348
|
documented platform gap, not a typo. Not available in Expo Go.
|
|
344
349
|
|
|
Binary file
|
|
Binary file
|