@mittwald/flow-remote-react-components 0.2.0-alpha.25 → 0.2.0-alpha.27

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,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 I, r as R, 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 Ia, ak as Ra, 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";
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: I,
31
- CopyButton: R,
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: Ia,
85
- Separator: Ra,
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 RootClient,
138
+ ie as RemoteRootClient,
139
139
  ie as default
140
140
  };
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { RootClientProps } from './RemoteRootClient';
3
+ export declare const RemoteRoot: FC<RootClientProps>;
4
+ export default RemoteRoot;
5
+ //# sourceMappingURL=RemoteRoot.d.ts.map
@@ -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.25",
3
+ "version": "0.2.0-alpha.27",
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
- "./Root": {
14
- "types": "./dist/types/components/Root.d.ts",
15
- "default": "./dist/Root.js"
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,24 +44,24 @@
44
44
  "test:compile": "run tsc --noEmit"
45
45
  },
46
46
  "dependencies": {
47
- "@mittwald/flow-react-components": "0.2.0-alpha.25",
48
- "@mittwald/flow-remote-core": "0.2.0-alpha.25",
49
- "@mittwald/flow-remote-elements": "0.2.0-alpha.25",
47
+ "@mittwald/flow-react-components": "0.2.0-alpha.27",
48
+ "@mittwald/flow-remote-core": "0.2.0-alpha.27",
49
+ "@mittwald/flow-remote-elements": "0.2.0-alpha.27",
50
50
  "@remote-dom/react": "^1.2.1",
51
- "@types/react": "^19.0.7"
51
+ "@types/react": "^19.0.8"
52
52
  },
53
53
  "devDependencies": {
54
- "@mittwald/flow-remote-react-renderer": "0.2.0-alpha.25",
54
+ "@mittwald/flow-remote-react-renderer": "0.2.0-alpha.27",
55
55
  "@mittwald/typescript-config": "",
56
- "@types/node": "^22.10.7",
57
- "nx": "^20.3.2",
56
+ "@types/node": "^22.12.0",
57
+ "nx": "^20.4.0",
58
58
  "prettier": "^3.4.2",
59
59
  "react": "19.0.0",
60
60
  "react-hook-form": "^7.54.2",
61
61
  "rimraf": "^6.0.1",
62
62
  "rollup-preserve-directives": "^1.1.3",
63
63
  "typescript": "^5.7.3",
64
- "vite": "^6.0.9",
64
+ "vite": "^6.0.11",
65
65
  "vite-plugin-banner": "^0.8.0",
66
66
  "vite-plugin-checker": "^0.8.0",
67
67
  "vite-plugin-dts": "^4.5.0",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "7019391eadb86e05ccfa496da925001e54845242"
83
+ "gitHead": "4d1e4e4c35cd819a8c5c4b380e127dcef1be1886"
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,5 +0,0 @@
1
- import { FC } from 'react';
2
- import { RootClientProps } from './RootClient';
3
- export declare const Root: FC<RootClientProps>;
4
- export default Root;
5
- //# sourceMappingURL=Root.d.ts.map
@@ -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,7 +0,0 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- export interface RootClientProps extends PropsWithChildren {
3
- showPreview?: boolean;
4
- }
5
- export declare const RootClient: FC<RootClientProps>;
6
- export default RootClient;
7
- //# sourceMappingURL=RootClient.d.ts.map
@@ -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"}