@florid-kit/components 2.6.17 → 3.0.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.
- package/assets/icons/icons-occ.d.ts +315 -0
- package/assets/icons/icons.d.ts +12 -84
- package/assets/icons/svg-utils.d.ts +13 -0
- package/behaviors/performance-mixin.d.ts +0 -23
- package/behaviors/performance-reporter.d.ts +1 -0
- package/components/accordion-group.mjs +61 -0
- package/components/accordion.mjs +185 -0
- package/components/arch-image.mjs +135 -0
- package/components/badge.mjs +75 -0
- package/components/breadcrumb.mjs +83 -0
- package/components/breadcrumbs.mjs +35 -0
- package/components/button.d.ts +3 -0
- package/components/button.mjs +12 -0
- package/components/checkbox.mjs +188 -0
- package/components/chip.mjs +158 -0
- package/components/chipset.mjs +44 -0
- package/components/dots.mjs +60 -0
- package/components/dropdown-variant.d.ts +1 -0
- package/components/dropdown-variant.mjs +446 -0
- package/components/dropdown.d.ts +1 -0
- package/components/dropdown.mjs +303 -0
- package/components/feedback-message.mjs +136 -0
- package/components/filter-chip.mjs +215 -0
- package/components/footer-simplify.mjs +178 -0
- package/components/header-simplify.mjs +234 -0
- package/components/icon-button.d.ts +5 -0
- package/components/icon-button.mjs +340 -0
- package/components/input.mjs +298 -0
- package/components/link.mjs +172 -0
- package/components/mediumtile.mjs +307 -0
- package/components/minitile.mjs +234 -0
- package/components/option-tile-group.mjs +105 -0
- package/components/option-tile.mjs +413 -0
- package/components/popin.mjs +412 -0
- package/components/radio.mjs +165 -0
- package/components/rating.mjs +81 -0
- package/components/reassurance.mjs +163 -0
- package/components/search-input-dropdown.mjs +314 -0
- package/components/search-input.mjs +107 -0
- package/components/side-panel.mjs +1206 -0
- package/components/tab.mjs +140 -0
- package/components/tablist.mjs +44 -0
- package/components/tag.mjs +86 -0
- package/components/textarea.mjs +269 -0
- package/components/thumbnail-navigation.mjs +232 -0
- package/components/toast.mjs +191 -0
- package/components/tooltip.mjs +125 -0
- package/components/wishlist-button.mjs +132 -0
- package/css-C8WrrxT-.mjs +41 -0
- package/css.d.ts +1 -0
- package/directive-helpers-BHuwIghp.mjs +11 -0
- package/directive-oAbCiebi.mjs +27 -0
- package/element-internals-Dw7LndlH.mjs +19 -0
- package/icons-Pdn_6YtT.mjs +104 -0
- package/icons-occ.mjs +834 -0
- package/if-defined-j0wE2gL4.mjs +10 -0
- package/index.mjs +41 -9712
- package/live-C_TUoYRm.mjs +30 -0
- package/loader.d.ts +3 -0
- package/loader.mjs +78 -0
- package/logo-CEgaTL93.mjs +4 -0
- package/package.json +19 -1
- package/performance-mixin-D7YmSeqN.mjs +628 -0
- package/performance-reporter-B7ZOqnDk.mjs +89 -0
- package/property-S_Y9cb04.mjs +36 -0
- package/query-NJDNu0-P.mjs +25 -0
- package/state-DjMxXomO.mjs +12 -0
- package/svg-utils-CRDBD8ES.mjs +47 -0
- package/unsafe-svg-C3uTocNg.mjs +34 -0
- package/index.js +0 -5748
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { i as c, m as f, a as m, x as y, t as g } from "../performance-mixin-D7YmSeqN.mjs";
|
|
2
|
+
import { n as o } from "../property-S_Y9cb04.mjs";
|
|
3
|
+
import "./side-panel.mjs";
|
|
4
|
+
import { u as d } from "../logo-CEgaTL93.mjs";
|
|
5
|
+
const h = "data:image/svg+xml,%3csvg%20width='40'%20height='31'%20viewBox='0%200%2040%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M39.3178%2025.5201C39.0127%2025.426%2038.8059%2025.483%2038.6874%2025.5573C38.516%2025.659%2038.4454%2025.8325%2038.4176%2025.9639C38.0545%2027.7908%2035.2304%2029.3228%2032.3155%2029.3674C25.7116%2029.4665%2018.1142%2023.3933%2013.4973%2021.5688C18.7749%2015.5625%2020.3231%208.22991%2023.9516%203.96622C25.6007%202.03021%2027.633%201.30142%2029.567%201.30142C32.1642%201.30142%2033.5208%202.91021%2033.5258%204.50166C33.5334%206.84917%2030.1369%207.73165%2029.8343%205.90223C29.7713%205.52296%2029.5923%204.92307%2028.8711%204.92307C28.2382%204.92307%2027.7566%205.42629%2027.7566%206.09806C27.7566%207.25075%2028.9215%208.05639%2030.5908%208.05639C33.9041%208.05639%2035.6364%206.0584%2035.6364%204.08273C35.6364%202.10705%2033.9116%200%2030.1268%200C27.6784%200%2025.1165%200.783328%2023.1271%202.35494C18.3639%206.11542%2016.0415%2015.3666%2011.4978%2020.7805C9.78815%2020.198%208.34584%2020.0269%206.959%2019.955C2.61944%2019.727%20-0.0861581%2021.8068%200.00209544%2023.8667C0.0449615%2024.8261%200.970363%2026.4373%204.51564%2026.4373C6.02603%2026.4373%208.65094%2025.9316%2011.9365%2023.1801C15.6406%2024.712%2022.6429%2030.8944%2031.1506%2030.9985C36.9551%2031.0704%2039.4691%2028.5642%2039.8322%2026.5043C39.9078%2026.2043%2039.8322%2025.6937%2039.3153%2025.5226L39.3178%2025.5201ZM4.35426%2025.0417C2.93968%2025.0417%202.30425%2024.2832%202.30425%2023.5321C2.30425%2022.4612%203.57763%2021.3779%206.00586%2021.3779C7.27419%2021.3779%208.59295%2021.6779%2010.1185%2022.3224C7.54147%2024.6823%205.41834%2025.0442%204.35678%2025.0442L4.35426%2025.0417Z'%20fill='%233F2B2E'/%3e%3cpath%20d='M29.0653%2010.4312C26.337%2010.4312%2023.3414%2011.7053%2021.9798%2014.0379C21.2889%2015.2204%2020.9459%2016.559%2020.951%2017.9174C20.9459%2019.2758%2021.2863%2020.6144%2021.9798%2021.7969C23.3439%2024.127%2026.337%2025.4036%2029.0653%2025.4036C31.7935%2025.4036%2034.7891%2024.1295%2036.1508%2021.7969C36.8417%2020.6144%2037.1846%2019.2758%2037.1795%2017.9174C37.1846%2016.559%2036.8442%2015.2204%2036.1508%2014.0379C34.7866%2011.7078%2031.7935%2010.4312%2029.0653%2010.4312ZM29.0653%2024.5583C25.3561%2024.3328%2023.4095%2020.8648%2023.4095%2017.9149C23.4095%2014.9651%2025.3561%2011.4971%2029.0653%2011.2715C32.7744%2011.4971%2034.721%2014.9651%2034.721%2017.9149C34.721%2020.8648%2032.7744%2024.3328%2029.0653%2024.5583Z'%20fill='%233F2B2E'/%3e%3c/svg%3e";
|
|
6
|
+
var x = Object.defineProperty, v = Object.getOwnPropertyDescriptor, e = (s, r, l, a) => {
|
|
7
|
+
for (var t = a > 1 ? void 0 : a ? v(r, l) : r, n = s.length - 1, p; n >= 0; n--)
|
|
8
|
+
(p = s[n]) && (t = (a ? p(r, l, t) : p(t)) || t);
|
|
9
|
+
return a && t && x(r, l, t), t;
|
|
10
|
+
};
|
|
11
|
+
let i = class extends f(m) {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments), this.altImage = "L’Occitane en Provence", this.loccitaneGroup = "L’Occitane Group", this.loccitaneGroupLink = "#", this.privacyText = "Privacy Policy", this.privacyLink = "#", this.copyrightText = "Copyright © L’OCCITANE, 2025";
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
return y`<div class="footer-wrapper-simplify">
|
|
17
|
+
<div class="footer-content-simplify">
|
|
18
|
+
<div class="footer-flex footer-left-simplify">
|
|
19
|
+
<a href="${this.loccitaneGroupLink}">
|
|
20
|
+
${this.loccitaneGroup}
|
|
21
|
+
</a>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="footer-flex footer-center-simplify footer-simplify-dsk">
|
|
24
|
+
<a class="logo-footer-simplify">
|
|
25
|
+
<img src="${d}" alt="${this.altImage}" />
|
|
26
|
+
</a>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="footer-flex footer-right-simplify">
|
|
29
|
+
<a href="${this.privacyLink}">
|
|
30
|
+
${this.privacyText}
|
|
31
|
+
</a>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="footer-content-simplify footer-simplify-mobile">
|
|
35
|
+
<a class="logo-footer-simplify">
|
|
36
|
+
<img src="${h}" alt="${this.altImage}" />
|
|
37
|
+
</a>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="footer-copyright-simplify">
|
|
40
|
+
<span class="footer-copyright">${this.copyrightText}</span>
|
|
41
|
+
</div>
|
|
42
|
+
</div>`;
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
i.styles = c`
|
|
46
|
+
.footer-wrapper-simplify {
|
|
47
|
+
display: flex;
|
|
48
|
+
width: 100%;
|
|
49
|
+
padding: 0;
|
|
50
|
+
align-items: center;
|
|
51
|
+
gap: 0;
|
|
52
|
+
background: var(--color-container-bg-white);
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
border-top: var(--border-m) solid var(--color-border-tertiary);
|
|
55
|
+
|
|
56
|
+
@media (max-width: 767px) {
|
|
57
|
+
padding-bottom: var(--spacing-7-xl);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.footer-content-simplify {
|
|
62
|
+
display: flex;
|
|
63
|
+
width: stretch;
|
|
64
|
+
flex-direction: row;
|
|
65
|
+
justify-content: space-between;
|
|
66
|
+
align-items: center;
|
|
67
|
+
max-width: 1440px;
|
|
68
|
+
margin: 0 auto;
|
|
69
|
+
padding: var(--spacing-4-xl) 153px var(--spacing-3-xl) 153px;
|
|
70
|
+
|
|
71
|
+
@media (max-width: 1023px) {
|
|
72
|
+
padding: var(--spacing-4-xl) var(--spacing-xl) var(--spacing-3-xl) var(--spacing-xl);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.logo-footer-simplify img {
|
|
77
|
+
width: 150px;
|
|
78
|
+
height: auto;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.footer-center-simplify {
|
|
82
|
+
display: flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
flex-direction: column;
|
|
85
|
+
justify-content: center;
|
|
86
|
+
gap: var(--spacing-3-xl);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.footer-content-simplify .footer-left-simplify,
|
|
90
|
+
.footer-content-simplify .footer-right-simplify {
|
|
91
|
+
display: flex;
|
|
92
|
+
gap: var(--spacing-3-xl);
|
|
93
|
+
|
|
94
|
+
@media (max-width: 767px) {
|
|
95
|
+
flex-direction: column;
|
|
96
|
+
width: 100%;
|
|
97
|
+
align-items: center;
|
|
98
|
+
justify-content: center;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.footer-content-simplify a, .footer-copyright-simplify span {
|
|
103
|
+
text-decoration: none;
|
|
104
|
+
color: var(--color-content-action-secondary);
|
|
105
|
+
font-family: var(--font-family-loccitane-sans);
|
|
106
|
+
font-size: var(--font-size-100);
|
|
107
|
+
font-style: normal;
|
|
108
|
+
font-weight: var(--font-weight-500);
|
|
109
|
+
line-height: var(--line-height-160);
|
|
110
|
+
letter-spacing: var(--letter-spacing-absolute, 1px);
|
|
111
|
+
text-transform: uppercase;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.footer-simplify-mobile {
|
|
115
|
+
display: none;
|
|
116
|
+
|
|
117
|
+
@media (max-width: 767px) {
|
|
118
|
+
display: flex;
|
|
119
|
+
align-items: center;
|
|
120
|
+
justify-content: center;
|
|
121
|
+
padding: var(--spacing-3-xl) 0;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.footer-simplify-mobile img {
|
|
126
|
+
width: 40px;
|
|
127
|
+
height: auto;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.footer-copyright-simplify {
|
|
131
|
+
padding-bottom: var(--spacing-3-xl);
|
|
132
|
+
text-align: center;
|
|
133
|
+
width: 100%;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.footer-copyright-simplify span {
|
|
137
|
+
color: var(--colors-noir-des-terres-900);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.footer-simplify-dsk {
|
|
141
|
+
@media (max-width: 767px) {
|
|
142
|
+
display: none;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.footer-flex {
|
|
147
|
+
width: 33.33%;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.footer-right-simplify {
|
|
151
|
+
display: flex;
|
|
152
|
+
justify-content: flex-end;
|
|
153
|
+
}
|
|
154
|
+
`;
|
|
155
|
+
e([
|
|
156
|
+
o({ type: String })
|
|
157
|
+
], i.prototype, "altImage", 2);
|
|
158
|
+
e([
|
|
159
|
+
o({ type: String })
|
|
160
|
+
], i.prototype, "loccitaneGroup", 2);
|
|
161
|
+
e([
|
|
162
|
+
o({ type: String })
|
|
163
|
+
], i.prototype, "loccitaneGroupLink", 2);
|
|
164
|
+
e([
|
|
165
|
+
o({ type: String })
|
|
166
|
+
], i.prototype, "privacyText", 2);
|
|
167
|
+
e([
|
|
168
|
+
o({ type: String })
|
|
169
|
+
], i.prototype, "privacyLink", 2);
|
|
170
|
+
e([
|
|
171
|
+
o({ type: String })
|
|
172
|
+
], i.prototype, "copyrightText", 2);
|
|
173
|
+
i = e([
|
|
174
|
+
g("o-footer-simplify")
|
|
175
|
+
], i);
|
|
176
|
+
export {
|
|
177
|
+
i as OccitaneFooterSimplify
|
|
178
|
+
};
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import { i as h, m as p, a as m, x as s, t as f } from "../performance-mixin-D7YmSeqN.mjs";
|
|
2
|
+
import { n as t } from "../property-S_Y9cb04.mjs";
|
|
3
|
+
import "./side-panel.mjs";
|
|
4
|
+
import { u as g } from "../logo-CEgaTL93.mjs";
|
|
5
|
+
import { v as y } from "../css-C8WrrxT-.mjs";
|
|
6
|
+
var u = Object.defineProperty, b = Object.getOwnPropertyDescriptor, i = (a, r, l, n) => {
|
|
7
|
+
for (var o = n > 1 ? void 0 : n ? b(r, l) : r, d = a.length - 1, c; d >= 0; d--)
|
|
8
|
+
(c = a[d]) && (o = (n ? c(r, l, o) : c(o)) || o);
|
|
9
|
+
return n && o && u(r, l, o), o;
|
|
10
|
+
};
|
|
11
|
+
let e = class extends p(m) {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments), this.makeSticky = !1, this.showBackButton = !1, this.backButtonLabel = "", this.backButtonHref = "", this.logoHref = "", this.logoUrl = g, this.locale = "en", this.loccitaneGroup = "L’Occitane Group", this.isMobile = !1, this.isScrolled = !1, this.handleMediaChange = (a) => {
|
|
14
|
+
this.isMobile = a.matches;
|
|
15
|
+
}, this.handleScroll = () => {
|
|
16
|
+
if (typeof window > "u") return;
|
|
17
|
+
const a = window.scrollY > 0;
|
|
18
|
+
a !== this.isScrolled && (this.isScrolled = a);
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
connectedCallback() {
|
|
22
|
+
super.connectedCallback(), !(typeof window > "u") && (this.mediaQueryList = window.matchMedia("(max-width: 767px)"), this.handleMediaChange(this.mediaQueryList), this.mediaQueryList.addEventListener("change", this.handleMediaChange), this.handleScroll(), window.addEventListener("scroll", this.handleScroll, { passive: !0 }));
|
|
23
|
+
}
|
|
24
|
+
disconnectedCallback() {
|
|
25
|
+
this.mediaQueryList && this.mediaQueryList.removeEventListener("change", this.handleMediaChange), typeof window < "u" && window.removeEventListener("scroll", this.handleScroll), super.disconnectedCallback();
|
|
26
|
+
}
|
|
27
|
+
renderBackButton() {
|
|
28
|
+
return this.showBackButton ? this.isMobile ? s`<a href="${this.backButtonHref}"
|
|
29
|
+
><o-icon-button
|
|
30
|
+
size="medium"
|
|
31
|
+
bgstyle="none-contrast"
|
|
32
|
+
icon="occ-back"
|
|
33
|
+
status="empty"
|
|
34
|
+
type="button"
|
|
35
|
+
>
|
|
36
|
+
</o-icon-button
|
|
37
|
+
></a>` : s`<o-button
|
|
38
|
+
variant="ghost"
|
|
39
|
+
text="${this.backButtonLabel}"
|
|
40
|
+
type="button"
|
|
41
|
+
underlined=""
|
|
42
|
+
starticon=""
|
|
43
|
+
starticonmodel="occ-back"
|
|
44
|
+
href="${this.backButtonHref}"
|
|
45
|
+
></o-button>` : null;
|
|
46
|
+
}
|
|
47
|
+
render() {
|
|
48
|
+
return s`<header
|
|
49
|
+
class="o-header-simplify ${this.isScrolled ? "is-scrolled" : ""} ${this.makeSticky ? "is-sticky" : ""}"
|
|
50
|
+
role="banner"
|
|
51
|
+
>
|
|
52
|
+
<div
|
|
53
|
+
class="o-header-simplify-container ${this.showBackButton ? "" : "no-back-button"}"
|
|
54
|
+
>
|
|
55
|
+
${this.renderBackButton()}
|
|
56
|
+
|
|
57
|
+
<h1 class="a-primary-logo-header">
|
|
58
|
+
<span class="visually-hidden" lang="${this.locale}"
|
|
59
|
+
>${this.loccitaneGroup}</span
|
|
60
|
+
>
|
|
61
|
+
${this.logoHref ? s`<a href="${this.logoHref}">
|
|
62
|
+
<img
|
|
63
|
+
class="m-logo-image-header"
|
|
64
|
+
id="logo"
|
|
65
|
+
aria-hidden="true"
|
|
66
|
+
alt=""
|
|
67
|
+
src="${this.logoUrl}"
|
|
68
|
+
/>
|
|
69
|
+
</a>` : s`<img
|
|
70
|
+
class="m-logo-image-header"
|
|
71
|
+
id="logo"
|
|
72
|
+
aria-hidden="true"
|
|
73
|
+
alt=""
|
|
74
|
+
src="${this.logoUrl}"
|
|
75
|
+
/>`}
|
|
76
|
+
</h1>
|
|
77
|
+
|
|
78
|
+
<div class="m-header-actions"></div>
|
|
79
|
+
</div>
|
|
80
|
+
</header>`;
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
e.styles = h`
|
|
84
|
+
.o-header-simplify {
|
|
85
|
+
--header-simplify-height-default: 72px;
|
|
86
|
+
--header-simplify-height-scrolled: 60px;
|
|
87
|
+
--header-simplify-height-scrolled-mobile: 64px;
|
|
88
|
+
|
|
89
|
+
display: flex;
|
|
90
|
+
width: 100%;
|
|
91
|
+
height: var(--header-simplify-height-default);
|
|
92
|
+
box-sizing: border-box;
|
|
93
|
+
padding: 0 var(--spacing-s, 8px);
|
|
94
|
+
flex-direction: column;
|
|
95
|
+
justify-content: center;
|
|
96
|
+
align-items: stretch;
|
|
97
|
+
gap: 0;
|
|
98
|
+
border-bottom: var(--border-s, 0.5px) solid
|
|
99
|
+
var(--color-border-tertiary, #c3bdbe);
|
|
100
|
+
background: var(--color-container-bg-white, #fffefe);
|
|
101
|
+
border-radius: var(--radius-m, 4px);
|
|
102
|
+
transition:
|
|
103
|
+
height 0.2s ease,
|
|
104
|
+
box-shadow 0.4s linear,
|
|
105
|
+
border-color 0.2s ease,
|
|
106
|
+
padding 0.2s ease,
|
|
107
|
+
top 0.2s ease,
|
|
108
|
+
width 0.2s ease;
|
|
109
|
+
|
|
110
|
+
@media (max-width: 767px) {
|
|
111
|
+
padding: 0 var(--spacing-2-xs, 4px);
|
|
112
|
+
align-items: center;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.o-header-simplify.is-scrolled {
|
|
117
|
+
height: var(--header-simplify-height-scrolled);
|
|
118
|
+
border-bottom: none;
|
|
119
|
+
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.06);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@media (max-width: 767px) {
|
|
123
|
+
.o-header-simplify.is-scrolled {
|
|
124
|
+
height: var(--header-simplify-height-scrolled-mobile);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.o-header-simplify.is-sticky {
|
|
129
|
+
position: sticky;
|
|
130
|
+
top: var(--header-simplify-sticky-top, 0);
|
|
131
|
+
z-index: var(--header-simplify-sticky-z-index, 98);
|
|
132
|
+
margin: auto;
|
|
133
|
+
transition:
|
|
134
|
+
height 0.2s ease,
|
|
135
|
+
box-shadow 0.4s linear,
|
|
136
|
+
border-color 0.2s ease,
|
|
137
|
+
padding 0.2s ease,
|
|
138
|
+
top 0.2s ease,
|
|
139
|
+
width 0.2s ease;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.o-header-simplify.is-sticky.is-scrolled {
|
|
143
|
+
top: var(--header-simplify-sticky-top-scrolled, 10px);
|
|
144
|
+
width: calc(100% - var(--header-simplify-sticky-padding, 8px));
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.o-header-simplify-container {
|
|
148
|
+
display: flex;
|
|
149
|
+
padding: var(--spacing-s, 8px) var(--spacing-2-xs, 4px);
|
|
150
|
+
height: 100%;
|
|
151
|
+
box-sizing: border-box;
|
|
152
|
+
justify-content: space-between;
|
|
153
|
+
align-items: center;
|
|
154
|
+
align-self: stretch;
|
|
155
|
+
border-radius: var(--radius-m, 4px);
|
|
156
|
+
transition: padding 0.2s ease;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.o-header-simplify.is-scrolled .o-header-simplify-container {
|
|
160
|
+
padding: var(--spacing-xs, 6px) var(--spacing-2-xs, 4px);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.o-header-simplify-container.no-back-button {
|
|
164
|
+
justify-content: center;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.a-primary-logo-header {
|
|
168
|
+
display: flex;
|
|
169
|
+
width: 212px;
|
|
170
|
+
padding: var(--spacing-3-xs, 2px);
|
|
171
|
+
flex-direction: column;
|
|
172
|
+
justify-content: center;
|
|
173
|
+
align-items: center;
|
|
174
|
+
gap: 8px;
|
|
175
|
+
align-self: stretch;
|
|
176
|
+
margin: 0;
|
|
177
|
+
|
|
178
|
+
@media (max-width: 767px) {
|
|
179
|
+
width: 107.011px;
|
|
180
|
+
gap: 4px;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.m-logo-image-header {
|
|
185
|
+
width: 166.275px;
|
|
186
|
+
flex: 1 0 0;
|
|
187
|
+
aspect-ratio: 166.27/40;
|
|
188
|
+
|
|
189
|
+
@media (max-width: 767px) {
|
|
190
|
+
width: 98.618px;
|
|
191
|
+
aspect-ratio: 98.62/23.72;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.visually-hidden {
|
|
196
|
+
${y};
|
|
197
|
+
}
|
|
198
|
+
`;
|
|
199
|
+
i([
|
|
200
|
+
t({ type: Boolean })
|
|
201
|
+
], e.prototype, "makeSticky", 2);
|
|
202
|
+
i([
|
|
203
|
+
t({ type: Boolean })
|
|
204
|
+
], e.prototype, "showBackButton", 2);
|
|
205
|
+
i([
|
|
206
|
+
t({ type: String })
|
|
207
|
+
], e.prototype, "backButtonLabel", 2);
|
|
208
|
+
i([
|
|
209
|
+
t({ type: String })
|
|
210
|
+
], e.prototype, "backButtonHref", 2);
|
|
211
|
+
i([
|
|
212
|
+
t({ type: String })
|
|
213
|
+
], e.prototype, "logoHref", 2);
|
|
214
|
+
i([
|
|
215
|
+
t({ type: String })
|
|
216
|
+
], e.prototype, "logoUrl", 2);
|
|
217
|
+
i([
|
|
218
|
+
t({ type: String })
|
|
219
|
+
], e.prototype, "locale", 2);
|
|
220
|
+
i([
|
|
221
|
+
t({ type: String })
|
|
222
|
+
], e.prototype, "loccitaneGroup", 2);
|
|
223
|
+
i([
|
|
224
|
+
t({ type: Boolean, attribute: !1 })
|
|
225
|
+
], e.prototype, "isMobile", 2);
|
|
226
|
+
i([
|
|
227
|
+
t({ type: Boolean, attribute: !1 })
|
|
228
|
+
], e.prototype, "isScrolled", 2);
|
|
229
|
+
e = i([
|
|
230
|
+
f("o-header-simplify")
|
|
231
|
+
], e);
|
|
232
|
+
export {
|
|
233
|
+
e as OccitaneHeaderSimplify
|
|
234
|
+
};
|
|
@@ -18,6 +18,11 @@ export declare class OccitaneIconButton extends OccitaneIconButton_base {
|
|
|
18
18
|
highlight: boolean;
|
|
19
19
|
showSrLabel: boolean;
|
|
20
20
|
srLabel: string;
|
|
21
|
+
private _unsubOcc?;
|
|
22
|
+
private _clearOccSubscription;
|
|
23
|
+
private _syncOccSubscription;
|
|
24
|
+
connectedCallback(): void;
|
|
25
|
+
disconnectedCallback(): void;
|
|
21
26
|
protected updated(changedProperties: Map<string, unknown>): void;
|
|
22
27
|
protected render(): typeof nothing | import('lit').TemplateResult<1>;
|
|
23
28
|
}
|