@telefonica/mistica 15.15.0 → 15.16.0
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/css/mistica.css +1 -1
- package/dist/callout.css-mistica.js +10 -3
- package/dist/callout.css.d.ts +2 -0
- package/dist/callout.d.ts +1 -0
- package/dist/callout.js +60 -55
- package/dist/community/advanced-data-card.d.ts +2 -1
- package/dist/community/advanced-data-card.js +28 -27
- package/dist/community/blocks.d.ts +11 -1
- package/dist/community/blocks.js +69 -51
- package/dist/fixed-footer-layout.js +29 -29
- package/dist/grid.css.d.ts +6 -6
- package/dist/hooks.d.ts +3 -1
- package/dist/hooks.js +85 -79
- package/dist/package-version.js +1 -1
- package/dist/table.css-mistica.js +15 -12
- package/dist/table.css.d.ts +1 -0
- package/dist/table.d.ts +1 -0
- package/dist/table.js +81 -75
- package/dist-es/callout.css-mistica.js +3 -2
- package/dist-es/callout.js +84 -79
- package/dist-es/community/advanced-data-card.js +62 -61
- package/dist-es/community/blocks.js +99 -81
- package/dist-es/fixed-footer-layout.js +53 -53
- package/dist-es/hooks.js +91 -85
- package/dist-es/package-version.js +1 -1
- package/dist-es/style.css +1 -1
- package/dist-es/table.css-mistica.js +2 -2
- package/dist-es/table.js +116 -110
- package/package.json +1 -1
package/dist/table.js
CHANGED
|
@@ -147,10 +147,10 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
147
147
|
}
|
|
148
148
|
return target;
|
|
149
149
|
}
|
|
150
|
-
const
|
|
150
|
+
const P = {
|
|
151
151
|
default: "8px",
|
|
152
152
|
boxed: "16px"
|
|
153
|
-
},
|
|
153
|
+
}, G = "1px", ke = (a)=>a.Icon ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconbutton.IconButton, _object_spread_props(_object_spread({}, a), {
|
|
154
154
|
"aria-label": a.label,
|
|
155
155
|
small: !0,
|
|
156
156
|
type: "neutral",
|
|
@@ -169,8 +169,8 @@ const C = {
|
|
|
169
169
|
}),
|
|
170
170
|
small: !0,
|
|
171
171
|
bleedY: !0
|
|
172
|
-
})),
|
|
173
|
-
var { dataAttributes: a, heading:
|
|
172
|
+
})), Z = "left", we = /*#__PURE__*/ _react.forwardRef((_param, $)=>{
|
|
173
|
+
var { dataAttributes: a, heading: m = [], content: k = [], boxed: h, responsive: q, fullWidth: u = !0, maxHeight: v, emptyCase: A, columnTextAlign: T = Z, rowVerticalAlign: C = "middle", columnWidth: d, hideHeaders: g, scrollOverResponsiveLayout: J, rowHeaderIndex: s } = _param, S = _object_without_properties(_param, [
|
|
174
174
|
"dataAttributes",
|
|
175
175
|
"heading",
|
|
176
176
|
"content",
|
|
@@ -183,24 +183,25 @@ const C = {
|
|
|
183
183
|
"rowVerticalAlign",
|
|
184
184
|
"columnWidth",
|
|
185
185
|
"hideHeaders",
|
|
186
|
-
"scrollOverResponsiveLayout"
|
|
186
|
+
"scrollOverResponsiveLayout",
|
|
187
|
+
"rowHeaderIndex"
|
|
187
188
|
]);
|
|
188
|
-
const
|
|
189
|
-
var
|
|
190
|
-
return Array.isArray(
|
|
191
|
-
},
|
|
189
|
+
const x = (l)=>{
|
|
190
|
+
var _T_l;
|
|
191
|
+
return Array.isArray(T) ? (_T_l = T[l]) !== null && _T_l !== void 0 ? _T_l : Z : T;
|
|
192
|
+
}, r = q === "collapse-rows", z = g === !0 || g === "mobile", K = g === !0 || g === "desktop", y = k.some((l)=>!Array.isArray(l) && l.actions.length > 0), B = /* @__PURE__ */ (0, _jsxruntime.jsxs)("table", {
|
|
192
193
|
className: (0, _classnames.default)(_tablecssmistica.table, {
|
|
193
|
-
[_tablecssmistica.boxed]:
|
|
194
|
-
[_tablecssmistica.collapsedRowsInMobile]:
|
|
195
|
-
[_tablecssmistica.fullWidth]:
|
|
196
|
-
[_tablecssmistica.hiddenHeadersInDesktop]:
|
|
197
|
-
[_tablecssmistica.hiddenHeadersInMobile]:
|
|
194
|
+
[_tablecssmistica.boxed]: h,
|
|
195
|
+
[_tablecssmistica.collapsedRowsInMobile]: r,
|
|
196
|
+
[_tablecssmistica.fullWidth]: u,
|
|
197
|
+
[_tablecssmistica.hiddenHeadersInDesktop]: K,
|
|
198
|
+
[_tablecssmistica.hiddenHeadersInMobile]: z || r
|
|
198
199
|
}),
|
|
199
|
-
"aria-label":
|
|
200
|
-
"aria-labelledby":
|
|
201
|
-
"aria-describedby":
|
|
200
|
+
"aria-label": S["aria-label"],
|
|
201
|
+
"aria-labelledby": S["aria-labelledby"],
|
|
202
|
+
"aria-describedby": S["aria-describedby"],
|
|
202
203
|
children: [
|
|
203
|
-
|
|
204
|
+
m.length > 0 && /* @__PURE__ */ (0, _jsxruntime.jsx)("thead", {
|
|
204
205
|
children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_text.Text1, {
|
|
205
206
|
as: "tr",
|
|
206
207
|
medium: !0,
|
|
@@ -208,59 +209,63 @@ const C = {
|
|
|
208
209
|
color: _skincontractcssmistica.vars.colors.textSecondary,
|
|
209
210
|
wordBreak: !1,
|
|
210
211
|
children: [
|
|
211
|
-
|
|
212
|
+
m.map((l, o)=>/* @__PURE__ */ (0, _jsxruntime.jsx)("th", {
|
|
212
213
|
scope: "col",
|
|
213
|
-
className: (0, _classnames.default)(_tablecssmistica.cellTextAlign[
|
|
214
|
+
className: (0, _classnames.default)(_tablecssmistica.cellTextAlign[x(o)], _tablecssmistica.verticalAlign[C], {
|
|
214
215
|
[_tablecssmistica.rowFirstItem]: o === 0,
|
|
215
|
-
[_tablecssmistica.rowLastItem]: o ===
|
|
216
|
+
[_tablecssmistica.rowLastItem]: o === m.length - 1 && !y
|
|
216
217
|
}),
|
|
217
218
|
style: {
|
|
218
|
-
minWidth:
|
|
219
|
-
width:
|
|
219
|
+
minWidth: d == null ? void 0 : d[o],
|
|
220
|
+
width: d == null ? void 0 : d[o]
|
|
220
221
|
},
|
|
221
|
-
children:
|
|
222
|
+
children: l
|
|
222
223
|
}, o)),
|
|
223
|
-
|
|
224
|
+
y && /* @__PURE__ */ (0, _jsxruntime.jsx)(_tableactionsheader.TableActionsHeader, {})
|
|
224
225
|
]
|
|
225
226
|
})
|
|
226
227
|
}),
|
|
227
228
|
/* @__PURE__ */ (0, _jsxruntime.jsx)("tbody", {
|
|
228
|
-
children:
|
|
229
|
-
var
|
|
230
|
-
const
|
|
229
|
+
children: k.length > 0 ? k.map((l, o)=>{
|
|
230
|
+
var _l_actions;
|
|
231
|
+
const n = Array.isArray(l) ? l : l.cells, i = Array.isArray(l) ? [] : (_l_actions = l.actions) !== null && _l_actions !== void 0 ? _l_actions : [], D = /* @__PURE__ */ (0, _jsxruntime.jsx)(_inline.default, {
|
|
231
232
|
space: 16,
|
|
232
|
-
children:
|
|
233
|
-
}),
|
|
233
|
+
children: i.map((p, t)=>"Icon" in p || "checkedProps" in p ? /* @__PURE__ */ (0, _jsxruntime.jsx)(ke, _object_spread({}, p), t) : p)
|
|
234
|
+
}), I = i.length ? `calc(${_iconbuttoncssmistica.iconContainerSize.small} * ${i.length} + 16px * ${i.length - 1})` : "0px";
|
|
234
235
|
return /* @__PURE__ */ (0, _jsxruntime.jsxs)("tr", {
|
|
235
236
|
style: {
|
|
236
237
|
position: "relative"
|
|
237
238
|
},
|
|
238
239
|
children: [
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
[_tablecssmistica.
|
|
240
|
+
n.map((p, t)=>{
|
|
241
|
+
const Q = s === n.length - 1 ? t === n.length - 2 || n.length === 1 : t === n.length - 1;
|
|
242
|
+
return /* @__PURE__ */ (0, _jsxruntime.jsxs)(t === s ? "th" : "td", {
|
|
243
|
+
className: (0, _classnames.default)(_tablecssmistica.verticalAlign[C], {
|
|
244
|
+
[_tablecssmistica.rowFirstItem]: t === 0,
|
|
245
|
+
[_tablecssmistica.rowLastItem]: t === n.length - 1 && !y,
|
|
246
|
+
[_tablecssmistica.rowLastCollapsedItem]: Q && r,
|
|
247
|
+
[_tablecssmistica.collapsedRowHeaderItem]: t === s && r
|
|
244
248
|
}),
|
|
245
249
|
style: {
|
|
246
250
|
// add space between top actions and content
|
|
247
|
-
marginRight:
|
|
251
|
+
marginRight: r && i.length ? `calc(${I} + 8px)` : void 0
|
|
248
252
|
},
|
|
253
|
+
scope: t === s ? "row" : void 0,
|
|
249
254
|
children: [
|
|
250
|
-
|
|
255
|
+
t !== s && r && m[t] && !z && // this is aria-hidden because screen readers already read the column heading from the th
|
|
251
256
|
/* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
252
257
|
className: _tablecssmistica.mobileCellHeading,
|
|
253
258
|
"aria-hidden": !0,
|
|
254
259
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text1, {
|
|
255
260
|
medium: !0,
|
|
256
261
|
color: _skincontractcssmistica.vars.colors.textSecondary,
|
|
257
|
-
children:
|
|
262
|
+
children: m[t]
|
|
258
263
|
})
|
|
259
264
|
}),
|
|
260
265
|
/* @__PURE__ */ (0, _jsxruntime.jsx)(_text.default, _object_spread_props(_object_spread({
|
|
261
266
|
desktopSize: _text.textProps.text2.desktopSize,
|
|
262
267
|
desktopLineHeight: _text.textProps.text2.desktopLineHeight
|
|
263
|
-
},
|
|
268
|
+
}, t === s && r ? {
|
|
264
269
|
mobileSize: _text.textProps.text4.mobileSize,
|
|
265
270
|
mobileLineHeight: _text.textProps.text4.mobileLineHeight
|
|
266
271
|
} : {
|
|
@@ -270,88 +275,89 @@ const C = {
|
|
|
270
275
|
as: "div",
|
|
271
276
|
wordBreak: !1,
|
|
272
277
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
273
|
-
className: (0, _classnames.default)(_tablecssmistica.cellTextAlign[
|
|
274
|
-
[_tablecssmistica.collapsedRowTitle]:
|
|
278
|
+
className: (0, _classnames.default)(_tablecssmistica.cellTextAlign[x(t)], {
|
|
279
|
+
[_tablecssmistica.collapsedRowTitle]: t === s && r
|
|
275
280
|
}),
|
|
276
|
-
children:
|
|
281
|
+
children: p
|
|
277
282
|
})
|
|
278
283
|
}))
|
|
279
284
|
]
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
285
|
+
});
|
|
286
|
+
}),
|
|
287
|
+
i.length > 0 ? /* @__PURE__ */ (0, _jsxruntime.jsx)("td", {
|
|
288
|
+
className: (0, _classnames.default)(_tablecssmistica.verticalAlign[C], _tablecssmistica.actionsTableCell, _tablecssmistica.rowLastItem, {
|
|
289
|
+
[_tablecssmistica.rowFirstItem]: n.length === 0
|
|
284
290
|
}),
|
|
285
291
|
align: "right",
|
|
286
292
|
style: {
|
|
287
|
-
width: `calc(${
|
|
293
|
+
width: `calc(${I} + 12px)`
|
|
288
294
|
},
|
|
289
|
-
children:
|
|
290
|
-
}) :
|
|
295
|
+
children: D
|
|
296
|
+
}) : y && /* @__PURE__ */ (0, _jsxruntime.jsx)("td", {
|
|
291
297
|
className: _tablecssmistica.actionsTableCell
|
|
292
298
|
}),
|
|
293
|
-
|
|
299
|
+
r && i.length > 0 && /* @__PURE__ */ (0, _jsxruntime.jsx)("td", {
|
|
294
300
|
className: _tablecssmistica.topActions,
|
|
295
301
|
style: {
|
|
296
302
|
position: "absolute",
|
|
297
|
-
top: `calc(${
|
|
298
|
-
right:
|
|
299
|
-
width:
|
|
303
|
+
top: `calc(${h ? P.boxed : P.default} - ${G} + (${_iconbuttoncssmistica.iconContainerSize.small} - ${_iconbuttoncssmistica.iconSize.small}) / 2)`,
|
|
304
|
+
right: h ? `calc(${P.boxed} - ${G})` : 0,
|
|
305
|
+
width: I
|
|
300
306
|
},
|
|
301
|
-
children:
|
|
307
|
+
children: D
|
|
302
308
|
})
|
|
303
309
|
]
|
|
304
310
|
}, o);
|
|
305
311
|
}) : /* @__PURE__ */ (0, _jsxruntime.jsx)("tr", {
|
|
306
312
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)("td", {
|
|
307
|
-
colSpan:
|
|
313
|
+
colSpan: m.length,
|
|
308
314
|
className: (0, _classnames.default)({
|
|
309
|
-
[_tablecssmistica.rowLastCollapsedItem]:
|
|
315
|
+
[_tablecssmistica.rowLastCollapsedItem]: r
|
|
310
316
|
}),
|
|
311
|
-
children: typeof
|
|
317
|
+
children: typeof A == "string" ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
|
|
312
318
|
paddingY: 56,
|
|
313
319
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
|
|
314
320
|
regular: !0,
|
|
315
321
|
textAlign: "center",
|
|
316
322
|
as: "div",
|
|
317
|
-
children:
|
|
323
|
+
children: A
|
|
318
324
|
})
|
|
319
|
-
}) :
|
|
325
|
+
}) : A
|
|
320
326
|
})
|
|
321
327
|
})
|
|
322
328
|
})
|
|
323
329
|
]
|
|
324
|
-
}),
|
|
325
|
-
let
|
|
330
|
+
}), w = function() {
|
|
331
|
+
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
|
|
326
332
|
return {
|
|
327
333
|
className: (0, _classnames.default)(_tablecssmistica.scrollContainer, {
|
|
328
|
-
[_tablecssmistica.scrollOverResponsiveLayout]:
|
|
329
|
-
[_tablecssmistica.collapsedRowsInMobile]:
|
|
330
|
-
[_tablecssmistica.fullWidth]:
|
|
334
|
+
[_tablecssmistica.scrollOverResponsiveLayout]: l,
|
|
335
|
+
[_tablecssmistica.collapsedRowsInMobile]: r,
|
|
336
|
+
[_tablecssmistica.fullWidth]: u
|
|
331
337
|
}),
|
|
332
338
|
style: (0, _css.applyCssVars)({
|
|
333
|
-
[_tablecssmistica.vars.maxHeight]: typeof
|
|
339
|
+
[_tablecssmistica.vars.maxHeight]: typeof v == "number" ? `${v}px` : v !== null && v !== void 0 ? v : "auto"
|
|
334
340
|
})
|
|
335
341
|
};
|
|
336
342
|
};
|
|
337
|
-
return
|
|
338
|
-
desktopOnly:
|
|
343
|
+
return h ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_boxed.InternalBoxed, {
|
|
344
|
+
desktopOnly: r,
|
|
339
345
|
width: "fit-content",
|
|
340
346
|
maxWidth: "100%",
|
|
341
347
|
minWidth: {
|
|
342
|
-
desktop:
|
|
343
|
-
mobile:
|
|
348
|
+
desktop: u ? "100%" : "auto",
|
|
349
|
+
mobile: r || u ? "100%" : "auto"
|
|
344
350
|
},
|
|
345
|
-
ref:
|
|
351
|
+
ref: $,
|
|
346
352
|
dataAttributes: _object_spread({
|
|
347
353
|
"component-name": "Table"
|
|
348
354
|
}, a),
|
|
349
|
-
children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", _object_spread_props(_object_spread({},
|
|
350
|
-
children:
|
|
355
|
+
children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", _object_spread_props(_object_spread({}, w()), {
|
|
356
|
+
children: B
|
|
351
357
|
}))
|
|
352
358
|
}) : /* @__PURE__ */ (0, _jsxruntime.jsx)("div", _object_spread_props(_object_spread({
|
|
353
|
-
ref:
|
|
354
|
-
}, (0, _dom.getPrefixedDataAttributes)(a, "Table"),
|
|
355
|
-
children:
|
|
359
|
+
ref: $
|
|
360
|
+
}, (0, _dom.getPrefixedDataAttributes)(a, "Table"), w(J)), {
|
|
361
|
+
children: B
|
|
356
362
|
}));
|
|
357
363
|
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import "./sprinkles.css.ts.vanilla.css-mistica.js";
|
|
2
|
+
import "./icon-button.css.ts.vanilla.css-mistica.js";
|
|
2
3
|
import "./callout.css.ts.vanilla.css-mistica.js";
|
|
3
|
-
var
|
|
4
|
-
export {
|
|
4
|
+
var _ = "_14g0jmy5 _1y2v1nfhf _1y2v1nfll", t = "_14g0jmy6", f = "_14g0jmy1 _1y2v1nf7s _1y2v1nf91 _1y2v1nfaa _1y2v1nfbj _1y2v1nfhk _1y2v1nfkb _1y2v1nfkl", o = "_14g0jmy3 _1y2v1nfi6 _1y2v1nfhe";
|
|
5
|
+
export { _ as closeButtonContainer, t as closeButtonContainerSize, f as container, o as content };
|
package/dist-es/callout.js
CHANGED
|
@@ -51,98 +51,103 @@ function _object_spread_props(target, source) {
|
|
|
51
51
|
}
|
|
52
52
|
return target;
|
|
53
53
|
}
|
|
54
|
-
import { jsx as r, jsxs as
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import { useTheme as
|
|
59
|
-
import { useThemeVariant as
|
|
54
|
+
import { jsx as r, jsxs as e } from "react/jsx-runtime";
|
|
55
|
+
import m from "./stack.js";
|
|
56
|
+
import b from "./inline.js";
|
|
57
|
+
import v from "./box.js";
|
|
58
|
+
import { useTheme as x } from "./hooks.js";
|
|
59
|
+
import { useThemeVariant as C, ThemeVariant as B } from "./theme-variant-context.js";
|
|
60
60
|
import { Text3 as k, Text2 as I } from "./text.js";
|
|
61
|
-
import
|
|
62
|
-
import { IconButton as
|
|
63
|
-
import
|
|
64
|
-
import
|
|
65
|
-
import { container as
|
|
66
|
-
import { vars as
|
|
67
|
-
import { sprinkles as
|
|
68
|
-
import { vars as
|
|
69
|
-
import { getPrefixedDataAttributes as
|
|
70
|
-
import { applyCssVars as
|
|
71
|
-
const
|
|
72
|
-
let { title:
|
|
73
|
-
const
|
|
61
|
+
import R from "./generated/mistica-icons/icon-close-regular.js";
|
|
62
|
+
import { IconButton as T } from "./icon-button.js";
|
|
63
|
+
import N from "classnames";
|
|
64
|
+
import S from "./button-group.js";
|
|
65
|
+
import { container as y, content as V, closeButtonContainerSize as j, closeButtonContainer as A } from "./callout.css-mistica.js";
|
|
66
|
+
import { vars as P } from "./image.css-mistica.js";
|
|
67
|
+
import { sprinkles as $ } from "./sprinkles.css-mistica.js";
|
|
68
|
+
import { vars as o } from "./skins/skin-contract.css-mistica.js";
|
|
69
|
+
import { getPrefixedDataAttributes as w } from "./utils/dom.js";
|
|
70
|
+
import { applyCssVars as z } from "./utils/css.js";
|
|
71
|
+
const D = (param)=>{
|
|
72
|
+
let { title: a, titleAs: c = "h2", description: d, icon: i, onClose: t, button: l, secondaryButton: s, buttonLink: n, "aria-label": p, dataAttributes: u, role: f } = param;
|
|
73
|
+
const h = C(), { texts: g } = x();
|
|
74
74
|
return /* @__PURE__ */ r("section", _object_spread_props(_object_spread({
|
|
75
|
-
className:
|
|
75
|
+
className: N(y, $({
|
|
76
76
|
background: {
|
|
77
|
-
inverse:
|
|
78
|
-
alternative:
|
|
79
|
-
default:
|
|
80
|
-
}[
|
|
77
|
+
inverse: o.colors.backgroundContainer,
|
|
78
|
+
alternative: o.colors.backgroundContainer,
|
|
79
|
+
default: o.colors.backgroundContainerAlternative
|
|
80
|
+
}[h]
|
|
81
81
|
})),
|
|
82
|
-
style:
|
|
83
|
-
[
|
|
82
|
+
style: z({
|
|
83
|
+
[P.mediaBorderRadius]: o.borderRadii.mediaSmall
|
|
84
84
|
}),
|
|
85
|
-
"aria-label": p !== null && p !== void 0 ? p :
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
"aria-label": p !== null && p !== void 0 ? p : a,
|
|
86
|
+
role: f
|
|
87
|
+
}, w(u, "Callout")), {
|
|
88
|
+
children: /* @__PURE__ */ e(B, {
|
|
88
89
|
isInverse: !1,
|
|
89
90
|
children: [
|
|
90
|
-
|
|
91
|
+
i && /* @__PURE__ */ r(v, {
|
|
91
92
|
paddingRight: 16,
|
|
92
|
-
children:
|
|
93
|
+
children: i
|
|
93
94
|
}),
|
|
94
|
-
/* @__PURE__ */
|
|
95
|
+
/* @__PURE__ */ e("div", {
|
|
95
96
|
className: V,
|
|
96
|
-
children:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
children: /* @__PURE__ */ r(B, {
|
|
126
|
-
small: !0,
|
|
127
|
-
bleedY: !0,
|
|
128
|
-
bleedRight: !0,
|
|
129
|
-
Icon: T,
|
|
130
|
-
onPress: i,
|
|
131
|
-
"aria-label": h.closeButtonLabel
|
|
97
|
+
children: [
|
|
98
|
+
/* @__PURE__ */ e(m, {
|
|
99
|
+
space: 16,
|
|
100
|
+
children: [
|
|
101
|
+
/* @__PURE__ */ e(b, {
|
|
102
|
+
fullWidth: !0,
|
|
103
|
+
alignItems: "flex-start",
|
|
104
|
+
space: "between",
|
|
105
|
+
children: [
|
|
106
|
+
/* @__PURE__ */ e(m, {
|
|
107
|
+
space: 4,
|
|
108
|
+
children: [
|
|
109
|
+
/* @__PURE__ */ r(k, {
|
|
110
|
+
as: c,
|
|
111
|
+
regular: !0,
|
|
112
|
+
children: a
|
|
113
|
+
}),
|
|
114
|
+
/* @__PURE__ */ r(I, {
|
|
115
|
+
as: "p",
|
|
116
|
+
regular: !0,
|
|
117
|
+
color: o.colors.textSecondary,
|
|
118
|
+
children: d
|
|
119
|
+
})
|
|
120
|
+
]
|
|
121
|
+
}),
|
|
122
|
+
t && // Create empty div in order to fill space that iconButton occupies.
|
|
123
|
+
// Without this, the content's vertical alignment can be affected
|
|
124
|
+
/* @__PURE__ */ r("div", {
|
|
125
|
+
className: j
|
|
132
126
|
})
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
127
|
+
]
|
|
128
|
+
}),
|
|
129
|
+
(l || s || n) && /* @__PURE__ */ r(S, {
|
|
130
|
+
primaryButton: l,
|
|
131
|
+
secondaryButton: s,
|
|
132
|
+
link: n
|
|
133
|
+
})
|
|
134
|
+
]
|
|
135
|
+
}),
|
|
136
|
+
t && /* @__PURE__ */ r("div", {
|
|
137
|
+
className: A,
|
|
138
|
+
children: /* @__PURE__ */ r(T, {
|
|
139
|
+
small: !0,
|
|
140
|
+
bleedY: !0,
|
|
141
|
+
bleedRight: !0,
|
|
142
|
+
Icon: R,
|
|
143
|
+
onPress: t,
|
|
144
|
+
"aria-label": g.closeButtonLabel
|
|
140
145
|
})
|
|
141
|
-
|
|
142
|
-
|
|
146
|
+
})
|
|
147
|
+
]
|
|
143
148
|
})
|
|
144
149
|
]
|
|
145
150
|
})
|
|
146
151
|
}));
|
|
147
|
-
},
|
|
148
|
-
export {
|
|
152
|
+
}, rr = D;
|
|
153
|
+
export { rr as default };
|