@telefonica/mistica 15.2.0 → 15.3.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 (83) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/box.js +3 -3
  3. package/dist/boxed.js +2 -2
  4. package/dist/button-group.js +2 -2
  5. package/dist/button.js +5 -5
  6. package/dist/carousel.js +29 -29
  7. package/dist/chip.js +2 -2
  8. package/dist/community/advanced-data-card.d.ts +6 -2
  9. package/dist/community/advanced-data-card.js +4 -4
  10. package/dist/counter.js +7 -7
  11. package/dist/feedback.js +2 -2
  12. package/dist/fixed-footer-layout.css-mistica.js +5 -5
  13. package/dist/fixed-footer-layout.js +19 -17
  14. package/dist/form.js +6 -6
  15. package/dist/hero.css-mistica.js +12 -6
  16. package/dist/hero.css.d.ts +2 -0
  17. package/dist/hero.d.ts +2 -1
  18. package/dist/hero.js +80 -69
  19. package/dist/horizontal-scroll.js +2 -2
  20. package/dist/image.js +9 -7
  21. package/dist/list.js +19 -15
  22. package/dist/loading-bar.js +2 -2
  23. package/dist/loading-screen.js +3 -3
  24. package/dist/package-version.js +1 -1
  25. package/dist/pin-field.js +2 -2
  26. package/dist/progress-bar.js +4 -4
  27. package/dist/radio-button.js +3 -3
  28. package/dist/responsive-layout.css-mistica.js +18 -9
  29. package/dist/responsive-layout.d.ts +1 -0
  30. package/dist/responsive-layout.js +15 -15
  31. package/dist/select.js +16 -16
  32. package/dist/sheet.js +82 -81
  33. package/dist/slider.js +8 -8
  34. package/dist/tag.js +2 -2
  35. package/dist/text-field-base.js +3 -3
  36. package/dist/text-field-components.js +2 -2
  37. package/dist/text.js +105 -84
  38. package/dist/utils/aspect-ratio-support.js +8 -8
  39. package/dist/utils/browser.js +1 -1
  40. package/dist/video.js +2 -2
  41. package/dist-es/box.js +7 -7
  42. package/dist-es/boxed.js +2 -2
  43. package/dist-es/button-group.js +4 -4
  44. package/dist-es/button-layout.js +5 -5
  45. package/dist-es/button.js +11 -11
  46. package/dist-es/callout.js +8 -8
  47. package/dist-es/carousel.js +29 -29
  48. package/dist-es/checkbox.js +7 -7
  49. package/dist-es/chip.js +4 -4
  50. package/dist-es/community/advanced-data-card.js +14 -14
  51. package/dist-es/counter.js +21 -21
  52. package/dist-es/empty-state.js +12 -12
  53. package/dist-es/feedback.js +5 -5
  54. package/dist-es/fixed-footer-layout.css-mistica.js +2 -2
  55. package/dist-es/fixed-footer-layout.js +33 -31
  56. package/dist-es/form.js +9 -9
  57. package/dist-es/grid.js +3 -3
  58. package/dist-es/hero.css-mistica.js +2 -2
  59. package/dist-es/hero.js +119 -108
  60. package/dist-es/horizontal-scroll.js +2 -2
  61. package/dist-es/image.js +15 -13
  62. package/dist-es/list.js +15 -11
  63. package/dist-es/loading-bar.js +6 -6
  64. package/dist-es/loading-screen.js +8 -8
  65. package/dist-es/package-version.js +1 -1
  66. package/dist-es/pin-field.js +10 -10
  67. package/dist-es/progress-bar.js +9 -9
  68. package/dist-es/radio-button.js +9 -9
  69. package/dist-es/responsive-layout.css-mistica.js +3 -3
  70. package/dist-es/responsive-layout.js +21 -21
  71. package/dist-es/select.js +22 -22
  72. package/dist-es/sheet.js +124 -123
  73. package/dist-es/slider.js +8 -8
  74. package/dist-es/style.css +1 -1
  75. package/dist-es/tag.js +4 -4
  76. package/dist-es/text-field-base.js +11 -11
  77. package/dist-es/text-field-components.js +9 -9
  78. package/dist-es/text-link.js +5 -5
  79. package/dist-es/text.js +103 -82
  80. package/dist-es/utils/aspect-ratio-support.js +14 -14
  81. package/dist-es/utils/browser.js +1 -1
  82. package/dist-es/video.js +5 -5
  83. package/package.json +1 -1
package/dist/hero.js CHANGED
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "default", {
7
7
  enumerable: true,
8
8
  get: function() {
9
- return or;
9
+ return lr;
10
10
  }
11
11
  });
12
12
  const _jsxruntime = require("react/jsx-runtime");
@@ -26,6 +26,7 @@ const _dom = require("./utils/dom.js");
26
26
  const _sprinklescssmistica = require("./sprinkles.css-mistica.js");
27
27
  const _themevariantcontext = require("./theme-variant-context.js");
28
28
  const _css = require("./utils/css.js");
29
+ const _responsivelayout = require("./responsive-layout.js");
29
30
  function _interop_require_default(obj) {
30
31
  return obj && obj.__esModule ? obj : {
31
32
  default: obj
@@ -151,17 +152,18 @@ function _object_without_properties_loose(source, excluded) {
151
152
  }
152
153
  return target;
153
154
  }
154
- const C = (param)=>{
155
- let { children: e, isInverse: o } = param;
156
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(_themevariantcontext.ThemeVariant, {
157
- isInverse: o,
158
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
159
- className: _herocssmistica.layout,
160
- children: e
161
- })
155
+ const H = (param)=>{
156
+ let { children: o, isInverse: e, isInsideSlideShow: a } = param;
157
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(_responsivelayout.InternalResponsiveLayout, {
158
+ isInverse: e,
159
+ className: _herocssmistica.layout,
160
+ innerDivClassName: _herocssmistica.layout,
161
+ shouldExpandWhenNested: a ? "desktop" : !0,
162
+ backgroundColor: "transparent",
163
+ children: o
162
164
  });
163
- }, v = (param)=>{
164
- let { headline: e, title: o, titleAs: i = "h1", pretitle: t, description: n, descriptionLinesMax: l, extra: s, button: p, secondaryButton: h, buttonLink: c } = param;
165
+ }, g = (param)=>{
166
+ let { headline: o, title: e, titleAs: a = "h1", pretitle: s, description: l, descriptionLinesMax: n, extra: t, button: c, secondaryButton: f, buttonLink: d } = param;
165
167
  return /* @__PURE__ */ (0, _jsxruntime.jsxs)("section", {
166
168
  className: (0, _sprinklescssmistica.sprinkles)({
167
169
  height: "100%",
@@ -175,94 +177,103 @@ const C = (param)=>{
175
177
  /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
176
178
  space: 16,
177
179
  children: [
178
- e && e,
180
+ o && o,
179
181
  /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
180
182
  space: 8,
181
183
  children: [
182
- t && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text3, {
184
+ s && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text3, {
183
185
  as: "p",
184
186
  regular: !0,
185
- children: t
187
+ children: s
186
188
  }),
187
- o && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text8, {
188
- as: i,
189
- children: o
189
+ e && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text8, {
190
+ as: a,
191
+ children: e
190
192
  })
191
193
  ]
192
194
  }),
193
- n && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text3, {
195
+ l && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text3, {
194
196
  as: "p",
195
197
  regular: !0,
196
198
  color: _skincontractcssmistica.vars.colors.textSecondary,
197
- truncate: l,
198
- children: n
199
+ truncate: n,
200
+ children: l
199
201
  })
200
202
  ]
201
203
  }),
202
- s && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
203
- children: s
204
+ t && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
205
+ children: t
204
206
  })
205
207
  ]
206
208
  }),
207
- (p || c) && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
209
+ (c || d) && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
208
210
  className: _herocssmistica.actions,
209
211
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_buttongroup.default, {
210
- primaryButton: p,
211
- secondaryButton: h,
212
- link: c
212
+ primaryButton: c,
213
+ secondaryButton: f,
214
+ link: d
213
215
  })
214
216
  })
215
217
  ]
216
218
  });
217
- }, R = {
219
+ }, I = {
218
220
  default: _skincontractcssmistica.vars.colors.background,
219
221
  alternative: _skincontractcssmistica.vars.colors.backgroundAlternative,
220
222
  brand: _skincontractcssmistica.vars.colors.backgroundBrand,
221
- "brand-secondary": _skincontractcssmistica.vars.colors.backgroundBrandSecondary
222
- }, Y = /*#__PURE__*/ _react.forwardRef((_param, s)=>{
223
- var { height: e, background: o = "default", media: i, desktopMediaPosition: t = "left", dataAttributes: n } = _param, l = _object_without_properties(_param, [
223
+ "brand-secondary": _skincontractcssmistica.vars.colors.backgroundBrandSecondary,
224
+ none: "transparent"
225
+ }, W = /*#__PURE__*/ _react.forwardRef((_param, c)=>{
226
+ var { height: o, background: e = "default", media: a, desktopMediaPosition: s = "left", dataAttributes: l, noPaddingY: n } = _param, t = _object_without_properties(_param, [
224
227
  "height",
225
228
  "background",
226
229
  "media",
227
230
  "desktopMediaPosition",
228
- "dataAttributes"
231
+ "dataAttributes",
232
+ "noPaddingY"
229
233
  ]);
230
- const { isTabletOrSmaller: p } = (0, _hooks.useScreenSize)(), h = (0, _carousel.useIsInsideSlideshowContext)(), c = o === "brand" || o === "brand-secondary";
231
- if (p) return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
234
+ const { isTabletOrSmaller: f } = (0, _hooks.useScreenSize)(), d = (0, _carousel.useIsInsideSlideshowContext)(), D = (0, _themevariantcontext.useIsInverseVariant)(), x = e === "none" ? D : e === "brand" || e === "brand-secondary";
235
+ if (f) return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
232
236
  style: (0, _css.applyCssVars)({
233
237
  [_imagecssmistica.vars.mediaBorderRadius]: "0px"
234
238
  }),
235
- children: /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", _object_spread_props(_object_spread({}, (0, _dom.getPrefixedDataAttributes)(_object_spread({
239
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", _object_spread_props(_object_spread({}, (0, _dom.getPrefixedDataAttributes)(_object_spread({
236
240
  "component-name": "Hero"
237
- }, n))), {
238
- ref: s,
241
+ }, l))), {
242
+ ref: c,
239
243
  style: _object_spread({
240
- backgroundColor: R[o]
241
- }, e === "100vh" ? {
244
+ backgroundColor: I[e]
245
+ }, o === "100vh" ? {
242
246
  maxHeight: "-webkit-fill-available"
243
247
  } : {}, (0, _css.applyCssVars)({
244
- [_herocssmistica.vars.height]: e !== null && e !== void 0 ? e : "100%"
248
+ [_herocssmistica.vars.height]: o !== null && o !== void 0 ? o : "100%"
245
249
  })),
246
- className: (0, _classnames.default)(_herocssmistica.container, _herocssmistica.containerMobile),
247
- children: [
248
- i,
249
- /* @__PURE__ */ (0, _jsxruntime.jsx)(C, {
250
- isInverse: c,
251
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
250
+ className: (0, _classnames.default)(_herocssmistica.container, _herocssmistica.containerMobile, {
251
+ [_herocssmistica.containerMinHeight]: !n
252
+ }),
253
+ children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(H, {
254
+ isInverse: x,
255
+ isInsideSlideShow: d,
256
+ children: [
257
+ /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
258
+ className: _herocssmistica.mediaContainer,
259
+ children: a
260
+ }),
261
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
252
262
  paddingTop: 24,
253
- paddingBottom: h ? 48 : 24,
254
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(v, _object_spread({}, l))
263
+ paddingBottom: d ? 48 : n ? 0 : 24,
264
+ className: _herocssmistica.layout,
265
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(g, _object_spread({}, t))
255
266
  })
256
- })
257
- ]
267
+ ]
268
+ })
258
269
  }))
259
270
  });
260
- const H = t === "left" ? i : /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
271
+ const O = s === "left" ? a : /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
261
272
  paddingRight: 24,
262
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(v, _object_spread({}, l))
263
- }), w = t === "right" ? i : /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
273
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(g, _object_spread({}, t))
274
+ }), L = s === "right" ? a : /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
264
275
  paddingLeft: 24,
265
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(v, _object_spread({}, l))
276
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(g, _object_spread({}, t))
266
277
  });
267
278
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
268
279
  style: (0, _css.applyCssVars)({
@@ -270,36 +281,36 @@ const C = (param)=>{
270
281
  }),
271
282
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", _object_spread_props(_object_spread({}, (0, _dom.getPrefixedDataAttributes)(_object_spread({
272
283
  "component-name": "Hero"
273
- }, n))), {
274
- ref: s,
284
+ }, l))), {
285
+ ref: c,
275
286
  style: _object_spread({
276
- backgroundColor: R[o]
277
- }, e === "100vh" ? {
287
+ backgroundColor: I[e]
288
+ }, o === "100vh" ? {
278
289
  maxHeight: "-webkit-fill-available"
279
290
  } : {}, (0, _css.applyCssVars)({
280
- [_herocssmistica.vars.height]: e !== null && e !== void 0 ? e : "100%"
291
+ [_herocssmistica.vars.height]: o !== null && o !== void 0 ? o : "100%"
281
292
  })),
282
293
  className: (0, _sprinklescssmistica.sprinkles)({
283
- height: "100%",
284
- display: "flex",
285
- alignItems: "center"
294
+ height: "100%"
286
295
  }),
287
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(C, {
288
- isInverse: c,
296
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(H, {
297
+ isInverse: x,
289
298
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_gridlayout.default, {
290
299
  template: "6+6",
291
300
  left: /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
292
- paddingY: 56,
293
- className: (0, _classnames.default)(_herocssmistica.container, _herocssmistica.containerDesktop),
294
- children: H
301
+ paddingY: n ? 0 : 56,
302
+ className: (0, _classnames.default)(_herocssmistica.container, _herocssmistica.containerDesktop, {
303
+ [_herocssmistica.containerMinHeight]: !n
304
+ }),
305
+ children: O
295
306
  }),
296
307
  right: /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
297
- paddingY: 56,
308
+ paddingY: n ? 0 : 56,
298
309
  className: (0, _classnames.default)(_herocssmistica.container, _herocssmistica.containerDesktop),
299
- children: w
310
+ children: L
300
311
  })
301
312
  })
302
313
  })
303
314
  }))
304
315
  });
305
- }), or = Y;
316
+ }), lr = W;
@@ -58,7 +58,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
58
58
  }
59
59
  return newObj;
60
60
  }
61
- const e = /*#__PURE__*/ _react.forwardRef((param, l)=>{
61
+ const n = /*#__PURE__*/ _react.forwardRef((param, l)=>{
62
62
  let { children: o, noScrollbar: r } = param;
63
63
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
64
64
  className: (0, _classnames.default)(_horizontalscrollcssmistica.scroll, {
@@ -67,4 +67,4 @@ const e = /*#__PURE__*/ _react.forwardRef((param, l)=>{
67
67
  ref: l,
68
68
  children: o
69
69
  });
70
- }), p = e;
70
+ }), p = n;
package/dist/image.js CHANGED
@@ -232,7 +232,7 @@ const X = (param)=>{
232
232
  "errorFallback"
233
233
  ]);
234
234
  var v;
235
- const h = (0, _hooks.useAriaId)(), l = _react.useRef(), u = i.circular ? _imagecssmistica.circularBorderRadius : m ? _imagecssmistica.noBorderRadius : _imagecssmistica.defaultBorderRadius, [I, f] = _react.useState(!o), [H, g] = _react.useState(!1), C = i.width && i.height ? void 0 : i.circular ? 1 : typeof e == "number" ? e : S[e], b = A && !!(C !== 0 || i.width && i.height), N = B && !!(C !== 0 || i.width && i.height), w = _react.useCallback(()=>{
235
+ const h = (0, _hooks.useAriaId)(), l = _react.useRef(), u = i.circular ? _imagecssmistica.circularBorderRadius : m ? _imagecssmistica.noBorderRadius : _imagecssmistica.defaultBorderRadius, [I, f] = _react.useState(!o), [H, g] = _react.useState(!1), C = i.width && i.height ? void 0 : i.circular ? 1 : typeof e == "number" ? e : S[e], b = A && !!(C !== 0 || i.width && i.height), T = B && !!(C !== 0 || i.width && i.height), w = _react.useCallback(()=>{
236
236
  f(!1), l.current && (l.current.style.opacity = "1"), setTimeout(()=>{
237
237
  g(!0);
238
238
  }, _imagecssmistica.FADE_IN_DURATION_MS), n == null || n();
@@ -249,13 +249,13 @@ const X = (param)=>{
249
249
  }, [
250
250
  w
251
251
  ]);
252
- const T = (0, _environment.isServerSide)() || !((v = document.getElementById(h)) != null && v.complete), _ = /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
252
+ const _ = (0, _environment.isServerSide)() || !((v = document.getElementById(h)) != null && v.complete), z = /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
253
253
  children: [
254
254
  /* @__PURE__ */ (0, _jsxruntime.jsx)("img", {
255
255
  suppressHydrationWarning: !0,
256
256
  id: h,
257
257
  style: {
258
- opacity: T && b ? 0 : 1
258
+ opacity: _ && b ? 0 : 1
259
259
  },
260
260
  ref: (0, _common.combineRefs)(l, E),
261
261
  src: o,
@@ -284,19 +284,21 @@ const X = (param)=>{
284
284
  style: {
285
285
  position: "absolute",
286
286
  width: "100%",
287
- height: "100%"
287
+ height: "100%",
288
+ overflow: "hidden"
288
289
  },
290
+ className: u,
289
291
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_skeletons.SkeletonAnimation, {
290
292
  height: (_i_height = i.height) !== null && _i_height !== void 0 ? _i_height : "100%",
291
293
  width: (_i_width = i.width) !== null && _i_width !== void 0 ? _i_width : "100%",
292
294
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_skeletonbase.default, {
293
295
  height: "100%",
294
296
  width: "100%",
295
- className: u
297
+ noBorderRadius: !0
296
298
  })
297
299
  })
298
300
  }),
299
- I && N && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
301
+ I && T && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
300
302
  style: {
301
303
  position: "absolute",
302
304
  width: "100%",
@@ -308,7 +310,7 @@ const X = (param)=>{
308
310
  className: u
309
311
  })
310
312
  }),
311
- !I && _
313
+ !I && z
312
314
  ]
313
315
  });
314
316
  }), e1 = /*#__PURE__*/ _react.forwardRef((e, d)=>{
package/dist/list.js CHANGED
@@ -11,19 +11,19 @@ function _export(target, all) {
11
11
  }
12
12
  _export(exports, {
13
13
  BoxedRow: function() {
14
- return pe;
14
+ return tt;
15
15
  },
16
16
  BoxedRowList: function() {
17
- return et;
17
+ return nt;
18
18
  },
19
19
  Content: function() {
20
- return Ce;
20
+ return ke;
21
21
  },
22
22
  Row: function() {
23
- return _e;
23
+ return pe;
24
24
  },
25
25
  RowList: function() {
26
- return $e;
26
+ return et;
27
27
  }
28
28
  });
29
29
  const _jsxruntime = require("react/jsx-runtime");
@@ -48,6 +48,7 @@ const _imagecssmistica = require("./image.css-mistica.js");
48
48
  const _skincontractcssmistica = require("./skins/skin-contract.css-mistica.js");
49
49
  const _css = require("./utils/css.js");
50
50
  const _iconbutton = require("./icon-button.js");
51
+ const _sprinklescssmistica = require("./sprinkles.css-mistica.js");
51
52
  function _interop_require_default(obj) {
52
53
  return obj && obj.__esModule ? obj : {
53
54
  default: obj
@@ -182,7 +183,7 @@ const ee = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
182
183
  height: "100%"
183
184
  },
184
185
  children: e
185
- }) : e, Ce = (param)=>{
186
+ }) : e, ke = (param)=>{
186
187
  let { withChevron: e, headline: n, title: r, titleAs: c, titleLinesMax: m, subtitle: g, subtitleLinesMax: v, description: A, descriptionLinesMax: M, detail: f, asset: S, type: x = "basic", badge: E, right: V, extra: l, labelId: W, disabled: o } = param;
187
188
  const j = (0, _themevariantcontext.useIsInverseVariant)(), d = [
188
189
  n,
@@ -312,7 +313,7 @@ const ee = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
312
313
  })
313
314
  ]
314
315
  });
315
- }, ke = (param)=>{
316
+ }, Ie = (param)=>{
316
317
  let { value: e, defaultValue: n, onChange: r } = param;
317
318
  const c = e !== void 0, [m, g] = _react.useState(!!n), v = ()=>{
318
319
  c || g(!m), r && r(c ? !e : !m);
@@ -324,10 +325,10 @@ const ee = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
324
325
  m,
325
326
  v
326
327
  ];
327
- }, Ie = (e)=>e.switch !== void 0, Pe = (e)=>e.checkbox !== void 0, Le = (e)=>e.radioValue !== void 0, Ae = (e)=>e.iconButton !== void 0, ne = /*#__PURE__*/ _react.forwardRef((e, n)=>{
328
- const r = (0, _hooks.useAriaId)(), c = (0, _themevariantcontext.useIsInverseVariant)(), { asset: m, headline: g, title: v, titleLinesMax: A, subtitle: M, subtitleLinesMax: f, description: S, descriptionLinesMax: x, detail: E, badge: V, role: l, extra: W, dataAttributes: o } = e, j = (0, _radiobutton.useRadioContext)(), i = e.disabled || e.radioValue !== void 0 && j.disabled, d = !i && !c, u = !i && c, [G, J] = ke(e.switch || e.checkbox || {}), b = (param)=>{
328
+ }, Pe = (e)=>e.switch !== void 0, Le = (e)=>e.checkbox !== void 0, Ae = (e)=>e.radioValue !== void 0, Ee = (e)=>e.iconButton !== void 0, ne = /*#__PURE__*/ _react.forwardRef((e, n)=>{
329
+ const r = (0, _hooks.useAriaId)(), c = (0, _themevariantcontext.useIsInverseVariant)(), { asset: m, headline: g, title: v, titleLinesMax: A, subtitle: M, subtitleLinesMax: f, description: S, descriptionLinesMax: x, detail: E, badge: V, role: l, extra: W, dataAttributes: o } = e, j = (0, _radiobutton.useRadioContext)(), i = e.disabled || e.radioValue !== void 0 && j.disabled, d = !i && !c, u = !i && c, [G, J] = Ie(e.switch || e.checkbox || {}), b = (param)=>{
329
330
  let { type: s, right: w, labelId: X } = param;
330
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(Ce, {
331
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(ke, {
331
332
  asset: m,
332
333
  headline: g,
333
334
  title: v,
@@ -356,7 +357,7 @@ const ee = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
356
357
  })
357
358
  });
358
359
  };
359
- if (e.onPress && !Ie(e) && !Pe(e) && !Le(e) && !Ae(e)) return /* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.BaseTouchable, {
360
+ if (e.onPress && !Pe(e) && !Le(e) && !Ae(e) && !Ee(e)) return /* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.BaseTouchable, {
360
361
  ref: n,
361
362
  className: (0, _classnames.default)(_listcssmistica.rowContent, {
362
363
  [_listcssmistica.touchableBackground]: d,
@@ -596,13 +597,16 @@ const ee = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
596
597
  type: "basic"
597
598
  })
598
599
  });
599
- }), _e = /*#__PURE__*/ _react.forwardRef((_param, c)=>{
600
+ }), pe = /*#__PURE__*/ _react.forwardRef((_param, c)=>{
600
601
  var { dataAttributes: e, role: n = "listitem" } = _param, r = _object_without_properties(_param, [
601
602
  "dataAttributes",
602
603
  "role"
603
604
  ]);
604
605
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
605
606
  role: n,
607
+ className: (0, _sprinklescssmistica.sprinkles)({
608
+ width: "100%"
609
+ }),
606
610
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(ne, _object_spread_props(_object_spread({}, r), {
607
611
  ref: c,
608
612
  dataAttributes: _object_spread({
@@ -610,7 +614,7 @@ const ee = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
610
614
  }, e)
611
615
  }))
612
616
  });
613
- }), $e = (param)=>{
617
+ }), et = (param)=>{
614
618
  let { children: e, ariaLabelledby: n, role: r = "list", dataAttributes: c } = param;
615
619
  const m = _react.Children.count(e) - 1;
616
620
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", _object_spread_props(_object_spread({
@@ -627,7 +631,7 @@ const ee = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
627
631
  ]
628
632
  }, v))
629
633
  }));
630
- }, pe = /*#__PURE__*/ _react.forwardRef((_param, r)=>{
634
+ }, tt = /*#__PURE__*/ _react.forwardRef((_param, r)=>{
631
635
  var { dataAttributes: e } = _param, n = _object_without_properties(_param, [
632
636
  "dataAttributes"
633
637
  ]);
@@ -639,7 +643,7 @@ const ee = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
639
643
  }, e),
640
644
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(ne, _object_spread({}, n))
641
645
  });
642
- }), et = (param)=>{
646
+ }), nt = (param)=>{
643
647
  let { children: e, ariaLabelledby: n, role: r = "list", dataAttributes: c } = param;
644
648
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_stack.default, {
645
649
  space: 16,
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "default", {
7
7
  enumerable: true,
8
8
  get: function() {
9
- return h;
9
+ return u;
10
10
  }
11
11
  });
12
12
  const _jsxruntime = require("react/jsx-runtime");
@@ -85,4 +85,4 @@ const l = (param)=>{
85
85
  })
86
86
  }))
87
87
  });
88
- }, h = l;
88
+ }, u = l;
@@ -232,7 +232,7 @@ const L = (param)=>{
232
232
  })
233
233
  }, c)
234
234
  });
235
- }, R = /*#__PURE__*/ _react.forwardRef((param, d)=>{
235
+ }, x = /*#__PURE__*/ _react.forwardRef((param, d)=>{
236
236
  let { isInverse: e, children: r, isLoading: t = !0, animateText: i, animateBackground: c, onClose: s, dataAttributes: a, title: l, description: u, texts: m = [
237
237
  {
238
238
  title: l,
@@ -322,7 +322,7 @@ const L = (param)=>{
322
322
  })
323
323
  ]
324
324
  });
325
- }), pe = /*#__PURE__*/ _react.forwardRef((e, r)=>/* @__PURE__ */ (0, _jsxruntime.jsx)(R, _object_spread_props(_object_spread({
325
+ }), pe = /*#__PURE__*/ _react.forwardRef((e, r)=>/* @__PURE__ */ (0, _jsxruntime.jsx)(x, _object_spread_props(_object_spread({
326
326
  ref: r
327
327
  }, e), {
328
328
  dataAttributes: _object_spread({
@@ -376,7 +376,7 @@ const L = (param)=>{
376
376
  }, d = ()=>{
377
377
  l.current && u.current && (r == null || r());
378
378
  };
379
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(R, _object_spread_props(_object_spread({
379
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(x, _object_spread_props(_object_spread({
380
380
  ref: c,
381
381
  isInverse: !0
382
382
  }, i), {
@@ -8,4 +8,4 @@ Object.defineProperty(exports, "PACKAGE_VERSION", {
8
8
  return o;
9
9
  }
10
10
  });
11
- const o = "15.2.0";
11
+ const o = "15.3.0";
package/dist/pin-field.js CHANGED
@@ -171,7 +171,7 @@ const x = (param)=>{
171
171
  l,
172
172
  d
173
173
  ]);
174
- const D = (s)=>(e)=>{
174
+ const H = (s)=>(e)=>{
175
175
  var k;
176
176
  const r = e.target.value;
177
177
  if (r === "") return;
@@ -226,7 +226,7 @@ const x = (param)=>{
226
226
  readOnly: y,
227
227
  autoComplete: d ? "one-time-code" : void 0,
228
228
  value: (_t_e = t[e]) !== null && _t_e !== void 0 ? _t_e : "",
229
- onChange: D(e),
229
+ onChange: H(e),
230
230
  onKeyDown: (r)=>{
231
231
  switch(r.key){
232
232
  case "Backspace":
@@ -144,16 +144,16 @@ const E = (param)=>{
144
144
  }));
145
145
  }, R = (param)=>{
146
146
  let { steps: r, currentStep: o = 0, color: d, dataAttributes: l, "aria-label": i, "aria-labelledby": n } = param;
147
- const { texts: c } = (0, _hooks.useTheme)(), [a, p] = _react.useState(Math.ceil(o)), [s, k] = _react.useState(!1);
147
+ const { texts: c } = (0, _hooks.useTheme)(), [a, p] = _react.useState(Math.ceil(o)), [s, y] = _react.useState(!1);
148
148
  _react.useEffect(()=>{
149
149
  const e = Math.ceil(o);
150
- a !== e && (k(e < a), p(e));
150
+ a !== e && (y(e < a), p(e));
151
151
  }, [
152
152
  o,
153
153
  r,
154
154
  a
155
155
  ]);
156
- const y = n ? void 0 : (()=>{
156
+ const A = n ? void 0 : (()=>{
157
157
  const e = c.progressBarStepLabel.replace("1$s", String(a)).replace("2$s", String(r));
158
158
  return i ? `${i}, ${e.toLowerCase()}` : e;
159
159
  })();
@@ -162,7 +162,7 @@ const E = (param)=>{
162
162
  "aria-valuenow": a,
163
163
  "aria-valuemin": 0,
164
164
  "aria-valuemax": r,
165
- "aria-label": y,
165
+ "aria-label": A,
166
166
  "aria-labelledby": n,
167
167
  className: _progressbarcssmistica.progressBarSteppedContainer,
168
168
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_inline.default, {
@@ -156,14 +156,14 @@ function _object_without_properties_loose(source, excluded) {
156
156
  }
157
157
  return target;
158
158
  }
159
- const D = /*#__PURE__*/ _react.createContext({
159
+ const N = /*#__PURE__*/ _react.createContext({
160
160
  disabled: !1,
161
161
  selectedValue: null,
162
162
  focusableValue: null,
163
163
  select: ()=>{},
164
164
  selectNext: ()=>{},
165
165
  selectPrev: ()=>{}
166
- }), z = ()=>_react.useContext(D), J = (_param)=>{
166
+ }), z = ()=>_react.useContext(N), J = (_param)=>{
167
167
  var { value: e, id: s, dataAttributes: C, "aria-labelledby": R } = _param, d = _object_without_properties(_param, [
168
168
  "value",
169
169
  "id",
@@ -286,7 +286,7 @@ const D = /*#__PURE__*/ _react.createContext({
286
286
  role: "radiogroup",
287
287
  "aria-labelledby": e["aria-labelledby"]
288
288
  }, (0, _dom.getPrefixedDataAttributes)(e.dataAttributes, "RadioGroup")), {
289
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(D.Provider, {
289
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(N.Provider, {
290
290
  value: {
291
291
  disabled: l,
292
292
  selectedValue: p !== null && p !== void 0 ? p : C,
@@ -9,31 +9,40 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- backgroundVariant: function() {
12
+ MOBILE_SIDE_MARGIN: function() {
13
13
  return e;
14
14
  },
15
- expandedResponsiveLayoutContainerDesktop: function() {
15
+ SMALL_DESKTOP_SIDE_MARGIN: function() {
16
+ return r;
17
+ },
18
+ TABLET_SIDE_MARGIN: function() {
16
19
  return n;
17
20
  },
21
+ backgroundVariant: function() {
22
+ return v;
23
+ },
24
+ expandedResponsiveLayoutContainerDesktop: function() {
25
+ return t;
26
+ },
18
27
  expandedResponsiveLayoutContainerMobile: function() {
19
- return r;
28
+ return _;
20
29
  },
21
30
  fullWidth: function() {
22
- return t;
31
+ return i;
23
32
  },
24
33
  fullwidthContainer: function() {
25
- return v;
34
+ return f;
26
35
  },
27
36
  responsiveLayout: function() {
28
- return i;
37
+ return l;
29
38
  },
30
39
  responsiveLayoutContainer: function() {
31
- return f;
40
+ return p;
32
41
  }
33
42
  });
34
43
  require("./sprinkles.css.ts.vanilla.css-mistica.js");
35
44
  require("./responsive-layout.css.ts.vanilla.css-mistica.js");
36
- var e = {
45
+ var e = 16, r = 40, n = 32, v = {
37
46
  inverse: "_1y2v1nf3t",
38
47
  alternative: "_1y2v1nf3y"
39
- }, n = "_17lofg74", r = "_17lofg73", t = "_17lofg7a _1y2v1nfhx", v = "_17lofg75", i = "_17lofg78", f = "_17lofg72 _1y2v1nfhx";
48
+ }, t = "_17lofg74", _ = "_17lofg73", i = "_17lofg7a _1y2v1nfhx", f = "_17lofg75", l = "_17lofg78", p = "_17lofg72 _1y2v1nfhx";
@@ -12,6 +12,7 @@ type Props = {
12
12
  };
13
13
  export declare const InternalResponsiveLayout: React.FC<Props & {
14
14
  shouldExpandWhenNested?: boolean | 'desktop';
15
+ innerDivClassName?: string;
15
16
  }>;
16
17
  declare const ResponsiveLayout: React.FC<Props>;
17
18
  export default ResponsiveLayout;