@telefonica/mistica 14.37.0 → 14.39.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 (66) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/carousel.js +46 -43
  3. package/dist/chip.js +51 -34
  4. package/dist/empty-state-card.js +24 -18
  5. package/dist/image.css-mistica.js +7 -4
  6. package/dist/image.css.d.ts +1 -0
  7. package/dist/image.js +69 -58
  8. package/dist/index.d.ts +1 -0
  9. package/dist/index.js +7 -0
  10. package/dist/inline.css-mistica.js +14 -12
  11. package/dist/inline.css.d.ts +5 -1
  12. package/dist/inline.d.ts +4 -2
  13. package/dist/inline.js +31 -16
  14. package/dist/loading-bar.css-mistica.js +6 -18
  15. package/dist/loading-bar.css.d.ts +1 -4
  16. package/dist/loading-bar.js +22 -27
  17. package/dist/loading-screen.css-mistica.js +51 -0
  18. package/dist/loading-screen.css.d.ts +11 -0
  19. package/dist/loading-screen.css.ts.vanilla.css-mistica.js +11 -0
  20. package/dist/loading-screen.d.ts +28 -0
  21. package/dist/loading-screen.js +398 -0
  22. package/dist/logo.css-mistica.js +21 -5
  23. package/dist/logo.css.d.ts +7 -0
  24. package/dist/logo.d.ts +2 -2
  25. package/dist/logo.js +86 -61
  26. package/dist/navigation-bar.css-mistica.js +43 -37
  27. package/dist/navigation-bar.css.d.ts +3 -1
  28. package/dist/navigation-bar.js +165 -209
  29. package/dist/package-version.js +1 -1
  30. package/dist/tabs.css.d.ts +1 -1
  31. package/dist/vivinho-loading-animation/in-lottie.json.js +1479 -0
  32. package/dist/vivinho-loading-animation/index.d.ts +8 -0
  33. package/dist/vivinho-loading-animation/index.js +119 -0
  34. package/dist/vivinho-loading-animation/out-lottie.json.js +2143 -0
  35. package/dist/vivinho-loading-animation/pulse-lottie.json.js +2017 -0
  36. package/dist/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +20 -0
  37. package/dist/vivinho-loading-animation/vivinho-loading-animation.css.d.ts +2 -0
  38. package/dist/vivinho-loading-animation/vivinho-loading-animation.css.ts.vanilla.css-mistica.js +11 -0
  39. package/dist/vivinho-loading-animation/wave-lottie.json.js +10207 -0
  40. package/dist-es/carousel.js +46 -43
  41. package/dist-es/chip.js +78 -61
  42. package/dist-es/empty-state-card.js +41 -35
  43. package/dist-es/image.css-mistica.js +2 -2
  44. package/dist-es/image.js +86 -76
  45. package/dist-es/index.js +1782 -1781
  46. package/dist-es/inline.css-mistica.js +7 -8
  47. package/dist-es/inline.js +39 -24
  48. package/dist-es/loading-bar.css-mistica.js +2 -2
  49. package/dist-es/loading-bar.js +22 -32
  50. package/dist-es/loading-screen.css-mistica.js +7 -0
  51. package/dist-es/loading-screen.css.ts.vanilla.css-mistica.js +2 -0
  52. package/dist-es/loading-screen.js +335 -0
  53. package/dist-es/logo.css-mistica.js +7 -2
  54. package/dist-es/logo.js +110 -85
  55. package/dist-es/navigation-bar.css-mistica.js +19 -19
  56. package/dist-es/navigation-bar.js +219 -263
  57. package/dist-es/package-version.js +1 -1
  58. package/dist-es/style.css +1 -1
  59. package/dist-es/vivinho-loading-animation/in-lottie.json.js +1426 -0
  60. package/dist-es/vivinho-loading-animation/index.js +64 -0
  61. package/dist-es/vivinho-loading-animation/out-lottie.json.js +2090 -0
  62. package/dist-es/vivinho-loading-animation/pulse-lottie.json.js +1964 -0
  63. package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +3 -0
  64. package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css.ts.vanilla.css-mistica.js +2 -0
  65. package/dist-es/vivinho-loading-animation/wave-lottie.json.js +10154 -0
  66. package/package.json +2 -1
@@ -78,381 +78,337 @@ function _object_without_properties_loose(source, excluded) {
78
78
  }
79
79
  return target;
80
80
  }
81
- import { jsxs as i, Fragment as L, jsx as e } from "react/jsx-runtime";
82
- import * as S from "react";
81
+ import { jsxs as i, jsx as e, Fragment as F } from "react/jsx-runtime";
82
+ import * as k from "react";
83
83
  import { createElement as Y } from "react";
84
84
  import { Transition as Z } from "react-transition-group";
85
- import M from "classnames";
86
- import m from "./responsive-layout.js";
87
- import u from "./inline.js";
88
- import { BaseTouchable as w } from "./touchable.js";
89
- import { Text3 as z, Text2 as ee } from "./text.js";
90
- import { useTheme as O, useAriaId as ne, useScreenSize as R } from "./hooks.js";
91
- import re from "./generated/mistica-icons/icon-menu-regular.js";
92
- import te from "./generated/mistica-icons/icon-close-regular.js";
93
- import ae from "./generated/mistica-icons/icon-chevron-left-regular.js";
94
- import U from "./icon-button.js";
95
- import oe from "./negative-box.js";
96
- import { RowList as ie, Row as ce } from "./list.js";
97
- import { ThemeVariant as A, useIsInverseVariant as se } from "./theme-variant-context.js";
98
- import V from "./focus-trap.js";
99
- import { Portal as le } from "./portal.js";
100
- import de from "./grid-layout.js";
101
- import { useSetModalState as me } from "./modal-context-provider.js";
102
- import { Logo as j } from "./logo.js";
85
+ import u from "classnames";
86
+ import g from "./responsive-layout.js";
87
+ import v from "./inline.js";
88
+ import { BaseTouchable as P } from "./touchable.js";
89
+ import { Text3 as _, Text2 as ee } from "./text.js";
90
+ import { useTheme as x, useAriaId as ne, useScreenSize as re } from "./hooks.js";
91
+ import te from "./generated/mistica-icons/icon-menu-regular.js";
92
+ import ae from "./generated/mistica-icons/icon-close-regular.js";
93
+ import oe from "./generated/mistica-icons/icon-chevron-left-regular.js";
94
+ import z from "./icon-button.js";
95
+ import ie from "./negative-box.js";
96
+ import { RowList as se, Row as ce } from "./list.js";
97
+ import { ThemeVariant as C, useIsInverseVariant as le } from "./theme-variant-context.js";
98
+ import G from "./focus-trap.js";
99
+ import { Portal as de } from "./portal.js";
100
+ import me from "./grid-layout.js";
101
+ import { useSetModalState as ue } from "./modal-context-provider.js";
102
+ import { Logo as U } from "./logo.js";
103
103
  import { vars as H } from "./skins/skin-contract.css-mistica.js";
104
- import { logoContainer as P, spacer as T, burgerMenu as ue, burgerMenuTransition as pe, spacerLarge as he, iconButtonVariants as ge, lineHeightFix as W, textWrapperVariants as F, burgerIconContainer as fe, iconCloseOpen as Ne, iconCloseHidden as ve, iconMenuHidden as Be, iconMenuOpen as be, topFixed as Me, topFixedBottomRow as Ae, navigationBarContent as Te, navigationBarContentRight as Ie, section as Ce, selectedSectionVariantes as Se, navbarBorderColorVariants as C } from "./navigation-bar.css-mistica.js";
105
- import { sprinkles as $ } from "./sprinkles.css-mistica.js";
106
- import { getPrefixedDataAttributes as Oe } from "./utils/dom.js";
107
- import Re from "./stack.js";
108
- import xe from "./box.js";
109
- import { isRunningAcceptanceTest as _e } from "./utils/platform.js";
110
- const ke = (param)=>/* @__PURE__ */ {
104
+ import { mainNavbarContent as pe, burgerMenuButton as he, logoContainer as ge, spacerLarge as fe, spacer as S, burgerMenu as ve, burgerMenuTransition as Ne, iconButtonVariants as Be, lineHeightFix as j, textWrapperVariants as $, burgerIconContainer as be, iconCloseOpen as Me, iconCloseHidden as ke, iconMenuHidden as xe, iconMenuOpen as Ce, topFixed as Se, navigationBarContent as Ae, desktopOnly as W, navigationBarContentRight as Te, section as Oe, selectedSectionVariantes as Ie, navbarBorderColorVariants as M } from "./navigation-bar.css-mistica.js";
105
+ import { sprinkles as q } from "./sprinkles.css-mistica.js";
106
+ import { getPrefixedDataAttributes as Re } from "./utils/dom.js";
107
+ import ye from "./stack.js";
108
+ import Ee from "./box.js";
109
+ import { isRunningAcceptanceTest as we } from "./utils/platform.js";
110
+ const Le = (param)=>/* @__PURE__ */ {
111
111
  let { isOpen: n } = param;
112
112
  return i("div", {
113
- className: fe,
113
+ className: be,
114
114
  role: "presentation",
115
115
  "data-component-name": "BurgerMenuIcon",
116
116
  children: [
117
117
  /* @__PURE__ */ e("div", {
118
- className: n ? Ne : ve,
119
- children: /* @__PURE__ */ e(te, {})
118
+ className: n ? Me : ke,
119
+ children: /* @__PURE__ */ e(ae, {})
120
120
  }),
121
121
  /* @__PURE__ */ e("div", {
122
- className: n ? Be : be,
123
- children: /* @__PURE__ */ e(re, {})
122
+ className: n ? xe : Ce,
123
+ children: /* @__PURE__ */ e(te, {})
124
124
  })
125
125
  ]
126
126
  });
127
- }, Ee = 300, f = (param)=>{
128
- let { children: n, topFixed: o, withBorder: t, isMenuOpen: r, isInverse: a, dataAttributes: c, isBottomRow: d = !1 } = param;
129
- const { isDarkMode: s } = O();
127
+ }, Ve = 300, A = (param)=>{
128
+ let { children: n, topFixed: a, withBorder: t, isMenuOpen: r, isInverse: o, dataAttributes: d } = param;
129
+ const { isDarkMode: s } = x();
130
130
  return /* @__PURE__ */ e("header", _object_spread_props(_object_spread({
131
- className: M((()=>{
132
- const h = a && !s;
133
- return r || h || !t ? C.noBorder : r && !h ? C.menuOpen : C.default;
134
- })(), {
135
- [Me]: o && !d,
136
- [Ae]: o && d
131
+ className: u((()=>o && !s || !t ? M.noBorder : r ? M.menuOpen : M.default)(), {
132
+ [Se]: a
137
133
  }),
138
134
  style: {
139
- borderBottomWidth: t ? 1 : 0,
140
- background: a ? H.colors.navigationBarBackground : H.colors.background
135
+ background: o ? H.colors.navigationBarBackground : H.colors.background
141
136
  }
142
- }, Oe(c)), {
137
+ }, Re(d)), {
143
138
  children: n
144
139
  }));
145
- }, Ge = 136, ye = 24, N = (param)=>{
146
- let { right: n, children: o } = param;
147
- const { isTabletOrSmaller: t } = R();
148
- return /* @__PURE__ */ i("div", {
149
- className: Te,
140
+ }, f = (param)=>/* @__PURE__ */ {
141
+ let { right: n, children: a, desktopOnly: t } = param;
142
+ return i("div", {
143
+ className: u(Ae, {
144
+ [W]: t
145
+ }),
150
146
  children: [
151
- o,
147
+ a,
152
148
  n && /* @__PURE__ */ e("div", {
153
- className: Ie,
154
- style: {
155
- marginLeft: t ? ye : Ge
156
- },
149
+ className: Te,
157
150
  children: n
158
151
  })
159
152
  ]
160
153
  });
161
- }, dn = (param)=>{
162
- let { sections: n, selectedIndex: o, right: t, isInverse: r = !1, topFixed: a = !0, withBorder: c = !0, burgerMenuExtra: d, logo: s, large: p = !1 } = param;
163
- const { texts: h, isDarkMode: q } = O(), [l, x] = S.useState(!1), [_, v] = S.useState("closed"), k = ne(), J = q ? 1 : 0.2, { isTabletOrSmaller: E } = R(), G = me();
164
- if (s = s !== null && s !== void 0 ? s : /* @__PURE__ */ e(j, {
165
- size: E ? 40 : 48
166
- }), E) {
167
- const I = ()=>{
168
- x(!0), G({
169
- isModalOpen: !0
170
- });
171
- }, b = ()=>{
172
- x(!1), G({
173
- isModalOpen: !1
174
- });
175
- }, g = _ !== "open", D = n.length > 1;
176
- return /* @__PURE__ */ i(L, {
177
- children: [
178
- /* @__PURE__ */ i(V, {
179
- disabled: g,
180
- group: "burger-menu-lock",
181
- children: [
182
- /* @__PURE__ */ e(A, {
183
- isInverse: r,
184
- children: /* @__PURE__ */ e(f, {
185
- topFixed: a,
186
- withBorder: c,
187
- isMenuOpen: l,
188
- isInverse: r,
189
- dataAttributes: {
190
- "component-name": "MainNavigationBar"
191
- },
192
- children: /* @__PURE__ */ e(m, {
193
- children: /* @__PURE__ */ e(N, {
194
- right: t,
195
- children: /* @__PURE__ */ i(u, {
196
- space: 24,
197
- alignItems: "center",
198
- children: [
199
- D && /* @__PURE__ */ e(U, {
200
- "aria-live": "polite",
201
- "aria-label": l ? h.closeNavigationMenu : h.openNavigationMenu,
202
- "aria-expanded": l,
203
- "aria-controls": k,
204
- onPress: l ? b : I,
205
- children: /* @__PURE__ */ e(ke, {
206
- isOpen: l
207
- })
208
- }),
209
- /* @__PURE__ */ e("div", {
210
- className: P,
211
- children: s
212
- })
213
- ]
214
- })
215
- })
216
- })
217
- })
218
- }),
219
- a && /* @__PURE__ */ e("div", {
220
- className: T
221
- })
222
- ]
223
- }),
224
- D && /* @__PURE__ */ e(le, {
225
- children: /* @__PURE__ */ e(V, {
226
- disabled: g,
227
- group: "burger-menu-lock",
228
- children: /* @__PURE__ */ e(Z, {
229
- onEntering: ()=>{
230
- v("opening");
231
- },
232
- onEntered: ()=>{
233
- v("open");
234
- },
235
- onExiting: ()=>{
236
- v("closing");
237
- },
238
- onExited: ()=>{
239
- v("closed");
240
- },
241
- in: l,
242
- timeout: _e() ? 0 : Ee,
243
- unmountOnExit: !0,
244
- children: (K)=>/* @__PURE__ */ e(L, {
245
- children: /* @__PURE__ */ e("nav", {
246
- className: M(ue, pe[K]),
247
- style: {
248
- boxShadow: _ !== "closed" ? `6px 0 4px -4px rgba(0, 0, 0, ${J})` : "none"
249
- },
250
- id: k,
251
- onClick: ()=>{
252
- b();
253
- },
254
- children: /* @__PURE__ */ e(m, {
255
- children: /* @__PURE__ */ i(Re, {
256
- space: 16,
257
- children: [
258
- /* @__PURE__ */ e(oe, {
259
- children: /* @__PURE__ */ e(ie, {
260
- children: n.map((Q, X)=>/* @__PURE__ */ e(ce, _object_spread({}, Q), X))
261
- })
262
- }),
263
- d && /* @__PURE__ */ e(xe, {
264
- paddingBottom: 16,
265
- children: d
266
- })
267
- ]
268
- })
269
- })
270
- })
271
- })
272
- })
273
- })
274
- })
275
- ]
276
- });
277
- }
278
- const y = ()=>/* @__PURE__ */ e("nav", {
279
- children: /* @__PURE__ */ e(u, {
154
+ }, mn = (param)=>{
155
+ let { sections: n, selectedIndex: a, right: t, isInverse: r = !1, topFixed: o = !0, withBorder: d = !0, burgerMenuExtra: s, logo: c, large: m = !1 } = param;
156
+ const { texts: T, isDarkMode: J } = x(), [l, O] = k.useState(!1), [I, p] = k.useState("closed"), R = ne(), K = J ? 1 : 0.2, { isTabletOrSmaller: Q } = re(), y = ue();
157
+ c = c !== null && c !== void 0 ? c : /* @__PURE__ */ e(U, {
158
+ size: {
159
+ mobile: 40,
160
+ desktop: 48
161
+ }
162
+ });
163
+ const E = ()=>/* @__PURE__ */ e("nav", {
164
+ className: W,
165
+ children: /* @__PURE__ */ e(v, {
280
166
  space: 32,
281
- children: n.map((_param, g)=>/* @__PURE__ */ /*#__PURE__*/ {
282
- var { title: I } = _param, b = _object_without_properties(_param, [
167
+ children: n.map((_param, h)=>/* @__PURE__ */ /*#__PURE__*/ {
168
+ var { title: B } = _param, b = _object_without_properties(_param, [
283
169
  "title"
284
170
  ]);
285
- return Y(w, _object_spread_props(_object_spread({}, b), {
286
- key: g,
287
- className: M(Ce, {
288
- [Se[r ? "inverse" : "default"]]: g === o
289
- }, F[r ? "inverse" : "default"])
290
- }), /* @__PURE__ */ e(z, {
171
+ return Y(P, _object_spread_props(_object_spread({}, b), {
172
+ key: h,
173
+ className: u(Oe, {
174
+ [Ie[r ? "inverse" : "default"]]: h === a
175
+ }, $[r ? "inverse" : "default"])
176
+ }), /* @__PURE__ */ e(_, {
291
177
  regular: !0,
292
178
  color: "inherit",
293
- children: I
179
+ children: B
294
180
  }));
295
181
  })
296
182
  })
297
- }), B = p && n.length > 0;
298
- return /* @__PURE__ */ i(A, {
183
+ }), N = m && n.length > 0, X = ()=>{
184
+ O(!0), y({
185
+ isModalOpen: !0
186
+ });
187
+ }, w = ()=>{
188
+ O(!1), y({
189
+ isModalOpen: !1
190
+ });
191
+ }, L = I !== "open", V = n.length > 1, D = /* @__PURE__ */ i(C, {
299
192
  isInverse: r,
300
193
  children: [
301
- /* @__PURE__ */ e(f, {
302
- topFixed: a,
303
- withBorder: c && !B,
194
+ /* @__PURE__ */ e(A, {
195
+ topFixed: o,
196
+ withBorder: d,
304
197
  isMenuOpen: l,
305
198
  isInverse: r,
306
199
  dataAttributes: {
307
200
  "component-name": "MainNavigationBar"
308
201
  },
309
- children: /* @__PURE__ */ e(m, {
310
- children: /* @__PURE__ */ e(N, {
311
- right: t,
312
- children: /* @__PURE__ */ i(u, {
313
- space: 48,
314
- alignItems: "center",
315
- children: [
316
- /* @__PURE__ */ e("div", {
317
- className: P,
318
- children: s
319
- }),
320
- !B && y()
321
- ]
202
+ children: /* @__PURE__ */ i(g, {
203
+ children: [
204
+ /* @__PURE__ */ e(f, {
205
+ right: t,
206
+ children: /* @__PURE__ */ i("div", {
207
+ className: pe,
208
+ children: [
209
+ V && /* @__PURE__ */ e(z, {
210
+ className: he,
211
+ "aria-live": "polite",
212
+ "aria-label": l ? T.closeNavigationMenu : T.openNavigationMenu,
213
+ "aria-expanded": l,
214
+ "aria-controls": R,
215
+ onPress: l ? w : X,
216
+ children: /* @__PURE__ */ e(Le, {
217
+ isOpen: l
218
+ })
219
+ }),
220
+ /* @__PURE__ */ e("div", {
221
+ className: ge,
222
+ children: c
223
+ }),
224
+ !N && E()
225
+ ]
226
+ })
227
+ }),
228
+ N && /* @__PURE__ */ e(f, {
229
+ desktopOnly: !0,
230
+ children: E()
322
231
  })
323
- })
232
+ ]
324
233
  })
325
234
  }),
326
- B && /* @__PURE__ */ e(f, {
327
- topFixed: a,
328
- withBorder: c,
329
- isBottomRow: !0,
330
- isMenuOpen: l,
331
- isInverse: r,
332
- dataAttributes: {
333
- "component-name": "MainNavigationBar"
334
- },
335
- children: /* @__PURE__ */ e(m, {
336
- children: /* @__PURE__ */ e(N, {
337
- children: y()
235
+ o && /* @__PURE__ */ e("div", {
236
+ className: N ? fe : S
237
+ })
238
+ ]
239
+ });
240
+ return Q ? /* @__PURE__ */ i(F, {
241
+ children: [
242
+ /* @__PURE__ */ e(G, {
243
+ disabled: L,
244
+ group: "burger-menu-lock",
245
+ children: D
246
+ }),
247
+ V && /* @__PURE__ */ e(de, {
248
+ children: /* @__PURE__ */ e(G, {
249
+ disabled: L,
250
+ group: "burger-menu-lock",
251
+ children: /* @__PURE__ */ e(Z, {
252
+ onEntering: ()=>{
253
+ p("opening");
254
+ },
255
+ onEntered: ()=>{
256
+ p("open");
257
+ },
258
+ onExiting: ()=>{
259
+ p("closing");
260
+ },
261
+ onExited: ()=>{
262
+ p("closed");
263
+ },
264
+ in: l,
265
+ timeout: we() ? 0 : Ve,
266
+ unmountOnExit: !0,
267
+ children: (B)=>/* @__PURE__ */ e(F, {
268
+ children: /* @__PURE__ */ e("nav", {
269
+ className: u(ve, Ne[B]),
270
+ style: {
271
+ boxShadow: I !== "closed" ? `6px 0 4px -4px rgba(0, 0, 0, ${K})` : "none"
272
+ },
273
+ id: R,
274
+ onClick: ()=>{
275
+ w();
276
+ },
277
+ children: /* @__PURE__ */ e(g, {
278
+ children: /* @__PURE__ */ i(ye, {
279
+ space: 16,
280
+ children: [
281
+ /* @__PURE__ */ e(ie, {
282
+ children: /* @__PURE__ */ e(se, {
283
+ children: n.map((b, h)=>/* @__PURE__ */ e(ce, _object_spread({}, b), h))
284
+ })
285
+ }),
286
+ s && /* @__PURE__ */ e(Ee, {
287
+ paddingBottom: 16,
288
+ children: s
289
+ })
290
+ ]
291
+ })
292
+ })
293
+ })
294
+ })
338
295
  })
339
296
  })
340
- }),
341
- a && /* @__PURE__ */ e("div", {
342
- className: B ? he : T
343
297
  })
344
298
  ]
345
- });
346
- }, mn = (param)=>{
347
- let { onBack: n, title: o, right: t, isInverse: r = !1, topFixed: a = !0, paddingX: c = 0, withBorder: d = !0 } = param;
348
- const { texts: s } = O(), p = /* @__PURE__ */ e(N, {
299
+ }) : D;
300
+ }, un = (param)=>{
301
+ let { onBack: n, title: a, right: t, isInverse: r = !1, topFixed: o = !0, paddingX: d = 0, withBorder: s = !0 } = param;
302
+ const { texts: c } = x(), m = /* @__PURE__ */ e(f, {
349
303
  right: t,
350
- children: /* @__PURE__ */ i(u, {
304
+ children: /* @__PURE__ */ i(v, {
351
305
  space: 24,
352
306
  alignItems: "center",
353
307
  children: [
354
- n && /* @__PURE__ */ e(U, {
355
- "aria-label": s.backNavigationBar,
308
+ n && /* @__PURE__ */ e(z, {
309
+ "aria-label": c.backNavigationBar,
356
310
  onPress: n,
357
- className: ge[r ? "inverse" : "default"],
358
- children: /* @__PURE__ */ e(ae, {
311
+ className: Be[r ? "inverse" : "default"],
312
+ children: /* @__PURE__ */ e(oe, {
359
313
  color: "currentColor"
360
314
  })
361
315
  }),
362
- /* @__PURE__ */ e(z, {
316
+ /* @__PURE__ */ e(_, {
363
317
  regular: !0,
364
318
  truncate: !0,
365
- children: o
319
+ children: a
366
320
  })
367
321
  ]
368
322
  })
369
323
  });
370
- return /* @__PURE__ */ i(A, {
324
+ return /* @__PURE__ */ i(C, {
371
325
  isInverse: r,
372
326
  children: [
373
- /* @__PURE__ */ e(f, {
374
- topFixed: a,
375
- withBorder: d,
327
+ /* @__PURE__ */ e(A, {
328
+ topFixed: o,
329
+ withBorder: s,
376
330
  isInverse: r,
377
331
  dataAttributes: {
378
332
  "component-name": "NavigationBar"
379
333
  },
380
- children: a ? /* @__PURE__ */ e(m, {
381
- children: p
334
+ children: o ? /* @__PURE__ */ e(g, {
335
+ children: m
382
336
  }) : /* @__PURE__ */ e("div", {
383
- className: $({
337
+ className: q({
384
338
  width: "100%"
385
339
  }),
386
340
  style: {
387
- padding: `0 ${c}px`
341
+ padding: `0 ${d}px`
388
342
  },
389
- children: p
343
+ children: m
390
344
  })
391
345
  }),
392
- a && /* @__PURE__ */ e("div", {
393
- className: T
346
+ o && /* @__PURE__ */ e("div", {
347
+ className: S
394
348
  })
395
349
  ]
396
350
  });
397
- }, un = (param)=>{
398
- let { logo: n, right: o, isInverse: t = !1, topFixed: r = !0, withBorder: a = !0 } = param;
399
- const { isTabletOrSmaller: c } = R();
400
- return n = n !== null && n !== void 0 ? n : /* @__PURE__ */ e(j, {
401
- size: c ? 40 : 48
402
- }), /* @__PURE__ */ i(A, {
351
+ }, pn = (param)=>{
352
+ let { logo: n, right: a, isInverse: t = !1, topFixed: r = !0, withBorder: o = !0 } = param;
353
+ return n = n !== null && n !== void 0 ? n : /* @__PURE__ */ e(U, {
354
+ size: {
355
+ mobile: 40,
356
+ desktop: 48
357
+ }
358
+ }), /* @__PURE__ */ i(C, {
403
359
  isInverse: t,
404
360
  children: [
405
- /* @__PURE__ */ e(f, {
361
+ /* @__PURE__ */ e(A, {
406
362
  topFixed: r,
407
- withBorder: a,
363
+ withBorder: o,
408
364
  isInverse: t,
409
365
  dataAttributes: {
410
366
  "component-name": "FunnelNavigationBar"
411
367
  },
412
- children: /* @__PURE__ */ e(m, {
413
- children: /* @__PURE__ */ e(de, {
368
+ children: /* @__PURE__ */ e(g, {
369
+ children: /* @__PURE__ */ e(me, {
414
370
  template: "10",
415
- children: /* @__PURE__ */ e(N, {
416
- right: o,
371
+ children: /* @__PURE__ */ e(f, {
372
+ right: a,
417
373
  children: n
418
374
  })
419
375
  })
420
376
  })
421
377
  }),
422
378
  r && /* @__PURE__ */ e("div", {
423
- className: T
379
+ className: S
424
380
  })
425
381
  ]
426
382
  });
427
- }, pn = (param)=>/* @__PURE__ */ {
383
+ }, hn = (param)=>/* @__PURE__ */ {
428
384
  let { children: n } = param;
429
385
  return e("div", {
430
- className: W,
386
+ className: j,
431
387
  "data-component-name": "NavigationBarActionGroup",
432
- children: /* @__PURE__ */ e(u, {
388
+ children: /* @__PURE__ */ e(v, {
433
389
  space: 24,
434
390
  alignItems: "center",
435
391
  children: n
436
392
  })
437
393
  });
438
- }, hn = (_param)=>{
439
- var { children: n } = _param, o = _object_without_properties(_param, [
394
+ }, gn = (_param)=>{
395
+ var { children: n } = _param, a = _object_without_properties(_param, [
440
396
  "children"
441
397
  ]);
442
- const t = se();
443
- return /* @__PURE__ */ e(w, _object_spread_props(_object_spread({}, o), {
444
- className: M($({
398
+ const t = le();
399
+ return /* @__PURE__ */ e(P, _object_spread_props(_object_spread({}, a), {
400
+ className: u(q({
445
401
  border: "none",
446
402
  background: "transparent",
447
403
  padding: 0
448
- }), W, F[t ? "inverse" : "default"]),
404
+ }), j, $[t ? "inverse" : "default"]),
449
405
  dataAttributes: {
450
406
  "component-name": "NavigationBarAction"
451
407
  },
452
- children: /* @__PURE__ */ e(u, {
408
+ children: /* @__PURE__ */ e(v, {
453
409
  space: 16,
454
410
  alignItems: "center",
455
- children: S.Children.map(n, (r)=>typeof r == "string" ? /* @__PURE__ */ e(ee, {
411
+ children: k.Children.map(n, (r)=>typeof r == "string" ? /* @__PURE__ */ e(ee, {
456
412
  regular: !0,
457
413
  color: "inherit",
458
414
  children: r
@@ -460,4 +416,4 @@ const ke = (param)=>/* @__PURE__ */ {
460
416
  })
461
417
  }));
462
418
  };
463
- export { un as FunnelNavigationBar, dn as MainNavigationBar, mn as NavigationBar, hn as NavigationBarAction, pn as NavigationBarActionGroup };
419
+ export { pn as FunnelNavigationBar, mn as MainNavigationBar, un as NavigationBar, gn as NavigationBarAction, hn as NavigationBarActionGroup };
@@ -1,2 +1,2 @@
1
- const o = "14.37.0";
1
+ const o = "14.39.0";
2
2
  export { o as PACKAGE_VERSION };