@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.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as ComponentActionDef, c as ComponentActionRequest, d as ComponentActionResponse,
|
|
1
|
+
export { b as ComponentActionDef, c as ComponentActionRequest, d as ComponentActionResponse, S as State, f as StateAnnotationRequiredElement, g as StateProps, j as ToastRecorderInput, k as TransitionTo, l as TransitionToProps, U as UIBridgeNativeContextValue, m as UIBridgeNativeProvider, n as UIBridgeNativeProviderProps, o as UIBridgeProps, r as UseUIBridgeModalOptions, s as UseUIBridgeReturn, t as UseUIBridgeToastOptions, u as UseUIComponentOptions, v as UseUIComponentReturn, w as UseUIElementOptions, x as UseUIElementReturn, y as UseUIElementWithPropsReturn, z as useToastRecorder, B as useUIBridge, E as useUIBridgeModal, F as useUIBridgeNative, G as useUIBridgeNativeOptional, H as useUIBridgeNativeRequired, I as useUIBridgeRequired, J as useUIBridgeToast, K as useUIComponent, L as useUIComponentAction, N as useUIElement, O as useUIElementWithProps } from '../StateAnnotation-D8reaRcS.mjs';
|
|
2
2
|
import { j as NativeElementRef } from '../types-BwdPNpII.mjs';
|
|
3
3
|
import { b as RegisterElementOptions } from '../registry-KdUW_koV.mjs';
|
|
4
4
|
import 'react/jsx-runtime';
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as ComponentActionDef, c as ComponentActionRequest, d as ComponentActionResponse,
|
|
1
|
+
export { b as ComponentActionDef, c as ComponentActionRequest, d as ComponentActionResponse, S as State, f as StateAnnotationRequiredElement, g as StateProps, j as ToastRecorderInput, k as TransitionTo, l as TransitionToProps, U as UIBridgeNativeContextValue, m as UIBridgeNativeProvider, n as UIBridgeNativeProviderProps, o as UIBridgeProps, r as UseUIBridgeModalOptions, s as UseUIBridgeReturn, t as UseUIBridgeToastOptions, u as UseUIComponentOptions, v as UseUIComponentReturn, w as UseUIElementOptions, x as UseUIElementReturn, y as UseUIElementWithPropsReturn, z as useToastRecorder, B as useUIBridge, E as useUIBridgeModal, F as useUIBridgeNative, G as useUIBridgeNativeOptional, H as useUIBridgeNativeRequired, I as useUIBridgeRequired, J as useUIBridgeToast, K as useUIComponent, L as useUIComponentAction, N as useUIElement, O as useUIElementWithProps } from '../StateAnnotation-WmK1YjwP.js';
|
|
2
2
|
import { j as NativeElementRef } from '../types-BwdPNpII.js';
|
|
3
3
|
import { b as RegisterElementOptions } from '../registry-BxXaxmsT.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
package/dist/react/index.js
CHANGED
|
@@ -4958,7 +4958,15 @@ function useToastRecorder() {
|
|
|
4958
4958
|
const dismissToast = react.useCallback((id) => toastCapture.dismissToast(id), [toastCapture]);
|
|
4959
4959
|
return { recordToast, dismissToast };
|
|
4960
4960
|
}
|
|
4961
|
+
function State(props) {
|
|
4962
|
+
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: props.children });
|
|
4963
|
+
}
|
|
4964
|
+
function TransitionTo(props) {
|
|
4965
|
+
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: props.children });
|
|
4966
|
+
}
|
|
4961
4967
|
|
|
4968
|
+
exports.State = State;
|
|
4969
|
+
exports.TransitionTo = TransitionTo;
|
|
4962
4970
|
exports.UIBridgeNativeProvider = UIBridgeNativeProvider;
|
|
4963
4971
|
exports.useAutoRegister = useAutoRegister;
|
|
4964
4972
|
exports.useToastRecorder = useToastRecorder;
|