@telefonica/mistica 14.19.0 → 14.20.1

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.
Files changed (70) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/button.js +17 -17
  3. package/dist/card.css-mistica.js +6 -6
  4. package/dist/card.css.d.ts +0 -1
  5. package/dist/card.d.ts +15 -4
  6. package/dist/card.js +298 -264
  7. package/dist/community/advanced-data-card.css-mistica.js +18 -21
  8. package/dist/community/advanced-data-card.css.d.ts +2 -3
  9. package/dist/community/advanced-data-card.js +171 -158
  10. package/dist/generated/mistica-icons/icon-subtract-circle-filled.d.ts +4 -0
  11. package/dist/generated/mistica-icons/icon-subtract-circle-filled.js +110 -0
  12. package/dist/generated/mistica-icons/icon-subtract-circle-light.d.ts +4 -0
  13. package/dist/generated/mistica-icons/icon-subtract-circle-light.js +116 -0
  14. package/dist/generated/mistica-icons/icon-subtract-circle-regular.d.ts +4 -0
  15. package/dist/generated/mistica-icons/icon-subtract-circle-regular.js +116 -0
  16. package/dist/generated/mistica-icons/icon-subtract-light.d.ts +4 -0
  17. package/dist/generated/mistica-icons/icon-subtract-light.js +110 -0
  18. package/dist/generated/mistica-icons/icon-subtract-regular.d.ts +4 -0
  19. package/dist/generated/mistica-icons/icon-subtract-regular.js +110 -0
  20. package/dist/header.js +27 -29
  21. package/dist/index.d.ts +9 -1
  22. package/dist/index.js +50 -0
  23. package/dist/list.css-mistica.js +17 -14
  24. package/dist/list.css.d.ts +2 -1
  25. package/dist/list.js +170 -163
  26. package/dist/package-version.js +1 -1
  27. package/dist/skins/blau.js +14 -0
  28. package/dist/skins/defaults.js +14 -0
  29. package/dist/skins/movistar-legacy.js +14 -0
  30. package/dist/skins/movistar.js +14 -0
  31. package/dist/skins/o2.js +14 -0
  32. package/dist/skins/telefonica.js +16 -2
  33. package/dist/skins/types/index.d.ts +12 -0
  34. package/dist/skins/vivo-new.js +15 -1
  35. package/dist/skins/vivo.js +14 -0
  36. package/dist/tabs.css-mistica.js +10 -14
  37. package/dist/tabs.css.d.ts +1 -2
  38. package/dist/tabs.js +39 -33
  39. package/dist/theme-context-provider.js +29 -27
  40. package/dist/title.d.ts +1 -0
  41. package/dist/title.js +91 -29
  42. package/dist-es/button.js +17 -17
  43. package/dist-es/card.css-mistica.js +3 -3
  44. package/dist-es/card.js +409 -378
  45. package/dist-es/community/advanced-data-card.css-mistica.js +3 -3
  46. package/dist-es/community/advanced-data-card.js +195 -182
  47. package/dist-es/generated/mistica-icons/icon-subtract-circle-filled.js +101 -0
  48. package/dist-es/generated/mistica-icons/icon-subtract-circle-light.js +107 -0
  49. package/dist-es/generated/mistica-icons/icon-subtract-circle-regular.js +107 -0
  50. package/dist-es/generated/mistica-icons/icon-subtract-light.js +101 -0
  51. package/dist-es/generated/mistica-icons/icon-subtract-regular.js +101 -0
  52. package/dist-es/header.js +46 -48
  53. package/dist-es/index.js +1755 -1747
  54. package/dist-es/list.css-mistica.js +2 -2
  55. package/dist-es/list.js +242 -235
  56. package/dist-es/package-version.js +1 -1
  57. package/dist-es/skins/blau.js +14 -0
  58. package/dist-es/skins/defaults.js +14 -0
  59. package/dist-es/skins/movistar-legacy.js +14 -0
  60. package/dist-es/skins/movistar.js +14 -0
  61. package/dist-es/skins/o2.js +14 -0
  62. package/dist-es/skins/telefonica.js +16 -2
  63. package/dist-es/skins/vivo-new.js +15 -1
  64. package/dist-es/skins/vivo.js +14 -0
  65. package/dist-es/style.css +1 -1
  66. package/dist-es/tabs.css-mistica.js +8 -9
  67. package/dist-es/tabs.js +49 -43
  68. package/dist-es/theme-context-provider.js +63 -61
  69. package/dist-es/title.js +58 -38
  70. package/package.json +5 -2
package/dist-es/list.js CHANGED
@@ -77,153 +77,153 @@ function _object_without_properties_loose(source, excluded) {
77
77
  }
78
78
  return target;
79
79
  }
80
- import { jsx as t, jsxs as R } from "react/jsx-runtime";
81
- import * as C from "react";
82
- import o from "classnames";
83
- import { BaseTouchable as L } from "./touchable.js";
84
- import { Text1 as p, Text3 as ee, Text2 as j } from "./text.js";
85
- import u from "./box.js";
86
- import P from "./stack.js";
87
- import z from "./badge.js";
88
- import { useAriaId as te } from "./hooks.js";
89
- import { useIsInverseVariant as Z } from "./theme-variant-context.js";
90
- import ne from "./icons/icon-chevron.js";
91
- import re from "./switch-component.js";
92
- import G, { useRadioContext as ie } from "./radio-button.js";
93
- import ae from "./checkbox.js";
94
- import { Boxed as oe } from "./boxed.js";
95
- import ce from "./divider.js";
96
- import { getPrefixedDataAttributes as de } from "./utils/dom.js";
97
- import { rowContent as N, hoverBackground as w, pointer as A, dualActionContainer as H, dualActionLeft as J, dualActionDivider as K, dualActionRight as se, content as le, center as D, disabled as k, asset as he, rowBody as me, right as ue, rightRestrictedWidth as fe, detail as ge, detailRight as Q, badge as ve } from "./list.css-mistica.js";
98
- import { vars as y } from "./skins/skin-contract.css-mistica.js";
99
- const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
100
- centerY: r
101
- }) : r ? /* @__PURE__ */ t("div", {
80
+ import { jsx as t, jsxs as k } from "react/jsx-runtime";
81
+ import * as P from "react";
82
+ import a from "classnames";
83
+ import { BaseTouchable as S } from "./touchable.js";
84
+ import { Text1 as ne, Text3 as re, Text2 as O } from "./text.js";
85
+ import m from "./box.js";
86
+ import L from "./stack.js";
87
+ import J from "./badge.js";
88
+ import { useAriaId as ie } from "./hooks.js";
89
+ import { useIsInverseVariant as p } from "./theme-variant-context.js";
90
+ import ae from "./icons/icon-chevron.js";
91
+ import oe from "./switch-component.js";
92
+ import K, { useRadioContext as ce } from "./radio-button.js";
93
+ import se from "./checkbox.js";
94
+ import { Boxed as de } from "./boxed.js";
95
+ import le from "./divider.js";
96
+ import { getPrefixedDataAttributes as he } from "./utils/dom.js";
97
+ import { rowContent as B, touchableBackground as R, touchableBackgroundInverse as C, pointer as V, dualActionContainer as Q, dualActionLeft as U, dualActionDivider as Z, dualActionRight as ue, content as me, center as W, disabled as I, asset as fe, rowBody as ge, right as ve, rightRestrictedWidth as be, detail as xe, detailRight as _, badge as we } from "./list.css-mistica.js";
98
+ import { vars as N } from "./skins/skin-contract.css-mistica.js";
99
+ const $ = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
100
+ centerY: n
101
+ }) : n ? /* @__PURE__ */ t("div", {
102
102
  style: {
103
103
  display: "flex",
104
104
  alignItems: "center",
105
105
  height: "100%"
106
106
  },
107
107
  children: e
108
- }) : e, be = (param)=>{
109
- let { withChevron: e , headline: r , title: i , titleLinesMax: a , subtitle: s , subtitleLinesMax: b , description: l , descriptionLinesMax: B , detail: c , asset: T , type: f = "basic" , badge: I , right: S , extra: V , labelId: h , disabled: g } = param;
110
- const m = Z(), n = [
108
+ }) : e, ye = (param)=>{
109
+ let { withChevron: e , headline: n , title: r , titleLinesMax: o , subtitle: d , subtitleLinesMax: x , description: l , descriptionLinesMax: A , detail: c , asset: E , type: g = "basic" , badge: T , right: X , extra: D , labelId: h , disabled: v } = param;
110
+ const u = p(), i = [
111
+ n,
111
112
  r,
112
- i,
113
- s,
113
+ d,
114
114
  l,
115
- V
116
- ].filter(Boolean).length === 1, E = ()=>I ? /* @__PURE__ */ t(u, {
115
+ D
116
+ ].filter(Boolean).length === 1, f = ()=>T ? /* @__PURE__ */ t(m, {
117
117
  paddingLeft: 16,
118
118
  children: /* @__PURE__ */ t("div", {
119
- className: o(D, ve, {
120
- [k]: g
119
+ className: a(W, we, {
120
+ [I]: v
121
121
  }),
122
- children: I === !0 ? /* @__PURE__ */ t(z, {}) : /* @__PURE__ */ t(z, {
123
- value: I
122
+ children: T === !0 ? /* @__PURE__ */ t(J, {}) : /* @__PURE__ */ t(J, {
123
+ value: T
124
124
  })
125
125
  })
126
126
  }) : null;
127
- return /* @__PURE__ */ R(u, {
127
+ return /* @__PURE__ */ k(m, {
128
128
  paddingY: 16,
129
- className: le,
129
+ className: me,
130
130
  children: [
131
- T && /* @__PURE__ */ t(u, {
131
+ E && /* @__PURE__ */ t(m, {
132
132
  paddingRight: 16,
133
- className: o({
134
- [D]: n,
135
- [k]: g
133
+ className: a({
134
+ [W]: i,
135
+ [I]: v
136
136
  }),
137
137
  children: /* @__PURE__ */ t("div", {
138
- className: he,
139
- children: T
138
+ className: fe,
139
+ children: E
140
140
  })
141
141
  }),
142
142
  /* @__PURE__ */ t("div", {
143
- className: o(me, {
144
- [k]: g
143
+ className: a(ge, {
144
+ [I]: v
145
145
  }),
146
146
  style: {
147
- justifyContent: n ? "center" : "flex-start"
147
+ justifyContent: i ? "center" : "flex-start"
148
148
  },
149
- children: /* @__PURE__ */ R(P, {
149
+ children: /* @__PURE__ */ k(L, {
150
150
  space: 4,
151
151
  children: [
152
- r && /* @__PURE__ */ t(p, {
152
+ n && /* @__PURE__ */ t(ne, {
153
153
  regular: !0,
154
- color: y.colors.textPrimary,
154
+ color: N.colors.textPrimary,
155
155
  hyphens: "auto",
156
- children: r
156
+ children: n
157
157
  }),
158
- /* @__PURE__ */ R(P, {
158
+ /* @__PURE__ */ k(L, {
159
159
  space: 2,
160
160
  children: [
161
- /* @__PURE__ */ t(ee, {
161
+ /* @__PURE__ */ t(re, {
162
162
  regular: !0,
163
- color: y.colors.textPrimary,
164
- truncate: a,
163
+ color: N.colors.textPrimary,
164
+ truncate: o,
165
165
  id: h,
166
166
  hyphens: "auto",
167
- children: i
167
+ children: r
168
168
  }),
169
- s && /* @__PURE__ */ t(j, {
169
+ d && /* @__PURE__ */ t(O, {
170
170
  regular: !0,
171
- color: y.colors.textSecondary,
172
- truncate: b,
171
+ color: N.colors.textSecondary,
172
+ truncate: x,
173
173
  hyphens: "auto",
174
- children: s
174
+ children: d
175
175
  }),
176
- l && /* @__PURE__ */ t(j, {
176
+ l && /* @__PURE__ */ t(O, {
177
177
  regular: !0,
178
- color: y.colors.textSecondary,
179
- truncate: B,
178
+ color: N.colors.textSecondary,
179
+ truncate: A,
180
180
  hyphens: "auto",
181
181
  children: l
182
182
  }),
183
- V
183
+ D
184
184
  ]
185
185
  })
186
186
  ]
187
187
  })
188
188
  }),
189
- E(),
190
- /* @__PURE__ */ R("div", {
191
- className: o({
192
- [ue]: !!c || f !== "basic",
193
- [fe]: !!c
189
+ f(),
190
+ /* @__PURE__ */ k("div", {
191
+ className: a({
192
+ [ve]: !!c || g !== "basic",
193
+ [be]: !!c
194
194
  }),
195
195
  children: [
196
196
  c && /* @__PURE__ */ t("div", {
197
- className: o(D, ge, {
198
- [k]: g
197
+ className: a(W, xe, {
198
+ [I]: v
199
199
  }),
200
- children: /* @__PURE__ */ t(j, {
200
+ children: /* @__PURE__ */ t(O, {
201
201
  regular: !0,
202
- color: y.colors.textSecondary,
202
+ color: N.colors.textSecondary,
203
203
  hyphens: "auto",
204
204
  children: c
205
205
  })
206
206
  }),
207
- f === "control" && /* @__PURE__ */ t("div", {
208
- className: o({
209
- [Q]: !!c
207
+ g === "control" && /* @__PURE__ */ t("div", {
208
+ className: a({
209
+ [_]: !!c
210
210
  }),
211
- children: U(S, n)
211
+ children: $(X, i)
212
212
  }),
213
- f === "custom" && /* @__PURE__ */ t("div", {
214
- className: o({
215
- [Q]: !!c,
216
- [k]: g
213
+ g === "custom" && /* @__PURE__ */ t("div", {
214
+ className: a({
215
+ [_]: !!c,
216
+ [I]: v
217
217
  }),
218
- children: U(S, n)
218
+ children: $(X, i)
219
219
  }),
220
- (f === "chevron" || f === "custom" && e) && /* @__PURE__ */ t(u, {
221
- paddingLeft: c || f === "custom" ? 4 : 0,
222
- className: o(D, {
223
- [k]: g
220
+ (g === "chevron" || g === "custom" && e) && /* @__PURE__ */ t(m, {
221
+ paddingLeft: c || g === "custom" ? 4 : 0,
222
+ className: a(W, {
223
+ [I]: v
224
224
  }),
225
- children: /* @__PURE__ */ t(ne, {
226
- color: m ? y.colors.inverse : y.colors.neutralMedium,
225
+ children: /* @__PURE__ */ t(ae, {
226
+ color: u ? N.colors.inverse : N.colors.neutralMedium,
227
227
  direction: "right"
228
228
  })
229
229
  })
@@ -231,149 +231,154 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
231
231
  })
232
232
  ]
233
233
  });
234
- }, xe = (param)=>{
235
- let { value: e , defaultValue: r , onChange: i } = param;
236
- const a = e !== void 0, [s, b] = C.useState(!!r), l = ()=>{
237
- a || b(!s), i && i(a ? !e : !s);
234
+ }, Re = (param)=>{
235
+ let { value: e , defaultValue: n , onChange: r } = param;
236
+ const o = e !== void 0, [d, x] = P.useState(!!n), l = ()=>{
237
+ o || x(!d), r && r(o ? !e : !d);
238
238
  };
239
- return a ? [
239
+ return o ? [
240
240
  !!e,
241
241
  l
242
242
  ] : [
243
- s,
243
+ d,
244
244
  l
245
245
  ];
246
- }, we = (e)=>e.switch !== void 0, ye = (e)=>e.checkbox !== void 0, Re = (e)=>e.radioValue !== void 0, _ = /*#__PURE__*/ C.forwardRef((e, r)=>{
247
- const i = te(), a = Z(), { asset: s , headline: b , title: l , titleLinesMax: B , subtitle: c , subtitleLinesMax: T , description: f , descriptionLinesMax: I , detail: S , badge: V , role: h , extra: g , dataAttributes: m } = e, O = ie(), n = e.disabled || e.radioValue !== void 0 && O.disabled, [E, F] = xe(e.switch || e.checkbox || {}), x = (param)=>/* @__PURE__ */ {
248
- let { type: d , right: v , labelId: X } = param;
249
- return t(be, {
250
- asset: s,
251
- headline: b,
246
+ }, Ce = (e)=>e.switch !== void 0, Ne = (e)=>e.checkbox !== void 0, ke = (e)=>e.radioValue !== void 0, ee = /*#__PURE__*/ P.forwardRef((e, n)=>{
247
+ const r = ie(), o = p(), { asset: d , headline: x , title: l , titleLinesMax: A , subtitle: c , subtitleLinesMax: E , description: g , descriptionLinesMax: T , detail: X , badge: D , role: h , extra: v , dataAttributes: u } = e, F = ce(), i = e.disabled || e.radioValue !== void 0 && F.disabled, f = !i && !o, w = !i && o, [Y, q] = Re(e.switch || e.checkbox || {}), y = (param)=>/* @__PURE__ */ {
248
+ let { type: s , right: b , labelId: M } = param;
249
+ return t(ye, {
250
+ asset: d,
251
+ headline: x,
252
252
  title: l,
253
253
  subtitle: c,
254
- description: f,
255
- badge: V,
256
- titleLinesMax: B,
257
- subtitleLinesMax: T,
258
- descriptionLinesMax: I,
259
- detail: S,
260
- type: d,
261
- right: v,
262
- extra: g,
263
- labelId: X,
264
- disabled: n,
254
+ description: g,
255
+ badge: D,
256
+ titleLinesMax: A,
257
+ subtitleLinesMax: E,
258
+ descriptionLinesMax: T,
259
+ detail: X,
260
+ type: s,
261
+ right: b,
262
+ extra: v,
263
+ labelId: M,
264
+ disabled: i,
265
265
  withChevron: !!e.onPress || !!e.href || !!e.to
266
266
  });
267
- }, M = (d)=>{
268
- let v = "chevron";
269
- return d.right === null && (v = "basic"), d.right && (v = "custom"), /* @__PURE__ */ t(u, {
267
+ }, j = (s)=>{
268
+ let b = "chevron";
269
+ return s.right === null && (b = "basic"), s.right && (b = "custom"), /* @__PURE__ */ t(m, {
270
270
  paddingX: 16,
271
- ref: r,
272
- children: x({
273
- type: v,
274
- right: d.right
271
+ ref: n,
272
+ children: y({
273
+ type: b,
274
+ right: s.right
275
275
  })
276
276
  });
277
277
  };
278
- if (e.onPress && !we(e) && !ye(e) && !Re(e)) return /* @__PURE__ */ t(L, {
279
- ref: r,
280
- className: o(N, {
281
- [w]: !(n || a),
282
- [A]: !n
278
+ if (e.onPress && !Ce(e) && !Ne(e) && !ke(e)) return /* @__PURE__ */ t(S, {
279
+ ref: n,
280
+ className: a(B, {
281
+ [R]: f,
282
+ [C]: w,
283
+ [V]: !i
283
284
  }),
284
285
  trackingEvent: e.trackingEvent,
285
286
  onPress: e.onPress,
286
287
  role: h,
287
- dataAttributes: m,
288
- disabled: n,
289
- children: M(e)
288
+ dataAttributes: u,
289
+ disabled: i,
290
+ children: j(e)
290
291
  });
291
- if (e.to) return /* @__PURE__ */ t(L, {
292
- className: o(N, {
293
- [w]: !(n || a),
294
- [A]: !n
292
+ if (e.to) return /* @__PURE__ */ t(S, {
293
+ className: a(B, {
294
+ [R]: f,
295
+ [C]: w,
296
+ [V]: !i
295
297
  }),
296
298
  trackingEvent: e.trackingEvent,
297
299
  to: e.to,
298
300
  fullPageOnWebView: e.fullPageOnWebView,
299
301
  role: h,
300
- dataAttributes: m,
301
- disabled: n,
302
- children: M(e)
302
+ dataAttributes: u,
303
+ disabled: i,
304
+ children: j(e)
303
305
  });
304
- if (e.href) return /* @__PURE__ */ t(L, {
305
- className: o(N, {
306
- [w]: !(n || a),
307
- [A]: !n
306
+ if (e.href) return /* @__PURE__ */ t(S, {
307
+ className: a(B, {
308
+ [R]: f,
309
+ [C]: w,
310
+ [V]: !i
308
311
  }),
309
312
  trackingEvent: e.trackingEvent,
310
313
  href: e.href,
311
314
  newTab: e.newTab,
312
315
  role: h,
313
- dataAttributes: m,
314
- disabled: n,
315
- children: M(e)
316
+ dataAttributes: u,
317
+ disabled: i,
318
+ children: j(e)
316
319
  });
317
- const Y = (d)=>{
318
- var X, q;
320
+ const z = (s)=>{
321
+ var M, G;
319
322
  var _ref, _ref1;
320
- const v = (_ref1 = (_ref = (X = e.switch) == null ? void 0 : X.name) !== null && _ref !== void 0 ? _ref : (q = e.checkbox) == null ? void 0 : q.name) !== null && _ref1 !== void 0 ? _ref1 : i;
321
- return e.onPress ? /* @__PURE__ */ R("div", {
322
- className: H,
323
+ const b = (_ref1 = (_ref = (M = e.switch) == null ? void 0 : M.name) !== null && _ref !== void 0 ? _ref : (G = e.checkbox) == null ? void 0 : G.name) !== null && _ref1 !== void 0 ? _ref1 : r;
324
+ return e.onPress ? /* @__PURE__ */ k("div", {
325
+ className: Q,
323
326
  children: [
324
- /* @__PURE__ */ t(L, {
325
- dataAttributes: m,
326
- disabled: n,
327
+ /* @__PURE__ */ t(S, {
328
+ dataAttributes: u,
329
+ disabled: i,
327
330
  onPress: e.onPress,
328
331
  role: h,
329
- className: o(J, {
330
- [w]: !(n || a)
332
+ className: a(U, {
333
+ [R]: f,
334
+ [C]: w
331
335
  }),
332
- children: x({
336
+ children: y({
333
337
  type: "basic",
334
- labelId: i
338
+ labelId: r
335
339
  })
336
340
  }),
337
341
  /* @__PURE__ */ t("div", {
338
- className: K
342
+ className: Z
339
343
  }),
340
- /* @__PURE__ */ t(d, {
341
- disabled: n,
342
- name: v,
343
- checked: E,
344
- "aria-labelledby": i,
345
- onChange: F,
344
+ /* @__PURE__ */ t(s, {
345
+ disabled: i,
346
+ name: b,
347
+ checked: Y,
348
+ "aria-labelledby": r,
349
+ onChange: q,
346
350
  render: (param)=>/* @__PURE__ */ {
347
- let { controlElement: W } = param;
351
+ let { controlElement: H } = param;
348
352
  return t("div", {
349
- className: se,
350
- children: W
353
+ className: ue,
354
+ children: H
351
355
  });
352
356
  }
353
357
  })
354
358
  ]
355
359
  }) : /* @__PURE__ */ t("div", {
356
- className: o(N, {
357
- [w]: !(n || a),
358
- [A]: !n
360
+ className: a(B, {
361
+ [R]: f,
362
+ [C]: w,
363
+ [V]: !i
359
364
  }),
360
- children: /* @__PURE__ */ t(d, {
361
- disabled: n,
362
- dataAttributes: m,
363
- name: v,
364
- checked: E,
365
- onChange: F,
365
+ children: /* @__PURE__ */ t(s, {
366
+ disabled: i,
367
+ dataAttributes: u,
368
+ name: b,
369
+ checked: Y,
370
+ onChange: q,
366
371
  render: (param)=>/* @__PURE__ */ {
367
- let { controlElement: W , labelId: $ } = param;
368
- return t(u, {
372
+ let { controlElement: H , labelId: te } = param;
373
+ return t(m, {
369
374
  paddingX: 16,
370
375
  role: h,
371
- children: x({
372
- labelId: $,
376
+ children: y({
377
+ labelId: te,
373
378
  type: "control",
374
- right: ()=>/* @__PURE__ */ t(P, {
379
+ right: ()=>/* @__PURE__ */ t(L, {
375
380
  space: "around",
376
- children: W
381
+ children: H
377
382
  })
378
383
  })
379
384
  });
@@ -381,127 +386,129 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
381
386
  })
382
387
  });
383
388
  };
384
- return e.switch ? Y(re) : e.checkbox ? Y(ae) : e.radioValue ? e.onPress ? /* @__PURE__ */ R("div", {
385
- className: H,
389
+ return e.switch ? z(oe) : e.checkbox ? z(se) : e.radioValue ? e.onPress ? /* @__PURE__ */ k("div", {
390
+ className: Q,
386
391
  children: [
387
- /* @__PURE__ */ t(L, {
388
- disabled: n,
392
+ /* @__PURE__ */ t(S, {
393
+ disabled: i,
389
394
  onPress: e.onPress,
390
395
  role: h,
391
- className: o(J, {
392
- [w]: !(n || a)
396
+ className: a(U, {
397
+ [R]: f,
398
+ [C]: w
393
399
  }),
394
- children: x({
400
+ children: y({
395
401
  type: "basic",
396
- labelId: i
402
+ labelId: r
397
403
  })
398
404
  }),
399
405
  /* @__PURE__ */ t("div", {
400
- className: K
406
+ className: Z
401
407
  }),
402
- /* @__PURE__ */ t(G, {
403
- dataAttributes: m,
408
+ /* @__PURE__ */ t(K, {
409
+ dataAttributes: u,
404
410
  value: e.radioValue,
405
- "aria-labelledby": i,
411
+ "aria-labelledby": r,
406
412
  render: (param)=>/* @__PURE__ */ {
407
- let { controlElement: d } = param;
408
- return t(P, {
413
+ let { controlElement: s } = param;
414
+ return t(L, {
409
415
  space: "around",
410
- children: /* @__PURE__ */ t(u, {
416
+ children: /* @__PURE__ */ t(m, {
411
417
  paddingX: 16,
412
- children: d
418
+ children: s
413
419
  })
414
420
  });
415
421
  }
416
422
  })
417
423
  ]
418
424
  }) : /* @__PURE__ */ t("div", {
419
- className: o(N, {
420
- [w]: !(n || a),
421
- [A]: !n
425
+ className: a(B, {
426
+ [R]: f,
427
+ [C]: w,
428
+ [V]: !i
422
429
  }),
423
430
  role: h,
424
- ref: r,
425
- children: /* @__PURE__ */ t(G, {
426
- dataAttributes: m,
431
+ ref: n,
432
+ children: /* @__PURE__ */ t(K, {
433
+ dataAttributes: u,
427
434
  value: e.radioValue,
428
- "aria-labelledby": i,
435
+ "aria-labelledby": r,
429
436
  render: (param)=>/* @__PURE__ */ {
430
- let { controlElement: d } = param;
431
- return t(u, {
437
+ let { controlElement: s } = param;
438
+ return t(m, {
432
439
  paddingX: 16,
433
- children: x({
434
- labelId: i,
440
+ children: y({
441
+ labelId: r,
435
442
  type: "control",
436
- right: ()=>/* @__PURE__ */ t(P, {
443
+ right: ()=>/* @__PURE__ */ t(L, {
437
444
  space: "around",
438
- children: d
445
+ children: s
439
446
  })
440
447
  })
441
448
  });
442
449
  }
443
450
  })
444
- }) : /* @__PURE__ */ t(u, {
451
+ }) : /* @__PURE__ */ t(m, {
445
452
  paddingX: 16,
446
- className: N,
453
+ className: B,
447
454
  role: h,
448
- dataAttributes: m,
449
- children: e.right ? x({
455
+ dataAttributes: u,
456
+ children: e.right ? y({
450
457
  type: "custom",
451
458
  right: e.right
452
- }) : x({
459
+ }) : y({
453
460
  type: "basic"
454
461
  })
455
462
  });
456
- }), Fe = /*#__PURE__*/ C.forwardRef((_param, i)=>/* @__PURE__ */ {
457
- var { dataAttributes: e } = _param, r = _object_without_properties(_param, [
463
+ }), qe = /*#__PURE__*/ P.forwardRef((_param, r)=>/* @__PURE__ */ {
464
+ var { dataAttributes: e } = _param, n = _object_without_properties(_param, [
458
465
  "dataAttributes"
459
466
  ]);
460
- return t(_, _object_spread_props(_object_spread({}, r), {
461
- ref: i,
467
+ return t(ee, _object_spread_props(_object_spread({}, n), {
468
+ ref: r,
462
469
  dataAttributes: _object_spread({
463
470
  "component-name": "Row"
464
471
  }, e)
465
472
  }));
466
- }), Ye = (param)=>{
467
- let { children: e , ariaLabelledby: r , role: i , dataAttributes: a , noLastDivider: s } = param;
468
- const b = C.Children.count(e) - 1, l = !s;
473
+ }), ze = (param)=>{
474
+ let { children: e , ariaLabelledby: n , role: r , dataAttributes: o , noLastDivider: d } = param;
475
+ const x = P.Children.count(e) - 1, l = !d;
469
476
  return /* @__PURE__ */ t("div", _object_spread_props(_object_spread({
470
- role: i,
471
- "aria-labelledby": r
472
- }, de(a, "RowList")), {
473
- children: C.Children.toArray(e).filter(Boolean).map((B, c)=>/* @__PURE__ */ R(C.Fragment, {
477
+ role: r,
478
+ "aria-labelledby": n
479
+ }, he(o, "RowList")), {
480
+ children: P.Children.toArray(e).filter(Boolean).map((A, c)=>/* @__PURE__ */ k(P.Fragment, {
474
481
  children: [
475
- B,
476
- (c < b || l) && /* @__PURE__ */ t(u, {
482
+ A,
483
+ (c < x || l) && /* @__PURE__ */ t(m, {
477
484
  paddingX: 16,
478
- children: /* @__PURE__ */ t(ce, {})
485
+ children: /* @__PURE__ */ t(le, {})
479
486
  })
480
487
  ]
481
488
  }, c))
482
489
  }));
483
- }, qe = /*#__PURE__*/ C.forwardRef((_param, i)=>/* @__PURE__ */ {
484
- var { dataAttributes: e } = _param, r = _object_without_properties(_param, [
490
+ }, Ge = /*#__PURE__*/ P.forwardRef((_param, r)=>/* @__PURE__ */ {
491
+ var { dataAttributes: e } = _param, n = _object_without_properties(_param, [
485
492
  "dataAttributes"
486
493
  ]);
487
- return t(oe, {
488
- isInverse: r.isInverse,
489
- ref: i,
494
+ return t(de, {
495
+ isInverse: n.isInverse,
496
+ ref: r,
490
497
  dataAttributes: _object_spread({
491
498
  "component-name": "BoxedRow"
492
499
  }, e),
493
- children: /* @__PURE__ */ t(_, _object_spread({}, r))
500
+ children: /* @__PURE__ */ t(ee, _object_spread({}, n))
494
501
  });
495
- }), ze = (param)=>/* @__PURE__ */ {
496
- let { children: e , ariaLabelledby: r , role: i , dataAttributes: a } = param;
497
- return t(P, {
502
+ }), Je = (param)=>/* @__PURE__ */ {
503
+ let { children: e , ariaLabelledby: n , role: r , dataAttributes: o } = param;
504
+ return t(L, {
498
505
  space: 16,
499
- role: i,
500
- "aria-labelledby": r,
506
+ role: r,
507
+ "aria-labelledby": n,
501
508
  dataAttributes: _object_spread({
502
509
  "component-name": "BoxedRowList"
503
- }, a),
510
+ }, o),
504
511
  children: e
505
512
  });
506
513
  };
507
- export { qe as BoxedRow, ze as BoxedRowList, Fe as Row, Ye as RowList };
514
+ export { Ge as BoxedRow, Je as BoxedRowList, qe as Row, ze as RowList };