@telefonica/mistica 14.16.1 → 14.17.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 (40) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/button.css-mistica.js +19 -16
  3. package/dist/button.css.d.ts +1 -0
  4. package/dist/button.d.ts +6 -1
  5. package/dist/button.js +161 -115
  6. package/dist/card.js +41 -41
  7. package/dist/list.css-mistica.js +20 -11
  8. package/dist/list.css.d.ts +3 -0
  9. package/dist/list.d.ts +1 -0
  10. package/dist/list.js +121 -108
  11. package/dist/package-version.js +1 -1
  12. package/dist/skins/blau.js +11 -10
  13. package/dist/skins/defaults.js +1 -0
  14. package/dist/skins/movistar-legacy.js +11 -10
  15. package/dist/skins/movistar.js +11 -10
  16. package/dist/skins/o2.js +11 -10
  17. package/dist/skins/telefonica.js +11 -10
  18. package/dist/skins/types/index.d.ts +1 -0
  19. package/dist/skins/vivo-new.js +11 -10
  20. package/dist/skins/vivo.js +11 -10
  21. package/dist/spinner.css-mistica.js +4 -4
  22. package/dist/tabs.js +13 -13
  23. package/dist-es/button.css-mistica.js +3 -3
  24. package/dist-es/button.js +201 -155
  25. package/dist-es/card.js +66 -66
  26. package/dist-es/list.css-mistica.js +2 -2
  27. package/dist-es/list.js +159 -146
  28. package/dist-es/package-version.js +1 -1
  29. package/dist-es/skins/blau.js +11 -10
  30. package/dist-es/skins/defaults.js +1 -0
  31. package/dist-es/skins/movistar-legacy.js +11 -10
  32. package/dist-es/skins/movistar.js +11 -10
  33. package/dist-es/skins/o2.js +11 -10
  34. package/dist-es/skins/telefonica.js +11 -10
  35. package/dist-es/skins/vivo-new.js +11 -10
  36. package/dist-es/skins/vivo.js +11 -10
  37. package/dist-es/spinner.css-mistica.js +2 -2
  38. package/dist-es/style.css +1 -1
  39. package/dist-es/tabs.js +18 -18
  40. package/package.json +1 -1
package/dist/list.js CHANGED
@@ -10,16 +10,16 @@ function _export(target, all) {
10
10
  }
11
11
  _export(exports, {
12
12
  BoxedRow: function() {
13
- return Fe;
13
+ return qe;
14
14
  },
15
15
  BoxedRowList: function() {
16
- return Oe;
16
+ return ze;
17
17
  },
18
18
  Row: function() {
19
- return je;
19
+ return Fe;
20
20
  },
21
21
  RowList: function() {
22
- return We;
22
+ return Ye;
23
23
  }
24
24
  });
25
25
  const _jsxruntime = require("react/jsx-runtime");
@@ -173,19 +173,19 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
173
173
  height: "100%"
174
174
  },
175
175
  children: e
176
- }) : e, fe = (param)=>{
177
- let { withChevron: e , headline: r , title: i , titleLinesMax: a , subtitle: d , subtitleLinesMax: v , description: s , descriptionLinesMax: P , asset: b , type: B = "basic" , badge: I , right: T , extra: V , labelId: h , disabled: u } = param;
178
- const m = (0, _themevariantcontext.useIsInverseVariant)(), n = [
176
+ }) : e, be = (param)=>{
177
+ 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;
178
+ const u = (0, _themevariantcontext.useIsInverseVariant)(), n = [
179
179
  r,
180
180
  i,
181
- d,
182
181
  s,
182
+ l,
183
183
  V
184
- ].filter(Boolean).length === 1, S = ()=>I ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
184
+ ].filter(Boolean).length === 1, E = ()=>I ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
185
185
  paddingLeft: 16,
186
186
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
187
187
  className: (0, _classnames.default)(_listcssmistica.center, _listcssmistica.badge, {
188
- [_listcssmistica.disabled]: u
188
+ [_listcssmistica.disabled]: g
189
189
  }),
190
190
  children: I === !0 ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_badge.default, {}) : /* @__PURE__ */ (0, _jsxruntime.jsx)(_badge.default, {
191
191
  value: I
@@ -196,20 +196,20 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
196
196
  paddingY: 16,
197
197
  className: _listcssmistica.content,
198
198
  children: [
199
- b && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
199
+ T && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
200
200
  paddingRight: 16,
201
201
  className: (0, _classnames.default)({
202
202
  [_listcssmistica.center]: n,
203
- [_listcssmistica.disabled]: u
203
+ [_listcssmistica.disabled]: g
204
204
  }),
205
205
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
206
206
  className: _listcssmistica.asset,
207
- children: b
207
+ children: T
208
208
  })
209
209
  }),
210
210
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
211
211
  className: (0, _classnames.default)(_listcssmistica.rowBody, {
212
- [_listcssmistica.disabled]: u
212
+ [_listcssmistica.disabled]: g
213
213
  }),
214
214
  style: {
215
215
  justifyContent: n ? "center" : "flex-start"
@@ -220,6 +220,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
220
220
  r && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text1, {
221
221
  regular: !0,
222
222
  color: _skincontractcssmistica.vars.colors.textPrimary,
223
+ hyphens: "auto",
223
224
  children: r
224
225
  }),
225
226
  /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
@@ -230,19 +231,22 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
230
231
  color: _skincontractcssmistica.vars.colors.textPrimary,
231
232
  truncate: a,
232
233
  id: h,
234
+ hyphens: "auto",
233
235
  children: i
234
236
  }),
235
- d && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
237
+ s && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
236
238
  regular: !0,
237
239
  color: _skincontractcssmistica.vars.colors.textSecondary,
238
- truncate: v,
239
- children: d
240
+ truncate: b,
241
+ hyphens: "auto",
242
+ children: s
240
243
  }),
241
- s && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
244
+ l && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
242
245
  regular: !0,
243
246
  color: _skincontractcssmistica.vars.colors.textSecondary,
244
- truncate: P,
245
- children: s
247
+ truncate: B,
248
+ hyphens: "auto",
249
+ children: l
246
250
  }),
247
251
  V
248
252
  ]
@@ -250,36 +254,44 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
250
254
  ]
251
255
  })
252
256
  }),
253
- S(),
254
- B === "chevron" && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
255
- paddingLeft: 16,
256
- className: (0, _classnames.default)(_listcssmistica.center, {
257
- [_listcssmistica.disabled]: u
257
+ E(),
258
+ /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
259
+ className: (0, _classnames.default)({
260
+ [_listcssmistica.right]: !!c || f !== "basic",
261
+ [_listcssmistica.rightRestrictedWidth]: !!c
258
262
  }),
259
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconchevron.default, {
260
- color: m ? _skincontractcssmistica.vars.colors.inverse : _skincontractcssmistica.vars.colors.neutralMedium,
261
- direction: "right"
262
- })
263
- }),
264
- B === "control" && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
265
- className: _listcssmistica.right,
266
- children: U(T, n)
267
- }),
268
- B === "custom" && /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
269
263
  children: [
270
- /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
271
- className: (0, _classnames.default)(_listcssmistica.right, {
272
- [_listcssmistica.disabled]: u
264
+ c && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
265
+ className: (0, _classnames.default)(_listcssmistica.center, _listcssmistica.detail, {
266
+ [_listcssmistica.disabled]: g
273
267
  }),
274
- children: U(T, n)
268
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
269
+ regular: !0,
270
+ color: _skincontractcssmistica.vars.colors.textSecondary,
271
+ hyphens: "auto",
272
+ children: c
273
+ })
274
+ }),
275
+ f === "control" && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
276
+ className: (0, _classnames.default)({
277
+ [_listcssmistica.detailRight]: !!c
278
+ }),
279
+ children: U(S, n)
275
280
  }),
276
- e && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
277
- paddingLeft: 4,
281
+ f === "custom" && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
282
+ className: (0, _classnames.default)({
283
+ [_listcssmistica.detailRight]: !!c,
284
+ [_listcssmistica.disabled]: g
285
+ }),
286
+ children: U(S, n)
287
+ }),
288
+ (f === "chevron" || f === "custom" && e) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
289
+ paddingLeft: c || f === "custom" ? 4 : 0,
278
290
  className: (0, _classnames.default)(_listcssmistica.center, {
279
- [_listcssmistica.disabled]: u
291
+ [_listcssmistica.disabled]: g
280
292
  }),
281
293
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconchevron.default, {
282
- color: m ? _skincontractcssmistica.vars.colors.inverse : _skincontractcssmistica.vars.colors.neutralMedium,
294
+ color: u ? _skincontractcssmistica.vars.colors.inverse : _skincontractcssmistica.vars.colors.neutralMedium,
283
295
  direction: "right"
284
296
  })
285
297
  })
@@ -287,50 +299,51 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
287
299
  })
288
300
  ]
289
301
  });
290
- }, ge = (param)=>{
302
+ }, xe = (param)=>{
291
303
  let { value: e , defaultValue: r , onChange: i } = param;
292
- const a = e !== void 0, [d, v] = _react.useState(!!r), s = ()=>{
293
- a || v(!d), i && i(a ? !e : !d);
304
+ const a = e !== void 0, [s, b] = _react.useState(!!r), l = ()=>{
305
+ a || b(!s), i && i(a ? !e : !s);
294
306
  };
295
307
  return a ? [
296
308
  !!e,
297
- s
309
+ l
298
310
  ] : [
299
- d,
300
- s
311
+ s,
312
+ l
301
313
  ];
302
- }, ve = (e)=>e.switch !== void 0, be = (e)=>e.checkbox !== void 0, xe = (e)=>e.radioValue !== void 0, _ = /*#__PURE__*/ _react.forwardRef((e, r)=>{
303
- const i = (0, _hooks.useAriaId)(), a = (0, _themevariantcontext.useIsInverseVariant)(), { asset: d , headline: v , title: s , titleLinesMax: P , subtitle: b , subtitleLinesMax: B , description: I , descriptionLinesMax: T , badge: V , role: h , extra: u , dataAttributes: m } = e, j = (0, _radiobutton.useRadioContext)(), n = e.disabled || e.radioValue !== void 0 && j.disabled, [S, W] = ge(e.switch || e.checkbox || {}), x = (param)=>/* @__PURE__ */ {
304
- let { type: c , right: f , labelId: E } = param;
305
- return (0, _jsxruntime.jsx)(fe, {
306
- asset: d,
307
- headline: v,
308
- title: s,
309
- subtitle: b,
310
- description: I,
314
+ }, we = (e)=>e.switch !== void 0, ye = (e)=>e.checkbox !== void 0, Re = (e)=>e.radioValue !== void 0, _ = /*#__PURE__*/ _react.forwardRef((e, r)=>{
315
+ const i = (0, _hooks.useAriaId)(), a = (0, _themevariantcontext.useIsInverseVariant)(), { 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: u } = e, O = (0, _radiobutton.useRadioContext)(), n = e.disabled || e.radioValue !== void 0 && O.disabled, [E, F] = xe(e.switch || e.checkbox || {}), x = (param)=>/* @__PURE__ */ {
316
+ let { type: d , right: v , labelId: X } = param;
317
+ return (0, _jsxruntime.jsx)(be, {
318
+ asset: s,
319
+ headline: b,
320
+ title: l,
321
+ subtitle: c,
322
+ description: f,
311
323
  badge: V,
312
- titleLinesMax: P,
313
- subtitleLinesMax: B,
314
- descriptionLinesMax: T,
315
- type: c,
316
- right: f,
317
- extra: u,
318
- labelId: E,
324
+ titleLinesMax: B,
325
+ subtitleLinesMax: T,
326
+ descriptionLinesMax: I,
327
+ detail: S,
328
+ type: d,
329
+ right: v,
330
+ extra: g,
331
+ labelId: X,
319
332
  disabled: n,
320
333
  withChevron: !!e.onPress || !!e.href || !!e.to
321
334
  });
322
- }, M = (c)=>{
323
- let f = "chevron";
324
- return c.right === null && (f = "basic"), c.right && (f = "custom"), /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
335
+ }, M = (d)=>{
336
+ let v = "chevron";
337
+ return d.right === null && (v = "basic"), d.right && (v = "custom"), /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
325
338
  paddingX: 16,
326
339
  ref: r,
327
340
  children: x({
328
- type: f,
329
- right: c.right
341
+ type: v,
342
+ right: d.right
330
343
  })
331
344
  });
332
345
  };
333
- if (e.onPress && !ve(e) && !be(e) && !xe(e)) return /* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.BaseTouchable, {
346
+ if (e.onPress && !we(e) && !ye(e) && !Re(e)) return /* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.BaseTouchable, {
334
347
  ref: r,
335
348
  className: (0, _classnames.default)(_listcssmistica.rowContent, {
336
349
  [_listcssmistica.hoverBackground]: !(n || a),
@@ -339,7 +352,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
339
352
  trackingEvent: e.trackingEvent,
340
353
  onPress: e.onPress,
341
354
  role: h,
342
- dataAttributes: m,
355
+ dataAttributes: u,
343
356
  disabled: n,
344
357
  children: M(e)
345
358
  });
@@ -352,7 +365,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
352
365
  to: e.to,
353
366
  fullPageOnWebView: e.fullPageOnWebView,
354
367
  role: h,
355
- dataAttributes: m,
368
+ dataAttributes: u,
356
369
  disabled: n,
357
370
  children: M(e)
358
371
  });
@@ -365,19 +378,19 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
365
378
  href: e.href,
366
379
  newTab: e.newTab,
367
380
  role: h,
368
- dataAttributes: m,
381
+ dataAttributes: u,
369
382
  disabled: n,
370
383
  children: M(e)
371
384
  });
372
- const F = (c)=>{
373
- var E, O;
385
+ const Y = (d)=>{
386
+ var X, q;
374
387
  var _ref, _ref1;
375
- const f = (_ref1 = (_ref = (E = e.switch) == null ? void 0 : E.name) !== null && _ref !== void 0 ? _ref : (O = e.checkbox) == null ? void 0 : O.name) !== null && _ref1 !== void 0 ? _ref1 : i;
388
+ 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;
376
389
  return e.onPress ? /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
377
390
  className: _listcssmistica.dualActionContainer,
378
391
  children: [
379
392
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.BaseTouchable, {
380
- dataAttributes: m,
393
+ dataAttributes: u,
381
394
  disabled: n,
382
395
  onPress: e.onPress,
383
396
  role: h,
@@ -392,17 +405,17 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
392
405
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
393
406
  className: _listcssmistica.dualActionDivider
394
407
  }),
395
- /* @__PURE__ */ (0, _jsxruntime.jsx)(c, {
408
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(d, {
396
409
  disabled: n,
397
- name: f,
398
- checked: S,
410
+ name: v,
411
+ checked: E,
399
412
  "aria-labelledby": i,
400
- onChange: W,
413
+ onChange: F,
401
414
  render: (param)=>/* @__PURE__ */ {
402
- let { controlElement: D } = param;
415
+ let { controlElement: W } = param;
403
416
  return (0, _jsxruntime.jsx)("div", {
404
417
  className: _listcssmistica.dualActionRight,
405
- children: D
418
+ children: W
406
419
  });
407
420
  }
408
421
  })
@@ -412,14 +425,14 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
412
425
  [_listcssmistica.hoverBackground]: !(n || a),
413
426
  [_listcssmistica.pointer]: !n
414
427
  }),
415
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(c, {
428
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(d, {
416
429
  disabled: n,
417
- dataAttributes: m,
418
- name: f,
419
- checked: S,
420
- onChange: W,
430
+ dataAttributes: u,
431
+ name: v,
432
+ checked: E,
433
+ onChange: F,
421
434
  render: (param)=>/* @__PURE__ */ {
422
- let { controlElement: D , labelId: $ } = param;
435
+ let { controlElement: W , labelId: $ } = param;
423
436
  return (0, _jsxruntime.jsx)(_box.default, {
424
437
  paddingX: 16,
425
438
  role: h,
@@ -428,7 +441,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
428
441
  type: "control",
429
442
  right: ()=>/* @__PURE__ */ (0, _jsxruntime.jsx)(_stack.default, {
430
443
  space: "around",
431
- children: D
444
+ children: W
432
445
  })
433
446
  })
434
447
  });
@@ -436,7 +449,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
436
449
  })
437
450
  });
438
451
  };
439
- return e.switch ? F(_switchcomponent.default) : e.checkbox ? F(_checkbox.default) : e.radioValue ? e.onPress ? /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
452
+ return e.switch ? Y(_switchcomponent.default) : e.checkbox ? Y(_checkbox.default) : e.radioValue ? e.onPress ? /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
440
453
  className: _listcssmistica.dualActionContainer,
441
454
  children: [
442
455
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.BaseTouchable, {
@@ -455,16 +468,16 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
455
468
  className: _listcssmistica.dualActionDivider
456
469
  }),
457
470
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_radiobutton.default, {
458
- dataAttributes: m,
471
+ dataAttributes: u,
459
472
  value: e.radioValue,
460
473
  "aria-labelledby": i,
461
474
  render: (param)=>/* @__PURE__ */ {
462
- let { controlElement: c } = param;
475
+ let { controlElement: d } = param;
463
476
  return (0, _jsxruntime.jsx)(_stack.default, {
464
477
  space: "around",
465
478
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
466
479
  paddingX: 16,
467
- children: c
480
+ children: d
468
481
  })
469
482
  });
470
483
  }
@@ -478,11 +491,11 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
478
491
  role: h,
479
492
  ref: r,
480
493
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_radiobutton.default, {
481
- dataAttributes: m,
494
+ dataAttributes: u,
482
495
  value: e.radioValue,
483
496
  "aria-labelledby": i,
484
497
  render: (param)=>/* @__PURE__ */ {
485
- let { controlElement: c } = param;
498
+ let { controlElement: d } = param;
486
499
  return (0, _jsxruntime.jsx)(_box.default, {
487
500
  paddingX: 16,
488
501
  children: x({
@@ -490,7 +503,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
490
503
  type: "control",
491
504
  right: ()=>/* @__PURE__ */ (0, _jsxruntime.jsx)(_stack.default, {
492
505
  space: "around",
493
- children: c
506
+ children: d
494
507
  })
495
508
  })
496
509
  });
@@ -507,7 +520,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
507
520
  type: "basic"
508
521
  })
509
522
  });
510
- }), je = /*#__PURE__*/ _react.forwardRef((_param, i)=>/* @__PURE__ */ {
523
+ }), Fe = /*#__PURE__*/ _react.forwardRef((_param, i)=>/* @__PURE__ */ {
511
524
  var { dataAttributes: e } = _param, r = _object_without_properties(_param, [
512
525
  "dataAttributes"
513
526
  ]);
@@ -517,24 +530,24 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
517
530
  "component-name": "Row"
518
531
  }, e)
519
532
  }));
520
- }), We = (param)=>{
521
- let { children: e , ariaLabelledby: r , role: i , dataAttributes: a , noLastDivider: d } = param;
522
- const v = _react.Children.count(e) - 1, s = !d;
533
+ }), Ye = (param)=>{
534
+ let { children: e , ariaLabelledby: r , role: i , dataAttributes: a , noLastDivider: s } = param;
535
+ const b = _react.Children.count(e) - 1, l = !s;
523
536
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", _object_spread_props(_object_spread({
524
537
  role: i,
525
538
  "aria-labelledby": r
526
539
  }, (0, _dom.getPrefixedDataAttributes)(a, "RowList")), {
527
- children: _react.Children.toArray(e).filter(Boolean).map((P, b)=>/* @__PURE__ */ (0, _jsxruntime.jsxs)(_react.Fragment, {
540
+ children: _react.Children.toArray(e).filter(Boolean).map((B, c)=>/* @__PURE__ */ (0, _jsxruntime.jsxs)(_react.Fragment, {
528
541
  children: [
529
- P,
530
- (b < v || s) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
542
+ B,
543
+ (c < b || l) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
531
544
  paddingX: 16,
532
545
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_divider.default, {})
533
546
  })
534
547
  ]
535
- }, b))
548
+ }, c))
536
549
  }));
537
- }, Fe = /*#__PURE__*/ _react.forwardRef((_param, i)=>/* @__PURE__ */ {
550
+ }, qe = /*#__PURE__*/ _react.forwardRef((_param, i)=>/* @__PURE__ */ {
538
551
  var { dataAttributes: e } = _param, r = _object_without_properties(_param, [
539
552
  "dataAttributes"
540
553
  ]);
@@ -546,7 +559,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
546
559
  }, e),
547
560
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_, _object_spread({}, r))
548
561
  });
549
- }), Oe = (param)=>/* @__PURE__ */ {
562
+ }), ze = (param)=>/* @__PURE__ */ {
550
563
  let { children: e , ariaLabelledby: r , role: i , dataAttributes: a } = param;
551
564
  return (0, _jsxruntime.jsx)(_stack.default, {
552
565
  space: 16,
@@ -8,4 +8,4 @@ Object.defineProperty(exports, "PACKAGE_VERSION", {
8
8
  return o;
9
9
  }
10
10
  });
11
- const o = "14.16.1";
11
+ const o = "14.17.1";
@@ -291,6 +291,17 @@ const e = {
291
291
  button: {
292
292
  weight: "medium"
293
293
  },
294
+ tabsLabel: {
295
+ weight: "medium",
296
+ size: {
297
+ mobile: 16,
298
+ desktop: 18
299
+ },
300
+ lineHeight: {
301
+ mobile: 24,
302
+ desktop: 24
303
+ }
304
+ },
294
305
  link: {
295
306
  weight: "medium"
296
307
  },
@@ -317,16 +328,6 @@ const e = {
317
328
  },
318
329
  text10: {
319
330
  weight: "light"
320
- },
321
- tabsLabel: {
322
- size: {
323
- mobile: 16,
324
- desktop: 18
325
- },
326
- lineHeight: {
327
- mobile: 24,
328
- desktop: 24
329
- }
330
331
  }
331
332
  }
332
333
  });
@@ -51,6 +51,7 @@ const t = {
51
51
  weight: "medium"
52
52
  },
53
53
  tabsLabel: {
54
+ weight: "medium",
54
55
  size: {
55
56
  mobile: 16,
56
57
  desktop: 18
@@ -295,6 +295,17 @@ const e = {
295
295
  button: {
296
296
  weight: "medium"
297
297
  },
298
+ tabsLabel: {
299
+ weight: "medium",
300
+ size: {
301
+ mobile: 16,
302
+ desktop: 18
303
+ },
304
+ lineHeight: {
305
+ mobile: 24,
306
+ desktop: 24
307
+ }
308
+ },
298
309
  link: {
299
310
  weight: "medium"
300
311
  },
@@ -321,16 +332,6 @@ const e = {
321
332
  },
322
333
  text10: {
323
334
  weight: "bold"
324
- },
325
- tabsLabel: {
326
- size: {
327
- mobile: 16,
328
- desktop: 18
329
- },
330
- lineHeight: {
331
- mobile: 24,
332
- desktop: 24
333
- }
334
335
  }
335
336
  }
336
337
  };
@@ -295,6 +295,17 @@ const e = {
295
295
  button: {
296
296
  weight: "medium"
297
297
  },
298
+ tabsLabel: {
299
+ weight: "medium",
300
+ size: {
301
+ mobile: 16,
302
+ desktop: 18
303
+ },
304
+ lineHeight: {
305
+ mobile: 24,
306
+ desktop: 24
307
+ }
308
+ },
298
309
  link: {
299
310
  weight: "medium"
300
311
  },
@@ -321,16 +332,6 @@ const e = {
321
332
  },
322
333
  text10: {
323
334
  weight: "bold"
324
- },
325
- tabsLabel: {
326
- size: {
327
- mobile: 16,
328
- desktop: 18
329
- },
330
- lineHeight: {
331
- mobile: 24,
332
- desktop: 24
333
- }
334
335
  }
335
336
  }
336
337
  });
package/dist/skins/o2.js CHANGED
@@ -295,6 +295,17 @@ const e = {
295
295
  button: {
296
296
  weight: "medium"
297
297
  },
298
+ tabsLabel: {
299
+ weight: "medium",
300
+ size: {
301
+ mobile: 16,
302
+ desktop: 18
303
+ },
304
+ lineHeight: {
305
+ mobile: 24,
306
+ desktop: 24
307
+ }
308
+ },
298
309
  link: {
299
310
  weight: "medium"
300
311
  },
@@ -321,16 +332,6 @@ const e = {
321
332
  },
322
333
  text10: {
323
334
  weight: "light"
324
- },
325
- tabsLabel: {
326
- size: {
327
- mobile: 16,
328
- desktop: 18
329
- },
330
- lineHeight: {
331
- mobile: 24,
332
- desktop: 24
333
- }
334
335
  }
335
336
  }
336
337
  });
@@ -289,6 +289,17 @@ const e = {
289
289
  button: {
290
290
  weight: "medium"
291
291
  },
292
+ tabsLabel: {
293
+ weight: "medium",
294
+ size: {
295
+ mobile: 16,
296
+ desktop: 18
297
+ },
298
+ lineHeight: {
299
+ mobile: 24,
300
+ desktop: 24
301
+ }
302
+ },
292
303
  link: {
293
304
  weight: "medium"
294
305
  },
@@ -315,16 +326,6 @@ const e = {
315
326
  },
316
327
  text10: {
317
328
  weight: "regular"
318
- },
319
- tabsLabel: {
320
- size: {
321
- mobile: 16,
322
- desktop: 18
323
- },
324
- lineHeight: {
325
- mobile: 24,
326
- desktop: 24
327
- }
328
329
  }
329
330
  }
330
331
  });
@@ -15,6 +15,7 @@ export type TextPresetsConfig = {
15
15
  title1: TextTokenConfig<'regular' | 'medium'>;
16
16
  indicator: TextTokenConfig<'regular' | 'medium'>;
17
17
  tabsLabel: {
18
+ weight: FontWeight;
18
19
  size: {
19
20
  mobile: number;
20
21
  desktop: number;