@mittwald/flow-react-components 0.1.0-alpha.237 → 0.1.0-alpha.239
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/Icons.js +107 -102
- package/dist/Modal.js +47 -43
- package/dist/styles.css +1 -1
- package/dist/types/components/Icon/components/icons/IconDeliveryBox.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/{IconListView.d.ts → IconDownload.d.ts} +2 -2
- package/dist/types/components/Icon/components/icons/{IconGrid.d.ts → IconRedo.d.ts} +2 -2
- package/dist/types/components/Icon/components/icons/IconSecurity.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconSshKey.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/{IconList.d.ts → IconUndo.d.ts} +2 -2
- package/dist/types/components/Icon/components/icons/IconView.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/index.d.ts +7 -2
- package/dist/types/components/Modal/Modal.d.ts +1 -0
- package/dist/types/components/Modal/stories/Default.stories.d.ts +1 -0
- package/package.json +4 -4
package/dist/Icons.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import n from "react";
|
|
4
|
-
import { IconAppWindow as
|
|
4
|
+
import { IconAppWindow as o, IconArrowLeft as l, IconHistory as r, IconCamera as a, IconClipboardList as I, IconClock as m, IconCode as s, IconFileDescription as E, IconFileInfo as i, IconCalendarCheck as u, IconBuilding as p, IconBorderAll as d, IconDatabase as f, IconTrash as h, IconInbox as c, IconWorld as C, IconDownload as x, IconEdit as S, IconMail as k, IconPuzzle as w, IconExternalLink as $, IconFilter as g, IconEyeOff as L, IconHome as b, IconFileEuro as v, IconLock as D, IconLockOpen as M, IconPower as F, IconMaximize as P, IconUsersGroup as y, IconMenu2 as z, IconMinimize as O, IconBell as U, IconHash as A, IconShoppingCart as B, IconCreditCard as H, IconChartHistogram as R, IconArchive as T, IconArrowForwardUp as V, IconRefresh as W, IconListSearch as j, IconShieldLock as K, IconServer as N, IconShare3 as G, IconEye as X, IconArrowsUpDown as q, IconShield as J, IconShieldCheckFilled as Q, IconKey as Y, IconDoor as Z, IconStar as _, IconStarFilled as ee, IconSubtask as ne, IconHeadset as te, IconFileX as ce, IconTicket as oe, IconArrowBackUp as le, IconUser as re, IconList as ae } from "@tabler/icons-react";
|
|
5
5
|
import { I as t } from "./Icon-0QYDidQk.js";
|
|
6
|
-
import { I as
|
|
7
|
-
import { I as
|
|
8
|
-
import { I as
|
|
9
|
-
import { I as
|
|
10
|
-
import { a as
|
|
11
|
-
import { I as
|
|
12
|
-
import { I as
|
|
13
|
-
import { I as
|
|
14
|
-
import { I as
|
|
15
|
-
import { I as
|
|
16
|
-
import { I as
|
|
17
|
-
import { a as
|
|
18
|
-
import { I as
|
|
19
|
-
import { I as
|
|
20
|
-
import { I as
|
|
21
|
-
import { a as
|
|
22
|
-
import { I as
|
|
23
|
-
import { I as
|
|
24
|
-
import { I as
|
|
25
|
-
const
|
|
6
|
+
import { I as kn } from "./IconCheck-kPAdcx3h.js";
|
|
7
|
+
import { I as $n, a as gn } from "./IconCheckboxEmpty-CoGUuXtO.js";
|
|
8
|
+
import { I as bn } from "./IconCheckboxIndeterminate-Bjj70fpd.js";
|
|
9
|
+
import { I as Dn } from "./IconChevronDown-BSK1qOl0.js";
|
|
10
|
+
import { a as Fn, I as Pn } from "./IconCalendar-BGo-M1_G.js";
|
|
11
|
+
import { I as zn } from "./IconChevronRight-Dj3jk8WE.js";
|
|
12
|
+
import { I as Un } from "./IconChevronUp-D7lT3t1_.js";
|
|
13
|
+
import { I as Bn } from "./IconClose-gMf32kww.js";
|
|
14
|
+
import { I as Rn } from "./IconContextMenu-DQey4U_b.js";
|
|
15
|
+
import { I as Vn } from "./IconCopy-COLtYvRI.js";
|
|
16
|
+
import { I as jn } from "./IconDanger-1BGpTe7U.js";
|
|
17
|
+
import { a as Nn, I as Gn } from "./IconSucceeded-DfMfXb4k.js";
|
|
18
|
+
import { I as qn } from "./IconInfo-Dug3kHx4.js";
|
|
19
|
+
import { I as Qn, a as Yn } from "./IconPlus-CgQ84K31.js";
|
|
20
|
+
import { I as _n } from "./IconPending-BtrsEror.js";
|
|
21
|
+
import { a as nt, I as tt } from "./IconRadioOn-9d8UX_6A.js";
|
|
22
|
+
import { I as ot, a as lt } from "./IconSettings-CbceI0ro.js";
|
|
23
|
+
import { I as at } from "./IconSearch-BfV1RCJ-.js";
|
|
24
|
+
import { I as mt, a as st } from "./IconWarning-BZpNEOZk.js";
|
|
25
|
+
const Ee = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(o, null)), ie = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(l, null)), ue = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(r, null)), pe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(a, null)), de = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(I, null)), fe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(m, null)), he = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(s, null)), Ce = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(E, null)), xe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(i, null)), Se = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(u, null)), ke = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(p, null)), we = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(d, null)), $e = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(f, null)), ge = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(h, null)), Le = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(c, null)), be = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(C, null)), ve = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(x, null)), De = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(S, null)), Me = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(k, null)), Fe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(w, null)), Pe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement($, null)), ye = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(g, null)), ze = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(L, null)), Oe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(b, null)), Ue = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(c, null)), Ae = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(v, null)), Be = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(D, null)), He = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(M, null)), Re = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(F, null)), Te = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(P, null)), Ve = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(y, null)), We = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(z, null)), je = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(O, null)), Ke = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(U, null)), Ne = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(A, null)), Ge = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(B, null)), Xe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(H, null)), qe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(R, null)), Je = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(T, null)), Qe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(V, null)), Ye = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(W, null)), Ze = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(j, null)), _e = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(K, null)), en = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(N, null)), nn = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(G, null)), tn = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(X, null)), cn = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(q, null)), on = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(J, null)), ln = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(Q, null)), rn = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(Y, null)), an = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(Z, null)), In = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(_, null)), mn = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(ee, null)), sn = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(ne, null)), En = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(te, null)), un = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(ce, null)), pn = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(oe, null)), dn = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(le, null)), fn = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(re, null)), hn = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(ae, null)), Cn = (e) => /* @__PURE__ */ n.createElement(
|
|
26
26
|
t,
|
|
27
27
|
{
|
|
28
28
|
...e
|
|
@@ -34,86 +34,91 @@ const ae = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n
|
|
|
34
34
|
`
|
|
35
35
|
);
|
|
36
36
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
37
|
+
Ee as IconApp,
|
|
38
|
+
ie as IconBackLink,
|
|
39
|
+
ue as IconBackup,
|
|
40
|
+
Fn as IconCalendar,
|
|
41
|
+
pe as IconCamera,
|
|
42
|
+
de as IconChangelog,
|
|
43
|
+
kn as IconCheck,
|
|
44
|
+
$n as IconCheckboxChecked,
|
|
45
|
+
gn as IconCheckboxEmpty,
|
|
46
|
+
bn as IconCheckboxIndeterminate,
|
|
47
|
+
Dn as IconChevronDown,
|
|
48
|
+
Pn as IconChevronLeft,
|
|
49
|
+
zn as IconChevronRight,
|
|
50
|
+
Un as IconChevronUp,
|
|
51
|
+
fe as IconClock,
|
|
52
|
+
Bn as IconClose,
|
|
53
|
+
he as IconCode,
|
|
54
|
+
Rn as IconContextMenu,
|
|
55
|
+
Ce as IconContractPartner,
|
|
56
|
+
xe as IconContractPosition,
|
|
57
|
+
Vn as IconCopy,
|
|
58
|
+
Se as IconCronjob,
|
|
59
|
+
ke as IconCustomer,
|
|
60
|
+
jn as IconDanger,
|
|
61
|
+
we as IconDashboard,
|
|
62
|
+
$e as IconDatabase,
|
|
63
|
+
ge as IconDelete,
|
|
64
|
+
Le as IconDeliveryBox,
|
|
65
|
+
be as IconDomain,
|
|
66
|
+
ve as IconDownload,
|
|
67
|
+
De as IconEdit,
|
|
68
|
+
Me as IconEmail,
|
|
69
|
+
Fe as IconExtension,
|
|
70
|
+
Pe as IconExternalLink,
|
|
71
|
+
Nn as IconFailed,
|
|
72
|
+
ye as IconFilter,
|
|
73
|
+
ze as IconHide,
|
|
74
|
+
Oe as IconHome,
|
|
75
|
+
Ue as IconInbox,
|
|
76
|
+
qn as IconInfo,
|
|
77
|
+
Ae as IconInvoice,
|
|
78
|
+
Be as IconLock,
|
|
79
|
+
He as IconLockOpen,
|
|
80
|
+
Re as IconLogout,
|
|
81
|
+
Te as IconMaximize,
|
|
82
|
+
Ve as IconMember,
|
|
83
|
+
We as IconMenu,
|
|
84
|
+
je as IconMinimize,
|
|
85
|
+
Qn as IconMinus,
|
|
86
|
+
Cn as IconMittwald,
|
|
87
|
+
Ke as IconNotification,
|
|
88
|
+
Ne as IconNumber,
|
|
89
89
|
Ge as IconOrder,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
90
|
+
Xe as IconPayment,
|
|
91
|
+
_n as IconPending,
|
|
92
|
+
qe as IconPerformance,
|
|
93
|
+
Yn as IconPlus,
|
|
94
|
+
Je as IconProject,
|
|
95
|
+
nt as IconRadioOff,
|
|
96
|
+
tt as IconRadioOn,
|
|
97
|
+
Qe as IconRedo,
|
|
98
|
+
Ye as IconRefresh,
|
|
99
|
+
ot as IconSave,
|
|
100
|
+
at as IconSearch,
|
|
101
|
+
Ze as IconSearchEngine,
|
|
102
|
+
_e as IconSecurity,
|
|
103
|
+
en as IconServer,
|
|
104
|
+
lt as IconSettings,
|
|
105
|
+
nn as IconShare,
|
|
106
|
+
tn as IconShow,
|
|
107
|
+
cn as IconSorting,
|
|
108
|
+
on as IconSpamProtectionOff,
|
|
109
|
+
ln as IconSpamProtectionOn,
|
|
110
|
+
rn as IconSshKey,
|
|
111
|
+
an as IconSshSftp,
|
|
112
|
+
In as IconStar,
|
|
113
|
+
mn as IconStarFilled,
|
|
114
|
+
sn as IconSubdomain,
|
|
115
|
+
Gn as IconSucceeded,
|
|
116
|
+
mt as IconSuccess,
|
|
117
|
+
En as IconSupport,
|
|
118
|
+
un as IconTerminate,
|
|
119
|
+
pn as IconTicket,
|
|
120
|
+
dn as IconUndo,
|
|
121
|
+
fn as IconUser,
|
|
122
|
+
hn as IconView,
|
|
123
|
+
st as IconWarning
|
|
119
124
|
};
|
package/dist/Modal.js
CHANGED
|
@@ -1,71 +1,75 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
|
-
import
|
|
4
|
+
import p from "clsx";
|
|
5
5
|
import "./propsContext-DzAKlmhS.js";
|
|
6
|
-
import { P as
|
|
6
|
+
import { P as v } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
|
-
import { TunnelProvider as
|
|
9
|
+
import { TunnelProvider as y, TunnelExit as g } from "@mittwald/react-tunnel";
|
|
10
10
|
import { f as C } from "./flowComponent-DT1Ap-ot.js";
|
|
11
11
|
import * as n from "react-aria-components";
|
|
12
12
|
import "mobx";
|
|
13
|
-
import { u as
|
|
14
|
-
import { O as
|
|
13
|
+
import { u as w } from "./useOverlayController-D8pgx8nV.js";
|
|
14
|
+
import { O as E, a as h } from "./OverlayTrigger-bD8_mPel.js";
|
|
15
15
|
import { H as O } from "./Header-BC3V_ugP.js";
|
|
16
|
-
import { A as
|
|
17
|
-
import { B as
|
|
16
|
+
import { A as M } from "./Action-B6lMX6do.js";
|
|
17
|
+
import { B as N } from "./Button-DPF2xiJl.js";
|
|
18
18
|
import "@tabler/icons-react";
|
|
19
19
|
import "./Icon-0QYDidQk.js";
|
|
20
|
-
import { I as
|
|
21
|
-
const
|
|
22
|
-
modal:
|
|
23
|
-
offCanvas:
|
|
24
|
-
header:
|
|
25
|
-
content:
|
|
26
|
-
actionGroup:
|
|
20
|
+
import { I as x } from "./IconClose-gMf32kww.js";
|
|
21
|
+
const z = "flow--modal", P = "flow--modal--off-canvas", T = "flow--modal--header", B = "flow--modal--content", A = "flow--modal--action-group", G = "flow--modal--left", I = "flow--modal--close-button", e = {
|
|
22
|
+
modal: z,
|
|
23
|
+
offCanvas: P,
|
|
24
|
+
header: T,
|
|
25
|
+
content: B,
|
|
26
|
+
actionGroup: A,
|
|
27
27
|
"size-s": "flow--modal--size-s",
|
|
28
28
|
"size-m": "flow--modal--size-m",
|
|
29
29
|
"modal-zoom": "flow--modal--modal-zoom",
|
|
30
|
-
"modal-slide-in": "flow--modal--modal-slide-in",
|
|
30
|
+
"modal-slide-in-from-right": "flow--modal--modal-slide-in-from-right",
|
|
31
|
+
left: G,
|
|
32
|
+
"modal-slide-in-from-left": "flow--modal--modal-slide-in-from-left",
|
|
31
33
|
"modal-slide-up": "flow--modal--modal-slide-up",
|
|
32
|
-
closeButton:
|
|
33
|
-
},
|
|
34
|
-
overlay:
|
|
34
|
+
closeButton: I
|
|
35
|
+
}, D = "flow--modal-overlay--overlay", F = {
|
|
36
|
+
overlay: D,
|
|
35
37
|
"overlay-fade": "flow--modal-overlay--overlay-fade"
|
|
36
|
-
},
|
|
38
|
+
}, H = (t) => {
|
|
37
39
|
const {
|
|
38
|
-
controller:
|
|
40
|
+
controller: r,
|
|
39
41
|
children: l,
|
|
40
42
|
isDismissable: s = !0,
|
|
41
43
|
className: m
|
|
42
|
-
} = t,
|
|
44
|
+
} = t, f = w("Modal", {
|
|
43
45
|
reuseControllerFromContext: !0
|
|
44
|
-
}),
|
|
46
|
+
}), a = r ?? f, c = a.useIsOpen(), i = p(F.overlay, m);
|
|
45
47
|
return /* @__PURE__ */ o.createElement(
|
|
46
48
|
n.ModalOverlay,
|
|
47
49
|
{
|
|
48
50
|
className: i,
|
|
49
51
|
isDismissable: s,
|
|
50
52
|
isOpen: c,
|
|
51
|
-
onOpenChange: (d) =>
|
|
53
|
+
onOpenChange: (d) => a.setOpen(d)
|
|
52
54
|
},
|
|
53
|
-
/* @__PURE__ */ o.createElement(n.Modal, null, /* @__PURE__ */ o.createElement(n.Dialog, null, /* @__PURE__ */ o.createElement(
|
|
55
|
+
/* @__PURE__ */ o.createElement(n.Modal, null, /* @__PURE__ */ o.createElement(n.Dialog, null, /* @__PURE__ */ o.createElement(E, { type: "Modal", controller: a }, l)))
|
|
54
56
|
);
|
|
55
|
-
},
|
|
57
|
+
}, _ = C("Modal", (t) => {
|
|
56
58
|
const {
|
|
57
|
-
size:
|
|
59
|
+
size: r = "s",
|
|
58
60
|
offCanvas: l,
|
|
59
61
|
controller: s,
|
|
60
62
|
children: m,
|
|
61
|
-
refProp:
|
|
62
|
-
className:
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
refProp: f,
|
|
64
|
+
className: a,
|
|
65
|
+
offCanvasOrientation: c = "right",
|
|
66
|
+
...i
|
|
67
|
+
} = t, d = p(
|
|
65
68
|
l ? e.offCanvas : e.modal,
|
|
66
|
-
e[`size-${
|
|
67
|
-
|
|
68
|
-
|
|
69
|
+
e[`size-${r}`],
|
|
70
|
+
e[c],
|
|
71
|
+
a
|
|
72
|
+
), u = {
|
|
69
73
|
Content: {
|
|
70
74
|
className: e.content
|
|
71
75
|
},
|
|
@@ -78,29 +82,29 @@ const x = "flow--modal", z = "flow--modal--off-canvas", P = "flow--modal--header
|
|
|
78
82
|
className: e.actionGroup
|
|
79
83
|
}
|
|
80
84
|
};
|
|
81
|
-
return /* @__PURE__ */ o.createElement(
|
|
82
|
-
|
|
85
|
+
return /* @__PURE__ */ o.createElement(H, { className: d, controller: s, ...i }, /* @__PURE__ */ o.createElement(v, { props: u }, /* @__PURE__ */ o.createElement(y, null, /* @__PURE__ */ o.createElement(O, { className: e.header }, /* @__PURE__ */ o.createElement(g, { id: "heading" }), l && /* @__PURE__ */ o.createElement(M, { closeOverlay: "Modal" }, /* @__PURE__ */ o.createElement(
|
|
86
|
+
N,
|
|
83
87
|
{
|
|
84
88
|
variant: "plain",
|
|
85
89
|
color: "secondary",
|
|
86
90
|
className: e.closeButton
|
|
87
91
|
},
|
|
88
|
-
/* @__PURE__ */ o.createElement(
|
|
92
|
+
/* @__PURE__ */ o.createElement(x, null)
|
|
89
93
|
))), m)));
|
|
90
|
-
}),
|
|
91
|
-
const { children:
|
|
94
|
+
}), oo = (t) => {
|
|
95
|
+
const { children: r, ...l } = t;
|
|
92
96
|
return /* @__PURE__ */ o.createElement(
|
|
93
|
-
|
|
97
|
+
h,
|
|
94
98
|
{
|
|
95
99
|
overlayType: "Modal",
|
|
96
100
|
...l,
|
|
97
101
|
component: n.DialogTrigger
|
|
98
102
|
},
|
|
99
|
-
|
|
103
|
+
r
|
|
100
104
|
);
|
|
101
105
|
};
|
|
102
106
|
export {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
107
|
+
_ as Modal,
|
|
108
|
+
oo as ModalTrigger,
|
|
109
|
+
_ as default
|
|
106
110
|
};
|