@mittwald/flow-remote-react-components 0.2.0-alpha.25 → 0.2.0-alpha.26
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/RemoteRoot.js +18 -0
- package/dist/{RootClient-BQJnuLj1.js → RemoteRootClient-gF082tDB.js} +6 -6
- package/dist/types/components/RemoteRoot.d.ts +5 -0
- package/dist/types/components/RemoteRoot.d.ts.map +1 -0
- package/dist/types/components/RemoteRootClient.d.ts +7 -0
- package/dist/types/components/RemoteRootClient.d.ts.map +1 -0
- package/package.json +9 -9
- package/dist/Root.js +0 -18
- package/dist/types/components/Root.d.ts +0 -5
- package/dist/types/components/Root.d.ts.map +0 -1
- package/dist/types/components/RootClient.d.ts +0 -7
- package/dist/types/components/RootClient.d.ts.map +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
"use client";
|
|
4
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
5
|
+
import n, { useState as u, useEffect as r, Suspense as c } from "react";
|
|
6
|
+
const i = () => {
|
|
7
|
+
const [t, e] = u(!1);
|
|
8
|
+
return r(() => {
|
|
9
|
+
e(!0);
|
|
10
|
+
}, []), t;
|
|
11
|
+
}, l = n.lazy(() => import("./RemoteRootClient-gF082tDB.js")), f = (t) => {
|
|
12
|
+
const { children: e, ...s } = t;
|
|
13
|
+
return i() ? /* @__PURE__ */ o(c, { children: /* @__PURE__ */ o(l, { ...s, children: e }) }) : null;
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
f as RemoteRoot,
|
|
17
|
+
f as default
|
|
18
|
+
};
|
|
@@ -5,7 +5,7 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
5
5
|
import i from "react";
|
|
6
6
|
import { connectHostIframeRef as n } from "@mittwald/flow-remote-core";
|
|
7
7
|
import { ViewComponentContextProvider as l } from "@mittwald/flow-react-components/internal";
|
|
8
|
-
import { A as c, a as d, b as m, c as u, d as g, e as p, f as C, B as T, g as b, h, C as w, i as f, j as v, k as x, l as S, m as L, n as y, o as B, p as F, q as
|
|
8
|
+
import { A as c, a as d, b as m, c as u, d as g, e as p, f as C, B as T, g as b, h, C as w, i as f, j as v, k as x, l as S, m as L, n as y, o as B, p as F, q as R, r as I, s as k, t as P, D as A, u as M, v as H, w as D, F as G, x as N, y as O, z as j, E as V, G as _, H as z, I as E, J as U, K as q, L as J, M as K, N as Q, O as W, P as X, Q as Y, R as Z, S as $, T as aa, U as ea, V as sa, W as ta, X as oa, Y as ra, Z as ia, _ as na, $ as la, a0 as ca, a1 as da, a2 as ma, a3 as ua, a4 as ga, a5 as pa, a6 as Ca, a7 as Ta, a8 as ba, a9 as ha, aa as wa, ab as fa, ac as va, ad as xa, ae as Sa, af as La, ag as ya, ah as Ba, ai as Fa, aj as Ra, ak as Ia, al as ka, am as Pa, an as Aa, ao as Ma, ap as Ha, aq as Da, ar as Ga, as as Na, at as Oa, au as ja, av as Va, aw as _a, ax as za, ay as Ea, az as Ua, aA as qa, aB as Ja, aC as Ka, aD as Qa, aE as Wa } from "./TooltipTrigger-By3lrawI.js";
|
|
9
9
|
const Xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10
10
|
__proto__: null,
|
|
11
11
|
Accordion: c,
|
|
@@ -27,8 +27,8 @@ const Xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
27
27
|
ContextMenuContent: y,
|
|
28
28
|
ContextMenuSection: B,
|
|
29
29
|
ContextualHelp: F,
|
|
30
|
-
ContextualHelpTrigger:
|
|
31
|
-
CopyButton:
|
|
30
|
+
ContextualHelpTrigger: R,
|
|
31
|
+
CopyButton: I,
|
|
32
32
|
CounterBadge: k,
|
|
33
33
|
CountryOptions: P,
|
|
34
34
|
DatePicker: A,
|
|
@@ -81,8 +81,8 @@ const Xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
81
81
|
Section: ya,
|
|
82
82
|
Segment: Ba,
|
|
83
83
|
SegmentedControl: Fa,
|
|
84
|
-
Select:
|
|
85
|
-
Separator:
|
|
84
|
+
Select: Ra,
|
|
85
|
+
Separator: Ia,
|
|
86
86
|
Skeleton: ka,
|
|
87
87
|
SkeletonText: Pa,
|
|
88
88
|
Slider: Aa,
|
|
@@ -135,6 +135,6 @@ const Xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
135
135
|
return o || !t ? r : /* @__PURE__ */ e($a, {});
|
|
136
136
|
};
|
|
137
137
|
export {
|
|
138
|
-
ie as
|
|
138
|
+
ie as RemoteRootClient,
|
|
139
139
|
ie as default
|
|
140
140
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RemoteRoot.d.ts","sourceRoot":"","sources":["../../../src/components/RemoteRoot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAY,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAIrE,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAQ1C,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
export interface RootClientProps extends PropsWithChildren {
|
|
3
|
+
showPreview?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare const RemoteRootClient: FC<RootClientProps>;
|
|
6
|
+
export default RemoteRootClient;
|
|
7
|
+
//# sourceMappingURL=RemoteRootClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RemoteRootClient.d.ts","sourceRoot":"","sources":["../../../src/components/RemoteRootClient.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAOnD,MAAM,WAAW,eAAgB,SAAQ,iBAAiB;IACxD,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,eAAe,CA6BhD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-remote-react-components",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.26",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React components that can be used in a remote environment",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"types": "./dist/types/index.d.ts",
|
|
11
11
|
"default": "./dist/index.js"
|
|
12
12
|
},
|
|
13
|
-
"./
|
|
14
|
-
"types": "./dist/types/components/
|
|
15
|
-
"default": "./dist/
|
|
13
|
+
"./RemoteRoot": {
|
|
14
|
+
"types": "./dist/types/components/RemoteRoot.d.ts",
|
|
15
|
+
"default": "./dist/RemoteRoot.js"
|
|
16
16
|
},
|
|
17
17
|
"./Icons": {
|
|
18
18
|
"types": "./dist/types/Icons.d.ts",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"test:compile": "run tsc --noEmit"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@mittwald/flow-react-components": "0.2.0-alpha.
|
|
48
|
-
"@mittwald/flow-remote-core": "0.2.0-alpha.
|
|
49
|
-
"@mittwald/flow-remote-elements": "0.2.0-alpha.
|
|
47
|
+
"@mittwald/flow-react-components": "0.2.0-alpha.26",
|
|
48
|
+
"@mittwald/flow-remote-core": "0.2.0-alpha.26",
|
|
49
|
+
"@mittwald/flow-remote-elements": "0.2.0-alpha.26",
|
|
50
50
|
"@remote-dom/react": "^1.2.1",
|
|
51
51
|
"@types/react": "^19.0.7"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@mittwald/flow-remote-react-renderer": "0.2.0-alpha.
|
|
54
|
+
"@mittwald/flow-remote-react-renderer": "0.2.0-alpha.26",
|
|
55
55
|
"@mittwald/typescript-config": "",
|
|
56
56
|
"@types/node": "^22.10.7",
|
|
57
57
|
"nx": "^20.3.2",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"optional": true
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "eb6ffb2ac38409271994cc0dbfbfe9b501588a26"
|
|
84
84
|
}
|
package/dist/Root.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
/* */
|
|
3
|
-
"use client";
|
|
4
|
-
import { jsx as s } from "react/jsx-runtime";
|
|
5
|
-
import n, { useState as u, useEffect as r } from "react";
|
|
6
|
-
const c = () => {
|
|
7
|
-
const [t, e] = u(!1);
|
|
8
|
-
return r(() => {
|
|
9
|
-
e(!0);
|
|
10
|
-
}, []), t;
|
|
11
|
-
}, i = n.lazy(() => import("./RootClient-BQJnuLj1.js")), f = (t) => {
|
|
12
|
-
const { children: e, ...o } = t;
|
|
13
|
-
return c() ? /* @__PURE__ */ s(i, { ...o, children: e }) : null;
|
|
14
|
-
};
|
|
15
|
-
export {
|
|
16
|
-
f as Root,
|
|
17
|
-
f as default
|
|
18
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Root.d.ts","sourceRoot":"","sources":["../../../src/components/Root.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI/D,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,eAAe,CAIpC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RootClient.d.ts","sourceRoot":"","sources":["../../../src/components/RootClient.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAOnD,MAAM,WAAW,eAAgB,SAAQ,iBAAiB;IACxD,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA6B1C,CAAC;AAEF,eAAe,UAAU,CAAC"}
|