@kbach/react 1.0.0-beta.16 → 1.0.0-beta.17
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/{chunk-D7OC2AE7.mjs → chunk-5EXGGZMA.mjs} +1 -1
- package/dist/{chunk-KJY3W4GF.mjs → chunk-BJEOK2VK.mjs} +1 -1
- package/dist/{chunk-XV2ZLURB.mjs → chunk-CQKDEA6F.mjs} +14 -716
- package/dist/index.d.mts +49 -1
- package/dist/index.d.ts +49 -1
- package/dist/index.js +32 -2
- package/dist/index.mjs +31 -2
- package/dist/jsx-dev-runtime.js +1 -1
- package/dist/jsx-dev-runtime.mjs +2 -2
- package/dist/jsx-runtime.js +1 -1
- package/dist/jsx-runtime.mjs +2 -2
- package/dist/postcss-plugin.js +12 -6
- package/dist/postcss-plugin.mjs +7 -2
- package/dist/vite-plugin.js +10 -716
- package/dist/vite-plugin.mjs +1 -1
- package/package.json +15 -4
|
@@ -22,7 +22,7 @@ function isKbachReady() {
|
|
|
22
22
|
function generateCss(classString, themeJson) {
|
|
23
23
|
if (!ready) {
|
|
24
24
|
throw new Error(
|
|
25
|
-
"[
|
|
25
|
+
"[Kbach] generateCss() was called before initKbach() resolved. Call `await initKbach()` once at startup (e.g. before rendering your app) before using kb()."
|
|
26
26
|
);
|
|
27
27
|
}
|
|
28
28
|
return wasmGenerateCss(classString, themeJson);
|