@telefonica/mistica 14.25.0 → 14.26.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.
Files changed (78) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/accordion.css-mistica.js +41 -0
  3. package/dist/accordion.css.d.ts +12 -0
  4. package/dist/accordion.css.ts.vanilla.css-mistica.js +11 -0
  5. package/dist/accordion.d.ts +47 -0
  6. package/dist/accordion.js +350 -0
  7. package/dist/boxed.d.ts +1 -0
  8. package/dist/boxed.js +17 -16
  9. package/dist/card.js +345 -345
  10. package/dist/carousel.js +58 -52
  11. package/dist/checkbox.css.d.ts +1 -1
  12. package/dist/checkbox.d.ts +3 -1
  13. package/dist/checkbox.js +23 -22
  14. package/dist/community/blocks.js +3 -2
  15. package/dist/form-context.d.ts +9 -9
  16. package/dist/generated/mistica-icons/icons-keywords.d.ts +4 -0
  17. package/dist/icons/icon-chevron.d.ts +1 -0
  18. package/dist/icons/icon-chevron.js +21 -18
  19. package/dist/index.d.ts +4 -2
  20. package/dist/index.js +30 -4
  21. package/dist/integer-field.d.ts +5 -1
  22. package/dist/integer-field.js +12 -11
  23. package/dist/list.d.ts +8 -0
  24. package/dist/list.js +3 -0
  25. package/dist/menu.css-mistica.js +30 -6
  26. package/dist/menu.css.d.ts +14 -2
  27. package/dist/menu.d.ts +25 -3
  28. package/dist/menu.js +264 -84
  29. package/dist/overlay.js +11 -52
  30. package/dist/overscroll-color-context.js +23 -11
  31. package/dist/package-version.js +1 -1
  32. package/dist/pin-field.css-mistica.js +37 -0
  33. package/dist/pin-field.css.d.ts +7 -0
  34. package/dist/pin-field.css.ts.vanilla.css-mistica.js +11 -0
  35. package/dist/pin-field.d.ts +25 -0
  36. package/dist/pin-field.js +269 -0
  37. package/dist/progress-bar.css-mistica.js +7 -4
  38. package/dist/progress-bar.css.d.ts +1 -0
  39. package/dist/progress-bar.d.ts +12 -3
  40. package/dist/progress-bar.js +109 -13
  41. package/dist/stepper.js +34 -27
  42. package/dist/text-field-base.css.d.ts +2 -0
  43. package/dist/text-field-base.d.ts +1 -0
  44. package/dist/text-field-components.js +28 -26
  45. package/dist/text-field.d.ts +1 -0
  46. package/dist/theme.d.ts +3 -0
  47. package/dist/theme.js +24 -12
  48. package/dist/touchable.js +5 -4
  49. package/dist/video.js +8 -9
  50. package/dist-es/accordion.css-mistica.js +9 -0
  51. package/dist-es/accordion.css.ts.vanilla.css-mistica.js +2 -0
  52. package/dist-es/accordion.js +280 -0
  53. package/dist-es/boxed.js +25 -24
  54. package/dist-es/card.js +475 -475
  55. package/dist-es/carousel.js +95 -89
  56. package/dist-es/checkbox.js +42 -41
  57. package/dist-es/community/blocks.js +2 -1
  58. package/dist-es/icons/icon-chevron.js +25 -22
  59. package/dist-es/index.js +1768 -1766
  60. package/dist-es/integer-field.js +14 -13
  61. package/dist-es/list.js +9 -9
  62. package/dist-es/menu.css-mistica.js +10 -4
  63. package/dist-es/menu.js +262 -93
  64. package/dist-es/overlay.js +18 -20
  65. package/dist-es/overscroll-color-context.js +30 -18
  66. package/dist-es/package-version.js +1 -1
  67. package/dist-es/pin-field.css-mistica.js +5 -0
  68. package/dist-es/pin-field.css.ts.vanilla.css-mistica.js +2 -0
  69. package/dist-es/pin-field.js +217 -0
  70. package/dist-es/progress-bar.css-mistica.js +2 -2
  71. package/dist-es/progress-bar.js +67 -18
  72. package/dist-es/stepper.js +61 -54
  73. package/dist-es/style.css +1 -1
  74. package/dist-es/text-field-components.js +38 -36
  75. package/dist-es/theme.js +24 -12
  76. package/dist-es/touchable.js +9 -8
  77. package/dist-es/video.js +16 -17
  78. package/package.json +1 -1
package/dist-es/boxed.js CHANGED
@@ -50,42 +50,43 @@ function _object_spread_props(target, source) {
50
50
  }
51
51
  return target;
52
52
  }
53
- import { jsx as t } from "react/jsx-runtime";
53
+ import { jsx as a } from "react/jsx-runtime";
54
54
  import * as i from "react";
55
- import v from "classnames";
56
- import { useIsInverseVariant as g, ThemeVariant as B } from "./theme-variant-context.js";
57
- import { getPrefixedDataAttributes as k } from "./utils/dom.js";
58
- import { vars as e } from "./skins/skin-contract.css-mistica.js";
55
+ import g from "classnames";
56
+ import { useIsInverseVariant as B, ThemeVariant as k } from "./theme-variant-context.js";
57
+ import { getPrefixedDataAttributes as y } from "./utils/dom.js";
58
+ import { vars as o } from "./skins/skin-contract.css-mistica.js";
59
59
  import { boxBorder as R } from "./boxed.css-mistica.js";
60
60
  import { sprinkles as s } from "./sprinkles.css-mistica.js";
61
- const h = (o, r)=>o || r ? s({
61
+ const h = (e, r)=>e || r ? s({
62
62
  border: "none"
63
- }) : R, w = /*#__PURE__*/ i.forwardRef((param, x)=>{
64
- let { children: o , isInverse: r = !1 , className: d , role: m , dataAttributes: f , "aria-label": l , width: c , height: b , minHeight: p , borderRadius: u = e.borderRadii.container , background: a } = param;
65
- const n = g();
66
- return /* @__PURE__ */ t("div", _object_spread_props(_object_spread({
67
- ref: x,
63
+ }) : R, w = /*#__PURE__*/ i.forwardRef((param, v)=>{
64
+ let { children: e , isInverse: r = !1 , className: l , role: d , dataAttributes: m , "aria-label": b , "aria-labelledby": f , width: c , height: p , minHeight: u , borderRadius: x = o.borderRadii.container , background: t } = param;
65
+ const n = B();
66
+ return /* @__PURE__ */ a("div", _object_spread_props(_object_spread({
67
+ ref: v,
68
68
  style: {
69
69
  width: c,
70
- height: b,
71
- minHeight: p,
70
+ height: p,
71
+ minHeight: u,
72
72
  boxSizing: "border-box",
73
- background: a
73
+ background: t
74
74
  },
75
- className: v(d, h(n, r), s({
76
- borderRadius: u,
75
+ className: g(l, h(n, r), s({
76
+ borderRadius: x,
77
77
  overflow: "hidden",
78
- background: (a !== null && a !== void 0 ? a : r) ? n ? e.colors.backgroundContainerBrandOverInverse : e.colors.backgroundContainerBrand : e.colors.backgroundContainer
78
+ background: (t !== null && t !== void 0 ? t : r) ? n ? o.colors.backgroundContainerBrandOverInverse : o.colors.backgroundContainerBrand : o.colors.backgroundContainer
79
79
  })),
80
- role: m,
81
- "aria-label": l
82
- }, k(f)), {
83
- children: /* @__PURE__ */ t(B, {
80
+ role: d,
81
+ "aria-label": b,
82
+ "aria-labelledby": f
83
+ }, y(m)), {
84
+ children: /* @__PURE__ */ a(k, {
84
85
  isInverse: r,
85
- children: o
86
+ children: e
86
87
  })
87
88
  }));
88
- }), z = /*#__PURE__*/ i.forwardRef((o, r)=>/* @__PURE__ */ t(w, _object_spread_props(_object_spread({}, o), {
89
+ }), A = /*#__PURE__*/ i.forwardRef((e, r)=>/* @__PURE__ */ a(w, _object_spread_props(_object_spread({}, e), {
89
90
  ref: r
90
91
  })));
91
- export { z as Boxed, w as InternalBoxed };
92
+ export { A as Boxed, w as InternalBoxed };