@qontinui/ui-bridge-native 0.2.1 → 0.3.0
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/{useUIBridgeToast-BPIEbsEc.d.mts → StateAnnotation-D8reaRcS.d.mts} +31 -2
- package/dist/{useUIBridgeToast-DD13oF3k.d.ts → StateAnnotation-WmK1YjwP.d.ts} +31 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -2
- package/dist/index.mjs.map +1 -1
- package/dist/react/index.d.mts +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +8 -0
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +8 -2
- package/dist/react/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/react/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createContext, useRef, useState, useCallback, useEffect, useMemo, useContext } from 'react';
|
|
2
2
|
import { StyleSheet, Platform } from 'react-native';
|
|
3
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
6
6
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
@@ -4956,7 +4956,13 @@ function useToastRecorder() {
|
|
|
4956
4956
|
const dismissToast = useCallback((id) => toastCapture.dismissToast(id), [toastCapture]);
|
|
4957
4957
|
return { recordToast, dismissToast };
|
|
4958
4958
|
}
|
|
4959
|
+
function State(props) {
|
|
4960
|
+
return /* @__PURE__ */ jsx(Fragment, { children: props.children });
|
|
4961
|
+
}
|
|
4962
|
+
function TransitionTo(props) {
|
|
4963
|
+
return /* @__PURE__ */ jsx(Fragment, { children: props.children });
|
|
4964
|
+
}
|
|
4959
4965
|
|
|
4960
|
-
export { UIBridgeNativeProvider, useAutoRegister, useToastRecorder, useUIBridge, useUIBridgeModal, useUIBridgeNative, useUIBridgeNativeOptional, useUIBridgeNativeRequired, useUIBridgeRequired, useUIBridgeToast, useUIComponent, useUIComponentAction, useUIElement, useUIElementWithProps };
|
|
4966
|
+
export { State, TransitionTo, UIBridgeNativeProvider, useAutoRegister, useToastRecorder, useUIBridge, useUIBridgeModal, useUIBridgeNative, useUIBridgeNativeOptional, useUIBridgeNativeRequired, useUIBridgeRequired, useUIBridgeToast, useUIComponent, useUIComponentAction, useUIElement, useUIElementWithProps };
|
|
4961
4967
|
//# sourceMappingURL=index.mjs.map
|
|
4962
4968
|
//# sourceMappingURL=index.mjs.map
|