react-native-unistyles 3.8.1 → 3.8.2
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/android/src/main/java/com/unistyles/NativePlatform+insets.kt +3 -10
- package/cxx/core/UnistylesRegistry.cpp +1 -1
- package/cxx/hybridObjects/HybridShadowRegistry.cpp +4 -2
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -0
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/nitrogen/generated/android/c++/JColorScheme.hpp +1 -1
- package/nitrogen/generated/android/c++/JDimensions.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_UnistylesNativeMiniRuntime.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__vector_UnistyleDependency__UnistylesNativeMiniRuntime.hpp +1 -1
- package/nitrogen/generated/android/c++/JHybridNativePlatformSpec.cpp +1 -1
- package/nitrogen/generated/android/c++/JHybridNativePlatformSpec.hpp +1 -1
- package/nitrogen/generated/android/c++/JInsets.hpp +1 -1
- package/nitrogen/generated/android/c++/JOrientation.hpp +1 -1
- package/nitrogen/generated/android/c++/JUnistyleDependency.hpp +1 -1
- package/nitrogen/generated/android/c++/JUnistylesNativeMiniRuntime.hpp +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/unistyles/ColorScheme.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/unistyles/Dimensions.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/unistyles/Func_void_UnistylesNativeMiniRuntime.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/unistyles/Func_void_std__vector_UnistyleDependency__UnistylesNativeMiniRuntime.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/unistyles/HybridNativePlatformSpec.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/unistyles/Insets.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/unistyles/Orientation.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/unistyles/UnistyleDependency.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/unistyles/UnistylesNativeMiniRuntime.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/unistyles/unistylesOnLoad.kt +1 -1
- package/nitrogen/generated/android/unistyles+autolinking.cmake +1 -1
- package/nitrogen/generated/android/unistyles+autolinking.gradle +1 -1
- package/nitrogen/generated/android/unistylesOnLoad.cpp +1 -1
- package/nitrogen/generated/android/unistylesOnLoad.hpp +1 -1
- package/nitrogen/generated/ios/Unistyles+autolinking.rb +1 -1
- package/nitrogen/generated/ios/Unistyles-Swift-Cxx-Bridge.cpp +1 -1
- package/nitrogen/generated/ios/Unistyles-Swift-Cxx-Bridge.hpp +1 -1
- package/nitrogen/generated/ios/Unistyles-Swift-Cxx-Umbrella.hpp +1 -1
- package/nitrogen/generated/ios/c++/HybridNativePlatformSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridNativePlatformSpecSwift.hpp +1 -1
- package/nitrogen/generated/ios/swift/ColorScheme.swift +1 -1
- package/nitrogen/generated/ios/swift/Dimensions.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_UnistylesNativeMiniRuntime.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__vector_UnistyleDependency__UnistylesNativeMiniRuntime.swift +1 -1
- package/nitrogen/generated/ios/swift/HybridNativePlatformSpec.swift +1 -1
- package/nitrogen/generated/ios/swift/HybridNativePlatformSpec_cxx.swift +3 -3
- package/nitrogen/generated/ios/swift/Insets.swift +1 -1
- package/nitrogen/generated/ios/swift/Orientation.swift +1 -1
- package/nitrogen/generated/ios/swift/UnistyleDependency.swift +1 -1
- package/nitrogen/generated/ios/swift/UnistylesNativeMiniRuntime.swift +1 -1
- package/nitrogen/generated/shared/c++/ColorScheme.hpp +1 -1
- package/nitrogen/generated/shared/c++/Dimensions.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridNativePlatformSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridNativePlatformSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridUnistylesNavigationBarSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridUnistylesNavigationBarSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridUnistylesRuntimeSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridUnistylesRuntimeSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridUnistylesShadowRegistrySpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridUnistylesShadowRegistrySpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridUnistylesStatusBarSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridUnistylesStatusBarSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridUnistylesStyleSheetSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridUnistylesStyleSheetSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/Insets.hpp +1 -1
- package/nitrogen/generated/shared/c++/Orientation.hpp +1 -1
- package/nitrogen/generated/shared/c++/UnistyleDependency.hpp +1 -1
- package/nitrogen/generated/shared/c++/UnistylesCxxMiniRuntime.hpp +1 -1
- package/nitrogen/generated/shared/c++/UnistylesNativeMiniRuntime.hpp +1 -1
- package/package.json +3 -3
- package/src/index.ts +1 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
package com.unistyles
|
|
2
2
|
|
|
3
|
-
import android.graphics.Rect
|
|
4
3
|
import android.os.Build
|
|
5
4
|
import android.view.View
|
|
6
5
|
import android.view.Window
|
|
@@ -86,16 +85,10 @@ class NativePlatformInsets(
|
|
|
86
85
|
window.attributes.flags and WindowManager.LayoutParams.FLAG_FULLSCREEN != WindowManager.LayoutParams.FLAG_FULLSCREEN
|
|
87
86
|
}
|
|
88
87
|
}
|
|
89
|
-
// React Native is forcing insets to make status bar translucent
|
|
90
|
-
// so we need to calculate top inset manually, as WindowInsetCompat will always return 0
|
|
91
88
|
val statusBarTopInset = when(isStatusBarVisible) {
|
|
92
|
-
true ->
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
window.decorView.getWindowVisibleDisplayFrame(visibleRect)
|
|
96
|
-
|
|
97
|
-
visibleRect.top
|
|
98
|
-
}
|
|
89
|
+
true -> ViewCompat.getRootWindowInsets(window.decorView)
|
|
90
|
+
?.getInsets(WindowInsetsCompat.Type.statusBars())
|
|
91
|
+
?.top ?: 0
|
|
99
92
|
false -> 0
|
|
100
93
|
}
|
|
101
94
|
|
|
@@ -332,7 +332,7 @@ std::vector<std::shared_ptr<core::StyleSheet>>core::UnistylesRegistry::getStyleS
|
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
-
if (styleSheet->type == StyleSheetType::Themable && themeDidChange) {
|
|
335
|
+
if (styleSheet->type == StyleSheetType::Themable && (themeDidChange || hasMatchingDependency(styleSheet->unistyles))) {
|
|
336
336
|
stylesheetsToRefresh.emplace_back(styleSheet);
|
|
337
337
|
}
|
|
338
338
|
}
|
|
@@ -91,12 +91,14 @@ jsi::Value HybridShadowRegistry::link(jsi::Runtime &rt, const jsi::Value &thisVa
|
|
|
91
91
|
parser.rebuildUnistyleWithScopedTheme(rt, parsedStyleSheet, unistyleData);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
+
// Inline styles are applied by React as they are. Keep them, so updates skip the props they own.
|
|
94
95
|
// The shared cache can belong to another view by the time React attaches refs.
|
|
95
96
|
// Restore this view's arguments and variants before saving its native styles.
|
|
96
97
|
// An object style without variants is the same for every view, so it's reused unless it's stale (dirty).
|
|
97
|
-
if (
|
|
98
|
+
if (unistyle->styleKey == helpers::EXOTIC_STYLE_KEY) {
|
|
99
|
+
unistyleData->parsedStyle = jsi::Value(rt, unistyle->rawValue).asObject(rt);
|
|
100
|
+
} else if (!unistyleData->parsedStyle.has_value() && unistyle->parsedStyle.has_value()) {
|
|
98
101
|
auto isSharedStyle = unistyle->type == core::UnistyleType::Object &&
|
|
99
|
-
unistyle->styleKey != helpers::EXOTIC_STYLE_KEY &&
|
|
100
102
|
!unistyle->isDirty &&
|
|
101
103
|
!unistyle->rawValue.hasProperty(rt, "variants");
|
|
102
104
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_specs","_types","_mq","_core","_types2","_components","_server","e","__esModule","default","majorReactVersions","React","version","split","map","Number","parseInt","undefined","Error"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAQA,IAAAC,MAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAF,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_specs","_types","_mq","_core","_types2","_components","_server","e","__esModule","default","majorReactVersions","React","version","split","map","Number","parseInt","undefined","Error"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAQA,IAAAC,MAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAF,OAAA;AAEA,IAAAG,GAAA,GAAAH,OAAA;AAEA,IAAAI,KAAA,GAAAJ,OAAA;AAEA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AAA+G,SAAAD,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAjB/G,MAAM,CAACG,kBAAkB,CAAC,GAAGC,cAAK,CAACC,OAAO,CAACC,KAAK,CAAC,GAAG,CAAC,CAACC,GAAG,CAACC,MAAM,CAACC,QAAQ,CAAC;AAE1E,IAAIN,kBAAkB,KAAKO,SAAS,IAAIP,kBAAkB,GAAG,EAAE,EAAE;EAC7D,MAAM,IAAIQ,KAAK,CAAC,kFAAkF,CAAC;AACvG","ignoreList":[]}
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","majorReactVersions","version","split","map","Number","parseInt","undefined","Error","StyleSheet","UnistylesRuntime","UnistyleDependency","ColorScheme","Orientation","StatusBarStyle","mq","withUnistyles","useUnistyles","createUnistylesElement","IOSContentSizeCategory","AndroidContentSizeCategory","WebContentSizeCategory","Display","Hide","ScopedTheme","useServerUnistyles","hydrateServerUnistyles","getServerUnistyles","resetServerUnistyles"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,MAAM,CAACC,kBAAkB,CAAC,GAAGD,KAAK,CAACE,OAAO,CAACC,KAAK,CAAC,GAAG,CAAC,CAACC,GAAG,CAACC,MAAM,CAACC,QAAQ,CAAC;AAE1E,IAAIL,kBAAkB,KAAKM,SAAS,IAAIN,kBAAkB,GAAG,EAAE,EAAE;EAC7D,MAAM,IAAIO,KAAK,CAAC,kFAAkF,CAAC;AACvG;AAEA,SAASC,UAAU,EAAEC,gBAAgB,QAAQ,SAAS;AACtD,SAASC,kBAAkB,QAAQ,SAAS;AAE5C,SAASC,WAAW,EAAEC,WAAW,EAAEC,cAAc,QAAQ,eAAe;
|
|
1
|
+
{"version":3,"names":["React","majorReactVersions","version","split","map","Number","parseInt","undefined","Error","StyleSheet","UnistylesRuntime","UnistyleDependency","ColorScheme","Orientation","StatusBarStyle","mq","withUnistyles","useUnistyles","createUnistylesElement","IOSContentSizeCategory","AndroidContentSizeCategory","WebContentSizeCategory","Display","Hide","ScopedTheme","useServerUnistyles","hydrateServerUnistyles","getServerUnistyles","resetServerUnistyles"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,MAAM,CAACC,kBAAkB,CAAC,GAAGD,KAAK,CAACE,OAAO,CAACC,KAAK,CAAC,GAAG,CAAC,CAACC,GAAG,CAACC,MAAM,CAACC,QAAQ,CAAC;AAE1E,IAAIL,kBAAkB,KAAKM,SAAS,IAAIN,kBAAkB,GAAG,EAAE,EAAE;EAC7D,MAAM,IAAIO,KAAK,CAAC,kFAAkF,CAAC;AACvG;AAEA,SAASC,UAAU,EAAEC,gBAAgB,QAAQ,SAAS;AACtD,SAASC,kBAAkB,QAAQ,SAAS;AAE5C,SAASC,WAAW,EAAEC,WAAW,EAAEC,cAAc,QAAQ,eAAe;AAExE,SAASC,EAAE,QAAQ,MAAM;AAEzB,SAASC,aAAa,EAAEC,YAAY,EAAEC,sBAAsB,QAAQ,QAAQ;AAE5E,SAASC,sBAAsB,EAAEC,0BAA0B,EAAEC,sBAAsB,QAAQ,SAAS;AACpG,SAASC,OAAO,EAAEC,IAAI,EAAEC,WAAW,QAAQ,cAAc;AACzD,SAASC,kBAAkB,EAAEC,sBAAsB,EAAEC,kBAAkB,EAAEC,oBAAoB,QAAQ,UAAU","ignoreList":[]}
|
|
@@ -2,6 +2,7 @@ export { StyleSheet, UnistylesRuntime } from './specs';
|
|
|
2
2
|
export { UnistyleDependency } from './specs';
|
|
3
3
|
export type { UnistylesMiniRuntime } from './specs';
|
|
4
4
|
export { ColorScheme, Orientation, StatusBarStyle } from './specs/types';
|
|
5
|
+
export type { AppTheme, AppThemeName, AppBreakpoint } from './specs/types';
|
|
5
6
|
export { mq } from './mq';
|
|
6
7
|
export type { UnistylesThemes, UnistylesBreakpoints } from './global';
|
|
7
8
|
export { withUnistyles, useUnistyles, createUnistylesElement } from './core';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAC5C,YAAY,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACxE,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AACzB,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AACrE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAA;AAC5E,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AACjE,OAAO,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AACpG,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AACzD,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAC5C,YAAY,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACxE,YAAY,EAAE,QAAQ,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAC1E,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AACzB,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AACrE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAA;AAC5E,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AACjE,OAAO,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AACpG,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AACzD,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
///
|
|
2
2
|
/// JFunc_void_std__vector_UnistyleDependency__UnistylesNativeMiniRuntime.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
-
/// https://github.com/
|
|
4
|
+
/// https://github.com/margelo/nitro
|
|
5
5
|
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
///
|
|
2
2
|
/// Func_void_std__vector_UnistyleDependency__UnistylesNativeMiniRuntime.kt
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
-
/// https://github.com/
|
|
4
|
+
/// https://github.com/margelo/nitro
|
|
5
5
|
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
///
|
|
2
2
|
/// Func_void_std__vector_UnistyleDependency__UnistylesNativeMiniRuntime.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
-
/// https://github.com/
|
|
4
|
+
/// https://github.com/margelo/nitro
|
|
5
5
|
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
///
|
|
2
2
|
/// HybridNativePlatformSpec_cxx.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
-
/// https://github.com/
|
|
4
|
+
/// https://github.com/margelo/nitro
|
|
5
5
|
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
@@ -27,7 +27,7 @@ open class HybridNativePlatformSpec_cxx {
|
|
|
27
27
|
/**
|
|
28
28
|
* Holds an instance of the `HybridNativePlatformSpec` Swift protocol.
|
|
29
29
|
*/
|
|
30
|
-
private
|
|
30
|
+
private let __implementation: any HybridNativePlatformSpec
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Holds a weak pointer to the C++ class that wraps the Swift class.
|
|
@@ -75,7 +75,7 @@ open class HybridNativePlatformSpec_cxx {
|
|
|
75
75
|
*/
|
|
76
76
|
public func getCxxPart() -> bridge.std__shared_ptr_HybridNativePlatformSpec_ {
|
|
77
77
|
let cachedCxxPart = self.__cxxPart.lock()
|
|
78
|
-
if
|
|
78
|
+
if cachedCxxPart.use_count() > 0 {
|
|
79
79
|
return cachedCxxPart
|
|
80
80
|
} else {
|
|
81
81
|
let newCxxPart = bridge.create_std__shared_ptr_HybridNativePlatformSpec_(self.toUnsafe())
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-unistyles",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.2",
|
|
4
4
|
"description": "Level up your React Native StyleSheet",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "NODE_ENV=babel-test jest ./plugin ./metro ./codemods ./src/__tests__",
|
|
@@ -219,13 +219,13 @@
|
|
|
219
219
|
"jest": "30.5.2",
|
|
220
220
|
"jscodeshift": "17.4.0",
|
|
221
221
|
"jsdom": "26.1.0",
|
|
222
|
-
"nitrogen": "0.37.
|
|
222
|
+
"nitrogen": "0.37.2",
|
|
223
223
|
"oxfmt": "0.74.0",
|
|
224
224
|
"oxlint": "1.89.0",
|
|
225
225
|
"react": "19.3.0",
|
|
226
226
|
"react-native": "0.88.0",
|
|
227
227
|
"react-native-builder-bob": "0.43.2",
|
|
228
|
-
"react-native-nitro-modules": "0.37.
|
|
228
|
+
"react-native-nitro-modules": "0.37.2",
|
|
229
229
|
"react-native-reanimated": "4.7.1",
|
|
230
230
|
"react-native-web": "0.21.4",
|
|
231
231
|
"typescript": "6.0.3"
|
package/src/index.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { StyleSheet, UnistylesRuntime } from './specs'
|
|
|
10
10
|
export { UnistyleDependency } from './specs'
|
|
11
11
|
export type { UnistylesMiniRuntime } from './specs'
|
|
12
12
|
export { ColorScheme, Orientation, StatusBarStyle } from './specs/types'
|
|
13
|
+
export type { AppTheme, AppThemeName, AppBreakpoint } from './specs/types'
|
|
13
14
|
export { mq } from './mq'
|
|
14
15
|
export type { UnistylesThemes, UnistylesBreakpoints } from './global'
|
|
15
16
|
export { withUnistyles, useUnistyles, createUnistylesElement } from './core'
|