@telefonica/mistica 14.6.0 → 14.7.1
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.
- package/css/mistica.css +1 -1
- package/dist/avatar.css-mistica.js +1 -1
- package/dist/badge.css-mistica.js +3 -3
- package/dist/boxed.d.ts +2 -1
- package/dist/boxed.js +17 -18
- package/dist/button-fixed-footer-layout.d.ts +1 -2
- package/dist/button-group.css-mistica.js +3 -3
- package/dist/button-group.d.ts +1 -1
- package/dist/button-layout.css-mistica.js +12 -12
- package/dist/button-layout.d.ts +1 -2
- package/dist/button.css-mistica.js +22 -22
- package/dist/button.d.ts +1 -1
- package/dist/button.js +93 -90
- package/dist/callout.css-mistica.js +1 -1
- package/dist/callout.d.ts +1 -1
- package/dist/callout.js +13 -9
- package/dist/card.css-mistica.js +8 -8
- package/dist/card.d.ts +3 -3
- package/dist/card.js +71 -71
- package/dist/carousel.css-mistica.js +7 -7
- package/dist/checkbox.css-mistica.js +9 -9
- package/dist/chip.css-mistica.js +11 -10
- package/dist/chip.css.d.ts +1 -1
- package/dist/chip.js +21 -20
- package/dist/circle.css-mistica.js +1 -1
- package/dist/credit-card-number-field.css-mistica.js +3 -3
- package/dist/cvv-field.css-mistica.js +3 -3
- package/dist/date-time-picker.js +7 -6
- package/dist/dialog.css-mistica.js +7 -7
- package/dist/dialog.d.ts +1 -1
- package/dist/double-field.css-mistica.js +4 -4
- package/dist/double-field.d.ts +10 -10
- package/dist/empty-state-card.css-mistica.js +2 -2
- package/dist/empty-state-card.d.ts +1 -1
- package/dist/empty-state.css-mistica.js +2 -2
- package/dist/empty-state.d.ts +2 -1
- package/dist/feedback.css-mistica.js +5 -5
- package/dist/feedback.d.ts +1 -0
- package/dist/feedback.js +86 -87
- package/dist/fixed-footer-layout.css-mistica.js +5 -5
- package/dist/header.d.ts +2 -2
- package/dist/hero.css-mistica.js +5 -5
- package/dist/hero.d.ts +4 -4
- package/dist/highlighted-card.css-mistica.js +4 -4
- package/dist/highlighted-card.d.ts +1 -2
- package/dist/icon-button.css-mistica.js +1 -1
- package/dist/image.css-mistica.js +1 -1
- package/dist/image.js +16 -16
- package/dist/index.d.ts +7 -2
- package/dist/index.js +9 -1
- package/dist/list.css-mistica.js +9 -9
- package/dist/loading-bar.css-mistica.js +6 -6
- package/dist/logo.d.ts +34 -0
- package/dist/logo.js +629 -0
- package/dist/maybe-dismissable.css-mistica.js +4 -4
- package/dist/menu.css-mistica.js +1 -1
- package/dist/navigation-bar.css-mistica.js +16 -16
- package/dist/navigation-bar.d.ts +2 -6
- package/dist/navigation-bar.js +99 -266
- package/dist/navigation-breadcrumbs.css-mistica.js +1 -1
- package/dist/package-version.js +1 -1
- package/dist/password-field.css-mistica.js +2 -2
- package/dist/popover.css-mistica.js +10 -10
- package/dist/progress-bar.css-mistica.js +2 -2
- package/dist/radio-button.css-mistica.js +9 -9
- package/dist/responsive-layout.css-mistica.js +8 -5
- package/dist/responsive-layout.css.d.ts +4 -1
- package/dist/responsive-layout.d.ts +2 -0
- package/dist/responsive-layout.js +7 -9
- package/dist/screen-reader-only.css-mistica.js +1 -1
- package/dist/select.css-mistica.js +14 -14
- package/dist/skeleton-base.js +3 -3
- package/dist/skeletons.css-mistica.js +4 -4
- package/dist/skins/blau.js +7 -1
- package/dist/skins/defaults.d.ts +3 -0
- package/dist/skins/defaults.js +48 -0
- package/dist/skins/movistar-legacy.js +7 -1
- package/dist/skins/movistar.js +7 -1
- package/dist/skins/o2-classic.js +6 -0
- package/dist/skins/o2.js +9 -3
- package/dist/skins/skin-contract.css-mistica.js +203 -185
- package/dist/skins/skin-contract.css.d.ts +18 -0
- package/dist/skins/telefonica.js +19 -1
- package/dist/skins/types.d.ts +21 -0
- package/dist/skins/vivo.js +7 -1
- package/dist/snackbar.css-mistica.js +8 -8
- package/dist/spinner.css-mistica.js +1 -1
- package/dist/sprinkles.css-mistica.js +360 -312
- package/dist/sprinkles.css.d.ts +1 -1
- package/dist/stepper.css-mistica.js +9 -9
- package/dist/switch-component.css-mistica.js +23 -23
- package/dist/tabs.css-mistica.js +14 -14
- package/dist/tag.css-mistica.js +2 -2
- package/dist/tag.js +12 -12
- package/dist/text-field-base.css-mistica.js +10 -10
- package/dist/text-field-base.js +14 -14
- package/dist/text-field-components.css-mistica.js +10 -10
- package/dist/text-link.css-mistica.js +5 -5
- package/dist/theme-context-provider.js +38 -58
- package/dist/theme-variant-context.d.ts +4 -1
- package/dist/theme-variant-context.js +9 -8
- package/dist/tooltip.css-mistica.js +2 -2
- package/dist/touchable.css-mistica.js +1 -1
- package/dist/utils/aspect-ratio-support.css-mistica.js +4 -4
- package/dist/utils/renders-element.d.ts +1 -1
- package/dist/video.css-mistica.js +1 -1
- package/dist/video.js +16 -15
- package/dist-es/avatar.css-mistica.js +1 -1
- package/dist-es/badge.css-mistica.js +2 -2
- package/dist-es/boxed.js +25 -26
- package/dist-es/button-group.css-mistica.js +2 -2
- package/dist-es/button-layout.css-mistica.js +7 -7
- package/dist-es/button.css-mistica.js +9 -9
- package/dist-es/button.js +128 -125
- package/dist-es/callout.css-mistica.js +1 -1
- package/dist-es/callout.js +28 -24
- package/dist-es/card.css-mistica.js +2 -2
- package/dist-es/card.js +120 -120
- package/dist-es/carousel.css-mistica.js +2 -2
- package/dist-es/checkbox.css-mistica.js +6 -6
- package/dist-es/chip.css-mistica.js +9 -8
- package/dist-es/chip.js +37 -36
- package/dist-es/circle.css-mistica.js +1 -1
- package/dist-es/credit-card-number-field.css-mistica.js +3 -3
- package/dist-es/cvv-field.css-mistica.js +2 -2
- package/dist-es/date-time-picker.js +13 -12
- package/dist-es/dialog.css-mistica.js +5 -5
- package/dist-es/double-field.css-mistica.js +4 -4
- package/dist-es/empty-state-card.css-mistica.js +2 -2
- package/dist-es/empty-state.css-mistica.js +2 -2
- package/dist-es/feedback.css-mistica.js +2 -2
- package/dist-es/feedback.js +109 -110
- package/dist-es/fixed-footer-layout.css-mistica.js +3 -3
- package/dist-es/hero.css-mistica.js +2 -2
- package/dist-es/highlighted-card.css-mistica.js +4 -4
- package/dist-es/icon-button.css-mistica.js +1 -1
- package/dist-es/image.css-mistica.js +1 -1
- package/dist-es/image.js +18 -18
- package/dist-es/index.js +1698 -1697
- package/dist-es/list.css-mistica.js +2 -2
- package/dist-es/loading-bar.css-mistica.js +2 -2
- package/dist-es/logo.js +607 -0
- package/dist-es/maybe-dismissable.css-mistica.js +2 -2
- package/dist-es/menu.css-mistica.js +1 -1
- package/dist-es/navigation-bar.css-mistica.js +11 -11
- package/dist-es/navigation-bar.js +171 -337
- package/dist-es/navigation-breadcrumbs.css-mistica.js +1 -1
- package/dist-es/package-version.js +1 -1
- package/dist-es/password-field.css-mistica.js +2 -2
- package/dist-es/popover.css-mistica.js +2 -2
- package/dist-es/progress-bar.css-mistica.js +2 -2
- package/dist-es/radio-button.css-mistica.js +6 -6
- package/dist-es/responsive-layout.css-mistica.js +5 -2
- package/dist-es/responsive-layout.js +16 -18
- package/dist-es/screen-reader-only.css-mistica.js +1 -1
- package/dist-es/select.css-mistica.js +11 -11
- package/dist-es/skeleton-base.js +7 -7
- package/dist-es/skeletons.css-mistica.js +2 -2
- package/dist-es/skins/blau.js +7 -1
- package/dist-es/skins/defaults.js +35 -0
- package/dist-es/skins/movistar-legacy.js +7 -1
- package/dist-es/skins/movistar.js +7 -1
- package/dist-es/skins/o2-classic.js +6 -0
- package/dist-es/skins/o2.js +9 -3
- package/dist-es/skins/skin-contract.css-mistica.js +203 -185
- package/dist-es/skins/telefonica.js +19 -1
- package/dist-es/skins/vivo.js +7 -1
- package/dist-es/snackbar.css-mistica.js +2 -2
- package/dist-es/spinner.css-mistica.js +1 -1
- package/dist-es/sprinkles.css-mistica.js +360 -312
- package/dist-es/stepper.css-mistica.js +2 -2
- package/dist-es/style.css +1 -1
- package/dist-es/switch-component.css-mistica.js +19 -19
- package/dist-es/tabs.css-mistica.js +10 -10
- package/dist-es/tag.css-mistica.js +2 -2
- package/dist-es/tag.js +27 -27
- package/dist-es/text-field-base.css-mistica.js +2 -2
- package/dist-es/text-field-base.js +20 -20
- package/dist-es/text-field-components.css-mistica.js +2 -2
- package/dist-es/text-link.css-mistica.js +5 -5
- package/dist-es/theme-context-provider.js +72 -92
- package/dist-es/theme-variant-context.js +9 -9
- package/dist-es/tooltip.css-mistica.js +2 -2
- package/dist-es/touchable.css-mistica.js +1 -1
- package/dist-es/utils/aspect-ratio-support.css-mistica.js +3 -3
- package/dist-es/video.css-mistica.js +1 -1
- package/dist-es/video.js +17 -16
- package/package.json +4 -4
|
@@ -77,342 +77,173 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
77
77
|
}
|
|
78
78
|
return target;
|
|
79
79
|
}
|
|
80
|
-
import * as
|
|
81
|
-
import { createElement as
|
|
82
|
-
import { CSSTransition as
|
|
83
|
-
import
|
|
84
|
-
import
|
|
85
|
-
import
|
|
86
|
-
import
|
|
87
|
-
import { BaseTouchable as
|
|
88
|
-
import { Text3 as
|
|
89
|
-
import { useTheme as
|
|
90
|
-
import
|
|
91
|
-
import
|
|
92
|
-
import
|
|
93
|
-
import
|
|
94
|
-
import
|
|
95
|
-
import { RowList as
|
|
96
|
-
import { ThemeVariant as
|
|
80
|
+
import * as M from "react";
|
|
81
|
+
import { createElement as F } from "react";
|
|
82
|
+
import { CSSTransition as W } from "react-transition-group";
|
|
83
|
+
import x from "classnames";
|
|
84
|
+
import u from "./responsive-layout.js";
|
|
85
|
+
import s from "./inline.js";
|
|
86
|
+
import $ from "./box.js";
|
|
87
|
+
import { BaseTouchable as y } from "./touchable.js";
|
|
88
|
+
import { Text3 as L, Text2 as q } from "./text.js";
|
|
89
|
+
import { useTheme as A, useAriaId as J, useScreenSize as V } from "./hooks.js";
|
|
90
|
+
import K from "./generated/mistica-icons/icon-menu-regular.js";
|
|
91
|
+
import Q from "./generated/mistica-icons/icon-close-regular.js";
|
|
92
|
+
import X from "./generated/mistica-icons/icon-chevron-left-regular.js";
|
|
93
|
+
import D from "./icon-button.js";
|
|
94
|
+
import Y from "./negative-box.js";
|
|
95
|
+
import { RowList as Z, Row as ee } from "./list.js";
|
|
96
|
+
import { ThemeVariant as f, useIsInverseVariant as re } from "./theme-variant-context.js";
|
|
97
97
|
import k from "./focus-trap.js";
|
|
98
|
-
import { Portal as
|
|
99
|
-
import
|
|
100
|
-
import { useSetModalState as
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
const { isDarkMode: t } = l(), n = m() && !t ? s.colors.inverse : s.colors.brand;
|
|
109
|
-
return /* @__PURE__ */ e("svg", {
|
|
110
|
-
width: r,
|
|
111
|
-
height: r,
|
|
112
|
-
viewBox: "0 0 24 24",
|
|
113
|
-
fill: n,
|
|
114
|
-
role: "presentation",
|
|
115
|
-
children: /* @__PURE__ */ e("path", {
|
|
116
|
-
d: "M5.75989 5.73747C4.83318 5.7524 3.12261 6.21673 2.34128 9.45937C2.00085 10.8723 1.86931 12.3449 2.16077 14.0979C2.42943 15.7147 2.90545 17.1101 3.22629 17.8792C3.33689 18.1441 3.50812 18.4206 3.6405 18.5906C4.02129 19.0797 4.65503 19.0484 4.92132 18.9151C5.2116 18.7699 5.54527 18.4194 5.42453 17.6187C5.36611 17.2319 5.19775 16.666 5.10302 16.3515C4.81224 15.3863 4.42521 14.2216 4.39143 13.392C4.34635 12.2823 4.77695 12.1369 5.06283 12.0731C5.54375 11.9655 5.94682 12.5021 6.3298 13.1746C6.78691 13.9771 7.57026 15.3991 8.20924 16.4853C8.78607 17.4658 9.85057 18.5156 11.5601 18.4436C13.303 18.3703 14.5877 17.6946 15.2494 15.5671C15.7447 13.9756 16.0823 12.7863 16.6255 11.5683C17.2501 10.1677 18.0833 9.41801 18.7849 9.64692C19.4364 9.85935 19.599 10.5064 19.6067 11.4576C19.6137 12.2989 19.5179 13.2264 19.4435 13.9078C19.4164 14.1551 19.3675 14.6525 19.3874 14.9286C19.4267 15.4715 19.6581 16.0138 20.2597 16.1006C20.9006 16.1929 21.4148 15.6725 21.6201 15.0434C21.7011 14.7955 21.7702 14.4161 21.8075 14.1468C21.9958 12.7873 22.0446 11.8735 21.9598 10.4824C21.8604 8.85587 21.5471 7.3726 21.0007 6.08889C20.4779 4.8613 19.6382 4.07454 18.5612 4.00504C17.369 3.92817 16.0009 4.73192 15.2832 6.29138C14.6216 7.72883 14.0924 9.20455 13.7714 9.95768C13.4458 10.7214 12.9673 11.1921 12.2315 11.2709C11.332 11.367 10.5569 10.7034 9.98921 9.75726C9.49428 8.93257 8.51336 7.3623 7.98853 6.83465C7.49546 6.33891 6.9323 5.71859 5.75989 5.73747Z"
|
|
117
|
-
})
|
|
118
|
-
});
|
|
119
|
-
}, f1 = (param)=>{
|
|
120
|
-
let { size: r } = param;
|
|
121
|
-
const { isDarkMode: t } = l(), n = m() && !t ? s.colors.inverse : s.colors.brand;
|
|
122
|
-
return /* @__PURE__ */ o("svg", {
|
|
123
|
-
height: r,
|
|
124
|
-
viewBox: "0 0 65 24",
|
|
125
|
-
fill: n,
|
|
126
|
-
role: "presentation",
|
|
127
|
-
children: [
|
|
128
|
-
/* @__PURE__ */ e("path", {
|
|
129
|
-
d: "M7.79205 20.4766H8.85203C9.02869 20.4766 9.71572 20.385 10.0887 19.6979L14.4725 11.9248C14.924 11.1003 14.394 10.4002 13.9229 10.2301L12.7583 9.70664C12.1301 9.42529 11.3777 9.71973 11.0898 10.3806L8.33512 15.916H8.29587L5.54777 10.3806C5.26641 9.72627 4.50742 9.42529 3.88582 9.70664L2.72115 10.2301C2.25005 10.4002 1.72006 11.1003 2.17153 11.9248L6.56195 19.6979C6.9349 20.385 7.61539 20.4766 7.79205 20.4766Z"
|
|
130
|
-
}),
|
|
131
|
-
/* @__PURE__ */ e("path", {
|
|
132
|
-
d: "M27.068 20.4766H28.128C28.3046 20.4766 28.9917 20.385 29.3646 19.6979L33.755 11.9248C34.2065 11.1003 33.6765 10.4002 33.2054 10.2301L32.0408 9.70664C31.4126 9.42529 30.6602 9.71973 30.3788 10.3806L27.6242 15.916H27.5849L24.8303 10.3806C24.5489 9.72627 23.7899 9.42529 23.1683 9.70664L22.0036 10.2301C21.5325 10.4002 21.0026 11.1003 21.454 11.9248L25.8379 19.6979C26.2043 20.385 26.8913 20.4766 27.068 20.4766Z"
|
|
133
|
-
}),
|
|
134
|
-
/* @__PURE__ */ e("path", {
|
|
135
|
-
d: "M39.9383 9.63467C36.9154 9.63467 34.4617 12.0883 34.4617 15.1112C34.4617 18.1341 36.9154 20.5878 39.9383 20.5878C42.9612 20.5878 45.4148 18.1341 45.4148 15.1112C45.4148 12.0883 42.9677 9.63467 39.9383 9.63467ZM39.9383 17.2705C38.7474 17.2705 37.779 16.3021 37.779 15.1112C37.779 13.9204 38.7474 12.952 39.9383 12.952C41.1291 12.952 42.0975 13.9204 42.0975 15.1112C42.104 16.3021 41.1357 17.2705 39.9383 17.2705Z"
|
|
136
|
-
}),
|
|
137
|
-
/* @__PURE__ */ e("path", {
|
|
138
|
-
d: "M20.1061 6.52011C20.1061 7.70441 19.1443 8.66625 17.96 8.66625C16.7757 8.66625 15.8139 7.70441 15.8139 6.52011C15.8139 5.33581 16.7757 4.37398 17.96 4.37398C19.1443 4.37398 20.1061 5.33581 20.1061 6.52011Z"
|
|
139
|
-
}),
|
|
140
|
-
/* @__PURE__ */ e("path", {
|
|
141
|
-
d: "M16.0887 11.0742C16.0887 10.3414 16.6776 9.75248 17.4104 9.75248H18.5162C19.249 9.75248 19.8379 10.3414 19.8379 11.0742V19.1549C19.8379 19.8877 19.2425 20.4766 18.5162 20.4766H17.4104C16.6776 20.4766 16.0887 19.8877 16.0887 19.1549V11.0742Z"
|
|
142
|
-
}),
|
|
143
|
-
/* @__PURE__ */ e("path", {
|
|
144
|
-
d: "M59.6395 6.51364C59.6395 7.18758 59.3974 8.24756 58.658 8.98693C58.3963 9.24865 58.1673 9.40569 57.9841 9.52346C57.6373 9.75247 57.3821 9.9095 57.5196 10.289C57.657 10.662 58.0888 10.5442 58.501 10.4526C58.6319 10.4199 61.2033 9.80482 61.236 9.80482C61.9231 9.67395 62.5905 10.1123 62.754 10.7863C62.754 10.7863 62.9569 11.65 62.9634 11.6565C63.127 12.3304 62.7279 13.024 62.0539 13.2203C62.0277 13.2334 59.2208 13.9073 59.2142 13.9073C58.6842 14.0447 58.3702 14.3065 58.3702 14.8234C58.3702 15.0524 58.501 15.301 58.6646 15.5104C58.6646 15.5104 61.7137 19.2923 61.7268 19.3185C62.139 19.8877 62.0343 20.6729 61.4978 21.1113C61.4978 21.1113 60.8107 21.6674 60.8042 21.674C60.2676 22.1124 59.4694 22.0535 59.0048 21.53C58.9787 21.5104 57.0877 19.1811 56.8849 18.9324C56.682 18.6838 56.4334 18.3108 56.0801 18.3108C55.7267 18.3108 55.4781 18.6838 55.2753 18.9324C55.0724 19.1811 53.1815 21.5039 53.1553 21.53C52.6842 22.0535 51.8925 22.1124 51.356 21.674C51.3494 21.6674 50.6624 21.1113 50.6624 21.1113C50.1259 20.6729 50.0146 19.8812 50.4334 19.3185C50.4465 19.2923 53.4956 15.5104 53.4956 15.5104C53.6591 15.301 53.79 15.0524 53.79 14.8234C53.79 14.3065 53.4759 14.0447 52.9459 13.9073C52.9394 13.9073 50.1324 13.2334 50.1062 13.2203C49.4323 13.024 49.0397 12.3304 49.1967 11.6565C49.1967 11.65 49.4061 10.7928 49.4061 10.7863C49.5697 10.1123 50.2371 9.67395 50.9241 9.80482C50.9568 9.80482 53.5217 10.4199 53.6591 10.4526C54.0713 10.5442 54.5032 10.662 54.6406 10.289C54.7845 9.9095 54.5294 9.75247 54.176 9.52346C53.9928 9.40569 53.7704 9.24865 53.5086 8.98693C52.7627 8.24102 52.5206 7.18758 52.5206 6.51364C52.5206 4.57689 54.1368 3 56.0801 3C58.0234 3 59.6395 4.57034 59.6395 6.51364Z"
|
|
145
|
-
})
|
|
146
|
-
]
|
|
147
|
-
});
|
|
148
|
-
}, V1 = (param)=>{
|
|
149
|
-
let { size: r } = param;
|
|
150
|
-
const { isDarkMode: t } = l(), n = m() && !t ? s.colors.inverse : s.colors.brand;
|
|
151
|
-
return /* @__PURE__ */ e("svg", {
|
|
152
|
-
width: r,
|
|
153
|
-
height: r,
|
|
154
|
-
viewBox: "0 0 24 24",
|
|
155
|
-
fill: n,
|
|
156
|
-
role: "presentation",
|
|
157
|
-
children: /* @__PURE__ */ e("path", {
|
|
158
|
-
d: "M21.5488 16.0335C21.8424 16.1065 22.1266 16.2415 22.3388 16.4558C22.5183 16.6276 22.6411 16.8499 22.7127 17.0838C22.7977 17.3731 22.8193 17.6803 22.7802 17.9787C22.7429 18.2479 22.6501 18.5075 22.5284 18.7511C22.2997 19.1992 21.9805 19.5965 21.6394 19.9683C21.2723 20.3662 20.8766 20.738 20.4814 21.1094C21.2777 21.1069 22.074 21.1092 22.8703 21.1081C22.9135 21.1077 22.9576 21.1055 23 21.1167V22.0552C22.9759 22.0582 22.952 22.0614 22.9283 22.0624L18.8838 22.0622V21.0511C18.9759 20.9616 19.0743 20.8788 19.1687 20.7915C19.5786 20.4276 19.9825 20.0567 20.3632 19.6636C20.7294 19.2771 21.0861 18.873 21.3411 18.4066C21.4566 18.1876 21.5534 17.9491 21.5517 17.6993C21.5505 17.5207 21.4843 17.341 21.3574 17.2104C21.1927 17.0367 20.9529 16.9489 20.716 16.9204C20.3962 16.887 20.0733 16.9517 19.7757 17.0638C19.546 17.1486 19.3328 17.2686 19.1242 17.3931C19.0916 17.0571 19.0577 16.7212 19.0264 16.385C19.5388 16.1368 20.1029 15.987 20.6754 15.9608C20.9677 15.9438 21.2639 15.965 21.5488 16.0335ZM14.8405 5.31598C15.4058 5.52592 15.9429 5.8091 16.4281 6.16147C17.2361 6.74433 17.8939 7.51825 18.3477 8.39085C18.7702 9.19553 19.0213 10.0802 19.1223 10.9769C19.1704 11.4267 19.1906 11.8802 19.1648 12.332C19.1295 13.0499 18.99 13.7632 18.7481 14.4425C18.3674 15.5124 17.7227 16.4967 16.8652 17.2645C16.0449 18.0046 15.0307 18.537 13.947 18.8055C13.1523 19.0037 12.3237 19.0655 11.5063 19.0057C10.6758 18.9451 9.85411 18.7488 9.09547 18.4127C8.21888 18.0263 7.43007 17.4539 6.79756 16.7483C6.02182 15.8873 5.48168 14.8334 5.21175 13.7205C5.07973 13.1805 5.01279 12.6264 5 12.0718V11.7823C5.01178 11.3188 5.05344 10.8555 5.13963 10.3991C5.34506 9.29686 5.79973 8.23067 6.51039 7.34507C7.05786 6.65781 7.75545 6.08488 8.54283 5.67338C9.55445 5.14127 10.703 4.87849 11.8491 4.8504C12.8638 4.81979 13.89 4.96278 14.8405 5.31598ZM11.7686 6.88536C11.3519 6.91848 10.939 7.01031 10.5534 7.16896C10.1453 7.33515 9.76806 7.57136 9.43995 7.86C9.02852 8.21991 8.69266 8.65754 8.43365 9.13235C8.03931 9.85652 7.81866 10.665 7.75717 11.4807C7.72184 11.96 7.74281 12.4429 7.81421 12.9184C7.90715 13.527 8.08442 14.1256 8.36283 14.679C8.59899 15.1493 8.90986 15.5869 9.2996 15.9492C9.7116 16.3365 10.2151 16.6312 10.7604 16.8024C11.2601 16.9599 11.7902 17.0181 12.3138 16.9961C12.8009 16.9736 13.287 16.8782 13.7364 16.6911C14.4144 16.4136 14.9922 15.9302 15.4118 15.3457C15.9534 14.5939 16.259 13.6989 16.3791 12.7929C16.5377 11.6104 16.3647 10.3777 15.831 9.29994C15.592 8.82345 15.2831 8.37604 14.8943 8.00284C14.4766 7.59023 13.9621 7.26917 13.3989 7.08034C12.8773 6.90381 12.3181 6.84622 11.7686 6.88536Z"
|
|
159
|
-
})
|
|
160
|
-
});
|
|
161
|
-
}, b1 = (param)=>{
|
|
162
|
-
let { size: r } = param;
|
|
163
|
-
const { isDarkMode: t } = l(), n = m() && !t ? s.colors.inverse : s.colors.brand;
|
|
164
|
-
return /* @__PURE__ */ o("svg", {
|
|
165
|
-
height: r,
|
|
166
|
-
viewBox: "0 0 65 24",
|
|
167
|
-
fill: n,
|
|
168
|
-
role: "presentation",
|
|
169
|
-
children: [
|
|
170
|
-
/* @__PURE__ */ e("path", {
|
|
171
|
-
d: "M4.18502 9.37005C5.39177 9.37005 6.37004 8.39178 6.37004 7.18503C6.37004 5.97828 5.39177 5.00001 4.18502 5.00001C2.97827 5.00001 2 5.97828 2 7.18503C2 8.39178 2.97827 9.37005 4.18502 9.37005Z"
|
|
172
|
-
}),
|
|
173
|
-
/* @__PURE__ */ e("path", {
|
|
174
|
-
d: "M9.31939 9.37004C10.5261 9.37004 11.5044 8.39177 11.5044 7.18502C11.5044 5.97827 10.5261 5 9.31939 5C8.11263 5 7.13437 5.97827 7.13437 7.18502C7.13437 8.39177 8.11263 9.37004 9.31939 9.37004Z"
|
|
175
|
-
}),
|
|
176
|
-
/* @__PURE__ */ e("path", {
|
|
177
|
-
d: "M14.4544 9.37004C15.6611 9.37004 16.6394 8.39177 16.6394 7.18502C16.6394 5.97827 15.6611 5 14.4544 5C13.2476 5 12.2693 5.97827 12.2693 7.18502C12.2693 8.39177 13.2476 9.37004 14.4544 9.37004Z"
|
|
178
|
-
}),
|
|
179
|
-
/* @__PURE__ */ e("path", {
|
|
180
|
-
d: "M9.31939 14.505C10.5261 14.505 11.5044 13.5268 11.5044 12.32C11.5044 11.1133 10.5261 10.135 9.31939 10.135C8.11263 10.135 7.13437 11.1133 7.13437 12.32C7.13437 13.5268 8.11263 14.505 9.31939 14.505Z"
|
|
181
|
-
}),
|
|
182
|
-
/* @__PURE__ */ e("path", {
|
|
183
|
-
d: "M9.31939 19.64C10.5261 19.64 11.5044 18.6617 11.5044 17.455C11.5044 16.2482 10.5261 15.2699 9.31939 15.2699C8.11263 15.2699 7.13437 16.2482 7.13437 17.455C7.13437 18.6617 8.11263 19.64 9.31939 19.64Z"
|
|
184
|
-
}),
|
|
185
|
-
/* @__PURE__ */ e("path", {
|
|
186
|
-
d: "M21.2967 10.6169H19.263V9.4054H24.5962V10.6169H22.557V16.1923H21.2967V10.6169Z"
|
|
187
|
-
}),
|
|
188
|
-
/* @__PURE__ */ e("path", {
|
|
189
|
-
d: "M28.8498 14.738C28.743 15.126 28.1324 16.2893 26.5714 16.2893C25.1172 16.2893 24.0503 15.223 24.0503 13.72C24.0503 12.2169 25.1172 11.1506 26.5714 11.1506C27.9287 11.1506 28.9955 12.2169 28.9955 13.623C28.9932 13.7398 28.9834 13.8563 28.9663 13.9719L28.9467 14.1079H25.2623C25.3691 14.796 25.8827 15.2712 26.5714 15.2712C27.1436 15.2712 27.4925 14.9418 27.5895 14.738H28.8498ZM27.7835 13.2838C27.6767 12.6531 27.2595 12.1687 26.5714 12.1687C25.8345 12.1687 25.4075 12.6531 25.2623 13.2838H27.7835Z"
|
|
190
|
-
}),
|
|
191
|
-
/* @__PURE__ */ e("path", {
|
|
192
|
-
d: "M29.7221 9.4054H30.9341V16.1923H29.7221V9.4054Z"
|
|
193
|
-
}),
|
|
194
|
-
/* @__PURE__ */ e("path", {
|
|
195
|
-
d: "M36.4601 14.738C36.3534 15.126 35.7428 16.2893 34.1812 16.2893C32.7269 16.2893 31.6606 15.223 31.6606 13.72C31.6606 12.2169 32.7269 11.1506 34.1812 11.1506C35.539 11.1506 36.6053 12.2169 36.6053 13.623C36.6029 13.7398 36.5932 13.8563 36.576 13.9719L36.5571 14.1079H32.8721C32.9788 14.796 33.4931 15.2712 34.1812 15.2712C34.7533 15.2712 35.1023 14.9418 35.1992 14.738H36.4601ZM35.3932 13.2838C35.2865 12.6531 34.8698 12.1687 34.1812 12.1687C33.4443 12.1687 33.0179 12.6531 32.8721 13.2838H35.3932Z"
|
|
196
|
-
}),
|
|
197
|
-
/* @__PURE__ */ e("path", {
|
|
198
|
-
d: "M37.7198 12.4109H36.8957V11.2476H37.7198V10.5199C37.7198 9.78301 38.1949 9.30782 38.9318 9.30782H39.9987V10.3747H39.271C39.2261 10.3735 39.1814 10.3815 39.1397 10.3981C39.098 10.4148 39.0601 10.4397 39.0283 10.4714C38.9966 10.5031 38.9716 10.541 38.9549 10.5827C38.9382 10.6243 38.9301 10.669 38.9312 10.7139V11.2476H39.9981V12.4109H38.9312V16.1929H37.7192L37.7198 12.4109Z"
|
|
199
|
-
}),
|
|
200
|
-
/* @__PURE__ */ e("path", {
|
|
201
|
-
d: "M45.2222 13.723C45.2222 15.2261 44.1553 16.2923 42.701 16.2923C41.2468 16.2923 40.1799 15.223 40.1799 13.723C40.1799 12.223 41.2468 11.1537 42.701 11.1537C44.1553 11.1537 45.2222 12.2169 45.2222 13.723ZM44.0101 13.723C44.0101 12.8501 43.4281 12.2688 42.701 12.2688C41.9739 12.2688 41.392 12.8501 41.392 13.723C41.392 14.5959 41.9739 15.1773 42.701 15.1773C43.4281 15.1773 44.0101 14.5929 44.0101 13.723Z"
|
|
202
|
-
}),
|
|
203
|
-
/* @__PURE__ */ e("path", {
|
|
204
|
-
d: "M45.9487 11.2476H47.0637L47.1607 11.7356H47.2089C47.305 11.6239 47.4161 11.526 47.5389 11.4447C47.8455 11.2486 48.203 11.1474 48.5668 11.1537C49.6819 11.1537 50.506 11.9778 50.506 13.2381V16.1953H49.2939V13.332C49.2939 12.7019 48.8577 12.2657 48.227 12.2657C47.5963 12.2657 47.1607 12.7019 47.1607 13.332V16.1923H45.9487V11.2476Z"
|
|
205
|
-
}),
|
|
206
|
-
/* @__PURE__ */ e("path", {
|
|
207
|
-
d: "M58.22 14.3501C58.0651 15.126 57.4545 16.2893 55.8929 16.2893C54.4386 16.2893 53.3724 15.223 53.3724 13.72C53.3724 12.2169 54.4386 11.1506 55.8929 11.1506C57.4545 11.1506 58.0651 12.3139 58.22 13.0416H57.0086C56.9018 12.7604 56.6206 12.2663 55.8929 12.2663C55.1651 12.2663 54.582 12.847 54.582 13.723C54.582 14.599 55.1639 15.1772 55.891 15.1772C56.6182 15.1772 56.9 14.6929 57.0067 14.3531L58.22 14.3501Z"
|
|
208
|
-
}),
|
|
209
|
-
/* @__PURE__ */ e("path", {
|
|
210
|
-
d: "M61.8849 15.7079H61.8367C61.7391 15.8217 61.6245 15.9196 61.497 15.9983C61.1772 16.1964 60.8068 16.2975 60.4307 16.2893C59.3058 16.2893 58.6367 15.6012 58.6367 14.7868C58.6367 13.8169 59.3156 13.1398 60.6728 13.1398H61.7879V13.0429C61.7879 12.5 61.4585 12.1218 60.915 12.1218C60.3715 12.1218 60.0909 12.4713 60.0427 12.7525H58.8306C58.9374 11.9375 59.5968 11.1525 60.915 11.1525C62.1759 11.1525 63 11.9863 63 13.0435V16.1947H61.9819L61.8849 15.7079ZM61.7879 14.0609H60.7698C60.1397 14.0609 59.8487 14.3049 59.8487 14.6917C59.8487 15.0784 60.1299 15.3218 60.6247 15.3218C61.3615 15.3218 61.7879 14.8948 61.7879 14.2067V14.0609Z"
|
|
211
|
-
}),
|
|
212
|
-
/* @__PURE__ */ e("path", {
|
|
213
|
-
d: "M51.4338 11.2476H52.6459V16.1923H51.4338V11.2476Z"
|
|
214
|
-
}),
|
|
215
|
-
/* @__PURE__ */ e("path", {
|
|
216
|
-
d: "M52.0395 10.537C52.4357 10.537 52.7569 10.2158 52.7569 9.81961C52.7569 9.42342 52.4357 9.10225 52.0395 9.10225C51.6433 9.10225 51.3221 9.42342 51.3221 9.81961C51.3221 10.2158 51.6433 10.537 52.0395 10.537Z"
|
|
217
|
-
}),
|
|
218
|
-
/* @__PURE__ */ e("path", {
|
|
219
|
-
d: "M43.1372 9.16265H44.398L43.2342 10.5687H42.2161L43.1372 9.16265Z"
|
|
220
|
-
})
|
|
221
|
-
]
|
|
222
|
-
});
|
|
223
|
-
}, Z1 = (param)=>{
|
|
224
|
-
let { size: r } = param;
|
|
225
|
-
const { isDarkMode: t } = l(), n = m() && !t ? s.colors.inverse : s.colors.brand;
|
|
226
|
-
return /* @__PURE__ */ o("svg", {
|
|
227
|
-
height: r,
|
|
228
|
-
viewBox: "0 0 46 24",
|
|
229
|
-
fill: n,
|
|
230
|
-
role: "presentation",
|
|
231
|
-
children: [
|
|
232
|
-
/* @__PURE__ */ e("path", {
|
|
233
|
-
d: "M44 17.7136H2V21.1579H44V17.7136Z",
|
|
234
|
-
fill: s.colors.textLink
|
|
235
|
-
}),
|
|
236
|
-
/* @__PURE__ */ e("path", {
|
|
237
|
-
d: "M12.2457 8.43669C13.6936 8.99523 14.4628 9.94348 14.375 11.5594C14.2871 13.6623 12.649 15.1171 10.5044 15.1171H2.21745V11.857H3.38314V6.10359H2.21745V2.84271H10.5393C12.3531 2.84271 13.8019 4.38617 13.7465 6.20933C13.7277 7.18998 13.2067 8.10497 12.2457 8.43669ZM8.48338 5.8256H7.3987V7.55325H8.48338C9.55187 7.55325 9.6235 5.8256 8.48338 5.8256ZM9.84777 11.0444C9.84777 10.543 9.52458 10.0441 8.77843 10.0441H7.39784V12.0446H8.77758C9.50411 12.0455 9.84777 11.5526 9.84777 11.0444Z"
|
|
238
|
-
}),
|
|
239
|
-
/* @__PURE__ */ e("path", {
|
|
240
|
-
d: "M14.7007 2.84272V6.10359H15.8553V15.1171H20.0738V2.84272H14.7007Z"
|
|
241
|
-
}),
|
|
242
|
-
/* @__PURE__ */ e("path", {
|
|
243
|
-
d: "M32.2177 15.117H28.261L28.174 14.2063C27.5285 14.9951 26.5691 15.2748 25.6652 15.2936C19.6662 15.3635 19.6662 5.4052 25.6652 5.47341C26.5691 5.47341 27.5285 5.75397 28.174 6.54275L28.261 5.62946H32.2177V15.117ZM28.018 10.3818C28.018 8.54072 25.4214 8.55948 25.4214 10.3818C25.4214 12.2066 28.018 12.2246 28.018 10.3818Z"
|
|
244
|
-
}),
|
|
245
|
-
/* @__PURE__ */ e("path", {
|
|
246
|
-
d: "M43.7732 5.62948H39.5905V10.751C39.5905 11.4528 39.0669 11.7854 38.5442 11.7854C38.0189 11.7854 37.6011 11.4366 37.6011 10.7689V5.62948H33.4158V10.7886C33.4158 13.3314 34.4092 15.2245 37.2173 15.2936C38.1408 15.3106 39.1019 15.0122 39.7619 14.1705L39.8506 15.1171L43.774 15.123L43.7732 5.62948Z"
|
|
247
|
-
})
|
|
248
|
-
]
|
|
249
|
-
});
|
|
250
|
-
}, P = (param)=>{
|
|
251
|
-
let { size: r } = param;
|
|
252
|
-
const { skinName: t } = l(), { isTabletOrSmaller: a } = O();
|
|
253
|
-
switch(r = r != null ? r : a ? 40 : 48, t){
|
|
254
|
-
case "Movistar":
|
|
255
|
-
return /* @__PURE__ */ e(H1, {
|
|
256
|
-
size: r
|
|
257
|
-
});
|
|
258
|
-
case "Vivo":
|
|
259
|
-
return /* @__PURE__ */ e(f1, {
|
|
260
|
-
size: r
|
|
261
|
-
});
|
|
262
|
-
case "O2":
|
|
263
|
-
case "O2-classic":
|
|
264
|
-
return /* @__PURE__ */ e(V1, {
|
|
265
|
-
size: r
|
|
266
|
-
});
|
|
267
|
-
case "Telefonica":
|
|
268
|
-
return /* @__PURE__ */ e(b1, {
|
|
269
|
-
size: r
|
|
270
|
-
});
|
|
271
|
-
case "Blau":
|
|
272
|
-
return /* @__PURE__ */ e(Z1, {
|
|
273
|
-
size: r
|
|
274
|
-
});
|
|
275
|
-
default:
|
|
276
|
-
return null;
|
|
277
|
-
}
|
|
278
|
-
}, N1 = (param)=>/* @__PURE__ */ {
|
|
98
|
+
import { Portal as ne } from "./portal.js";
|
|
99
|
+
import te from "./grid-layout.js";
|
|
100
|
+
import { useSetModalState as ae } from "./modal-context-provider.js";
|
|
101
|
+
import { Logo as G } from "./logo.js";
|
|
102
|
+
import { vars as R } from "./skins/skin-contract.css-mistica.js";
|
|
103
|
+
import { logoContainer as O, spacer as v, burgerMenuEnter as ie, burgerMenuEnterActive as oe, burgerMenuExit as ce, burgerMenuExitActive as se, burgerMenu as le, section as de, selectedSectionVariantes as me, textWrapperVariants as H, iconButtonVariants as ue, lineHeightFix as P, burgerIconContainer as pe, iconCloseHidden as he, iconMenuHidden as ge, topFixed as fe, navbarBorderColorVariants as B } from "./navigation-bar.css-mistica.js";
|
|
104
|
+
import { sprinkles as _ } from "./sprinkles.css-mistica.js";
|
|
105
|
+
import { getPrefixedDataAttributes as ve } from "./utils/dom.js";
|
|
106
|
+
import { jsxs as i, Fragment as Ne, jsx as e } from "./_virtual/jsx-runtime.js";
|
|
107
|
+
const be = (param)=>/* @__PURE__ */ {
|
|
279
108
|
let { isOpen: r } = param;
|
|
280
|
-
return
|
|
281
|
-
className:
|
|
109
|
+
return i("div", {
|
|
110
|
+
className: pe,
|
|
282
111
|
role: "presentation",
|
|
283
112
|
"data-component-name": "BurgerMenuIcon",
|
|
284
113
|
children: [
|
|
285
114
|
/* @__PURE__ */ e("div", {
|
|
286
|
-
className: r ? "" :
|
|
287
|
-
children: /* @__PURE__ */ e(
|
|
115
|
+
className: r ? "" : he,
|
|
116
|
+
children: /* @__PURE__ */ e(Q, {})
|
|
288
117
|
}),
|
|
289
118
|
/* @__PURE__ */ e("div", {
|
|
290
|
-
className: r ?
|
|
291
|
-
children: /* @__PURE__ */ e(
|
|
119
|
+
className: r ? ge : "",
|
|
120
|
+
children: /* @__PURE__ */ e(K, {})
|
|
292
121
|
})
|
|
293
122
|
]
|
|
294
123
|
});
|
|
295
|
-
},
|
|
296
|
-
let { children: r , topFixed:
|
|
297
|
-
const { isDarkMode:
|
|
124
|
+
}, Be = 300, N = (param)=>{
|
|
125
|
+
let { children: r , topFixed: l , withBorder: o , isMenuOpen: n , isInverse: t , dataAttributes: c } = param;
|
|
126
|
+
const { isDarkMode: d } = A();
|
|
298
127
|
return /* @__PURE__ */ e("header", _objectSpreadProps(_objectSpread({
|
|
299
|
-
className:
|
|
300
|
-
const
|
|
301
|
-
return n ||
|
|
128
|
+
className: x((()=>{
|
|
129
|
+
const a = t && !d;
|
|
130
|
+
return n || a ? B.inverse : n && !a ? B.menuOpen : B.default;
|
|
302
131
|
})(), {
|
|
303
|
-
[
|
|
132
|
+
[fe]: l
|
|
304
133
|
}),
|
|
305
134
|
style: {
|
|
306
|
-
borderBottomWidth:
|
|
307
|
-
background:
|
|
135
|
+
borderBottomWidth: o ? 1 : 0,
|
|
136
|
+
background: t ? R.colors.navigationBarBackground : R.colors.background
|
|
308
137
|
}
|
|
309
|
-
},
|
|
138
|
+
}, ve(c)), {
|
|
310
139
|
children: r
|
|
311
140
|
}));
|
|
312
|
-
},
|
|
313
|
-
let { sections: r , selectedIndex:
|
|
314
|
-
const { texts:
|
|
315
|
-
if (
|
|
141
|
+
}, qe = (param)=>{
|
|
142
|
+
let { sections: r , selectedIndex: l , right: o , isInverse: n = !1 , topFixed: t = !0 , logo: c } = param;
|
|
143
|
+
const { texts: d , isDarkMode: p } = A(), [a, I] = M.useState(!1), [S, h] = M.useState("closed"), T = J(), z = p ? 1 : 0.2, { isTabletOrSmaller: w } = V(), C = ae();
|
|
144
|
+
if (c = c != null ? c : /* @__PURE__ */ e(G, {
|
|
145
|
+
size: w ? 40 : 48
|
|
146
|
+
}), w) {
|
|
316
147
|
const b = ()=>{
|
|
317
|
-
|
|
148
|
+
I(!0), C({
|
|
318
149
|
isModalOpen: !0
|
|
319
150
|
});
|
|
320
|
-
},
|
|
321
|
-
|
|
151
|
+
}, g = ()=>{
|
|
152
|
+
I(!1), C({
|
|
322
153
|
isModalOpen: !1
|
|
323
154
|
});
|
|
324
|
-
},
|
|
325
|
-
return /* @__PURE__ */
|
|
155
|
+
}, m = S !== "open", E = r.length > 1;
|
|
156
|
+
return /* @__PURE__ */ i(Ne, {
|
|
326
157
|
children: [
|
|
327
|
-
/* @__PURE__ */
|
|
328
|
-
disabled:
|
|
158
|
+
/* @__PURE__ */ i(k, {
|
|
159
|
+
disabled: m,
|
|
329
160
|
group: "burger-menu-lock",
|
|
330
161
|
children: [
|
|
331
|
-
/* @__PURE__ */ e(
|
|
332
|
-
isInverse:
|
|
333
|
-
children: /* @__PURE__ */ e(
|
|
334
|
-
topFixed:
|
|
162
|
+
/* @__PURE__ */ e(f, {
|
|
163
|
+
isInverse: n,
|
|
164
|
+
children: /* @__PURE__ */ e(N, {
|
|
165
|
+
topFixed: t,
|
|
335
166
|
withBorder: !0,
|
|
336
|
-
isMenuOpen:
|
|
337
|
-
isInverse:
|
|
167
|
+
isMenuOpen: a,
|
|
168
|
+
isInverse: n,
|
|
338
169
|
dataAttributes: {
|
|
339
170
|
"component-name": "MainNavigationBar"
|
|
340
171
|
},
|
|
341
|
-
children: /* @__PURE__ */ e(
|
|
342
|
-
children: /* @__PURE__ */
|
|
172
|
+
children: /* @__PURE__ */ e(u, {
|
|
173
|
+
children: /* @__PURE__ */ i(s, {
|
|
343
174
|
space: "between",
|
|
344
175
|
alignItems: "center",
|
|
345
176
|
children: [
|
|
346
|
-
/* @__PURE__ */
|
|
177
|
+
/* @__PURE__ */ i(s, {
|
|
347
178
|
space: 24,
|
|
348
179
|
alignItems: "center",
|
|
349
180
|
children: [
|
|
350
|
-
|
|
181
|
+
E && /* @__PURE__ */ e(D, {
|
|
351
182
|
"aria-live": "polite",
|
|
352
|
-
"aria-label":
|
|
353
|
-
"aria-expanded":
|
|
354
|
-
"aria-controls":
|
|
355
|
-
onPress:
|
|
356
|
-
children: /* @__PURE__ */ e(
|
|
357
|
-
isOpen:
|
|
183
|
+
"aria-label": a ? d.closeNavigationMenu : d.openNavigationMenu,
|
|
184
|
+
"aria-expanded": a,
|
|
185
|
+
"aria-controls": T,
|
|
186
|
+
onPress: a ? g : b,
|
|
187
|
+
children: /* @__PURE__ */ e(be, {
|
|
188
|
+
isOpen: a
|
|
358
189
|
})
|
|
359
190
|
}),
|
|
360
191
|
/* @__PURE__ */ e("div", {
|
|
361
|
-
className:
|
|
362
|
-
children:
|
|
192
|
+
className: O,
|
|
193
|
+
children: c
|
|
363
194
|
})
|
|
364
195
|
]
|
|
365
196
|
}),
|
|
366
|
-
|
|
197
|
+
o
|
|
367
198
|
]
|
|
368
199
|
})
|
|
369
200
|
})
|
|
370
201
|
})
|
|
371
202
|
}),
|
|
372
|
-
|
|
373
|
-
className:
|
|
203
|
+
t && /* @__PURE__ */ e("div", {
|
|
204
|
+
className: v
|
|
374
205
|
})
|
|
375
206
|
]
|
|
376
207
|
}),
|
|
377
|
-
|
|
208
|
+
E && /* @__PURE__ */ e(ne, {
|
|
378
209
|
children: /* @__PURE__ */ e(k, {
|
|
379
|
-
disabled:
|
|
210
|
+
disabled: m,
|
|
380
211
|
group: "burger-menu-lock",
|
|
381
|
-
children: /* @__PURE__ */ e(
|
|
212
|
+
children: /* @__PURE__ */ e(W, {
|
|
382
213
|
onEntering: ()=>{
|
|
383
|
-
|
|
214
|
+
h("opening");
|
|
384
215
|
},
|
|
385
216
|
onEntered: ()=>{
|
|
386
|
-
|
|
217
|
+
h("open");
|
|
387
218
|
},
|
|
388
219
|
onExiting: ()=>{
|
|
389
|
-
|
|
220
|
+
h("closing");
|
|
390
221
|
},
|
|
391
222
|
onExited: ()=>{
|
|
392
|
-
|
|
223
|
+
h("closed");
|
|
393
224
|
},
|
|
394
|
-
in:
|
|
395
|
-
timeout:
|
|
225
|
+
in: a,
|
|
226
|
+
timeout: Be,
|
|
396
227
|
classNames: {
|
|
397
|
-
enter:
|
|
398
|
-
enterActive:
|
|
399
|
-
exit:
|
|
400
|
-
exitActive:
|
|
228
|
+
enter: ie,
|
|
229
|
+
enterActive: oe,
|
|
230
|
+
exit: ce,
|
|
231
|
+
exitActive: se
|
|
401
232
|
},
|
|
402
233
|
unmountOnExit: !0,
|
|
403
234
|
children: /* @__PURE__ */ e("nav", {
|
|
404
|
-
className:
|
|
235
|
+
className: le,
|
|
405
236
|
style: {
|
|
406
|
-
boxShadow:
|
|
237
|
+
boxShadow: S !== "closed" ? `6px 0 4px -4px rgba(0, 0, 0, ${z})` : "none"
|
|
407
238
|
},
|
|
408
|
-
id:
|
|
239
|
+
id: T,
|
|
409
240
|
onClick: ()=>{
|
|
410
|
-
|
|
241
|
+
g();
|
|
411
242
|
},
|
|
412
|
-
children: /* @__PURE__ */ e(
|
|
413
|
-
children: /* @__PURE__ */ e(
|
|
414
|
-
children: /* @__PURE__ */ e(
|
|
415
|
-
children: r.map((
|
|
243
|
+
children: /* @__PURE__ */ e(u, {
|
|
244
|
+
children: /* @__PURE__ */ e(Y, {
|
|
245
|
+
children: /* @__PURE__ */ e(Z, {
|
|
246
|
+
children: r.map((U, j)=>/* @__PURE__ */ e(ee, _objectSpread({}, U), j))
|
|
416
247
|
})
|
|
417
248
|
})
|
|
418
249
|
})
|
|
@@ -423,45 +254,45 @@ const H1 = (param)=>{
|
|
|
423
254
|
]
|
|
424
255
|
});
|
|
425
256
|
}
|
|
426
|
-
return /* @__PURE__ */
|
|
427
|
-
isInverse:
|
|
257
|
+
return /* @__PURE__ */ i(f, {
|
|
258
|
+
isInverse: n,
|
|
428
259
|
children: [
|
|
429
|
-
/* @__PURE__ */ e(
|
|
430
|
-
topFixed:
|
|
260
|
+
/* @__PURE__ */ e(N, {
|
|
261
|
+
topFixed: t,
|
|
431
262
|
withBorder: !0,
|
|
432
|
-
isMenuOpen:
|
|
433
|
-
isInverse:
|
|
263
|
+
isMenuOpen: a,
|
|
264
|
+
isInverse: n,
|
|
434
265
|
dataAttributes: {
|
|
435
266
|
"component-name": "MainNavigationBar"
|
|
436
267
|
},
|
|
437
|
-
children: /* @__PURE__ */ e(
|
|
438
|
-
children: /* @__PURE__ */
|
|
268
|
+
children: /* @__PURE__ */ e(u, {
|
|
269
|
+
children: /* @__PURE__ */ i(s, {
|
|
439
270
|
space: "between",
|
|
440
271
|
alignItems: "center",
|
|
441
272
|
children: [
|
|
442
|
-
/* @__PURE__ */
|
|
273
|
+
/* @__PURE__ */ i(s, {
|
|
443
274
|
space: 48,
|
|
444
275
|
alignItems: "center",
|
|
445
276
|
children: [
|
|
446
277
|
/* @__PURE__ */ e("div", {
|
|
447
|
-
className:
|
|
448
|
-
children:
|
|
278
|
+
className: O,
|
|
279
|
+
children: c
|
|
449
280
|
}),
|
|
450
281
|
/* @__PURE__ */ e("nav", {
|
|
451
|
-
children: /* @__PURE__ */ e(
|
|
282
|
+
children: /* @__PURE__ */ e(s, {
|
|
452
283
|
space: 32,
|
|
453
|
-
children: r.map((_param,
|
|
454
|
-
var { title: b } = _param,
|
|
284
|
+
children: r.map((_param, m)=>/* @__PURE__ */ /*#__PURE__*/ {
|
|
285
|
+
var { title: b } = _param, g = _objectWithoutProperties(_param, [
|
|
455
286
|
"title"
|
|
456
287
|
]);
|
|
457
|
-
return
|
|
458
|
-
key:
|
|
459
|
-
className:
|
|
460
|
-
[
|
|
288
|
+
return F(y, _objectSpreadProps(_objectSpread({}, g), {
|
|
289
|
+
key: m,
|
|
290
|
+
className: x(de, {
|
|
291
|
+
[me[n ? "inverse" : "default"]]: m === l
|
|
461
292
|
})
|
|
462
293
|
}), /* @__PURE__ */ e("div", {
|
|
463
|
-
className:
|
|
464
|
-
children: /* @__PURE__ */ e(
|
|
294
|
+
className: H[n ? "inverse" : "default"],
|
|
295
|
+
children: /* @__PURE__ */ e(L, {
|
|
465
296
|
regular: !0,
|
|
466
297
|
color: "inherit",
|
|
467
298
|
children: b
|
|
@@ -472,134 +303,137 @@ const H1 = (param)=>{
|
|
|
472
303
|
})
|
|
473
304
|
]
|
|
474
305
|
}),
|
|
475
|
-
|
|
306
|
+
o
|
|
476
307
|
]
|
|
477
308
|
})
|
|
478
309
|
})
|
|
479
310
|
}),
|
|
480
|
-
|
|
481
|
-
className:
|
|
311
|
+
t && /* @__PURE__ */ e("div", {
|
|
312
|
+
className: v
|
|
482
313
|
})
|
|
483
314
|
]
|
|
484
315
|
});
|
|
485
|
-
},
|
|
486
|
-
let { onBack: r , title:
|
|
487
|
-
const { texts:
|
|
316
|
+
}, Je = (param)=>{
|
|
317
|
+
let { onBack: r , title: l , right: o , isInverse: n = !1 , topFixed: t = !0 , paddingX: c = 0 , withBorder: d = !0 } = param;
|
|
318
|
+
const { texts: p } = A(), a = /* @__PURE__ */ i(s, {
|
|
488
319
|
space: "between",
|
|
489
320
|
alignItems: "center",
|
|
490
321
|
children: [
|
|
491
|
-
/* @__PURE__ */
|
|
322
|
+
/* @__PURE__ */ i(s, {
|
|
492
323
|
space: 24,
|
|
493
324
|
alignItems: "center",
|
|
494
325
|
children: [
|
|
495
|
-
r && /* @__PURE__ */ e(
|
|
496
|
-
"aria-label":
|
|
326
|
+
r && /* @__PURE__ */ e(D, {
|
|
327
|
+
"aria-label": p.backNavigationBar,
|
|
497
328
|
onPress: r,
|
|
498
|
-
className:
|
|
499
|
-
children: /* @__PURE__ */ e(
|
|
329
|
+
className: ue[n ? "inverse" : "default"],
|
|
330
|
+
children: /* @__PURE__ */ e(X, {
|
|
500
331
|
color: "currentColor"
|
|
501
332
|
})
|
|
502
333
|
}),
|
|
503
|
-
/* @__PURE__ */ e(
|
|
334
|
+
/* @__PURE__ */ e(L, {
|
|
504
335
|
regular: !0,
|
|
505
336
|
truncate: !0,
|
|
506
|
-
children:
|
|
337
|
+
children: l
|
|
507
338
|
})
|
|
508
339
|
]
|
|
509
340
|
}),
|
|
510
|
-
/* @__PURE__ */ e(
|
|
341
|
+
/* @__PURE__ */ e($, {
|
|
511
342
|
paddingLeft: 24,
|
|
512
|
-
children:
|
|
343
|
+
children: o
|
|
513
344
|
})
|
|
514
345
|
]
|
|
515
346
|
});
|
|
516
|
-
return /* @__PURE__ */
|
|
347
|
+
return /* @__PURE__ */ i(f, {
|
|
517
348
|
isInverse: n,
|
|
518
349
|
children: [
|
|
519
|
-
/* @__PURE__ */ e(
|
|
520
|
-
topFixed:
|
|
521
|
-
withBorder:
|
|
350
|
+
/* @__PURE__ */ e(N, {
|
|
351
|
+
topFixed: t,
|
|
352
|
+
withBorder: d,
|
|
522
353
|
isInverse: n,
|
|
523
354
|
dataAttributes: {
|
|
524
355
|
"component-name": "NavigationBar"
|
|
525
356
|
},
|
|
526
|
-
children:
|
|
527
|
-
children:
|
|
357
|
+
children: t ? /* @__PURE__ */ e(u, {
|
|
358
|
+
children: a
|
|
528
359
|
}) : /* @__PURE__ */ e("div", {
|
|
529
|
-
className:
|
|
360
|
+
className: _({
|
|
530
361
|
width: "100%"
|
|
531
362
|
}),
|
|
532
363
|
style: {
|
|
533
|
-
padding: `0 ${
|
|
364
|
+
padding: `0 ${c}px`
|
|
534
365
|
},
|
|
535
|
-
children:
|
|
366
|
+
children: a
|
|
536
367
|
})
|
|
537
368
|
}),
|
|
538
|
-
|
|
539
|
-
className:
|
|
369
|
+
t && /* @__PURE__ */ e("div", {
|
|
370
|
+
className: v
|
|
540
371
|
})
|
|
541
372
|
]
|
|
542
373
|
});
|
|
543
|
-
},
|
|
544
|
-
let { logo: r , right:
|
|
545
|
-
|
|
546
|
-
|
|
374
|
+
}, Ke = (param)=>{
|
|
375
|
+
let { logo: r , right: l , isInverse: o = !1 , topFixed: n = !0 } = param;
|
|
376
|
+
const { isTabletOrSmaller: t } = V();
|
|
377
|
+
return r = r != null ? r : /* @__PURE__ */ e(G, {
|
|
378
|
+
size: t ? 40 : 48
|
|
379
|
+
}), /* @__PURE__ */ i(f, {
|
|
380
|
+
isInverse: o,
|
|
547
381
|
children: [
|
|
548
|
-
/* @__PURE__ */ e(
|
|
382
|
+
/* @__PURE__ */ e(N, {
|
|
549
383
|
topFixed: n,
|
|
550
384
|
withBorder: !0,
|
|
551
|
-
isInverse:
|
|
385
|
+
isInverse: o,
|
|
552
386
|
dataAttributes: {
|
|
553
387
|
"component-name": "FunnelNavigationBar"
|
|
554
388
|
},
|
|
555
|
-
children: /* @__PURE__ */ e(
|
|
556
|
-
children: /* @__PURE__ */ e(
|
|
389
|
+
children: /* @__PURE__ */ e(u, {
|
|
390
|
+
children: /* @__PURE__ */ e(te, {
|
|
557
391
|
template: "10",
|
|
558
|
-
children: /* @__PURE__ */
|
|
392
|
+
children: /* @__PURE__ */ i(s, {
|
|
559
393
|
space: "between",
|
|
560
394
|
alignItems: "center",
|
|
561
395
|
children: [
|
|
562
|
-
r
|
|
563
|
-
|
|
396
|
+
r,
|
|
397
|
+
l
|
|
564
398
|
]
|
|
565
399
|
})
|
|
566
400
|
})
|
|
567
401
|
})
|
|
568
402
|
}),
|
|
569
403
|
n && /* @__PURE__ */ e("div", {
|
|
570
|
-
className:
|
|
404
|
+
className: v
|
|
571
405
|
})
|
|
572
406
|
]
|
|
573
407
|
});
|
|
574
|
-
},
|
|
408
|
+
}, Qe = (param)=>/* @__PURE__ */ {
|
|
575
409
|
let { children: r } = param;
|
|
576
410
|
return e("div", {
|
|
577
|
-
className:
|
|
411
|
+
className: P,
|
|
578
412
|
"data-component-name": "NavigationBarActionGroup",
|
|
579
|
-
children: /* @__PURE__ */ e(
|
|
413
|
+
children: /* @__PURE__ */ e(s, {
|
|
580
414
|
space: 24,
|
|
581
415
|
alignItems: "center",
|
|
582
416
|
children: r
|
|
583
417
|
})
|
|
584
418
|
});
|
|
585
|
-
},
|
|
586
|
-
var { children: r } = _param,
|
|
419
|
+
}, Xe = (_param)=>{
|
|
420
|
+
var { children: r } = _param, l = _objectWithoutProperties(_param, [
|
|
587
421
|
"children"
|
|
588
422
|
]);
|
|
589
|
-
const
|
|
590
|
-
return /* @__PURE__ */ e(
|
|
591
|
-
className:
|
|
423
|
+
const o = re();
|
|
424
|
+
return /* @__PURE__ */ e(y, _objectSpreadProps(_objectSpread({}, l), {
|
|
425
|
+
className: x(_({
|
|
592
426
|
border: "none",
|
|
593
427
|
background: "transparent",
|
|
594
428
|
padding: 0
|
|
595
|
-
}),
|
|
429
|
+
}), P, H[o ? "inverse" : "default"]),
|
|
596
430
|
dataAttributes: {
|
|
597
431
|
"component-name": "NavigationBarAction"
|
|
598
432
|
},
|
|
599
|
-
children: /* @__PURE__ */ e(
|
|
433
|
+
children: /* @__PURE__ */ e(s, {
|
|
600
434
|
space: 16,
|
|
601
435
|
alignItems: "center",
|
|
602
|
-
children:
|
|
436
|
+
children: M.Children.map(r, (n)=>typeof n == "string" ? /* @__PURE__ */ e(q, {
|
|
603
437
|
regular: !0,
|
|
604
438
|
color: "inherit",
|
|
605
439
|
children: n
|
|
@@ -607,4 +441,4 @@ const H1 = (param)=>{
|
|
|
607
441
|
})
|
|
608
442
|
}));
|
|
609
443
|
};
|
|
610
|
-
export {
|
|
444
|
+
export { Ke as FunnelNavigationBar, qe as MainNavigationBar, Je as NavigationBar, Xe as NavigationBarAction, Qe as NavigationBarActionGroup };
|