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