@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 +11 -4
- 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-APVTYFEK.mjs +623 -0
- package/dist/{chunk-WI7VGI2G.mjs → chunk-PLSCNADJ.mjs} +1 -1
- package/dist/{chunk-KAA2Y67Z.mjs → chunk-T6YWFA2C.mjs} +1 -1
- package/dist/index.js +330 -49
- package/dist/index.web.js +1 -1
- package/dist/index.web.mjs +2 -2
- package/dist/jsx-dev-runtime.js +826 -545
- package/dist/jsx-dev-runtime.web.js +1 -1
- package/dist/jsx-dev-runtime.web.mjs +3 -3
- package/dist/jsx-runtime.js +826 -545
- package/dist/jsx-runtime.web.js +1 -1
- package/dist/jsx-runtime.web.mjs +2 -2
- package/dist/theme.js +48 -0
- package/package.json +1 -1
- package/dist/chunk-CAD43NRG.mjs +0 -575
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)
|
|
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
|
|
|
Binary file
|
|
Binary file
|