@mittwald/flow-remote-react-components 0.2.0-alpha.23 → 0.2.0-alpha.24
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/Root.js +1 -1
- package/dist/RootClient-CrUg60ey.js +139 -0
- package/dist/{TooltipTrigger-CeoRbw5b.js → TooltipTrigger-DHDtUXue.js} +247 -254
- package/dist/index.js +90 -85
- package/dist/types/auto-generated/DialogTrigger.d.ts +4 -0
- package/dist/types/auto-generated/DialogTrigger.d.ts.map +1 -0
- package/dist/types/auto-generated/OverlayContent.d.ts +4 -0
- package/dist/types/auto-generated/OverlayContent.d.ts.map +1 -0
- package/dist/types/auto-generated/PopoverContent.d.ts +4 -0
- package/dist/types/auto-generated/PopoverContent.d.ts.map +1 -0
- package/dist/types/auto-generated/index.d.ts +3 -4
- package/dist/types/auto-generated/index.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/package.json +6 -6
- package/dist/RootClient-YHqvaGZF.js +0 -140
- package/dist/types/auto-generated/Modal.d.ts +0 -4
- package/dist/types/auto-generated/Modal.d.ts.map +0 -1
- package/dist/types/auto-generated/ModalTrigger.d.ts +0 -4
- package/dist/types/auto-generated/ModalTrigger.d.ts.map +0 -1
- package/dist/types/auto-generated/Popover.d.ts +0 -4
- package/dist/types/auto-generated/Popover.d.ts.map +0 -1
- package/dist/types/auto-generated/PopoverTrigger.d.ts +0 -4
- package/dist/types/auto-generated/PopoverTrigger.d.ts.map +0 -1
package/dist/Root.js
CHANGED
|
@@ -8,7 +8,7 @@ const c = () => {
|
|
|
8
8
|
return r(() => {
|
|
9
9
|
e(!0);
|
|
10
10
|
}, []), t;
|
|
11
|
-
}, i = n.lazy(() => import("./RootClient-
|
|
11
|
+
}, i = n.lazy(() => import("./RootClient-CrUg60ey.js")), f = (t) => {
|
|
12
12
|
const { children: e, ...o } = t;
|
|
13
13
|
return c() ? /* @__PURE__ */ s(i, { ...o, children: e }) : null;
|
|
14
14
|
};
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
"use client";
|
|
4
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
5
|
+
import i from "react";
|
|
6
|
+
import { connectHostIframeRef as n } from "@mittwald/flow-remote-core";
|
|
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 f, i as v, j as w, k as x, l as S, m as y, n as L, o as B, p as F, q as R, r as k, s as I, t as P, u as A, D as M, v as H, w as D, x as G, F as N, y as O, z as j, E as _, G as z, H as U, I as V, J as E, 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 fa, ab as va, ac as wa, ad as xa, ae as Sa, af as ya, ag as La, ah as Ba, ai as Fa, aj as Ra, ak as ka, al as Ia, 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 _a, aw as za, ax as Ua, ay as Va, az as Ea, aA as qa, aB as Ja, aC as Ka, aD as Qa } from "./TooltipTrigger-DHDtUXue.js";
|
|
9
|
+
const Wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10
|
+
__proto__: null,
|
|
11
|
+
Accordion: c,
|
|
12
|
+
ActionGroup: d,
|
|
13
|
+
Alert: m,
|
|
14
|
+
AlertBadge: u,
|
|
15
|
+
AlertIcon: g,
|
|
16
|
+
Align: p,
|
|
17
|
+
Avatar: C,
|
|
18
|
+
Badge: T,
|
|
19
|
+
Breadcrumb: b,
|
|
20
|
+
Button: h,
|
|
21
|
+
Checkbox: f,
|
|
22
|
+
CheckboxButton: v,
|
|
23
|
+
CheckboxGroup: w,
|
|
24
|
+
CodeBlock: x,
|
|
25
|
+
ColumnLayout: S,
|
|
26
|
+
Content: y,
|
|
27
|
+
ContextMenu: L,
|
|
28
|
+
ContextMenuSection: B,
|
|
29
|
+
ContextMenuTrigger: F,
|
|
30
|
+
ContextualHelp: R,
|
|
31
|
+
ContextualHelpTrigger: k,
|
|
32
|
+
CopyButton: I,
|
|
33
|
+
CounterBadge: P,
|
|
34
|
+
CountryOptions: A,
|
|
35
|
+
DatePicker: M,
|
|
36
|
+
DateRangePicker: H,
|
|
37
|
+
DialogTrigger: D,
|
|
38
|
+
Div: G,
|
|
39
|
+
FieldDescription: N,
|
|
40
|
+
FieldError: O,
|
|
41
|
+
FileCard: j,
|
|
42
|
+
FileCardList: _,
|
|
43
|
+
FileField: z,
|
|
44
|
+
Fragment: U,
|
|
45
|
+
Header: V,
|
|
46
|
+
HeaderNavigation: E,
|
|
47
|
+
Heading: q,
|
|
48
|
+
Icon: J,
|
|
49
|
+
IllustratedMessage: K,
|
|
50
|
+
Image: Q,
|
|
51
|
+
Initials: W,
|
|
52
|
+
InlineCode: X,
|
|
53
|
+
ItemsGridList: Y,
|
|
54
|
+
ItemsGridListItem: Z,
|
|
55
|
+
Label: $,
|
|
56
|
+
LabeledValue: aa,
|
|
57
|
+
LayoutCard: ea,
|
|
58
|
+
LightBox: sa,
|
|
59
|
+
LightBoxTrigger: ta,
|
|
60
|
+
Link: oa,
|
|
61
|
+
ListEmptyView: ra,
|
|
62
|
+
ListSummary: ia,
|
|
63
|
+
LoadingSpinner: na,
|
|
64
|
+
Markdown: la,
|
|
65
|
+
MenuItem: ca,
|
|
66
|
+
Message: da,
|
|
67
|
+
Navigation: ma,
|
|
68
|
+
NavigationGroup: ua,
|
|
69
|
+
Notification: ga,
|
|
70
|
+
NotificationProvider: pa,
|
|
71
|
+
NumberField: Ca,
|
|
72
|
+
Option: Ta,
|
|
73
|
+
OverlayContent: ba,
|
|
74
|
+
PopoverContent: ha,
|
|
75
|
+
ProgressBar: fa,
|
|
76
|
+
Radio: va,
|
|
77
|
+
RadioButton: wa,
|
|
78
|
+
RadioGroup: xa,
|
|
79
|
+
SearchField: Sa,
|
|
80
|
+
Section: ya,
|
|
81
|
+
Segment: La,
|
|
82
|
+
SegmentedControl: Ba,
|
|
83
|
+
Select: Fa,
|
|
84
|
+
Separator: Ra,
|
|
85
|
+
Skeleton: ka,
|
|
86
|
+
SkeletonText: Ia,
|
|
87
|
+
Slider: Pa,
|
|
88
|
+
Switch: Aa,
|
|
89
|
+
Tab: Ma,
|
|
90
|
+
TabTitle: Ha,
|
|
91
|
+
Table: Da,
|
|
92
|
+
TableBody: Ga,
|
|
93
|
+
TableCell: Na,
|
|
94
|
+
TableColumn: Oa,
|
|
95
|
+
TableFooterRow: ja,
|
|
96
|
+
TableHeader: _a,
|
|
97
|
+
TableRow: za,
|
|
98
|
+
Tabs: Ua,
|
|
99
|
+
Text: Va,
|
|
100
|
+
TextArea: Ea,
|
|
101
|
+
TextField: qa,
|
|
102
|
+
TimeField: Ja,
|
|
103
|
+
Tooltip: Ka,
|
|
104
|
+
TooltipTrigger: Qa
|
|
105
|
+
}, Symbol.toStringTag, { value: "Module" })), Xa = () => null, Ya = i.lazy(async () => {
|
|
106
|
+
try {
|
|
107
|
+
return await import("@mittwald/flow-remote-react-renderer/RemoteRenderer");
|
|
108
|
+
} catch {
|
|
109
|
+
return { default: Xa };
|
|
110
|
+
}
|
|
111
|
+
}), Za = () => {
|
|
112
|
+
const a = new URL(document.location.href);
|
|
113
|
+
return a.searchParams.set("preview", ""), /* @__PURE__ */ e(Ya, { src: a.toString() });
|
|
114
|
+
}, re = (a) => {
|
|
115
|
+
const { children: s, showPreview: t = !1 } = a, o = new URLSearchParams(document.location.search).has("preview"), r = /* @__PURE__ */ e(
|
|
116
|
+
"div",
|
|
117
|
+
{
|
|
118
|
+
ref: n,
|
|
119
|
+
style: {
|
|
120
|
+
height: 0,
|
|
121
|
+
width: 0,
|
|
122
|
+
left: -9999,
|
|
123
|
+
position: "absolute"
|
|
124
|
+
},
|
|
125
|
+
children: /* @__PURE__ */ e(
|
|
126
|
+
l,
|
|
127
|
+
{
|
|
128
|
+
components: Wa,
|
|
129
|
+
children: s
|
|
130
|
+
}
|
|
131
|
+
)
|
|
132
|
+
}
|
|
133
|
+
);
|
|
134
|
+
return o || !t ? r : /* @__PURE__ */ e(Za, {});
|
|
135
|
+
};
|
|
136
|
+
export {
|
|
137
|
+
re as RootClient,
|
|
138
|
+
re as default
|
|
139
|
+
};
|