@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/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 C = {
150
+ const P = {
151
151
  default: "8px",
152
152
  boxed: "16px"
153
- }, F = "1px", ge = (a)=>a.Icon ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconbutton.IconButton, _object_spread_props(_object_spread({}, a), {
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
- })), G = "left", we = /*#__PURE__*/ _react.forwardRef((_param, R)=>{
173
- var { dataAttributes: a, heading: i = [], content: f = [], boxed: p, responsive: Z, fullWidth: b = !0, maxHeight: k, emptyCase: I, columnTextAlign: x = G, rowVerticalAlign: A = "middle", columnWidth: c, hideHeaders: h, scrollOverResponsiveLayout: q } = _param, T = _object_without_properties(_param, [
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 w = (t)=>{
189
- var _x_t;
190
- return Array.isArray(x) ? (_x_t = x[t]) !== null && _x_t !== void 0 ? _x_t : G : x;
191
- }, l = Z === "collapse-rows", P = h === !0 || h === "mobile", J = h === !0 || h === "desktop", u = f.some((t)=>!Array.isArray(t) && t.actions.length > 0), $ = /* @__PURE__ */ (0, _jsxruntime.jsxs)("table", {
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]: p,
194
- [_tablecssmistica.collapsedRowsInMobile]: l,
195
- [_tablecssmistica.fullWidth]: b,
196
- [_tablecssmistica.hiddenHeadersInDesktop]: J,
197
- [_tablecssmistica.hiddenHeadersInMobile]: P || l
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": T["aria-label"],
200
- "aria-labelledby": T["aria-labelledby"],
201
- "aria-describedby": T["aria-describedby"],
200
+ "aria-label": S["aria-label"],
201
+ "aria-labelledby": S["aria-labelledby"],
202
+ "aria-describedby": S["aria-describedby"],
202
203
  children: [
203
- i.length > 0 && /* @__PURE__ */ (0, _jsxruntime.jsx)("thead", {
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
- i.map((t, o)=>/* @__PURE__ */ (0, _jsxruntime.jsx)("th", {
212
+ m.map((l, o)=>/* @__PURE__ */ (0, _jsxruntime.jsx)("th", {
212
213
  scope: "col",
213
- className: (0, _classnames.default)(_tablecssmistica.cellTextAlign[w(o)], _tablecssmistica.verticalAlign[A], {
214
+ className: (0, _classnames.default)(_tablecssmistica.cellTextAlign[x(o)], _tablecssmistica.verticalAlign[C], {
214
215
  [_tablecssmistica.rowFirstItem]: o === 0,
215
- [_tablecssmistica.rowLastItem]: o === i.length - 1 && !u
216
+ [_tablecssmistica.rowLastItem]: o === m.length - 1 && !y
216
217
  }),
217
218
  style: {
218
- minWidth: c == null ? void 0 : c[o],
219
- width: c == null ? void 0 : c[o]
219
+ minWidth: d == null ? void 0 : d[o],
220
+ width: d == null ? void 0 : d[o]
220
221
  },
221
- children: t
222
+ children: l
222
223
  }, o)),
223
- u && /* @__PURE__ */ (0, _jsxruntime.jsx)(_tableactionsheader.TableActionsHeader, {})
224
+ y && /* @__PURE__ */ (0, _jsxruntime.jsx)(_tableactionsheader.TableActionsHeader, {})
224
225
  ]
225
226
  })
226
227
  }),
227
228
  /* @__PURE__ */ (0, _jsxruntime.jsx)("tbody", {
228
- children: f.length > 0 ? f.map((t, o)=>{
229
- var _t_actions;
230
- const g = Array.isArray(t) ? t : t.cells, s = Array.isArray(t) ? [] : (_t_actions = t.actions) !== null && _t_actions !== void 0 ? _t_actions : [], B = /* @__PURE__ */ (0, _jsxruntime.jsx)(_inline.default, {
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: s.map((d, r)=>"Icon" in d || "checkedProps" in d ? /* @__PURE__ */ (0, _jsxruntime.jsx)(ge, _object_spread({}, d), r) : d)
233
- }), v = s.length ? `calc(${_iconbuttoncssmistica.iconContainerSize.small} * ${s.length} + 16px * ${s.length - 1})` : "0px";
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
- g.map((d, r)=>/* @__PURE__ */ (0, _jsxruntime.jsxs)("td", {
240
- className: (0, _classnames.default)(_tablecssmistica.verticalAlign[A], {
241
- [_tablecssmistica.rowFirstItem]: r === 0,
242
- [_tablecssmistica.rowLastItem]: r === g.length - 1 && !u,
243
- [_tablecssmistica.rowLastCollapsedItem]: r === g.length - 1 && l
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: l && s.length ? `calc(${v} + 8px)` : void 0
251
+ marginRight: r && i.length ? `calc(${I} + 8px)` : void 0
248
252
  },
253
+ scope: t === s ? "row" : void 0,
249
254
  children: [
250
- r !== 0 && l && i[r] && !P && // this is aria-hidden because screen readers already read the column heading from the th
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: i[r]
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
- }, r === 0 && l ? {
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[w(r)], {
274
- [_tablecssmistica.collapsedRowTitle]: r === 0 && l
278
+ className: (0, _classnames.default)(_tablecssmistica.cellTextAlign[x(t)], {
279
+ [_tablecssmistica.collapsedRowTitle]: t === s && r
275
280
  }),
276
- children: d
281
+ children: p
277
282
  })
278
283
  }))
279
284
  ]
280
- }, r)),
281
- s.length > 0 ? /* @__PURE__ */ (0, _jsxruntime.jsx)("td", {
282
- className: (0, _classnames.default)(_tablecssmistica.verticalAlign[A], _tablecssmistica.actionsTableCell, _tablecssmistica.rowLastItem, {
283
- [_tablecssmistica.rowFirstItem]: g.length === 0
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(${v} + 12px)`
293
+ width: `calc(${I} + 12px)`
288
294
  },
289
- children: B
290
- }) : u && /* @__PURE__ */ (0, _jsxruntime.jsx)("td", {
295
+ children: D
296
+ }) : y && /* @__PURE__ */ (0, _jsxruntime.jsx)("td", {
291
297
  className: _tablecssmistica.actionsTableCell
292
298
  }),
293
- l && s.length > 0 && /* @__PURE__ */ (0, _jsxruntime.jsx)("td", {
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(${p ? C.boxed : C.default} - ${F} + (${_iconbuttoncssmistica.iconContainerSize.small} - ${_iconbuttoncssmistica.iconSize.small}) / 2)`,
298
- right: p ? `calc(${C.boxed} - ${F})` : 0,
299
- width: v
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: B
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: i.length,
313
+ colSpan: m.length,
308
314
  className: (0, _classnames.default)({
309
- [_tablecssmistica.rowLastCollapsedItem]: l
315
+ [_tablecssmistica.rowLastCollapsedItem]: r
310
316
  }),
311
- children: typeof I == "string" ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
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: I
323
+ children: A
318
324
  })
319
- }) : I
325
+ }) : A
320
326
  })
321
327
  })
322
328
  })
323
329
  ]
324
- }), z = function() {
325
- let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
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]: t,
329
- [_tablecssmistica.collapsedRowsInMobile]: l,
330
- [_tablecssmistica.fullWidth]: b
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 k == "number" ? `${k}px` : k !== null && k !== void 0 ? k : "auto"
339
+ [_tablecssmistica.vars.maxHeight]: typeof v == "number" ? `${v}px` : v !== null && v !== void 0 ? v : "auto"
334
340
  })
335
341
  };
336
342
  };
337
- return p ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_boxed.InternalBoxed, {
338
- desktopOnly: l,
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: b ? "100%" : "auto",
343
- mobile: l || b ? "100%" : "auto"
348
+ desktop: u ? "100%" : "auto",
349
+ mobile: r || u ? "100%" : "auto"
344
350
  },
345
- ref: R,
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({}, z()), {
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: R
354
- }, (0, _dom.getPrefixedDataAttributes)(a, "Table"), z(q)), {
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 y = "_14g0jmy1 _1y2v1nf7s _1y2v1nf91 _1y2v1nfaa _1y2v1nfbj _1y2v1nfhk _1y2v1nfkb _1y2v1nfkl", _ = "_14g0jmy3 _1y2v1nfi6";
4
- export { y as container, _ as content };
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 };
@@ -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 o } from "react/jsx-runtime";
55
- import n from "./stack.js";
56
- import g from "./inline.js";
57
- import b from "./box.js";
58
- import { useTheme as v } from "./hooks.js";
59
- import { useThemeVariant as x, ThemeVariant as C } from "./theme-variant-context.js";
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 T from "./generated/mistica-icons/icon-close-regular.js";
62
- import { IconButton as B } from "./icon-button.js";
63
- import R from "classnames";
64
- import y from "./button-group.js";
65
- import { container as S, content as V } from "./callout.css-mistica.js";
66
- import { vars as j } from "./image.css-mistica.js";
67
- import { sprinkles as A } from "./sprinkles.css-mistica.js";
68
- import { vars as e } from "./skins/skin-contract.css-mistica.js";
69
- import { getPrefixedDataAttributes as N } from "./utils/dom.js";
70
- import { applyCssVars as P } from "./utils/css.js";
71
- const $ = (param)=>{
72
- let { title: t, titleAs: c = "h2", description: d, icon: a, onClose: i, button: l, secondaryButton: s, buttonLink: m, "aria-label": p, dataAttributes: u } = param;
73
- const f = x(), { texts: h } = v();
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: R(S, A({
75
+ className: N(y, $({
76
76
  background: {
77
- inverse: e.colors.backgroundContainer,
78
- alternative: e.colors.backgroundContainer,
79
- default: e.colors.backgroundContainerAlternative
80
- }[f]
77
+ inverse: o.colors.backgroundContainer,
78
+ alternative: o.colors.backgroundContainer,
79
+ default: o.colors.backgroundContainerAlternative
80
+ }[h]
81
81
  })),
82
- style: P({
83
- [j.mediaBorderRadius]: e.borderRadii.mediaSmall
82
+ style: z({
83
+ [P.mediaBorderRadius]: o.borderRadii.mediaSmall
84
84
  }),
85
- "aria-label": p !== null && p !== void 0 ? p : t
86
- }, N(u, "Callout")), {
87
- children: /* @__PURE__ */ o(C, {
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
- a && /* @__PURE__ */ r(b, {
91
+ i && /* @__PURE__ */ r(v, {
91
92
  paddingRight: 16,
92
- children: a
93
+ children: i
93
94
  }),
94
- /* @__PURE__ */ r("div", {
95
+ /* @__PURE__ */ e("div", {
95
96
  className: V,
96
- children: /* @__PURE__ */ o(n, {
97
- space: 16,
98
- children: [
99
- /* @__PURE__ */ o(g, {
100
- fullWidth: !0,
101
- alignItems: "flex-start",
102
- space: "between",
103
- children: [
104
- /* @__PURE__ */ o(n, {
105
- space: 4,
106
- children: [
107
- /* @__PURE__ */ r(k, {
108
- as: c,
109
- regular: !0,
110
- children: t
111
- }),
112
- /* @__PURE__ */ r(I, {
113
- as: "p",
114
- regular: !0,
115
- color: e.colors.textSecondary,
116
- children: d
117
- })
118
- ]
119
- }),
120
- i && /* @__PURE__ */ r("div", {
121
- style: {
122
- // Align the X with the text content
123
- marginTop: "0.125rem"
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
- (l || s || m) && /* @__PURE__ */ r(y, {
137
- primaryButton: l,
138
- secondaryButton: s,
139
- link: m
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
- }, X = $;
148
- export { X as default };
152
+ }, rr = D;
153
+ export { rr as default };