@florid-kit/components 0.10.12 → 0.10.14
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/components/minitile.d.ts +2 -0
- package/index.js +166 -164
- package/index.mjs +262 -247
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1057,7 +1057,7 @@ const ye = Jt(Mo);
|
|
|
1057
1057
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1058
1058
|
*/
|
|
1059
1059
|
const P = (o) => o ?? d;
|
|
1060
|
-
var jo = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor,
|
|
1060
|
+
var jo = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, R = (o, t, e, r) => {
|
|
1061
1061
|
for (var i = r > 1 ? void 0 : r ? Fo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
1062
1062
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
1063
1063
|
return r && i && jo(t, e, i), i;
|
|
@@ -1302,34 +1302,34 @@ B.styles = f`
|
|
|
1302
1302
|
display: none;
|
|
1303
1303
|
}
|
|
1304
1304
|
`;
|
|
1305
|
-
|
|
1305
|
+
R([
|
|
1306
1306
|
a({ type: String, reflect: !0 })
|
|
1307
1307
|
], B.prototype, "bgstyle", 2);
|
|
1308
|
-
|
|
1308
|
+
R([
|
|
1309
1309
|
a({ type: String, reflect: !0 })
|
|
1310
1310
|
], B.prototype, "size", 2);
|
|
1311
|
-
|
|
1311
|
+
R([
|
|
1312
1312
|
a({ type: String, reflect: !0 })
|
|
1313
1313
|
], B.prototype, "status", 2);
|
|
1314
|
-
|
|
1314
|
+
R([
|
|
1315
1315
|
a({ type: String, reflect: !0 })
|
|
1316
1316
|
], B.prototype, "type", 2);
|
|
1317
|
-
|
|
1317
|
+
R([
|
|
1318
1318
|
a({ type: String })
|
|
1319
1319
|
], B.prototype, "strokewidth", 2);
|
|
1320
|
-
|
|
1320
|
+
R([
|
|
1321
1321
|
a({ type: String })
|
|
1322
1322
|
], B.prototype, "icon", 2);
|
|
1323
|
-
|
|
1323
|
+
R([
|
|
1324
1324
|
a({ type: Boolean, reflect: !0 })
|
|
1325
1325
|
], B.prototype, "disabled", 2);
|
|
1326
|
-
|
|
1326
|
+
R([
|
|
1327
1327
|
a({ type: Boolean })
|
|
1328
1328
|
], B.prototype, "showSrLabel", 2);
|
|
1329
|
-
|
|
1329
|
+
R([
|
|
1330
1330
|
a({ type: String })
|
|
1331
1331
|
], B.prototype, "srLabel", 2);
|
|
1332
|
-
B =
|
|
1332
|
+
B = R([
|
|
1333
1333
|
g("o-icon-button")
|
|
1334
1334
|
], B);
|
|
1335
1335
|
var Ro = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, b = (o, t, e, r) => {
|
|
@@ -2454,21 +2454,6 @@ K.styles = f`
|
|
|
2454
2454
|
transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
2455
2455
|
}
|
|
2456
2456
|
|
|
2457
|
-
:host([endIcon]) a {
|
|
2458
|
-
&:hover {
|
|
2459
|
-
o-icon-button {
|
|
2460
|
-
transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
2461
|
-
:host(:not([reverseEndIcon])) & {
|
|
2462
|
-
transform: translateX(4px);
|
|
2463
|
-
}
|
|
2464
|
-
|
|
2465
|
-
:host([reverseEndIcon]) & {
|
|
2466
|
-
transform: translateX(-4px);
|
|
2467
|
-
}
|
|
2468
|
-
}
|
|
2469
|
-
}
|
|
2470
|
-
}
|
|
2471
|
-
|
|
2472
2457
|
:host a {
|
|
2473
2458
|
position: relative;
|
|
2474
2459
|
text-decoration: none;
|
|
@@ -2493,11 +2478,21 @@ K.styles = f`
|
|
|
2493
2478
|
pointer-events: none;
|
|
2494
2479
|
}
|
|
2495
2480
|
|
|
2496
|
-
:
|
|
2497
|
-
|
|
2498
|
-
|
|
2481
|
+
@media (hover: hover) and (pointer: fine) {
|
|
2482
|
+
:host a:hover .link-text::after {
|
|
2483
|
+
opacity: 0;
|
|
2484
|
+
height: 1px;
|
|
2485
|
+
}
|
|
2486
|
+
|
|
2487
|
+
:host([endIcon]) a:hover o-icon-button {
|
|
2488
|
+
transform: translateX(4px);
|
|
2489
|
+
transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
2490
|
+
}
|
|
2491
|
+
|
|
2492
|
+
:host([endIcon][reverseEndIcon]) a:hover o-icon-button {
|
|
2493
|
+
transform: translateX(-4px);
|
|
2494
|
+
}
|
|
2499
2495
|
}
|
|
2500
|
-
/* End of underline effect */
|
|
2501
2496
|
`;
|
|
2502
2497
|
lt([
|
|
2503
2498
|
a({ type: String })
|
|
@@ -2603,7 +2598,7 @@ var Jo = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor, ot = (o, t
|
|
|
2603
2598
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2604
2599
|
return r && i && Jo(t, e, i), i;
|
|
2605
2600
|
};
|
|
2606
|
-
let
|
|
2601
|
+
let F = class extends p {
|
|
2607
2602
|
constructor() {
|
|
2608
2603
|
super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
|
|
2609
2604
|
<o-icon-button
|
|
@@ -2694,7 +2689,7 @@ let j = class extends p {
|
|
|
2694
2689
|
`;
|
|
2695
2690
|
}
|
|
2696
2691
|
};
|
|
2697
|
-
|
|
2692
|
+
F.styles = f`
|
|
2698
2693
|
:host {
|
|
2699
2694
|
display: flex;
|
|
2700
2695
|
gap: 5px;
|
|
@@ -2802,28 +2797,28 @@ j.styles = f`
|
|
|
2802
2797
|
`;
|
|
2803
2798
|
ot([
|
|
2804
2799
|
a({ type: Array })
|
|
2805
|
-
],
|
|
2800
|
+
], F.prototype, "thumbnails", 2);
|
|
2806
2801
|
ot([
|
|
2807
2802
|
a({ type: Number })
|
|
2808
|
-
],
|
|
2803
|
+
], F.prototype, "activeIndex", 2);
|
|
2809
2804
|
ot([
|
|
2810
2805
|
a({ type: Array })
|
|
2811
|
-
],
|
|
2806
|
+
], F.prototype, "disabledIndexes", 2);
|
|
2812
2807
|
ot([
|
|
2813
2808
|
a({ type: String })
|
|
2814
|
-
],
|
|
2809
|
+
], F.prototype, "maxWidth", 2);
|
|
2815
2810
|
ot([
|
|
2816
2811
|
a({ type: String })
|
|
2817
|
-
],
|
|
2812
|
+
], F.prototype, "altressource", 2);
|
|
2818
2813
|
ot([
|
|
2819
2814
|
a({ type: Object })
|
|
2820
|
-
],
|
|
2815
|
+
], F.prototype, "swiperInstance", 2);
|
|
2821
2816
|
ot([
|
|
2822
2817
|
W()
|
|
2823
|
-
],
|
|
2824
|
-
|
|
2818
|
+
], F.prototype, "focusedIndex", 2);
|
|
2819
|
+
F = ot([
|
|
2825
2820
|
g("thumbnail-navigation")
|
|
2826
|
-
],
|
|
2821
|
+
], F);
|
|
2827
2822
|
var ti = Object.defineProperty, ei = Object.getOwnPropertyDescriptor, te = (o, t, e, r) => {
|
|
2828
2823
|
for (var i = r > 1 ? void 0 : r ? ei(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2829
2824
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
@@ -3388,7 +3383,7 @@ Nt.styles = f`
|
|
|
3388
3383
|
Nt = ai([
|
|
3389
3384
|
g("o-dots")
|
|
3390
3385
|
], Nt);
|
|
3391
|
-
var li = Object.defineProperty, ci = Object.getOwnPropertyDescriptor,
|
|
3386
|
+
var li = Object.defineProperty, ci = Object.getOwnPropertyDescriptor, U = (o, t, e, r) => {
|
|
3392
3387
|
for (var i = r > 1 ? void 0 : r ? ci(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3393
3388
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3394
3389
|
return r && i && li(t, e, i), i;
|
|
@@ -3706,34 +3701,34 @@ z.styles = f`
|
|
|
3706
3701
|
display: none;
|
|
3707
3702
|
}
|
|
3708
3703
|
`;
|
|
3709
|
-
|
|
3704
|
+
U([
|
|
3710
3705
|
a({ type: Array, reflect: !0 })
|
|
3711
3706
|
], z.prototype, "options", 2);
|
|
3712
|
-
|
|
3707
|
+
U([
|
|
3713
3708
|
a({ type: String, reflect: !0 })
|
|
3714
3709
|
], z.prototype, "value", 2);
|
|
3715
|
-
|
|
3710
|
+
U([
|
|
3716
3711
|
a({ type: String, reflect: !0 })
|
|
3717
3712
|
], z.prototype, "name", 2);
|
|
3718
|
-
|
|
3713
|
+
U([
|
|
3719
3714
|
a({ type: String, reflect: !0 })
|
|
3720
3715
|
], z.prototype, "additionaltext", 2);
|
|
3721
|
-
|
|
3716
|
+
U([
|
|
3722
3717
|
a({ type: Boolean, reflect: !0 })
|
|
3723
3718
|
], z.prototype, "disabled", 2);
|
|
3724
|
-
|
|
3719
|
+
U([
|
|
3725
3720
|
a({ type: String, reflect: !0 })
|
|
3726
3721
|
], z.prototype, "width", 2);
|
|
3727
|
-
|
|
3722
|
+
U([
|
|
3728
3723
|
W()
|
|
3729
3724
|
], z.prototype, "open", 2);
|
|
3730
|
-
|
|
3725
|
+
U([
|
|
3731
3726
|
W()
|
|
3732
3727
|
], z.prototype, "activeIndex", 2);
|
|
3733
|
-
|
|
3728
|
+
U([
|
|
3734
3729
|
W()
|
|
3735
3730
|
], z.prototype, "menuWidth", 2);
|
|
3736
|
-
z =
|
|
3731
|
+
z = U([
|
|
3737
3732
|
g("o-dropdown-variant")
|
|
3738
3733
|
], z);
|
|
3739
3734
|
/**
|
|
@@ -4068,7 +4063,7 @@ ie([
|
|
|
4068
4063
|
_t = ie([
|
|
4069
4064
|
g("o-chipset")
|
|
4070
4065
|
], _t);
|
|
4071
|
-
var mi = Object.defineProperty, xi = Object.getOwnPropertyDescriptor,
|
|
4066
|
+
var mi = Object.defineProperty, xi = Object.getOwnPropertyDescriptor, N = (o, t, e, r) => {
|
|
4072
4067
|
for (var i = r > 1 ? void 0 : r ? xi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4073
4068
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4074
4069
|
return r && i && mi(t, e, i), i;
|
|
@@ -4250,37 +4245,37 @@ I.styles = f`
|
|
|
4250
4245
|
}
|
|
4251
4246
|
}
|
|
4252
4247
|
`;
|
|
4253
|
-
|
|
4248
|
+
N([
|
|
4254
4249
|
a({ reflect: !0 })
|
|
4255
4250
|
], I.prototype, "name", 2);
|
|
4256
|
-
|
|
4251
|
+
N([
|
|
4257
4252
|
a({ reflect: !0 })
|
|
4258
4253
|
], I.prototype, "value", 2);
|
|
4259
|
-
|
|
4254
|
+
N([
|
|
4260
4255
|
a({ type: String, reflect: !0 })
|
|
4261
4256
|
], I.prototype, "type", 2);
|
|
4262
|
-
|
|
4257
|
+
N([
|
|
4263
4258
|
a({ type: String, reflect: !0 })
|
|
4264
4259
|
], I.prototype, "href", 2);
|
|
4265
|
-
|
|
4260
|
+
N([
|
|
4266
4261
|
a({ type: String, reflect: !0, attribute: "data-href" })
|
|
4267
4262
|
], I.prototype, "dataHref", 2);
|
|
4268
|
-
|
|
4263
|
+
N([
|
|
4269
4264
|
a({ type: String })
|
|
4270
4265
|
], I.prototype, "text", 2);
|
|
4271
|
-
|
|
4266
|
+
N([
|
|
4272
4267
|
a({ type: Boolean, reflect: !0 })
|
|
4273
4268
|
], I.prototype, "selected", 2);
|
|
4274
|
-
|
|
4269
|
+
N([
|
|
4275
4270
|
a({ type: Boolean, reflect: !0 })
|
|
4276
4271
|
], I.prototype, "disabled", 2);
|
|
4277
|
-
|
|
4272
|
+
N([
|
|
4278
4273
|
a({ type: Boolean, reflect: !0 })
|
|
4279
4274
|
], I.prototype, "fullwidth", 2);
|
|
4280
|
-
I =
|
|
4275
|
+
I = N([
|
|
4281
4276
|
g("o-filter-chip")
|
|
4282
4277
|
], I);
|
|
4283
|
-
var $i = Object.defineProperty,
|
|
4278
|
+
var $i = Object.defineProperty, M = (o, t, e, r) => {
|
|
4284
4279
|
for (var i = void 0, n = o.length - 1, s; n >= 0; n--)
|
|
4285
4280
|
(s = o[n]) && (i = s(t, e, i) || i);
|
|
4286
4281
|
return i && $i(t, e, i), i;
|
|
@@ -4289,198 +4284,218 @@ const se = class se extends p {
|
|
|
4289
4284
|
constructor() {
|
|
4290
4285
|
super(...arguments), this.type = "cart | chevron", this.titleProduct = "", this.volume = "", this.perLiter = "", this.mainPrice = "", this.imageUrl = "https://placehold.co/56x70", this.altImage = "", this.fullwidth = !1, this.tagText = "";
|
|
4291
4286
|
}
|
|
4292
|
-
onClick() {
|
|
4293
|
-
|
|
4287
|
+
onClick(t) {
|
|
4288
|
+
var r, i;
|
|
4289
|
+
const e = t.target;
|
|
4290
|
+
(r = e == null ? void 0 : e.classList) != null && r.contains("add-to-bag") || ((i = this.onClickTile) == null || i.call(this), this.dispatchEvent(
|
|
4291
|
+
new CustomEvent("tile-click", { bubbles: !0, composed: !0 })
|
|
4292
|
+
));
|
|
4293
|
+
}
|
|
4294
|
+
onClickIcons() {
|
|
4295
|
+
var t;
|
|
4296
|
+
(t = this.onClickIcon) == null || t.call(this), this.dispatchEvent(
|
|
4297
|
+
new CustomEvent("tile-icon-click", { bubbles: !0, composed: !0 })
|
|
4298
|
+
);
|
|
4294
4299
|
}
|
|
4295
4300
|
get icons() {
|
|
4296
4301
|
return this.type === "chevron" ? l`
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4302
|
+
<o-icon-button
|
|
4303
|
+
@click=${this.onClickIcons}
|
|
4304
|
+
icon="chevronRight"
|
|
4305
|
+
size="small"
|
|
4306
|
+
bgstyle="background-contrast"
|
|
4307
|
+
type="span"
|
|
4308
|
+
status="filled"
|
|
4309
|
+
strokewidth="0"
|
|
4310
|
+
aria-hidden="true"
|
|
4311
|
+
tabindex="-1"
|
|
4312
|
+
class="chevron-icon"
|
|
4313
|
+
></o-icon-button>
|
|
4314
|
+
` : l`
|
|
4315
|
+
<o-icon-button
|
|
4316
|
+
@click=${this.onClickIcons}
|
|
4317
|
+
icon="cart"
|
|
4318
|
+
size="small"
|
|
4319
|
+
bgstyle="background-contrast"
|
|
4320
|
+
type="span"
|
|
4321
|
+
status="empty"
|
|
4322
|
+
strokewidth="0"
|
|
4323
|
+
class="add-to-bag"
|
|
4324
|
+
></o-icon-button>
|
|
4325
|
+
`;
|
|
4318
4326
|
}
|
|
4319
4327
|
render() {
|
|
4320
4328
|
return l`
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4329
|
+
<button
|
|
4330
|
+
type="button"
|
|
4331
|
+
class="tile fullpointer ${this.fullwidth ? "fullwidth" : ""}"
|
|
4332
|
+
@click=${this.onClick}
|
|
4333
|
+
>
|
|
4334
|
+
${this.imageUrl ? l`<img src="${this.imageUrl}" alt="${this.altImage || ""}" />` : ""}
|
|
4335
|
+
<div class="info">
|
|
4336
|
+
${this.tagText ? l`<o-tag bgstyle="background-emphasis">${this.tagText}</o-tag>` : ""}
|
|
4337
|
+
${this.titleProduct ? l`<div class="title">${this.titleProduct}</div>` : ""}
|
|
4338
|
+
<div class="details">
|
|
4339
|
+
${this.volume ? l`<span class="volume-info">${this.volume}</span>` : ""}
|
|
4340
|
+
${this.type === "cart" && this.mainPrice ? l`<span class="main-price">${this.mainPrice}</span>` : ""}
|
|
4341
|
+
${this.type === "cart" && this.perLiter ? l`<span class="per-liter">${this.perLiter}</span>` : ""}
|
|
4342
|
+
</div>
|
|
4343
|
+
</div>
|
|
4344
|
+
${this.icons}
|
|
4345
|
+
</button>
|
|
4335
4346
|
`;
|
|
4336
4347
|
}
|
|
4337
4348
|
};
|
|
4338
4349
|
se.styles = f`
|
|
4339
4350
|
:host {
|
|
4340
|
-
|
|
4341
|
-
|
|
4351
|
+
display: block;
|
|
4352
|
+
max-width: 100%;
|
|
4342
4353
|
}
|
|
4343
|
-
|
|
4354
|
+
|
|
4344
4355
|
.tile {
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
o-icon-button {
|
|
4361
|
-
margin-left: var(--spacing-xl);
|
|
4362
|
-
}
|
|
4363
|
-
}
|
|
4356
|
+
display: flex;
|
|
4357
|
+
align-items: center;
|
|
4358
|
+
justify-content: space-between;
|
|
4359
|
+
border-radius: var(--radius-xs);
|
|
4360
|
+
background: var(--color-container-bg-white);
|
|
4361
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
|
|
4362
|
+
font-family: var(--font-family-loccitane-sans);
|
|
4363
|
+
height: 70px;
|
|
4364
|
+
width: 356px;
|
|
4365
|
+
max-width: 356px;
|
|
4366
|
+
padding: var(--spacing-2-xs) var(--spacing-s) var(--spacing-2-xs)
|
|
4367
|
+
var(--spacing-2-xs);
|
|
4368
|
+
margin: 0;
|
|
4369
|
+
border: 0 none;
|
|
4370
|
+
box-sizing: content-box;
|
|
4364
4371
|
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4372
|
+
o-icon-button {
|
|
4373
|
+
margin-left: var(--spacing-xl);
|
|
4374
|
+
}
|
|
4375
|
+
}
|
|
4369
4376
|
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
background: linear-gradient(to bottom, #F9F5F0, #F7F2EA);
|
|
4375
|
-
}
|
|
4377
|
+
.tile.fullwidth {
|
|
4378
|
+
width: 100%;
|
|
4379
|
+
max-width: 100%;
|
|
4380
|
+
}
|
|
4376
4381
|
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4382
|
+
.tile img {
|
|
4383
|
+
object-fit: cover;
|
|
4384
|
+
width: 56px;
|
|
4385
|
+
height: 70px;
|
|
4386
|
+
background: linear-gradient(to bottom, #f9f5f0, #f7f2ea);
|
|
4387
|
+
}
|
|
4381
4388
|
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
color: var(--colors-noir-des-terres-500);
|
|
4387
|
-
line-height: var(--line-height-160);
|
|
4388
|
-
letter-spacing: var(--letter-spacing-100);
|
|
4389
|
-
text-align: left;
|
|
4390
|
-
max-height: 32px;
|
|
4391
|
-
overflow: hidden;
|
|
4392
|
-
text-overflow: ellipsis;
|
|
4393
|
-
display: -webkit-box;
|
|
4394
|
-
-webkit-line-clamp: 2;
|
|
4395
|
-
-webkit-box-orient: vertical;
|
|
4396
|
-
|
|
4397
|
-
+.details {
|
|
4398
|
-
padding-top: var(--spacing-s);
|
|
4399
|
-
overflow: hidden;
|
|
4400
|
-
text-overflow: ellipsis;
|
|
4401
|
-
display: -webkit-box;
|
|
4402
|
-
-webkit-line-clamp: 1;
|
|
4403
|
-
-webkit-box-orient: vertical;
|
|
4404
|
-
text-align: left;
|
|
4405
|
-
}
|
|
4406
|
-
}
|
|
4389
|
+
.info {
|
|
4390
|
+
flex-grow: 1;
|
|
4391
|
+
margin-left: 10px;
|
|
4392
|
+
}
|
|
4407
4393
|
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4394
|
+
.info .title {
|
|
4395
|
+
font-family: var(--font-family-loccitane-serif);
|
|
4396
|
+
font-size: var(--font-size-150);
|
|
4397
|
+
font-weight: var(--font-weight-400);
|
|
4398
|
+
color: var(--colors-noir-des-terres-500);
|
|
4399
|
+
line-height: var(--line-height-160);
|
|
4400
|
+
letter-spacing: var(--letter-spacing-100);
|
|
4401
|
+
text-align: left;
|
|
4402
|
+
max-height: 32px;
|
|
4403
|
+
overflow: hidden;
|
|
4404
|
+
text-overflow: ellipsis;
|
|
4405
|
+
display: -webkit-box;
|
|
4406
|
+
-webkit-line-clamp: 2;
|
|
4407
|
+
-webkit-box-orient: vertical;
|
|
4412
4408
|
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4409
|
+
+ .details {
|
|
4410
|
+
padding-top: var(--spacing-s);
|
|
4411
|
+
overflow: hidden;
|
|
4412
|
+
text-overflow: ellipsis;
|
|
4413
|
+
display: -webkit-box;
|
|
4414
|
+
-webkit-line-clamp: 1;
|
|
4415
|
+
-webkit-box-orient: vertical;
|
|
4416
|
+
text-align: left;
|
|
4417
|
+
}
|
|
4418
|
+
}
|
|
4418
4419
|
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
color: var(--colors-noir-des-terres-500);
|
|
4424
|
-
}
|
|
4425
|
-
}
|
|
4426
|
-
}
|
|
4420
|
+
.info .details {
|
|
4421
|
+
display: flex;
|
|
4422
|
+
align-items: center;
|
|
4423
|
+
}
|
|
4427
4424
|
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4425
|
+
.info .volume-info {
|
|
4426
|
+
font-size: var(--font-size-100);
|
|
4427
|
+
color: var(--colors-noir-des-terres-500);
|
|
4428
|
+
font-family: var(--font-family-loccitane-sans);
|
|
4429
|
+
line-height: var(--line-height-160);
|
|
4432
4430
|
|
|
4433
|
-
|
|
4434
|
-
|
|
4431
|
+
+ .main-price {
|
|
4432
|
+
&::before {
|
|
4433
|
+
content: "•";
|
|
4434
|
+
padding: 0 var(--spacing-xs) 0 var(--spacing-2-xs);
|
|
4435
4435
|
color: var(--colors-noir-des-terres-500);
|
|
4436
|
-
font-size: var(--font-size-100);
|
|
4437
|
-
padding: 0 var(--spacing-xs) 0 0;
|
|
4438
|
-
font-weight: var(--font-weight-400);
|
|
4439
4436
|
}
|
|
4437
|
+
}
|
|
4438
|
+
}
|
|
4440
4439
|
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
line-height: var(--line-height-160);
|
|
4446
|
-
}
|
|
4440
|
+
.info o-tag {
|
|
4441
|
+
margin-bottom: var(--spacing-xs);
|
|
4442
|
+
display: flex;
|
|
4443
|
+
}
|
|
4447
4444
|
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4445
|
+
.main-price {
|
|
4446
|
+
font-family: var(--font-family-loccitane-sans);
|
|
4447
|
+
color: var(--colors-noir-des-terres-500);
|
|
4448
|
+
font-size: var(--font-size-100);
|
|
4449
|
+
padding: 0 var(--spacing-xs) 0 0;
|
|
4450
|
+
font-weight: var(--font-weight-400);
|
|
4451
|
+
}
|
|
4452
|
+
|
|
4453
|
+
.per-liter {
|
|
4454
|
+
font-size: var(--font-size-100);
|
|
4455
|
+
color: var(--color-content-description);
|
|
4456
|
+
letter-spacing: var(--letter-spacing-absolute);
|
|
4457
|
+
line-height: var(--line-height-160);
|
|
4458
|
+
}
|
|
4459
|
+
|
|
4460
|
+
.fullpointer {
|
|
4461
|
+
cursor: pointer;
|
|
4462
|
+
}
|
|
4451
4463
|
`;
|
|
4452
|
-
let
|
|
4453
|
-
|
|
4464
|
+
let E = se;
|
|
4465
|
+
M([
|
|
4454
4466
|
a({ type: String })
|
|
4455
|
-
],
|
|
4456
|
-
|
|
4467
|
+
], E.prototype, "type");
|
|
4468
|
+
M([
|
|
4457
4469
|
a({ type: String })
|
|
4458
|
-
],
|
|
4459
|
-
|
|
4470
|
+
], E.prototype, "titleProduct");
|
|
4471
|
+
M([
|
|
4460
4472
|
a({ type: String })
|
|
4461
|
-
],
|
|
4462
|
-
|
|
4473
|
+
], E.prototype, "volume");
|
|
4474
|
+
M([
|
|
4463
4475
|
a({ type: String })
|
|
4464
|
-
],
|
|
4465
|
-
|
|
4476
|
+
], E.prototype, "perLiter");
|
|
4477
|
+
M([
|
|
4466
4478
|
a({ type: String })
|
|
4467
|
-
],
|
|
4468
|
-
|
|
4479
|
+
], E.prototype, "mainPrice");
|
|
4480
|
+
M([
|
|
4469
4481
|
a({ type: String })
|
|
4470
|
-
],
|
|
4471
|
-
|
|
4482
|
+
], E.prototype, "imageUrl");
|
|
4483
|
+
M([
|
|
4472
4484
|
a({ type: String })
|
|
4473
|
-
],
|
|
4474
|
-
|
|
4485
|
+
], E.prototype, "altImage");
|
|
4486
|
+
M([
|
|
4475
4487
|
a({ type: Boolean })
|
|
4476
|
-
],
|
|
4477
|
-
|
|
4488
|
+
], E.prototype, "fullwidth");
|
|
4489
|
+
M([
|
|
4478
4490
|
a({ type: String })
|
|
4479
|
-
],
|
|
4480
|
-
|
|
4481
|
-
a({
|
|
4482
|
-
],
|
|
4483
|
-
|
|
4491
|
+
], E.prototype, "tagText");
|
|
4492
|
+
M([
|
|
4493
|
+
a({ attribute: !1 })
|
|
4494
|
+
], E.prototype, "onClickTile");
|
|
4495
|
+
M([
|
|
4496
|
+
a({ attribute: !1 })
|
|
4497
|
+
], E.prototype, "onClickIcon");
|
|
4498
|
+
customElements.define("mini-tile", E);
|
|
4484
4499
|
var ki = Object.defineProperty, _i = Object.getOwnPropertyDescriptor, re = (o, t, e, r) => {
|
|
4485
4500
|
for (var i = r > 1 ? void 0 : r ? _i(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4486
4501
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
@@ -4547,7 +4562,7 @@ var Ci = Object.defineProperty, Si = Object.getOwnPropertyDescriptor, H = (o, t,
|
|
|
4547
4562
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4548
4563
|
return r && i && Ci(t, e, i), i;
|
|
4549
4564
|
};
|
|
4550
|
-
let
|
|
4565
|
+
let A = class extends p {
|
|
4551
4566
|
constructor() {
|
|
4552
4567
|
super(...arguments), this.icon = "info", this.text = "Sample text", this.verticalanchor = "top", this.horizontalanchor = "right", this.verticaloffset = 24, this.horizontaloffset = 24, this.animationduration = 500, this.animationaxis = "horizontal", this.animated = !0, this.lifeduration = 5e3, this.multiline = !1;
|
|
4553
4568
|
}
|
|
@@ -4611,7 +4626,7 @@ let E = class extends p {
|
|
|
4611
4626
|
`;
|
|
4612
4627
|
}
|
|
4613
4628
|
};
|
|
4614
|
-
|
|
4629
|
+
A.styles = f`
|
|
4615
4630
|
:host {
|
|
4616
4631
|
--vertical-offset: 24px;
|
|
4617
4632
|
--horizontal-offset: 24px;
|
|
@@ -4691,41 +4706,41 @@ E.styles = f`
|
|
|
4691
4706
|
`;
|
|
4692
4707
|
H([
|
|
4693
4708
|
a({ type: String, reflect: !0 })
|
|
4694
|
-
],
|
|
4709
|
+
], A.prototype, "icon", 2);
|
|
4695
4710
|
H([
|
|
4696
4711
|
a({ type: String, reflect: !0 })
|
|
4697
|
-
],
|
|
4712
|
+
], A.prototype, "text", 2);
|
|
4698
4713
|
H([
|
|
4699
4714
|
a({ type: String, reflect: !0 })
|
|
4700
|
-
],
|
|
4715
|
+
], A.prototype, "verticalanchor", 2);
|
|
4701
4716
|
H([
|
|
4702
4717
|
a({ type: String, reflect: !0 })
|
|
4703
|
-
],
|
|
4718
|
+
], A.prototype, "horizontalanchor", 2);
|
|
4704
4719
|
H([
|
|
4705
4720
|
a({ type: Number, reflect: !0 })
|
|
4706
|
-
],
|
|
4721
|
+
], A.prototype, "verticaloffset", 2);
|
|
4707
4722
|
H([
|
|
4708
4723
|
a({ type: Number, reflect: !0 })
|
|
4709
|
-
],
|
|
4724
|
+
], A.prototype, "horizontaloffset", 2);
|
|
4710
4725
|
H([
|
|
4711
4726
|
a({ type: Number, reflect: !0 })
|
|
4712
|
-
],
|
|
4727
|
+
], A.prototype, "animationduration", 2);
|
|
4713
4728
|
H([
|
|
4714
4729
|
a({ type: String, reflect: !0 })
|
|
4715
|
-
],
|
|
4730
|
+
], A.prototype, "animationaxis", 2);
|
|
4716
4731
|
H([
|
|
4717
4732
|
a({ type: Boolean, reflect: !0 })
|
|
4718
|
-
],
|
|
4733
|
+
], A.prototype, "animated", 2);
|
|
4719
4734
|
H([
|
|
4720
4735
|
a({ type: Number, reflect: !0 })
|
|
4721
|
-
],
|
|
4736
|
+
], A.prototype, "lifeduration", 2);
|
|
4722
4737
|
H([
|
|
4723
4738
|
a({ type: Boolean, reflect: !0 })
|
|
4724
|
-
],
|
|
4725
|
-
|
|
4739
|
+
], A.prototype, "multiline", 2);
|
|
4740
|
+
A = H([
|
|
4726
4741
|
g("o-toast")
|
|
4727
|
-
],
|
|
4728
|
-
var Ei = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor,
|
|
4742
|
+
], A);
|
|
4743
|
+
var Ei = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor, j = (o, t, e, r) => {
|
|
4729
4744
|
for (var i = r > 1 ? void 0 : r ? Ai(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4730
4745
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4731
4746
|
return r && i && Ei(t, e, i), i;
|
|
@@ -4874,37 +4889,37 @@ L.styles = f`
|
|
|
4874
4889
|
stroke: var(--color-border-white);
|
|
4875
4890
|
}
|
|
4876
4891
|
`;
|
|
4877
|
-
|
|
4892
|
+
j([
|
|
4878
4893
|
a({ type: Boolean, reflect: !0 })
|
|
4879
4894
|
], L.prototype, "checked", 2);
|
|
4880
|
-
|
|
4895
|
+
j([
|
|
4881
4896
|
a({ type: Boolean, reflect: !0 })
|
|
4882
4897
|
], L.prototype, "indeterminate", 2);
|
|
4883
|
-
|
|
4898
|
+
j([
|
|
4884
4899
|
a({ type: Boolean, reflect: !0 })
|
|
4885
4900
|
], L.prototype, "disabled", 2);
|
|
4886
|
-
|
|
4901
|
+
j([
|
|
4887
4902
|
a({ type: String, reflect: !0 })
|
|
4888
4903
|
], L.prototype, "size", 2);
|
|
4889
|
-
|
|
4904
|
+
j([
|
|
4890
4905
|
a({ type: Boolean })
|
|
4891
4906
|
], L.prototype, "showLabel", 2);
|
|
4892
|
-
|
|
4907
|
+
j([
|
|
4893
4908
|
a({ type: String })
|
|
4894
4909
|
], L.prototype, "label", 2);
|
|
4895
|
-
|
|
4910
|
+
j([
|
|
4896
4911
|
a({ type: String })
|
|
4897
4912
|
], L.prototype, "name", 2);
|
|
4898
|
-
|
|
4913
|
+
j([
|
|
4899
4914
|
a({ type: String })
|
|
4900
4915
|
], L.prototype, "value", 2);
|
|
4901
|
-
|
|
4916
|
+
j([
|
|
4902
4917
|
a({ type: String, reflect: !0 })
|
|
4903
4918
|
], L.prototype, "inputId", 2);
|
|
4904
|
-
|
|
4919
|
+
j([
|
|
4905
4920
|
Ce("input")
|
|
4906
4921
|
], L.prototype, "inputEl", 2);
|
|
4907
|
-
L =
|
|
4922
|
+
L = j([
|
|
4908
4923
|
g("o-checkbox")
|
|
4909
4924
|
], L);
|
|
4910
4925
|
var Pi = Object.defineProperty, Bi = Object.getOwnPropertyDescriptor, q = (o, t, e, r) => {
|