@lanaco/lnc-react-ui 4.0.25 → 4.0.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/Kanban.cjs +2 -2
- package/dist/Kanban.js +81 -83
- package/dist/index-BlV3tdJ8.cjs +87 -0
- package/dist/index-DGl-lSfF.js +122 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +100 -92
- package/dist/index10.cjs +64 -91
- package/dist/index10.js +104 -161
- package/dist/index11.cjs +62 -112
- package/dist/index11.js +101 -1510
- package/dist/index12.cjs +194 -0
- package/dist/index12.js +312 -0
- package/dist/index13.cjs +98 -0
- package/dist/index13.js +221 -0
- package/dist/index14.cjs +161 -0
- package/dist/index14.js +254 -0
- package/dist/index15.cjs +135 -0
- package/dist/index15.js +1534 -0
- package/dist/index3.cjs +19 -56
- package/dist/index3.js +72 -113
- package/dist/index4.cjs +54 -34
- package/dist/index4.js +112 -77
- package/dist/index5.cjs +33 -66
- package/dist/index5.js +80 -124
- package/dist/index6.cjs +60 -44
- package/dist/index6.js +119 -79
- package/dist/index7.cjs +26 -43
- package/dist/index7.js +60 -94
- package/dist/index8.cjs +56 -124
- package/dist/index8.js +110 -194
- package/dist/index9.cjs +127 -67
- package/dist/index9.js +193 -123
- package/dist/useEffectOnce-DFrzfNzT.cjs +1 -0
- package/dist/useEffectOnce-guOKBPuL.js +7 -0
- package/package.json +6 -2
- package/vite.config.js +16 -0
package/dist/index6.js
CHANGED
|
@@ -1,104 +1,144 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { n as
|
|
4
|
-
import { M as
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
const
|
|
8
|
-
padding-bottom: 1.38rem;
|
|
9
|
-
text-align: center;
|
|
1
|
+
import { jsxs as t, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as $ } from "react";
|
|
3
|
+
import { n as r } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
4
|
+
import { M as o } from "./consts-DNVz1x1I.js";
|
|
5
|
+
import v from "./Button.js";
|
|
6
|
+
import { u as y } from "./useDetectMobile-BookNOsk.js";
|
|
7
|
+
const M = r.div`
|
|
10
8
|
display: flex;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
border-radius: 0.75rem;
|
|
10
|
+
background-color: ${(e) => e.bgcolor || "transparent"};
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
max-height: ${(e) => e.height || "22.5rem"};
|
|
13
|
+
min-height: ${(e) => e.height || "22.5rem"};
|
|
14
|
+
background-color: ${(e) => e.bgcolor || "transparent"};
|
|
15
15
|
|
|
16
16
|
& button {
|
|
17
17
|
width: fit-content;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
${(e) => e.hasBorder === !0 && `border: 1px solid var(--gray-95008, rgba(20, 22, 26, 0.08));
|
|
21
|
+
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.10), 0px 1px 2px 0px rgba(0, 0, 0, 0.06);
|
|
22
|
+
|
|
23
|
+
`}
|
|
24
|
+
|
|
25
|
+
& img {
|
|
26
|
+
object-fit: cover;
|
|
27
|
+
max-width: ${(e) => e.imgW || "22.5rem"};
|
|
28
|
+
min-width: ${(e) => e.imgW || "22.5rem"};
|
|
29
|
+
max-height: ${(e) => e.height || "22.5rem"};
|
|
30
|
+
min-height: ${(e) => e.height || "22.5rem"};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
${(e) => e.hasBorder === !0 && `border: 1px solid var(--gray-95008, rgba(20, 22, 26, 0.08));
|
|
34
|
+
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.10), 0px 1px 2px 0px rgba(0, 0, 0, 0.06);
|
|
35
|
+
|
|
36
|
+
`}
|
|
37
|
+
|
|
38
|
+
@media (max-width: ${o + "px"}) {
|
|
39
|
+
gap: 1.5rem;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
min-height: unset;
|
|
42
|
+
max-height: unset;
|
|
43
|
+
|
|
44
|
+
& button {
|
|
45
|
+
width: fit-content;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& img {
|
|
49
|
+
max-width: 100%;
|
|
50
|
+
min-width: 100%;
|
|
51
|
+
max-height: ${(e) => e.imgHMob || "12.1rem"};
|
|
52
|
+
min-height: ${(e) => e.imgHMob || "12.1rem"};
|
|
53
|
+
}
|
|
22
54
|
}
|
|
23
|
-
`,
|
|
24
|
-
|
|
55
|
+
`, C = r.div`
|
|
56
|
+
padding: ${(e) => e.smallPadding === !0 ? "2rem" : "4rem 5rem"};
|
|
57
|
+
display: flex;
|
|
58
|
+
gap: 2rem;
|
|
59
|
+
flex-direction: ${(e) => e.isHorizontalContent === !0 ? "row" : "column"};
|
|
60
|
+
flex: 1;
|
|
61
|
+
|
|
62
|
+
${(e) => e.isHorizontalContent === !0 && "justify-content: space-between;"}
|
|
63
|
+
|
|
64
|
+
@media (max-width: ${o + "px"}) {
|
|
65
|
+
padding: 0;
|
|
66
|
+
flex-direction: column;
|
|
67
|
+
}
|
|
68
|
+
`, H = r.div`
|
|
25
69
|
display: flex;
|
|
26
|
-
justify-content: center;
|
|
27
70
|
flex-direction: column;
|
|
28
71
|
gap: 0.25rem;
|
|
29
72
|
|
|
30
73
|
& .header-title {
|
|
31
|
-
font-size: 1.
|
|
74
|
+
font-size: 1.75rem;
|
|
32
75
|
font-weight: 600;
|
|
33
76
|
}
|
|
34
77
|
|
|
35
78
|
& .header-subtitle {
|
|
36
|
-
color: var(--gray-
|
|
79
|
+
color: var(--gray-950, #14161a);
|
|
37
80
|
font-size: 1rem;
|
|
38
81
|
font-weight: 500;
|
|
39
82
|
}
|
|
40
83
|
|
|
41
|
-
@media (max-width: ${
|
|
84
|
+
@media (max-width: ${o + "px"}) {
|
|
85
|
+
flex-direction: column;
|
|
42
86
|
}
|
|
43
|
-
`,
|
|
44
|
-
text-align: center;
|
|
45
|
-
display: flex;
|
|
46
|
-
flex-direction: column;
|
|
47
|
-
justify-content: center;
|
|
48
|
-
gap: 0.75rem;
|
|
49
|
-
font-size: 0.875rem;
|
|
50
|
-
font-weight: 500;
|
|
51
|
-
align-items: center;
|
|
52
|
-
|
|
53
|
-
& .list-item {
|
|
54
|
-
display: flex;
|
|
55
|
-
align-items: center;
|
|
56
|
-
|
|
57
|
-
& .mng {
|
|
58
|
-
font-size: 1.25rem;
|
|
59
|
-
color: var(--success-600);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
@media (max-width: ${a + "px"}) {
|
|
64
|
-
& .list-item {
|
|
65
|
-
flex-direction: column;
|
|
66
|
-
text-align: center;
|
|
67
|
-
justify-content: center;
|
|
68
|
-
gap: 0;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
`, N = h((m, w) => {
|
|
87
|
+
`, I = $((e, B) => {
|
|
72
88
|
const {
|
|
73
|
-
title:
|
|
74
|
-
subtitle:
|
|
75
|
-
buttonText:
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
89
|
+
title: l,
|
|
90
|
+
subtitle: h,
|
|
91
|
+
buttonText: g,
|
|
92
|
+
image: a,
|
|
93
|
+
imagePosition: n = "right",
|
|
94
|
+
noImageForMobile: m = !1,
|
|
95
|
+
height: s,
|
|
96
|
+
imageWidth: c,
|
|
97
|
+
imageHeightMob: x,
|
|
98
|
+
smallPadding: p = !1,
|
|
99
|
+
isHorizontalContent: u = !1,
|
|
100
|
+
backgroundColor: b,
|
|
101
|
+
hasBorder: f = !1,
|
|
102
|
+
onBannerClick: w
|
|
103
|
+
} = e, d = y();
|
|
104
|
+
return /* @__PURE__ */ t(
|
|
105
|
+
M,
|
|
106
|
+
{
|
|
107
|
+
bgcolor: b,
|
|
108
|
+
height: s,
|
|
109
|
+
imgW: c,
|
|
110
|
+
imgHMob: x,
|
|
111
|
+
hasBorder: f,
|
|
112
|
+
children: [
|
|
113
|
+
n !== "right" && !(m === !0 && d === !0) && /* @__PURE__ */ i("img", { src: a }),
|
|
114
|
+
/* @__PURE__ */ t(
|
|
115
|
+
C,
|
|
116
|
+
{
|
|
117
|
+
isHorizontalContent: u,
|
|
118
|
+
smallPadding: p,
|
|
119
|
+
children: [
|
|
120
|
+
/* @__PURE__ */ t(H, { children: [
|
|
121
|
+
/* @__PURE__ */ i("div", { className: "header-title", children: l }),
|
|
122
|
+
/* @__PURE__ */ i("div", { className: "header-subitle", children: h })
|
|
123
|
+
] }),
|
|
124
|
+
/* @__PURE__ */ i(
|
|
125
|
+
v,
|
|
126
|
+
{
|
|
127
|
+
size: "medium",
|
|
128
|
+
color: "neutral",
|
|
129
|
+
type: "button",
|
|
130
|
+
onClick: w,
|
|
131
|
+
children: g
|
|
132
|
+
}
|
|
133
|
+
)
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
),
|
|
137
|
+
n === "right" && !(m === !0 && d === !0) && /* @__PURE__ */ i("img", { src: a })
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
);
|
|
101
141
|
});
|
|
102
142
|
export {
|
|
103
|
-
|
|
143
|
+
I as default
|
|
104
144
|
};
|
package/dist/index7.cjs
CHANGED
|
@@ -1,48 +1,23 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),o=require("react"),s=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),c=require("./consts-dNz9tpt4.cjs"),u=require("./Button.cjs"),t=require("./utils-CE6bljYe.cjs"),h=s.newStyled.div`
|
|
2
|
+
padding-bottom: 1.38rem;
|
|
3
|
+
text-align: center;
|
|
2
4
|
display: flex;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
justify-content: center;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
gap: 2rem;
|
|
8
|
+
align-items: center;
|
|
6
9
|
|
|
7
10
|
& button {
|
|
8
11
|
width: fit-content;
|
|
9
12
|
}
|
|
10
13
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
max-width: ${e=>e.imgW||"33.39346rem"};
|
|
14
|
-
min-width: ${e=>e.imgW||"33.39346rem"};
|
|
15
|
-
max-height: ${e=>e.imgH||"22.5rem"};
|
|
16
|
-
min-height: ${e=>e.imgH||"22.5rem"};
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
${e=>e.hasBorder===!0&&`border: 1px solid var(--gray-95008, rgba(20, 22, 26, 0.08));
|
|
20
|
-
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.10), 0px 1px 2px 0px rgba(0, 0, 0, 0.06);
|
|
21
|
-
|
|
22
|
-
`}
|
|
23
|
-
|
|
24
|
-
@media (max-width: ${r.MOBILE_SIZE_PX+"px"}) {
|
|
25
|
-
flex-direction: column;
|
|
26
|
-
& img {
|
|
27
|
-
max-width: 100%;
|
|
28
|
-
min-width: 100%;
|
|
29
|
-
max-height: ${e=>e.imgHMob||"12.1rem"};
|
|
30
|
-
min-height: ${e=>e.imgHMob||"12.1rem"};
|
|
31
|
-
}
|
|
14
|
+
@media (max-width: ${c.MOBILE_SIZE_PX+"px"}) {
|
|
15
|
+
padding-bottom: 0;
|
|
32
16
|
}
|
|
33
|
-
`,
|
|
34
|
-
|
|
35
|
-
display: flex;
|
|
36
|
-
gap: 1.25rem;
|
|
37
|
-
justify-content: space-between;
|
|
38
|
-
flex: 1;
|
|
39
|
-
flex-direction: column;
|
|
40
|
-
|
|
41
|
-
@media (max-width: ${r.MOBILE_SIZE_PX+"px"}) {
|
|
42
|
-
padding: 1.25rem;
|
|
43
|
-
}
|
|
44
|
-
`,j=t.newStyled.div`
|
|
17
|
+
`,g=s.newStyled.div`
|
|
18
|
+
text-align: center;
|
|
45
19
|
display: flex;
|
|
20
|
+
justify-content: center;
|
|
46
21
|
flex-direction: column;
|
|
47
22
|
gap: 0.25rem;
|
|
48
23
|
|
|
@@ -57,15 +32,17 @@
|
|
|
57
32
|
font-weight: 500;
|
|
58
33
|
}
|
|
59
34
|
|
|
60
|
-
@media (max-width: ${
|
|
61
|
-
flex-direction: column;
|
|
35
|
+
@media (max-width: ${c.MOBILE_SIZE_PX+"px"}) {
|
|
62
36
|
}
|
|
63
|
-
`,
|
|
37
|
+
`,p=s.newStyled.div`
|
|
38
|
+
text-align: center;
|
|
64
39
|
display: flex;
|
|
65
40
|
flex-direction: column;
|
|
41
|
+
justify-content: center;
|
|
66
42
|
gap: 0.75rem;
|
|
67
43
|
font-size: 0.875rem;
|
|
68
44
|
font-weight: 500;
|
|
45
|
+
align-items: center;
|
|
69
46
|
|
|
70
47
|
& .list-item {
|
|
71
48
|
display: flex;
|
|
@@ -73,10 +50,16 @@
|
|
|
73
50
|
|
|
74
51
|
& .mng {
|
|
75
52
|
font-size: 1.25rem;
|
|
76
|
-
color: var(--
|
|
53
|
+
color: var(--success-600);
|
|
77
54
|
}
|
|
78
55
|
}
|
|
79
56
|
|
|
80
|
-
@media (max-width: ${
|
|
57
|
+
@media (max-width: ${c.MOBILE_SIZE_PX+"px"}) {
|
|
58
|
+
& .list-item {
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
text-align: center;
|
|
61
|
+
justify-content: center;
|
|
62
|
+
gap: 0;
|
|
63
|
+
}
|
|
81
64
|
}
|
|
82
|
-
|
|
65
|
+
`,j=o.forwardRef((a,y)=>{const{title:i,subtitle:n,buttonText:d,list:r,fallback:m=()=>{},onBannerClick:l}=a;return e.jsxs(h,{children:[(t.isDefined(i)||t.isDefined(n))&&e.jsxs(g,{children:[t.isDefined(i)&&e.jsx("div",{className:"header-title",children:i}),t.isDefined(n)&&e.jsx("div",{className:"header-subitle",children:n})]}),e.jsx(p,{children:r==null?void 0:r.map((x,f)=>e.jsx(o.Fragment,{children:e.jsxs("div",{className:"list-item",children:[e.jsx("i",{className:"mng mng-lnc-checkmark--filled"}),e.jsx("span",{children:x})]})},f))}),e.jsx(u,{size:"medium",color:"neutral",type:"button",onClick:()=>t.isDefined(l)?l():m(),children:d})]})});module.exports=j;
|
package/dist/index7.js
CHANGED
|
@@ -1,53 +1,29 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { n as
|
|
4
|
-
import { M as
|
|
5
|
-
import
|
|
6
|
-
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as h, Fragment as x } from "react";
|
|
3
|
+
import { n as o } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
4
|
+
import { M as a } from "./consts-DNVz1x1I.js";
|
|
5
|
+
import g from "./Button.js";
|
|
6
|
+
import { l as t } from "./utils-DtEdJZWa.js";
|
|
7
|
+
const u = o.div`
|
|
8
|
+
padding-bottom: 1.38rem;
|
|
9
|
+
text-align: center;
|
|
7
10
|
display: flex;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
justify-content: center;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
gap: 2rem;
|
|
14
|
+
align-items: center;
|
|
11
15
|
|
|
12
16
|
& button {
|
|
13
17
|
width: fit-content;
|
|
14
18
|
}
|
|
15
19
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
max-width: ${(e) => e.imgW || "33.39346rem"};
|
|
19
|
-
min-width: ${(e) => e.imgW || "33.39346rem"};
|
|
20
|
-
max-height: ${(e) => e.imgH || "22.5rem"};
|
|
21
|
-
min-height: ${(e) => e.imgH || "22.5rem"};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
${(e) => e.hasBorder === !0 && `border: 1px solid var(--gray-95008, rgba(20, 22, 26, 0.08));
|
|
25
|
-
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.10), 0px 1px 2px 0px rgba(0, 0, 0, 0.06);
|
|
26
|
-
|
|
27
|
-
`}
|
|
28
|
-
|
|
29
|
-
@media (max-width: ${n + "px"}) {
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
& img {
|
|
32
|
-
max-width: 100%;
|
|
33
|
-
min-width: 100%;
|
|
34
|
-
max-height: ${(e) => e.imgHMob || "12.1rem"};
|
|
35
|
-
min-height: ${(e) => e.imgHMob || "12.1rem"};
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
`, $ = t.div`
|
|
39
|
-
padding: 2rem;
|
|
40
|
-
display: flex;
|
|
41
|
-
gap: 1.25rem;
|
|
42
|
-
justify-content: space-between;
|
|
43
|
-
flex: 1;
|
|
44
|
-
flex-direction: column;
|
|
45
|
-
|
|
46
|
-
@media (max-width: ${n + "px"}) {
|
|
47
|
-
padding: 1.25rem;
|
|
20
|
+
@media (max-width: ${a + "px"}) {
|
|
21
|
+
padding-bottom: 0;
|
|
48
22
|
}
|
|
49
|
-
`,
|
|
23
|
+
`, y = o.div`
|
|
24
|
+
text-align: center;
|
|
50
25
|
display: flex;
|
|
26
|
+
justify-content: center;
|
|
51
27
|
flex-direction: column;
|
|
52
28
|
gap: 0.25rem;
|
|
53
29
|
|
|
@@ -62,15 +38,17 @@ const y = t.div`
|
|
|
62
38
|
font-weight: 500;
|
|
63
39
|
}
|
|
64
40
|
|
|
65
|
-
@media (max-width: ${
|
|
66
|
-
flex-direction: column;
|
|
41
|
+
@media (max-width: ${a + "px"}) {
|
|
67
42
|
}
|
|
68
|
-
`,
|
|
43
|
+
`, b = o.div`
|
|
44
|
+
text-align: center;
|
|
69
45
|
display: flex;
|
|
70
46
|
flex-direction: column;
|
|
47
|
+
justify-content: center;
|
|
71
48
|
gap: 0.75rem;
|
|
72
49
|
font-size: 0.875rem;
|
|
73
50
|
font-weight: 500;
|
|
51
|
+
align-items: center;
|
|
74
52
|
|
|
75
53
|
& .list-item {
|
|
76
54
|
display: flex;
|
|
@@ -78,60 +56,48 @@ const y = t.div`
|
|
|
78
56
|
|
|
79
57
|
& .mng {
|
|
80
58
|
font-size: 1.25rem;
|
|
81
|
-
color: var(--
|
|
59
|
+
color: var(--success-600);
|
|
82
60
|
}
|
|
83
61
|
}
|
|
84
62
|
|
|
85
|
-
@media (max-width: ${
|
|
63
|
+
@media (max-width: ${a + "px"}) {
|
|
64
|
+
& .list-item {
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
text-align: center;
|
|
67
|
+
justify-content: center;
|
|
68
|
+
gap: 0;
|
|
69
|
+
}
|
|
86
70
|
}
|
|
87
|
-
`, N =
|
|
71
|
+
`, N = h((m, w) => {
|
|
88
72
|
const {
|
|
89
|
-
title:
|
|
90
|
-
subtitle:
|
|
91
|
-
buttonText:
|
|
92
|
-
list:
|
|
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
|
-
/* @__PURE__ */ i("span", { children: f })
|
|
118
|
-
] }) }, b)) }),
|
|
119
|
-
/* @__PURE__ */ i(
|
|
120
|
-
v,
|
|
121
|
-
{
|
|
122
|
-
size: "medium",
|
|
123
|
-
color: "gray",
|
|
124
|
-
type: "button",
|
|
125
|
-
btnType: "outline",
|
|
126
|
-
onClick: x,
|
|
127
|
-
children: d
|
|
128
|
-
}
|
|
129
|
-
)
|
|
130
|
-
] }),
|
|
131
|
-
/* @__PURE__ */ i("img", { src: l })
|
|
132
|
-
]
|
|
133
|
-
}
|
|
134
|
-
);
|
|
73
|
+
title: i,
|
|
74
|
+
subtitle: n,
|
|
75
|
+
buttonText: s,
|
|
76
|
+
list: r,
|
|
77
|
+
fallback: d = () => {
|
|
78
|
+
},
|
|
79
|
+
onBannerClick: c
|
|
80
|
+
} = m;
|
|
81
|
+
return /* @__PURE__ */ l(u, { children: [
|
|
82
|
+
(t(i) || t(n)) && /* @__PURE__ */ l(y, { children: [
|
|
83
|
+
t(i) && /* @__PURE__ */ e("div", { className: "header-title", children: i }),
|
|
84
|
+
t(n) && /* @__PURE__ */ e("div", { className: "header-subitle", children: n })
|
|
85
|
+
] }),
|
|
86
|
+
/* @__PURE__ */ e(b, { children: r == null ? void 0 : r.map((f, p) => /* @__PURE__ */ e(x, { children: /* @__PURE__ */ l("div", { className: "list-item", children: [
|
|
87
|
+
/* @__PURE__ */ e("i", { className: "mng mng-lnc-checkmark--filled" }),
|
|
88
|
+
/* @__PURE__ */ e("span", { children: f })
|
|
89
|
+
] }) }, p)) }),
|
|
90
|
+
/* @__PURE__ */ e(
|
|
91
|
+
g,
|
|
92
|
+
{
|
|
93
|
+
size: "medium",
|
|
94
|
+
color: "neutral",
|
|
95
|
+
type: "button",
|
|
96
|
+
onClick: () => t(c) ? c() : d(),
|
|
97
|
+
children: s
|
|
98
|
+
}
|
|
99
|
+
)
|
|
100
|
+
] });
|
|
135
101
|
});
|
|
136
102
|
export {
|
|
137
103
|
N as default
|