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