@fragmentsx/render-react 0.0.3 → 0.0.5

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.
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from 'react';
2
+ interface ExecuteOnlyProps {
3
+ children: ReactNode;
4
+ }
5
+ export declare function ExecuteOnly({ children }: ExecuteOnlyProps): null;
6
+ export declare const Fragment: (props: any) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Fragment/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,UAAU,gBAAgB;IACxB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAyBD,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,EAAE,gBAAgB,QAMzD;AAiCD,eAAO,MAAM,QAAQ,yDAWpB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ import { LinkKey } from '@graph-state/core';
3
+ interface FrameProps {
4
+ hidden?: boolean;
5
+ layerKey: LinkKey;
6
+ }
7
+ export declare const Frame: FC<FrameProps>;
8
+ export {};
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Frame/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAQ5C,UAAU,UAAU;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CA4BhC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const GlobalManager: ({ children, value }: {
2
+ children: any;
3
+ value: any;
4
+ }) => import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/GlobalManager/index.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;6CAEzB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { LinkKey } from '@graph-state/core';
2
+ export declare function createResource(resourceCache: any, key: string, fetcher: () => Promise<any>): any;
3
+ export interface InstanceProps {
4
+ layerKey?: LinkKey;
5
+ fragmentId?: string;
6
+ props?: Record<string, unknown>;
7
+ globalManager?: unknown;
8
+ }
9
+ export declare const Instance: (props: any) => import("react/jsx-runtime").JSX.Element;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Instance/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAY5C,wBAAgB,cAAc,CAC5B,aAAa,KAAA,EACb,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC,OA2B5B;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAiDD,eAAO,MAAM,QAAQ,yDAQpB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { LinkKey } from '@graph-state/core';
2
+ import { FC } from 'react';
3
+ interface TextProps {
4
+ layerKey: LinkKey;
5
+ }
6
+ export declare const Text: FC<TextProps>;
7
+ export {};
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3B,UAAU,SAAS;IACjB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAQ9B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { GraphState } from '@graph-state/core';
2
+ export declare const collectStyles: (globalManager: GraphState) => import("react/jsx-runtime").JSX.Element[] | null;
3
+ //# sourceMappingURL=collectStyles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collectStyles.d.ts","sourceRoot":"","sources":["../../src/helpers/collectStyles.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAK/C,eAAO,MAAM,aAAa,kBAAmB,UAAU,qDA8CtD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare function serializeData(data: any): string;
2
+ export declare function getHydratedData(id: string): any;
3
+ //# sourceMappingURL=hydration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hydration.d.ts","sourceRoot":"","sources":["../../src/helpers/hydration.ts"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,UAGtC;AAED,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,OAYzC"}
@@ -0,0 +1,2 @@
1
+ export declare const isBrowser: boolean;
2
+ //# sourceMappingURL=isBrowser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isBrowser.d.ts","sourceRoot":"","sources":["../../src/helpers/isBrowser.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,SAAgC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { GraphState } from '@graph-state/core';
2
+ export declare const loadFragmentManager: (globalManager: GraphState, fragmentId: number) => Promise<any>;
3
+ //# sourceMappingURL=loadFragmentManager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadFragmentManager.d.ts","sourceRoot":"","sources":["../../src/helpers/loadFragmentManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,mBAAmB,kBACf,UAAU,cACb,MAAM,iBAiBnB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function reactCSRAdapter(PreactComponent: any): (props: any) => import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=reactCSRAdapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reactCSRAdapter.d.ts","sourceRoot":"","sources":["../../src/hocs/reactCSRAdapter.tsx"],"names":[],"mappings":"AAMA,wBAAgB,eAAe,CAAC,eAAe,EAAE,GAAG,WACX,GAAG,6CAgD3C"}
@@ -0,0 +1,3 @@
1
+ export declare function createResource(resourceCache: any, key: string, fetcher: () => Promise<any>): any;
2
+ export declare function reactSSRAdapter(PreactComponent: any): (props: any) => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=reactSSRAdapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reactSSRAdapter.d.ts","sourceRoot":"","sources":["../../src/hocs/reactSSRAdapter.tsx"],"names":[],"mappings":"AAKA,wBAAgB,cAAc,CAC5B,aAAa,KAAA,EACb,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC,OA2B5B;AAED,wBAAgB,eAAe,CAAC,eAAe,EAAE,GAAG,WACF,GAAG,6CA4BpD"}