panelui-native 0.22.5 → 0.22.6

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.
Files changed (2) hide show
  1. package/README.md +7 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -62,15 +62,19 @@ const { withUniwindConfig } = require('uniwind/metro');
62
62
  const config = getDefaultConfig(__dirname);
63
63
 
64
64
  module.exports = withUniwindConfig(config, {
65
- // In an app made by create-expo-app this is './src/global.css' — see step 3.
66
- cssEntryFile: './global.css',
65
+ cssEntryFile: './src/global.css',
67
66
  dtsFile: './uniwind-types.d.ts',
68
67
  // Only needed to switch to the Moon or Grass themes at runtime.
69
68
  extraThemes: ['moon', 'moon-dark', 'grass', 'grass-dark'],
70
69
  });
71
70
  ```
72
71
 
73
- `cssEntryFile` and `dtsFile` are relative to this file.
72
+ `cssEntryFile` and `dtsFile` are relative to this file. `./src/global.css` is where
73
+ `create-expo-app` puts the CSS — if yours is at the project root, change it to `'./global.css'`.
74
+
75
+ **Nothing validates that path.** Point it at a file that does not exist and Metro still bundles, the
76
+ app still launches, and not one class resolves — no `flex-1`, so views collapse and you get a blank
77
+ screen with `Uniwind - We couldn't find your variable --color-background`.
74
78
 
75
79
  ### 3. Add the imports to `global.css`
76
80
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "panelui-native",
3
- "version": "0.22.5",
3
+ "version": "0.22.6",
4
4
  "description": "High-performance React Native UI components for Expo. Semantic design tokens, powered by Uniwind (Tailwind v4) and Reanimated.",
5
5
  "main": "./lib/module/index.js",
6
6
  "module": "./lib/module/index.js",