@rootnative/core 0.0.0-alpha.16 → 0.0.0-alpha.18

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/index.mjs CHANGED
@@ -254,7 +254,9 @@ function ThemeProvider({
254
254
  () => !storage || isControlled || !pair
255
255
  );
256
256
  const storageRef = React4.useRef(storage);
257
- storageRef.current = storage;
257
+ React4.useEffect(() => {
258
+ storageRef.current = storage;
259
+ });
258
260
  const shouldLoad = Boolean(storage) && !isControlled && Boolean(pair);
259
261
  React4.useEffect(() => {
260
262
  if (!shouldLoad) {
package/llms.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  # @rootnative/core — Theme System for React Native
2
2
 
3
- > Version: 0.0.0-alpha.16
3
+ > Version: 0.0.0-alpha.18
4
4
  > Peer deps: react >=19.2.3 <20.0.0, react-native >=0.83.0 <0.87.0, @rootnative/inertia >=0.0.11 <0.1.0 (required — every animation runs on it)
5
5
  > createMaterialTheme needs no extra install — its color engine (@material/material-color-utilities) is bundled behind the create-theme subpath
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rootnative/core",
3
- "version": "0.0.0-alpha.16",
3
+ "version": "0.0.0-alpha.18",
4
4
  "description": "Design-system agnostic theme engine for RootNative UI — a React Native component library. Ships with Material Design 3 out of the box.",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -61,7 +61,7 @@
61
61
  "@material/material-color-utilities": "^0.4.0",
62
62
  "@react-native/babel-preset": "^0.86.3",
63
63
  "@react-native/jest-preset": "^0.86.3",
64
- "@rootnative/inertia": "0.0.12",
64
+ "@rootnative/inertia": "0.0.13",
65
65
  "@testing-library/react-native": "^13.3.3",
66
66
  "@types/jest": "^29.5.14",
67
67
  "@types/react": "^19.0.0",