@telefonica/mistica 16.1.0 → 16.2.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 (148) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/accordion.css-mistica.js +12 -9
  3. package/dist/accordion.css.d.ts +1 -0
  4. package/dist/accordion.js +36 -39
  5. package/dist/align.css-mistica.js +12 -0
  6. package/dist/align.css.d.ts +1 -0
  7. package/dist/align.css.ts.vanilla.css-mistica.js +11 -0
  8. package/dist/align.d.ts +12 -0
  9. package/dist/align.js +79 -0
  10. package/dist/box.css-mistica.js +41 -0
  11. package/dist/box.css.d.ts +23 -0
  12. package/dist/box.css.ts.vanilla.css-mistica.js +11 -0
  13. package/dist/box.d.ts +4 -0
  14. package/dist/box.js +39 -31
  15. package/dist/boxed.css-mistica.js +10 -5
  16. package/dist/boxed.css.d.ts +3 -0
  17. package/dist/boxed.js +20 -24
  18. package/dist/callout.css-mistica.js +12 -4
  19. package/dist/callout.css.d.ts +1 -0
  20. package/dist/callout.js +14 -22
  21. package/dist/card.css-mistica.js +26 -23
  22. package/dist/card.css.d.ts +1 -0
  23. package/dist/card.js +17 -23
  24. package/dist/community/advanced-data-card.css-mistica.js +32 -23
  25. package/dist/community/advanced-data-card.css.d.ts +3 -0
  26. package/dist/community/advanced-data-card.js +46 -55
  27. package/dist/empty-state.css-mistica.js +11 -8
  28. package/dist/empty-state.css.d.ts +1 -0
  29. package/dist/empty-state.js +10 -13
  30. package/dist/form.css-mistica.js +12 -0
  31. package/dist/form.css.d.ts +1 -0
  32. package/dist/form.js +8 -10
  33. package/dist/grid.css-mistica.js +143 -126
  34. package/dist/grid.css.d.ts +13 -0
  35. package/dist/grid.js +35 -38
  36. package/dist/hero.css-mistica.js +14 -8
  37. package/dist/hero.css.d.ts +2 -0
  38. package/dist/hero.js +17 -25
  39. package/dist/image.js +23 -25
  40. package/dist/index.d.ts +1 -0
  41. package/dist/index.js +4 -0
  42. package/dist/inline.js +10 -11
  43. package/dist/list.css-mistica.js +12 -9
  44. package/dist/list.css.d.ts +1 -0
  45. package/dist/list.js +43 -46
  46. package/dist/loading-screen.js +16 -16
  47. package/dist/logo-blau.d.ts +1 -1
  48. package/dist/logo-blau.js +10 -10
  49. package/dist/logo-common.d.ts +1 -0
  50. package/dist/logo-movistar.d.ts +1 -1
  51. package/dist/logo-movistar.js +4 -4
  52. package/dist/logo-o2-new.d.ts +1 -1
  53. package/dist/logo-o2-new.js +5 -5
  54. package/dist/logo-o2.d.ts +1 -1
  55. package/dist/logo-o2.js +5 -5
  56. package/dist/logo-telefonica.d.ts +1 -1
  57. package/dist/logo-telefonica.js +4 -4
  58. package/dist/logo-tu.d.ts +1 -1
  59. package/dist/logo-tu.js +5 -5
  60. package/dist/logo-vivo.d.ts +1 -1
  61. package/dist/logo-vivo.js +7 -7
  62. package/dist/logo.d.ts +9 -8
  63. package/dist/logo.js +125 -102
  64. package/dist/navigation-bar.css-mistica.js +23 -20
  65. package/dist/navigation-bar.css.d.ts +1 -0
  66. package/dist/navigation-bar.js +30 -37
  67. package/dist/package-version.js +1 -1
  68. package/dist/phone-number-field.d.ts +1 -4
  69. package/dist/phone-number-field.js +52 -82
  70. package/dist/popover.d.ts +1 -0
  71. package/dist/popover.js +9 -10
  72. package/dist/sheet-common.css-mistica.js +5 -5
  73. package/dist/skeleton-base.js +10 -12
  74. package/dist/skeletons.css-mistica.js +11 -5
  75. package/dist/skeletons.css.d.ts +1 -0
  76. package/dist/snackbar.css-mistica.js +20 -14
  77. package/dist/snackbar.css.d.ts +3 -1
  78. package/dist/snackbar.js +65 -75
  79. package/dist/tag.css-mistica.js +15 -4
  80. package/dist/tag.css.d.ts +2 -0
  81. package/dist/tag.js +20 -24
  82. package/dist/text-field-base.d.ts +1 -1
  83. package/dist/text-field-components.css-mistica.js +16 -10
  84. package/dist/text-field-components.css.d.ts +1 -0
  85. package/dist/text-field-components.js +32 -35
  86. package/dist/timer.js +42 -43
  87. package/dist/tooltip.d.ts +3 -1
  88. package/dist/tooltip.js +106 -106
  89. package/dist/touchable.js +47 -42
  90. package/dist-es/accordion.css-mistica.js +3 -3
  91. package/dist-es/accordion.js +58 -61
  92. package/dist-es/align.css-mistica.js +3 -0
  93. package/dist-es/align.css.ts.vanilla.css-mistica.js +2 -0
  94. package/dist-es/align.js +70 -0
  95. package/dist-es/box.css-mistica.js +24 -0
  96. package/dist-es/box.css.ts.vanilla.css-mistica.js +2 -0
  97. package/dist-es/box.js +43 -35
  98. package/dist-es/boxed.css-mistica.js +5 -3
  99. package/dist-es/boxed.js +28 -32
  100. package/dist-es/callout.css-mistica.js +7 -2
  101. package/dist-es/callout.js +44 -52
  102. package/dist-es/card.css-mistica.js +4 -4
  103. package/dist-es/card.js +11 -17
  104. package/dist-es/community/advanced-data-card.css-mistica.js +7 -7
  105. package/dist-es/community/advanced-data-card.js +90 -99
  106. package/dist-es/empty-state.css-mistica.js +3 -3
  107. package/dist-es/empty-state.js +19 -22
  108. package/dist-es/form.css-mistica.js +3 -0
  109. package/dist-es/form.js +12 -14
  110. package/dist-es/grid.css-mistica.js +123 -112
  111. package/dist-es/grid.js +38 -41
  112. package/dist-es/hero.css-mistica.js +2 -2
  113. package/dist-es/hero.js +36 -44
  114. package/dist-es/image.js +28 -30
  115. package/dist-es/index.js +1844 -1843
  116. package/dist-es/inline.js +19 -20
  117. package/dist-es/list.css-mistica.js +2 -2
  118. package/dist-es/list.js +75 -78
  119. package/dist-es/loading-screen.js +30 -30
  120. package/dist-es/logo-blau.js +11 -11
  121. package/dist-es/logo-movistar.js +5 -5
  122. package/dist-es/logo-o2-new.js +8 -8
  123. package/dist-es/logo-o2.js +8 -8
  124. package/dist-es/logo-telefonica.js +4 -4
  125. package/dist-es/logo-tu.js +8 -8
  126. package/dist-es/logo-vivo.js +16 -16
  127. package/dist-es/logo.js +132 -109
  128. package/dist-es/navigation-bar.css-mistica.js +11 -11
  129. package/dist-es/navigation-bar.js +80 -87
  130. package/dist-es/package-version.js +1 -1
  131. package/dist-es/phone-number-field.js +59 -89
  132. package/dist-es/popover.js +17 -18
  133. package/dist-es/sheet-common.css-mistica.js +2 -2
  134. package/dist-es/skeleton-base.js +15 -17
  135. package/dist-es/skeletons.css-mistica.js +5 -2
  136. package/dist-es/snackbar.css-mistica.js +4 -4
  137. package/dist-es/snackbar.js +93 -103
  138. package/dist-es/style.css +1 -1
  139. package/dist-es/tag.css-mistica.js +2 -2
  140. package/dist-es/tag.js +34 -38
  141. package/dist-es/text-field-components.css-mistica.js +5 -2
  142. package/dist-es/text-field-components.js +48 -51
  143. package/dist-es/timer.js +80 -81
  144. package/dist-es/tooltip.js +148 -148
  145. package/dist-es/touchable.js +55 -50
  146. package/package.json +1 -1
  147. package/dist/sprinkles.css-mistica.js +0 -2494
  148. package/dist-es/sprinkles.css-mistica.js +0 -2485
package/dist/logo.js CHANGED
@@ -11,28 +11,28 @@ function _export(target, all) {
11
11
  }
12
12
  _export(exports, {
13
13
  BlauLogo: function() {
14
- return G;
14
+ return R;
15
15
  },
16
16
  Logo: function() {
17
- return C;
17
+ return E;
18
18
  },
19
19
  MovistarLogo: function() {
20
- return E;
20
+ return F;
21
21
  },
22
22
  O2Logo: function() {
23
- return H;
23
+ return _;
24
24
  },
25
25
  O2NewLogo: function() {
26
- return _;
26
+ return j;
27
27
  },
28
28
  TelefonicaLogo: function() {
29
- return j;
29
+ return G;
30
30
  },
31
31
  TuLogo: function() {
32
- return R;
32
+ return S;
33
33
  },
34
34
  VivoLogo: function() {
35
- return F;
35
+ return H;
36
36
  }
37
37
  });
38
38
  const _jsxruntime = require("react/jsx-runtime");
@@ -169,65 +169,72 @@ function _object_without_properties_loose(source, excluded) {
169
169
  }
170
170
  return target;
171
171
  }
172
- const s = 48, T = /*#__PURE__*/ _react.lazy(()=>Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require(/* webpackChunkName: "logo-movistar" */ "./logo-movistar.js")))), I = /*#__PURE__*/ _react.lazy(()=>Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require(/* webpackChunkName: "logo-vivo" */ "./logo-vivo.js")))), N = /*#__PURE__*/ _react.lazy(()=>Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require(/* webpackChunkName: "logo-o2" */ "./logo-o2.js")))), p = /*#__PURE__*/ _react.lazy(()=>Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require(/* webpackChunkName: "logo-o2-new" */ "./logo-o2-new.js")))), k = /*#__PURE__*/ _react.lazy(()=>Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require(/* webpackChunkName: "logo-telefonica" */ "./logo-telefonica.js")))), O = /*#__PURE__*/ _react.lazy(()=>Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require(/* webpackChunkName: "logo-blau" */ "./logo-blau.js")))), V = /*#__PURE__*/ _react.lazy(()=>Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require(/* webpackChunkName: "logo-tu" */ "./logo-tu.js")))), i = (param)=>{
173
- let { size: o, skinName: r, type: t = "isotype" } = param;
174
- const a = (0, _themevariantcontext.useIsInverseOrMediaVariant)(), { isDarkMode: m } = (0, _hooks.useTheme)();
175
- switch(r){
172
+ const i = 48, I = /*#__PURE__*/ _react.lazy(()=>Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require(/* webpackChunkName: "logo-movistar" */ "./logo-movistar.js")))), N = /*#__PURE__*/ _react.lazy(()=>Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require(/* webpackChunkName: "logo-vivo" */ "./logo-vivo.js")))), p = /*#__PURE__*/ _react.lazy(()=>Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require(/* webpackChunkName: "logo-o2" */ "./logo-o2.js")))), k = /*#__PURE__*/ _react.lazy(()=>Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require(/* webpackChunkName: "logo-o2-new" */ "./logo-o2-new.js")))), O = /*#__PURE__*/ _react.lazy(()=>Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require(/* webpackChunkName: "logo-telefonica" */ "./logo-telefonica.js")))), V = /*#__PURE__*/ _react.lazy(()=>Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require(/* webpackChunkName: "logo-blau" */ "./logo-blau.js")))), b = /*#__PURE__*/ _react.lazy(()=>Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require(/* webpackChunkName: "logo-tu" */ "./logo-tu.js")))), c = (param)=>{
173
+ let { size: o, skinName: n, type: t = "isotype", color: a } = param;
174
+ const r = (0, _themevariantcontext.useIsInverseOrMediaVariant)(), { isDarkMode: l } = (0, _hooks.useTheme)();
175
+ switch(n){
176
176
  case "Movistar":
177
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(T, {
177
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(I, {
178
178
  size: o,
179
179
  type: t,
180
- isDarkMode: m,
181
- isInverse: a
180
+ isDarkMode: l,
181
+ isInverse: r,
182
+ color: a
182
183
  });
183
184
  case "Vivo":
184
185
  case "Vivo-new":
185
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(I, {
186
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(N, {
186
187
  size: o,
187
188
  type: t,
188
- isDarkMode: m,
189
- isInverse: a
189
+ isDarkMode: l,
190
+ isInverse: r,
191
+ color: a
190
192
  });
191
193
  case "O2":
192
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(N, {
194
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(p, {
193
195
  size: o,
194
196
  type: t,
195
- isDarkMode: m,
196
- isInverse: a
197
+ isDarkMode: l,
198
+ isInverse: r,
199
+ color: a
197
200
  });
198
201
  case "O2-new":
199
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(p, {
202
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(k, {
200
203
  size: o,
201
204
  type: t,
202
- isDarkMode: m,
203
- isInverse: a
205
+ isDarkMode: l,
206
+ isInverse: r,
207
+ color: a
204
208
  });
205
209
  case "Telefonica":
206
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(k, {
210
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(O, {
207
211
  size: o,
208
212
  type: t,
209
- isDarkMode: m,
210
- isInverse: a
213
+ isDarkMode: l,
214
+ isInverse: r,
215
+ color: a
211
216
  });
212
217
  case "Blau":
213
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(O, {
218
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(V, {
214
219
  size: o,
215
220
  type: t,
216
- isDarkMode: m,
217
- isInverse: a
221
+ isDarkMode: l,
222
+ isInverse: r,
223
+ color: a
218
224
  });
219
225
  case "Tu":
220
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(V, {
226
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(b, {
221
227
  size: o,
222
228
  type: t,
223
- isDarkMode: m,
224
- isInverse: a
229
+ isDarkMode: l,
230
+ isInverse: r,
231
+ color: a
225
232
  });
226
233
  default:
227
234
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, {});
228
235
  }
229
- }, c = (o)=>{
230
- const r = (0, _dom.getPrefixedDataAttributes)(o.dataAttributes, "Logo");
236
+ }, m = (o)=>{
237
+ const n = (0, _dom.getPrefixedDataAttributes)(o.dataAttributes, "Logo");
231
238
  return o.to || o.href || o.onPress ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.default, _object_spread({}, o)) : /* @__PURE__ */ (0, _jsxruntime.jsx)(_react.Suspense, {
232
239
  fallback: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
233
240
  className: _logocssmistica.svg,
@@ -237,121 +244,137 @@ const s = 48, T = /*#__PURE__*/ _react.lazy(()=>Promise.resolve().then(()=>/*#__
237
244
  }),
238
245
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", _object_spread_props(_object_spread({
239
246
  className: _logocssmistica.logoContainer
240
- }, r), {
247
+ }, n), {
241
248
  children: o.children
242
249
  }))
243
250
  });
244
- }, C = (_param)=>{
245
- var { size: o = s, type: r = "isotype" } = _param, t = _object_without_properties(_param, [
251
+ }, E = (_param)=>{
252
+ var { size: o = i, type: n = "isotype", color: t } = _param, a = _object_without_properties(_param, [
246
253
  "size",
247
- "type"
254
+ "type",
255
+ "color"
248
256
  ]);
249
- const { skinName: a } = (0, _hooks.useTheme)();
250
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(c, _object_spread_props(_object_spread({
257
+ const { skinName: r } = (0, _hooks.useTheme)();
258
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(m, _object_spread_props(_object_spread({
251
259
  size: o
252
- }, t), {
253
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(i, {
254
- skinName: a,
255
- type: r,
256
- size: o
260
+ }, a), {
261
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(c, {
262
+ skinName: r,
263
+ type: n,
264
+ size: o,
265
+ color: t
257
266
  })
258
267
  }));
259
- }, E = (_param)=>{
260
- var { size: o = s, type: r = "isotype" } = _param, t = _object_without_properties(_param, [
268
+ }, F = (_param)=>{
269
+ var { size: o = i, type: n = "isotype", color: t } = _param, a = _object_without_properties(_param, [
261
270
  "size",
262
- "type"
271
+ "type",
272
+ "color"
263
273
  ]);
264
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(c, _object_spread_props(_object_spread({
274
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(m, _object_spread_props(_object_spread({
265
275
  size: o
266
- }, t), {
267
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(i, {
276
+ }, a), {
277
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(c, {
268
278
  skinName: "Movistar",
269
- type: r,
270
- size: o
279
+ type: n,
280
+ size: o,
281
+ color: t
271
282
  })
272
283
  }));
273
- }, F = (_param)=>{
274
- var { size: o = s, type: r = "isotype" } = _param, t = _object_without_properties(_param, [
284
+ }, H = (_param)=>{
285
+ var { size: o = i, type: n = "isotype", color: t } = _param, a = _object_without_properties(_param, [
275
286
  "size",
276
- "type"
287
+ "type",
288
+ "color"
277
289
  ]);
278
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(c, _object_spread_props(_object_spread({
290
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(m, _object_spread_props(_object_spread({
279
291
  size: o
280
- }, t), {
281
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(i, {
292
+ }, a), {
293
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(c, {
282
294
  skinName: "Vivo",
283
- type: r,
284
- size: o
295
+ type: n,
296
+ size: o,
297
+ color: t
285
298
  })
286
299
  }));
287
- }, H = (_param)=>{
288
- var { size: o = s, type: r = "isotype" } = _param, t = _object_without_properties(_param, [
300
+ }, _ = (_param)=>{
301
+ var { size: o = i, type: n = "isotype", color: t } = _param, a = _object_without_properties(_param, [
289
302
  "size",
290
- "type"
303
+ "type",
304
+ "color"
291
305
  ]);
292
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(c, _object_spread_props(_object_spread({
306
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(m, _object_spread_props(_object_spread({
293
307
  size: o
294
- }, t), {
295
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(i, {
308
+ }, a), {
309
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(c, {
296
310
  skinName: "O2",
297
- type: r,
298
- size: o
311
+ type: n,
312
+ size: o,
313
+ color: t
299
314
  })
300
315
  }));
301
- }, _ = (_param)=>{
302
- var { size: o = s, type: r = "isotype" } = _param, t = _object_without_properties(_param, [
316
+ }, j = (_param)=>{
317
+ var { size: o = i, type: n = "isotype", color: t } = _param, a = _object_without_properties(_param, [
303
318
  "size",
304
- "type"
319
+ "type",
320
+ "color"
305
321
  ]);
306
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(c, _object_spread_props(_object_spread({
322
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(m, _object_spread_props(_object_spread({
307
323
  size: o
308
- }, t), {
309
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(i, {
324
+ }, a), {
325
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(c, {
310
326
  skinName: "O2-new",
311
- type: r,
312
- size: o
327
+ type: n,
328
+ size: o,
329
+ color: t
313
330
  })
314
331
  }));
315
- }, j = (_param)=>{
316
- var { size: o = s, type: r = "isotype" } = _param, t = _object_without_properties(_param, [
332
+ }, G = (_param)=>{
333
+ var { size: o = i, type: n = "isotype", color: t } = _param, a = _object_without_properties(_param, [
317
334
  "size",
318
- "type"
335
+ "type",
336
+ "color"
319
337
  ]);
320
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(c, _object_spread_props(_object_spread({
338
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(m, _object_spread_props(_object_spread({
321
339
  size: o
322
- }, t), {
323
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(i, {
340
+ }, a), {
341
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(c, {
324
342
  skinName: "Telefonica",
325
- type: r,
326
- size: o
343
+ type: n,
344
+ size: o,
345
+ color: t
327
346
  })
328
347
  }));
329
- }, G = (_param)=>{
330
- var { size: o = s, type: r = "isotype" } = _param, t = _object_without_properties(_param, [
348
+ }, R = (_param)=>{
349
+ var { size: o = i, type: n = "isotype", color: t } = _param, a = _object_without_properties(_param, [
331
350
  "size",
332
- "type"
351
+ "type",
352
+ "color"
333
353
  ]);
334
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(c, _object_spread_props(_object_spread({
354
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(m, _object_spread_props(_object_spread({
335
355
  size: o
336
- }, t), {
337
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(i, {
356
+ }, a), {
357
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(c, {
338
358
  skinName: "Blau",
339
- type: r,
340
- size: o
359
+ type: n,
360
+ size: o,
361
+ color: t
341
362
  })
342
363
  }));
343
- }, R = (_param)=>{
344
- var { size: o = s, type: r = "isotype" } = _param, t = _object_without_properties(_param, [
364
+ }, S = (_param)=>{
365
+ var { size: o = i, type: n = "isotype", color: t } = _param, a = _object_without_properties(_param, [
345
366
  "size",
346
- "type"
367
+ "type",
368
+ "color"
347
369
  ]);
348
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(c, _object_spread_props(_object_spread({
370
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(m, _object_spread_props(_object_spread({
349
371
  size: o
350
- }, t), {
351
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(i, {
372
+ }, a), {
373
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(c, {
352
374
  skinName: "Tu",
353
- type: r,
354
- size: o
375
+ type: n,
376
+ size: o,
377
+ color: t
355
378
  })
356
379
  }));
357
380
  };
@@ -16,10 +16,10 @@ _export(exports, {
16
16
  return _;
17
17
  },
18
18
  burgerMenuButton: function() {
19
- return e;
19
+ return r;
20
20
  },
21
21
  burgerMenuTransition: function() {
22
- return r;
22
+ return e;
23
23
  },
24
24
  desktopOnly: function() {
25
25
  return d;
@@ -34,10 +34,10 @@ _export(exports, {
34
34
  return f;
35
35
  },
36
36
  iconMenuOpen: function() {
37
- return z;
37
+ return i;
38
38
  },
39
39
  lineHeightFix: function() {
40
- return i;
40
+ return z;
41
41
  },
42
42
  logoContainer: function() {
43
43
  return t;
@@ -48,47 +48,50 @@ _export(exports, {
48
48
  navbarBorderColorVariants: function() {
49
49
  return h;
50
50
  },
51
- navigationBarContent: function() {
51
+ navigationBarAction: function() {
52
52
  return l;
53
53
  },
54
+ navigationBarContent: function() {
55
+ return g;
56
+ },
54
57
  navigationBarContentRight: function() {
55
58
  return u;
56
59
  },
57
60
  section: function() {
58
- return g;
61
+ return p;
59
62
  },
60
63
  selectedSectionVariantes: function() {
61
64
  return s;
62
65
  },
63
66
  spacer: function() {
64
- return p;
67
+ return b;
65
68
  },
66
69
  spacerLarge: function() {
67
- return b;
70
+ return k;
68
71
  },
69
72
  textWrapperVariants: function() {
70
- return k;
73
+ return C;
71
74
  },
72
75
  topFixed: function() {
73
- return C;
76
+ return x;
74
77
  }
75
78
  });
76
79
  require("./sprinkles.css.ts.vanilla.css-mistica.js");
77
80
  require("./navigation-bar.css.ts.vanilla.css-mistica.js");
78
- var y = "_1vcy5dz1 _1y2v1nfhe _1y2v1nfig _1y2v1nfiw", _ = "_1vcy5dz12 _1y2v1nfhg _1y2v1nfl2 _1y2v1nfl6 _1y2v1nfll _1y2v1nf3p", e = "_1vcy5dz10", r = {
79
- entering: "_1vcy5dzs",
80
- entered: "_1vcy5dzt",
81
- exiting: "_1vcy5dzu",
82
- exited: "_1vcy5dzv",
83
- unmounted: "_1vcy5dzw"
84
- }, d = "_1vcy5dzm", a = "_1vcy5dz5 _1vcy5dz3 _1y2v1nfhf", c = "_1vcy5dz4 _1vcy5dz3 _1y2v1nfhf", f = "_1vcy5dz7 _1vcy5dz3 _1y2v1nfhf", z = "_1vcy5dz6 _1vcy5dz3 _1y2v1nfhf", i = "_1vcy5dz17", t = "_1vcy5dzz _1y2v1nfhk _1y2v1nfht", o = "_1vcy5dzx", h = {
81
+ var y = "_1vcy5dz1 _1y2v1nfhe _1y2v1nfig _1y2v1nfiw", _ = "_1vcy5dz13 _1y2v1nfhg _1y2v1nfl2 _1y2v1nfl6 _1y2v1nfll _1y2v1nf3p", r = "_1vcy5dz11", e = {
82
+ entering: "_1vcy5dzt",
83
+ entered: "_1vcy5dzu",
84
+ exiting: "_1vcy5dzv",
85
+ exited: "_1vcy5dzw",
86
+ unmounted: "_1vcy5dzx"
87
+ }, d = "_1vcy5dzn", a = "_1vcy5dz5 _1vcy5dz3 _1y2v1nfhf", c = "_1vcy5dz4 _1vcy5dz3 _1y2v1nfhf", f = "_1vcy5dz7 _1vcy5dz3 _1y2v1nfhf", i = "_1vcy5dz6 _1vcy5dz3 _1y2v1nfhf", z = "_1vcy5dz18", t = "_1vcy5dz10 _1y2v1nfhk _1y2v1nfht", o = "_1vcy5dzy", h = {
85
88
  default: "_1vcy5dzc _1vcy5dzb _1y2v1nfhk _1y2v1nfhz _1y2v1nfi7",
86
89
  noBorder: "_1vcy5dzd _1vcy5dzb _1y2v1nfhk _1y2v1nfhz _1y2v1nfi7",
87
90
  menuOpen: "_1vcy5dze _1vcy5dzb _1y2v1nfhk _1y2v1nfhz _1y2v1nfi7"
88
- }, l = "_1vcy5dzl", u = "_1vcy5dzn", g = "_1vcy5dzg _1y2v1nfa4 _1y2v1nfbd _1y2v1nfj3 _1y2v1nfhk _1y2v1nfhz _1y2v1nfk2 _1y2v1nf7c", s = {
91
+ }, l = "_1y2v1nf7d _1y2v1nf8m _1y2v1nf9v _1y2v1nfb4 _1y2v1nfk2 _1y2v1nf7c", g = "_1vcy5dzl", u = "_1vcy5dzo", p = "_1vcy5dzg _1y2v1nfa4 _1y2v1nfbd _1y2v1nfj3 _1y2v1nfhk _1y2v1nfhz _1y2v1nfk2 _1y2v1nf7c", s = {
89
92
  default: "_1vcy5dzh",
90
93
  inverse: "_1vcy5dzi"
91
- }, p = "_1y2v1nfj3 _1vcy5dzo", b = "_1vcy5dzr _1vcy5dzo", k = {
94
+ }, b = "_1y2v1nfj3 _1vcy5dzp", k = "_1vcy5dzs _1vcy5dzp", C = {
92
95
  default: "_1vcy5dzj",
93
96
  inverse: "_1vcy5dzk"
94
- }, C = "_1vcy5dz9 _1y2v1nfhg _1y2v1nfkr _1y2v1nfl6 _1y2v1nfll";
97
+ }, x = "_1vcy5dz9 _1y2v1nfhg _1y2v1nfkr _1y2v1nfl6 _1y2v1nfll";
@@ -9,6 +9,7 @@ export declare const section: string;
9
9
  export declare const selectedSectionVariantes: Record<"inverse" | "default", string>;
10
10
  export declare const textWrapperVariants: Record<"inverse" | "default", string>;
11
11
  export declare const navigationBarContent: string;
12
+ export declare const navigationBarAction: string;
12
13
  export declare const desktopOnly: string;
13
14
  export declare const navigationBarContentRight: string;
14
15
  export declare const spacer: string;
@@ -11,10 +11,10 @@ function _export(target, all) {
11
11
  }
12
12
  _export(exports, {
13
13
  FunnelNavigationBar: function() {
14
- return Nn;
14
+ return fn;
15
15
  },
16
16
  MainNavigationBar: function() {
17
- return fn;
17
+ return hn;
18
18
  },
19
19
  NavigationBar: function() {
20
20
  return vn;
@@ -23,7 +23,7 @@ _export(exports, {
23
23
  return Bn;
24
24
  },
25
25
  NavigationBarActionGroup: function() {
26
- return bn;
26
+ return Nn;
27
27
  }
28
28
  });
29
29
  const _jsxruntime = require("react/jsx-runtime");
@@ -49,7 +49,6 @@ const _modalcontextprovider = require("./modal-context-provider.js");
49
49
  const _logo = require("./logo.js");
50
50
  const _skincontractcssmistica = require("./skins/skin-contract.css-mistica.js");
51
51
  const _navigationbarcssmistica = require("./navigation-bar.css-mistica.js");
52
- const _sprinklescssmistica = require("./sprinkles.css-mistica.js");
53
52
  const _dom = require("./utils/dom.js");
54
53
  const _stack = /*#__PURE__*/ _interop_require_default(require("./stack.js"));
55
54
  const _box = /*#__PURE__*/ _interop_require_default(require("./box.js"));
@@ -215,7 +214,7 @@ const Ge = (param)=>{
215
214
  }, (0, _dom.getPrefixedDataAttributes)(s)), {
216
215
  children: n
217
216
  }));
218
- }, B = (param)=>{
217
+ }, b = (param)=>{
219
218
  let { right: n, children: o, desktopOnly: t } = param;
220
219
  return /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
221
220
  className: (0, _classnames.default)(_navigationbarcssmistica.navigationBarContent, {
@@ -229,9 +228,9 @@ const Ge = (param)=>{
229
228
  })
230
229
  ]
231
230
  });
232
- }, fn = (param)=>{
231
+ }, hn = (param)=>{
233
232
  let { sections: n = [], selectedIndex: o, right: t, variant: r = "default", topFixed: a = !0, withBorder: s = !0, burgerMenuExtra: c, logo: d, large: m = !1 } = param;
234
- const { texts: u, isDarkMode: g, t: R } = (0, _hooks.useTheme)(), [l, y] = _react.useState(!1), [E, h] = _react.useState("closed"), L = _react.useId(), K = g ? 1 : 0.2, { isTabletOrSmaller: Q } = (0, _hooks.useScreenSize)(), w = (0, _modalcontextprovider.useSetModalState)(), X = d || /* @__PURE__ */ (0, _jsxruntime.jsx)(_logo.Logo, {
233
+ const { texts: u, isDarkMode: g, t: R } = (0, _hooks.useTheme)(), [l, y] = _react.useState(!1), [E, h] = _react.useState("closed"), L = _react.useId(), J = g ? 1 : 0.2, { isTabletOrSmaller: K } = (0, _hooks.useScreenSize)(), w = (0, _modalcontextprovider.useSetModalState)(), Q = d || /* @__PURE__ */ (0, _jsxruntime.jsx)(_logo.Logo, {
235
234
  size: {
236
235
  mobile: 40,
237
236
  desktop: 48
@@ -240,23 +239,23 @@ const Ge = (param)=>{
240
239
  className: _navigationbarcssmistica.desktopOnly,
241
240
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_inline.default, {
242
241
  space: 32,
243
- children: n.map((_param, f)=>{
244
- var { title: I } = _param, x = _object_without_properties(_param, [
242
+ children: n.map((_param, v)=>{
243
+ var { title: k } = _param, x = _object_without_properties(_param, [
245
244
  "title"
246
245
  ]);
247
246
  return /* @__PURE__ */ /*#__PURE__*/ (0, _react.createElement)(_touchable.BaseTouchable, _object_spread_props(_object_spread({}, x), {
248
- key: f,
247
+ key: v,
249
248
  className: (0, _classnames.default)(_navigationbarcssmistica.section, {
250
- [_navigationbarcssmistica.selectedSectionVariantes[r === "inverse" ? "inverse" : "default"]]: f === o
249
+ [_navigationbarcssmistica.selectedSectionVariantes[r === "inverse" ? "inverse" : "default"]]: v === o
251
250
  }, _navigationbarcssmistica.textWrapperVariants[r === "inverse" ? "inverse" : "default"])
252
251
  }), /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text3, {
253
252
  regular: !0,
254
253
  color: "inherit",
255
- children: I
254
+ children: k
256
255
  }));
257
256
  })
258
257
  })
259
- }), k = m && n.length > 0, Y = ()=>{
258
+ }), I = m && n.length > 0, X = ()=>{
260
259
  y(!0), w({
261
260
  isModalOpen: !0
262
261
  });
@@ -277,7 +276,7 @@ const Ge = (param)=>{
277
276
  },
278
277
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_responsivelayout.default, {
279
278
  children: [
280
- /* @__PURE__ */ (0, _jsxruntime.jsx)(B, {
279
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(b, {
281
280
  right: t,
282
281
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
283
282
  className: _navigationbarcssmistica.mainNavbarContent,
@@ -288,20 +287,20 @@ const Ge = (param)=>{
288
287
  "aria-label": l ? u.closeNavigationMenu || R(_texttokens.closeNavigationMenu) : u.openNavigationMenu || R(_texttokens.openNavigationMenu),
289
288
  "aria-expanded": l,
290
289
  "aria-controls": L,
291
- onPress: l ? V : Y,
290
+ onPress: l ? V : X,
292
291
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(Ge, {
293
292
  isOpen: l
294
293
  })
295
294
  }),
296
295
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
297
296
  className: _navigationbarcssmistica.logoContainer,
298
- children: X
297
+ children: Q
299
298
  }),
300
- !k && D()
299
+ !I && D()
301
300
  ]
302
301
  })
303
302
  }),
304
- k && /* @__PURE__ */ (0, _jsxruntime.jsx)(B, {
303
+ I && /* @__PURE__ */ (0, _jsxruntime.jsx)(b, {
305
304
  desktopOnly: !0,
306
305
  children: D()
307
306
  })
@@ -309,11 +308,11 @@ const Ge = (param)=>{
309
308
  })
310
309
  }),
311
310
  a && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
312
- className: k ? _navigationbarcssmistica.spacerLarge : _navigationbarcssmistica.spacer
311
+ className: I ? _navigationbarcssmistica.spacerLarge : _navigationbarcssmistica.spacer
313
312
  })
314
313
  ]
315
314
  });
316
- return Q ? /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
315
+ return K ? /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
317
316
  children: [
318
317
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_focustrap.default, {
319
318
  disabled: F,
@@ -340,11 +339,11 @@ const Ge = (param)=>{
340
339
  in: l,
341
340
  timeout: (0, _platform.isRunningAcceptanceTest)() ? 0 : He,
342
341
  unmountOnExit: !0,
343
- children: (I)=>/* @__PURE__ */ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, {
342
+ children: (k)=>/* @__PURE__ */ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, {
344
343
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)("nav", {
345
- className: (0, _classnames.default)(_navigationbarcssmistica.burgerMenu, _navigationbarcssmistica.burgerMenuTransition[I]),
344
+ className: (0, _classnames.default)(_navigationbarcssmistica.burgerMenu, _navigationbarcssmistica.burgerMenuTransition[k]),
346
345
  style: {
347
- boxShadow: E !== "closed" ? `6px 0 4px -4px rgba(0, 0, 0, ${K})` : "none"
346
+ boxShadow: E !== "closed" ? `6px 0 4px -4px rgba(0, 0, 0, ${J})` : "none"
348
347
  },
349
348
  id: L,
350
349
  onClick: ()=>{
@@ -356,7 +355,7 @@ const Ge = (param)=>{
356
355
  children: [
357
356
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_negativebox.default, {
358
357
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_list.RowList, {
359
- children: n.map((x, f)=>/* @__PURE__ */ (0, _jsxruntime.jsx)(_list.Row, _object_spread({}, x), f))
358
+ children: n.map((x, v)=>/* @__PURE__ */ (0, _jsxruntime.jsx)(_list.Row, _object_spread({}, x), v))
360
359
  })
361
360
  }),
362
361
  c && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
@@ -375,7 +374,7 @@ const Ge = (param)=>{
375
374
  }) : H;
376
375
  }, vn = (param)=>{
377
376
  let { onBack: n, title: o, titleAs: t, right: r, variant: a = "default", topFixed: s = !0, paddingX: c = 0, withBorder: d = !0 } = param;
378
- const { texts: m, t: u } = (0, _hooks.useTheme)(), g = /* @__PURE__ */ (0, _jsxruntime.jsx)(B, {
377
+ const { texts: m, t: u } = (0, _hooks.useTheme)(), g = /* @__PURE__ */ (0, _jsxruntime.jsx)(b, {
379
378
  right: r,
380
379
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_inline.default, {
381
380
  space: 24,
@@ -410,11 +409,9 @@ const Ge = (param)=>{
410
409
  children: s ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_responsivelayout.default, {
411
410
  children: g
412
411
  }) : /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
413
- className: (0, _sprinklescssmistica.sprinkles)({
414
- width: "100%"
415
- }),
416
412
  style: {
417
- padding: `0 ${c}px`
413
+ padding: `0 ${c}px`,
414
+ width: "100%"
418
415
  },
419
416
  children: g
420
417
  })
@@ -424,7 +421,7 @@ const Ge = (param)=>{
424
421
  })
425
422
  ]
426
423
  });
427
- }, Nn = (param)=>{
424
+ }, fn = (param)=>{
428
425
  let { logo: n, right: o, variant: t = "default", topFixed: r = !0, withBorder: a = !0 } = param;
429
426
  return n = n !== null && n !== void 0 ? n : /* @__PURE__ */ (0, _jsxruntime.jsx)(_logo.Logo, {
430
427
  size: {
@@ -444,7 +441,7 @@ const Ge = (param)=>{
444
441
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_responsivelayout.default, {
445
442
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_gridlayout.default, {
446
443
  template: "10",
447
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(B, {
444
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(b, {
448
445
  right: o,
449
446
  children: n
450
447
  })
@@ -456,7 +453,7 @@ const Ge = (param)=>{
456
453
  })
457
454
  ]
458
455
  });
459
- }, bn = (param)=>{
456
+ }, Nn = (param)=>{
460
457
  let { children: n } = param;
461
458
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
462
459
  className: _navigationbarcssmistica.lineHeightFix,
@@ -473,11 +470,7 @@ const Ge = (param)=>{
473
470
  ]);
474
471
  const t = (0, _themevariantcontext.useIsInverseOrMediaVariant)();
475
472
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.BaseTouchable, _object_spread_props(_object_spread({}, o), {
476
- className: (0, _classnames.default)((0, _sprinklescssmistica.sprinkles)({
477
- border: "none",
478
- background: "transparent",
479
- padding: 0
480
- }), _navigationbarcssmistica.lineHeightFix, _navigationbarcssmistica.textWrapperVariants[t ? "inverse" : "default"]),
473
+ className: (0, _classnames.default)(_navigationbarcssmistica.navigationBarAction, _navigationbarcssmistica.lineHeightFix, _navigationbarcssmistica.textWrapperVariants[t ? "inverse" : "default"]),
481
474
  dataAttributes: {
482
475
  "component-name": "NavigationBarAction"
483
476
  },