@alveole/theme 0.28.0 → 0.29.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../src/ThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAc,EAA6B,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGjF,OAAO,EAAE,aAAa,EAAmB,MAAM,2BAA2B,CAAC;AAE3E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAKpC,eAAO,MAAM,aAAa,GAAI,OAAO,iBAAiB,CAAC,aAAa,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,4CAuB3F,CAAC;AAEF,eAAO,MAAM,QAAQ,QAAO,KAI3B,CAAC"}
1
+ {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../src/ThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAc,EAA6B,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGjF,OAAO,EAAE,aAAa,EAAmB,MAAM,2BAA2B,CAAC;AAE3E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAKpC,eAAO,MAAM,aAAa,GAAI,OAAO,iBAAiB,CAAC,aAAa,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,4CAkB3F,CAAC;AAEF,eAAO,MAAM,QAAQ,QAAO,KAI3B,CAAC"}
@@ -1,7 +1,7 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as SystemUI from 'expo-system-ui';
3
3
  import React, { createContext, useContext } from 'react';
4
- import { Platform, StatusBar } from 'react-native';
4
+ import { Platform } from 'react-native';
5
5
  import { injectVariableCSS } from './helpers/injectVariableCSS';
6
6
  import { useThemeBuilder } from './helpers/useThemeBuilder';
7
7
  import { ThemeProviderLoader } from './ThemeProviderLoader';
@@ -22,7 +22,7 @@ export const ThemeProvider = (props) => {
22
22
  }, []);
23
23
  if ((!theme.isReady || showLoader) && loader !== false)
24
24
  return _jsx(ThemeProviderLoader, {});
25
- return (_jsxs(ThemeContext.Provider, { value: theme, children: [_jsx(StatusBar, { barStyle: "dark-content", backgroundColor: "white" }), props.children] }));
25
+ return _jsx(ThemeContext.Provider, { value: theme, children: props.children });
26
26
  };
27
27
  export const useTheme = () => {
28
28
  const ctx = useContext(ThemeContext);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alveole/theme",
3
- "version": "0.28.0",
3
+ "version": "0.29.1",
4
4
  "description": "Shared theme tokens and utilities.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",