@telefonica/mistica 16.1.1 → 16.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 (167) 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 +39 -24
  22. package/dist/card.css.d.ts +5 -0
  23. package/dist/card.js +236 -270
  24. package/dist/chip.css-mistica.js +19 -7
  25. package/dist/chip.css.d.ts +2 -0
  26. package/dist/chip.js +33 -49
  27. package/dist/community/advanced-data-card.css-mistica.js +30 -21
  28. package/dist/community/advanced-data-card.css.d.ts +4 -1
  29. package/dist/community/advanced-data-card.js +56 -68
  30. package/dist/empty-state-card.js +12 -11
  31. package/dist/empty-state.css-mistica.js +11 -8
  32. package/dist/empty-state.css.d.ts +1 -0
  33. package/dist/empty-state.js +10 -13
  34. package/dist/form.css-mistica.js +12 -0
  35. package/dist/form.css.d.ts +1 -0
  36. package/dist/form.js +8 -10
  37. package/dist/grid.css-mistica.js +143 -126
  38. package/dist/grid.css.d.ts +13 -0
  39. package/dist/grid.js +35 -38
  40. package/dist/hero.css-mistica.js +14 -8
  41. package/dist/hero.css.d.ts +2 -0
  42. package/dist/hero.js +35 -37
  43. package/dist/highlighted-card.js +15 -14
  44. package/dist/image.js +23 -25
  45. package/dist/index.d.ts +1 -0
  46. package/dist/index.js +4 -0
  47. package/dist/inline.js +10 -11
  48. package/dist/list.css-mistica.js +26 -17
  49. package/dist/list.css.d.ts +3 -0
  50. package/dist/list.js +120 -122
  51. package/dist/loading-screen.js +16 -16
  52. package/dist/logo-blau.d.ts +1 -1
  53. package/dist/logo-blau.js +10 -10
  54. package/dist/logo-common.d.ts +1 -0
  55. package/dist/logo-movistar.d.ts +1 -1
  56. package/dist/logo-movistar.js +4 -4
  57. package/dist/logo-o2-new.d.ts +1 -1
  58. package/dist/logo-o2-new.js +5 -5
  59. package/dist/logo-o2.d.ts +1 -1
  60. package/dist/logo-o2.js +5 -5
  61. package/dist/logo-telefonica.d.ts +1 -1
  62. package/dist/logo-telefonica.js +4 -4
  63. package/dist/logo-tu.d.ts +1 -1
  64. package/dist/logo-tu.js +5 -5
  65. package/dist/logo-vivo.d.ts +1 -1
  66. package/dist/logo-vivo.js +7 -7
  67. package/dist/logo.d.ts +9 -8
  68. package/dist/logo.js +125 -102
  69. package/dist/menu.css-mistica.js +9 -9
  70. package/dist/menu.js +9 -10
  71. package/dist/navigation-bar.css-mistica.js +23 -20
  72. package/dist/navigation-bar.css.d.ts +1 -0
  73. package/dist/navigation-bar.js +30 -37
  74. package/dist/package-version.js +1 -1
  75. package/dist/popover.d.ts +1 -0
  76. package/dist/popover.js +9 -10
  77. package/dist/sheet-common.js +3 -2
  78. package/dist/skeleton-base.js +10 -12
  79. package/dist/skeletons.css-mistica.js +11 -5
  80. package/dist/skeletons.css.d.ts +1 -0
  81. package/dist/snackbar.css-mistica.js +20 -14
  82. package/dist/snackbar.css.d.ts +3 -1
  83. package/dist/snackbar.js +65 -75
  84. package/dist/table.js +52 -51
  85. package/dist/tag.css-mistica.js +15 -4
  86. package/dist/tag.css.d.ts +2 -0
  87. package/dist/tag.js +22 -27
  88. package/dist/text-field-components.css-mistica.js +16 -10
  89. package/dist/text-field-components.css.d.ts +1 -0
  90. package/dist/text-field-components.js +32 -35
  91. package/dist/text-props.d.ts +60 -0
  92. package/dist/text-props.js +93 -0
  93. package/dist/text.d.ts +0 -62
  94. package/dist/text.js +156 -219
  95. package/dist/timer.js +42 -43
  96. package/dist/title.js +10 -9
  97. package/dist/tooltip.d.ts +3 -1
  98. package/dist/tooltip.js +106 -106
  99. package/dist/touchable.js +47 -42
  100. package/dist-es/accordion.css-mistica.js +3 -3
  101. package/dist-es/accordion.js +58 -61
  102. package/dist-es/align.css-mistica.js +3 -0
  103. package/dist-es/align.css.ts.vanilla.css-mistica.js +2 -0
  104. package/dist-es/align.js +70 -0
  105. package/dist-es/box.css-mistica.js +24 -0
  106. package/dist-es/box.css.ts.vanilla.css-mistica.js +2 -0
  107. package/dist-es/box.js +43 -35
  108. package/dist-es/boxed.css-mistica.js +5 -3
  109. package/dist-es/boxed.js +28 -32
  110. package/dist-es/callout.css-mistica.js +7 -2
  111. package/dist-es/callout.js +44 -52
  112. package/dist-es/card.css-mistica.js +4 -4
  113. package/dist-es/card.js +343 -377
  114. package/dist-es/chip.css-mistica.js +10 -4
  115. package/dist-es/chip.js +44 -60
  116. package/dist-es/community/advanced-data-card.css-mistica.js +7 -7
  117. package/dist-es/community/advanced-data-card.js +94 -106
  118. package/dist-es/empty-state-card.js +17 -16
  119. package/dist-es/empty-state.css-mistica.js +3 -3
  120. package/dist-es/empty-state.js +19 -22
  121. package/dist-es/form.css-mistica.js +3 -0
  122. package/dist-es/form.js +12 -14
  123. package/dist-es/grid.css-mistica.js +123 -112
  124. package/dist-es/grid.js +38 -41
  125. package/dist-es/hero.css-mistica.js +2 -2
  126. package/dist-es/hero.js +75 -77
  127. package/dist-es/highlighted-card.js +19 -18
  128. package/dist-es/image.js +28 -30
  129. package/dist-es/index.js +1844 -1843
  130. package/dist-es/inline.js +19 -20
  131. package/dist-es/list.css-mistica.js +2 -2
  132. package/dist-es/list.js +170 -172
  133. package/dist-es/loading-screen.js +30 -30
  134. package/dist-es/logo-blau.js +11 -11
  135. package/dist-es/logo-movistar.js +5 -5
  136. package/dist-es/logo-o2-new.js +8 -8
  137. package/dist-es/logo-o2.js +8 -8
  138. package/dist-es/logo-telefonica.js +4 -4
  139. package/dist-es/logo-tu.js +8 -8
  140. package/dist-es/logo-vivo.js +16 -16
  141. package/dist-es/logo.js +132 -109
  142. package/dist-es/menu.css-mistica.js +3 -3
  143. package/dist-es/menu.js +21 -22
  144. package/dist-es/navigation-bar.css-mistica.js +11 -11
  145. package/dist-es/navigation-bar.js +80 -87
  146. package/dist-es/package-version.js +1 -1
  147. package/dist-es/popover.js +17 -18
  148. package/dist-es/sheet-common.js +12 -11
  149. package/dist-es/skeleton-base.js +15 -17
  150. package/dist-es/skeletons.css-mistica.js +5 -2
  151. package/dist-es/snackbar.css-mistica.js +4 -4
  152. package/dist-es/snackbar.js +93 -103
  153. package/dist-es/style.css +1 -1
  154. package/dist-es/table.js +89 -88
  155. package/dist-es/tag.css-mistica.js +2 -2
  156. package/dist-es/tag.js +36 -41
  157. package/dist-es/text-field-components.css-mistica.js +5 -2
  158. package/dist-es/text-field-components.js +48 -51
  159. package/dist-es/text-props.js +52 -0
  160. package/dist-es/text.js +171 -231
  161. package/dist-es/timer.js +80 -81
  162. package/dist-es/title.js +14 -13
  163. package/dist-es/tooltip.js +148 -148
  164. package/dist-es/touchable.js +55 -50
  165. package/package.json +3 -3
  166. package/dist/sprinkles.css-mistica.js +0 -2494
  167. 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
  };
@@ -10,22 +10,22 @@ function _export(target, all) {
10
10
  }
11
11
  _export(exports, {
12
12
  iconContainer: function() {
13
- return r;
13
+ return e;
14
14
  },
15
15
  itemContent: function() {
16
- return v;
16
+ return n;
17
17
  },
18
18
  menuContainer: function() {
19
- return n;
19
+ return r;
20
20
  },
21
21
  menuItem: function() {
22
- return a;
22
+ return _;
23
23
  },
24
24
  menuItemDisabled: function() {
25
- return t;
25
+ return a;
26
26
  },
27
27
  menuItemEnabled: function() {
28
- return _;
28
+ return t;
29
29
  },
30
30
  menuItemHovered: function() {
31
31
  return u;
@@ -37,17 +37,17 @@ _export(exports, {
37
37
  return m;
38
38
  },
39
39
  vars: function() {
40
- return o;
40
+ return f;
41
41
  }
42
42
  });
43
43
  require("./sprinkles.css.ts.vanilla.css-mistica.js");
44
44
  require("./menu.css.ts.vanilla.css-mistica.js");
45
- var r = "_2k0k3uj", v = "_2k0k3ui", n = "_2k0k3u8 _1y2v1nf7m _1y2v1nf8v _1y2v1nfa4 _1y2v1nfbd _1y2v1nf3q _1y2v1nfkd _1y2v1nfhk _1y2v1nfhq _1y2v1nfhf", a = "_2k0k3ud", t = "_2k0k3ug", _ = "_2k0k3uf", u = "_2k0k3ue", i = "_2k0k3uh", m = {
45
+ var e = "_2k0k3uk", n = "_2k0k3uj", r = "_2k0k3u8 _1y2v1nf7m _1y2v1nf8v _1y2v1nfa4 _1y2v1nfbd _1y2v1nf3q _1y2v1nfkd _1y2v1nfhk _1y2v1nfhq _1y2v1nfhf", _ = "_2k0k3ud", a = "_2k0k3ug", t = "_2k0k3uf", u = "_2k0k3ue", i = "_2k0k3ui _1y2v1nf7m _1y2v1nf8v", m = {
46
46
  enter: "_2k0k3u9",
47
47
  enterActive: "_2k0k3ua",
48
48
  exit: "_2k0k3ub",
49
49
  exitActive: "_2k0k3uc"
50
- }, o = {
50
+ }, f = {
51
51
  top: "var(--_2k0k3u0)",
52
52
  bottom: "var(--_2k0k3u1)",
53
53
  left: "var(--_2k0k3u2)",
package/dist/menu.js CHANGED
@@ -143,9 +143,9 @@ const ke = 120, Q = /*#__PURE__*/ _react.createContext({
143
143
  isMenuOpen: !1,
144
144
  setFocusedItem: ()=>{},
145
145
  closeMenu: ()=>{}
146
- }), Ne = ()=>_react.useContext(Q), D = (r)=>r ? Array.from(r.querySelectorAll("[role=menuitem],[role=menuitemcheckbox]")) : [], Re = (r, f)=>{
146
+ }), Ne = ()=>_react.useContext(Q), y = (r)=>r ? Array.from(r.querySelectorAll("[role=menuitem],[role=menuitemcheckbox]")) : [], Re = (r, f)=>{
147
147
  if (!f) return null;
148
- const d = D(r).indexOf(f);
148
+ const d = y(r).indexOf(f);
149
149
  return d < 0 ? null : d;
150
150
  }, qe = (param)=>{
151
151
  let { label: r, Icon: f, destructive: d, disabled: u, onPress: C, controlType: s, checked: p } = param;
@@ -236,8 +236,7 @@ const ke = 120, Q = /*#__PURE__*/ _react.createContext({
236
236
  return r ? /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
237
237
  children: [
238
238
  r,
239
- /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
240
- paddingY: 8,
239
+ /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
241
240
  className: _menucssmistica.menuSectionDivider,
242
241
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_divider.default, {})
243
242
  })
@@ -249,20 +248,20 @@ const ke = 120, Q = /*#__PURE__*/ _react.createContext({
249
248
  _react.useEffect(()=>{
250
249
  const a = n == null ? void 0 : n.getBoundingClientRect();
251
250
  if (!i || !a || !s) return;
252
- const { top: t, right: O, left: g, bottom: A } = a, T = i.scrollHeight, I = u === "left" ? g : void 0, F = u === "right" ? R.width - O : void 0, L = t - J, $ = A + J, H = R.height - $ - V, P = L - V, B = H > T, z = P > T, te = B || !z && H > P;
251
+ const { top: t, right: O, left: g, bottom: A } = a, T = i.scrollHeight, I = u === "left" ? g : void 0, F = u === "right" ? R.width - O : void 0, L = t - J, $ = A + J, D = R.height - $ - V, H = L - V, B = D > T, z = H > T, te = B || !z && D > H;
253
252
  N(te ? {
254
253
  left: I,
255
254
  right: F,
256
255
  top: `${$}px`,
257
256
  bottom: "auto",
258
- maxHeight: B ? void 0 : H,
257
+ maxHeight: B ? void 0 : D,
259
258
  transformOrigin: "center top"
260
259
  } : {
261
260
  left: I,
262
261
  right: F,
263
262
  top: "auto",
264
263
  bottom: `${R.height - L}px`,
265
- maxHeight: z ? void 0 : P,
264
+ maxHeight: z ? void 0 : H,
266
265
  transformOrigin: "center bottom"
267
266
  });
268
267
  }, [
@@ -286,13 +285,13 @@ const ke = 120, Q = /*#__PURE__*/ _react.createContext({
286
285
  className: _menucssmistica.menuContainer,
287
286
  close: ()=>p(!1)
288
287
  }, w = _react.useCallback(()=>{
289
- const t = D(i).findIndex((O)=>!O.getAttribute("aria-disabled"));
288
+ const t = y(i).findIndex((O)=>!O.getAttribute("aria-disabled"));
290
289
  h(t < 0 ? null : t);
291
290
  }, [
292
291
  i
293
292
  ]), _ = _react.useCallback((a)=>{
294
293
  var T;
295
- const t = D(i);
294
+ const t = y(i);
296
295
  a && t.reverse();
297
296
  const O = c === null ? -1 : a ? t.length - 1 - c : c;
298
297
  let g = t.findIndex((I, F)=>!I.getAttribute("aria-disabled") && F > O);
@@ -326,7 +325,7 @@ const ke = 120, Q = /*#__PURE__*/ _react.createContext({
326
325
  break;
327
326
  case _keys.SPACE:
328
327
  case _keys.ENTER:
329
- (0, _dom.cancelEvent)(t), c !== null && D(i)[c].click();
328
+ (0, _dom.cancelEvent)(t), c !== null && y(i)[c].click();
330
329
  break;
331
330
  case _keys.TAB:
332
331
  (0, _dom.cancelEvent)(t);
@@ -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;