@tet/tet-components 1.3.110-staging → 1.3.111-staging
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/dist/cjs/tet-address-offers-filters-products_3.cjs.entry.js +2 -2
- package/dist/collection/components/advanced/cards/tet-compare-card/test/tet-compare-card.spec.js +6 -0
- package/dist/collection/components/advanced/cards/tet-compare-card/tet-compare-card.css +1 -2
- package/dist/collection/components/advanced/cards/tet-compare-card/tet-compare-card.js +1 -1
- package/dist/components/{p-bd08528f.js → p-449584b0.js} +1 -1
- package/dist/components/{p-6651bfbc.js → p-7244ee91.js} +2 -2
- package/dist/components/{p-215ddf03.js → p-e1b0d670.js} +1 -1
- package/dist/components/tet-address-offers-view.js +2 -2
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +2 -2
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/esm/tet-address-offers-filters-products_3.entry.js +2 -2
- package/dist/tet-components/p-d517097b.entry.js +1 -0
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/tet-components/p-cbf18453.entry.js +0 -1
package/dist/collection/components/advanced/cards/tet-compare-card/test/tet-compare-card.spec.js
CHANGED
|
@@ -94,6 +94,9 @@ describe('tet-compare-card', () => {
|
|
|
94
94
|
<div class="old-price translation-none">39,50</div>
|
|
95
95
|
<div class="old-currency">€/mēn.</div>
|
|
96
96
|
</div>
|
|
97
|
+
<div class="price-information-wrapper">
|
|
98
|
+
<slot name="price-information-slot" />
|
|
99
|
+
</div>
|
|
97
100
|
</div>
|
|
98
101
|
<div class="helper">
|
|
99
102
|
<div class="term">
|
|
@@ -224,6 +227,9 @@ describe('tet-compare-card', () => {
|
|
|
224
227
|
<div class="old-price translation-none">39,50</div>
|
|
225
228
|
<div class="old-currency">€/mēn.</div>
|
|
226
229
|
</div>
|
|
230
|
+
<div class="price-information-wrapper">
|
|
231
|
+
<slot name="price-information-slot" />
|
|
232
|
+
</div>
|
|
227
233
|
</div>
|
|
228
234
|
<div class="helper">
|
|
229
235
|
<div class="term">
|
|
@@ -7877,7 +7877,7 @@
|
|
|
7877
7877
|
margin-top: var(--compare-card-title-margin-top);
|
|
7878
7878
|
}
|
|
7879
7879
|
.card.regular .compare-card-half-40 {
|
|
7880
|
-
margin-top:
|
|
7880
|
+
margin-top: 0;
|
|
7881
7881
|
}
|
|
7882
7882
|
.card.regular .compare-card-half-40 .price .price-wrapper .price-container {
|
|
7883
7883
|
justify-content: flex-start;
|
|
@@ -8163,7 +8163,6 @@
|
|
|
8163
8163
|
.title-wrapper .info-title {
|
|
8164
8164
|
font: 400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;
|
|
8165
8165
|
color: var(--compare-card-title-text-color);
|
|
8166
|
-
margin-bottom: 1rem;
|
|
8167
8166
|
}
|
|
8168
8167
|
|
|
8169
8168
|
.bullet-points-wrapper {
|
|
@@ -263,7 +263,7 @@ export class TetCompareCard {
|
|
|
263
263
|
'price-wrapper': true,
|
|
264
264
|
'price-wrap': this.options.priceWrap,
|
|
265
265
|
'price-flex-column': this.priceShownVertically
|
|
266
|
-
} }, h("div", { class: "price-container" }, this.options.pricePrefix && h("div", { class: "price-prefix", innerHTML: this.options.pricePrefix }), h("div", { class: "new-price translation-none" }, parseFloat(this.options.price.replace(',', '.')).toFixed(2).replace('.', ',')), h("div", { class: "currency" }, h("span", null, this.options.currency), this.renderTooltip('priceInfo'))), this.options.oldPrice ? (h("div", { class: "old-price-container" }, h("div", { class: "old-price translation-none" }, parseFloat(this.options.oldPrice.replace(',', '.')).toFixed(2).replace('.', ',')), h("div", { class: "old-currency" }, this.options.currency))) : (''), this.options.priceBadge ? h("div", { class: "price-badge" }, this.options.priceBadge) : '')) : (''), this.showHelper ? (h("div", { class: "helper" }, this.options.term ? h("div", { class: "term" }, this.options.term) : '', this.options.termText ? h("div", { class: "term-text", innerHTML: this.options.termText }) : '', h("span", { innerHTML: this.options.helper }))) : (''), this.isNetflixCard && this.options.selectOptions !== undefined ? (h("div", { class: "select" }, h("tet-dropdown", { id: "dropdown", class: "cards-dropdown", theme: this.darkMode ? 'dark' : 'light', "button-label": "", "label-logo": this.options.selectOptions[0].labelLogo, "label-right": this.options.selectOptions[0].labelRight, "label-right-color": this.options.selectOptions[0].labelRightColor, "close-on-selection": true, options: this.options.selectOptions, "flex-layout": true }))) : ('')), h("div", { class: "button-wrapper" }, this.renderButton(), h("div", { class: "description-wrapper js-resize-divide-slot" }, h("slot", { name: "description-slot" })), this.options.secondaryLink && this.options.secondaryLinkText && (h("div", { class: {
|
|
266
|
+
} }, h("div", { class: "price-container" }, this.options.pricePrefix && h("div", { class: "price-prefix", innerHTML: this.options.pricePrefix }), h("div", { class: "new-price translation-none" }, parseFloat(this.options.price.replace(',', '.')).toFixed(2).replace('.', ',')), h("div", { class: "currency" }, h("span", null, this.options.currency), this.renderTooltip('priceInfo'))), this.options.oldPrice ? (h("div", { class: "old-price-container" }, h("div", { class: "old-price translation-none" }, parseFloat(this.options.oldPrice.replace(',', '.')).toFixed(2).replace('.', ',')), h("div", { class: "old-currency" }, this.options.currency))) : (''), this.options.priceBadge ? h("div", { class: "price-badge" }, this.options.priceBadge) : '', h("div", { class: "price-information-wrapper" }, h("slot", { name: "price-information-slot" })))) : (''), this.showHelper ? (h("div", { class: "helper" }, this.options.term ? h("div", { class: "term" }, this.options.term) : '', this.options.termText ? h("div", { class: "term-text", innerHTML: this.options.termText }) : '', h("span", { innerHTML: this.options.helper }))) : (''), this.isNetflixCard && this.options.selectOptions !== undefined ? (h("div", { class: "select" }, h("tet-dropdown", { id: "dropdown", class: "cards-dropdown", theme: this.darkMode ? 'dark' : 'light', "button-label": "", "label-logo": this.options.selectOptions[0].labelLogo, "label-right": this.options.selectOptions[0].labelRight, "label-right-color": this.options.selectOptions[0].labelRightColor, "close-on-selection": true, options: this.options.selectOptions, "flex-layout": true }))) : ('')), h("div", { class: "button-wrapper" }, this.renderButton(), h("div", { class: "description-wrapper js-resize-divide-slot" }, h("slot", { name: "description-slot" })), this.options.secondaryLink && this.options.secondaryLinkText && (h("div", { class: {
|
|
267
267
|
'secondary-link': true,
|
|
268
268
|
[`${this.secondaryLinkPosition}`]: true
|
|
269
269
|
} }, this.options.secondaryLinkOpenBlank ? (h("a", { target: "_blank", href: this.options.secondaryLink }, this.options.secondaryLinkText)) : (h("a", { href: this.options.secondaryLink }, this.options.secondaryLinkText))))), this.showBulletPoints && this.options.bulletPointPositionBottom ? (h("div", { class: "bullet-points-wrapper bottom" }, (_d = (_c = this.options) === null || _c === void 0 ? void 0 : _c.bulletPoints) === null || _d === void 0 ? void 0 : _d.map((bulletpoint) => (h("div", { class: "bullet-point" }, h("tet-icon", { class: "icon", name: "check-circle" }), h("div", { innerHTML: bulletpoint })))))) : ('')), this.cardScript ? h("link", { href: this.cardScript, rel: "stylesheet", type: "text/css" }) : '', h("div", { class: "data-hidden" }, h("div", { "data-attribute": "hero-title" }, this.options.heroTitle ? this.options.heroTitle : ''), h("div", { "data-attribute": "main-title" }, this.options.mainTitle ? this.options.mainTitle : ''), h("div", { "data-attribute": "sub-title" }, this.options.subTitle ? this.options.subTitle : ''), h("div", { "data-attribute": "price" }, this.options.price ? this.formatPrice(this.options.price) : ''), h("div", { "data-attribute": "old-price" }, this.options.oldPrice ? this.formatPrice(this.options.oldPrice) : ''), h("div", { "data-attribute": "term" }, this.options.term ? this.options.term : ''), h("div", { "data-attribute": "term-text" }, this.options.termText ? this.options.termText : ''), h("div", { "data-attribute": "helper" }, this.options.helper ? this.options.helper : ''), h("div", { "data-attribute": "description" }, h("slot", { name: "description-slot" })), h("div", { "data-attribute": "custom-slot" }, h("slot", { name: "custom-slot" })), this.showBulletPoints ? (h("div", { "data-attribute": "bullet-points" }, (_f = (_e = this.options) === null || _e === void 0 ? void 0 : _e.bulletPoints) === null || _f === void 0 ? void 0 : _f.map((bulletpoint) => (h("div", null, bulletpoint))))) : (''), h("div", { "data-attribute": "divided-information" }, h("slot", { name: "divided-information-slot" })), this.options.pricePrefix ?
|
|
@@ -6,7 +6,7 @@ import { g as generateFormUrl } from './p-6e631dc7.js';
|
|
|
6
6
|
import { d as defineCustomElement$a } from './p-8b72aca4.js';
|
|
7
7
|
import { d as defineCustomElement$9 } from './p-affe13a1.js';
|
|
8
8
|
import { d as defineCustomElement$8 } from './p-5af39094.js';
|
|
9
|
-
import { d as defineCustomElement$7 } from './p-
|
|
9
|
+
import { d as defineCustomElement$7 } from './p-7244ee91.js';
|
|
10
10
|
import { d as defineCustomElement$6 } from './p-f12bd355.js';
|
|
11
11
|
import { d as defineCustomElement$5 } from './p-d7ee107e.js';
|
|
12
12
|
import { d as defineCustomElement$4 } from './p-41bb5fa4.js';
|