@ptcwebops/ptcw-design 6.2.16-beta → 6.2.17-beta
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/event-jumbotron-example_15.cjs.entry.js +1377 -0
- package/dist/cjs/event-podcast-slider-example.cjs.entry.js +61 -0
- package/dist/cjs/featured-events-slider-example.cjs.entry.js +2 -387
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mousewheel-e9520f0f.js +391 -0
- package/dist/cjs/ptc-card-bottom.cjs.entry.js +67 -0
- package/dist/cjs/ptc-card_2.cjs.entry.js +4 -1
- package/dist/cjs/ptc-form-checkbox_4.cjs.entry.js +1 -1
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +1222 -0
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.js +80 -0
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +65 -2
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +10 -2
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +7 -0
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +2 -2
- package/dist/collection/components/ptc-link/ptc-link.css +5 -0
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +29 -0
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +3 -0
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +1 -1
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +90 -5
- package/dist/esm/blog-detail-content_2.entry.js +1 -1
- package/dist/esm/blog-detail-layout.entry.js +1 -1
- package/dist/esm/blogs-search-section.entry.js +1 -1
- package/dist/esm/event-jumbotron-example_15.entry.js +1359 -0
- package/dist/esm/event-podcast-slider-example.entry.js +57 -0
- package/dist/esm/featured-events-slider-example.entry.js +2 -387
- package/dist/esm/homepage-jumbotron.entry.js +1 -1
- package/dist/esm/homepage-toggled-content.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/most-popular-news.entry.js +1 -1
- package/dist/esm/mousewheel-6b2f6590.js +389 -0
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-background-video.entry.js +1 -1
- package/dist/esm/ptc-card-bottom.entry.js +63 -0
- package/dist/esm/ptc-card_2.entry.js +4 -1
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-form-checkbox_4.entry.js +2 -2
- package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
- package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
- package/dist/esm/ptc-icon-card.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +1 -1
- package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
- package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
- package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/{utils-63eab4bd.js → utils-ff65c75b.js} +1 -1
- package/dist/ptcw-design/{p-0d992cda.entry.js → p-0fdfd4ad.entry.js} +2 -2
- package/dist/ptcw-design/{p-d2825140.entry.js → p-11e0edaf.entry.js} +1 -1
- package/dist/ptcw-design/{p-c01ea76f.entry.js → p-1b257420.entry.js} +1 -1
- package/dist/ptcw-design/p-246df0d6.entry.js +1 -0
- package/dist/ptcw-design/{p-4ee98a3e.entry.js → p-2c6fc745.entry.js} +1 -1
- package/dist/ptcw-design/{p-fd394e84.entry.js → p-36007a57.entry.js} +1 -1
- package/dist/ptcw-design/p-36cb30ee.js +1 -0
- package/dist/ptcw-design/p-4e75fb5a.entry.js +1 -0
- package/dist/ptcw-design/{p-29240ef8.entry.js → p-58f138a3.entry.js} +1 -1
- package/dist/ptcw-design/{p-cbee4653.entry.js → p-6d3326da.entry.js} +1 -1
- package/dist/ptcw-design/p-6e8ed2ee.entry.js +1 -0
- package/dist/ptcw-design/{p-6f5fecae.entry.js → p-7a9611b4.entry.js} +1 -1
- package/dist/ptcw-design/{p-eec2f3da.entry.js → p-808ec62a.entry.js} +1 -1
- package/dist/ptcw-design/{p-77b1221e.js → p-8872161f.js} +1 -1
- package/dist/ptcw-design/p-9fe0c27d.entry.js +1 -0
- package/dist/ptcw-design/{p-17f6e145.entry.js → p-ae970a60.entry.js} +1 -1
- package/dist/ptcw-design/{p-821f0ff9.entry.js → p-c37a3bd2.entry.js} +1 -1
- package/dist/ptcw-design/{p-d3229458.entry.js → p-c66b8926.entry.js} +1 -1
- package/dist/ptcw-design/{p-6a3caf2b.entry.js → p-c95f423e.entry.js} +1 -1
- package/dist/ptcw-design/{p-627103d8.entry.js → p-d10cb999.entry.js} +1 -1
- package/dist/ptcw-design/p-d32fb485.entry.js +1 -0
- package/dist/ptcw-design/{p-48c33817.entry.js → p-d9abe7e8.entry.js} +1 -1
- package/dist/ptcw-design/{p-e577ad62.entry.js → p-da82dc93.entry.js} +1 -1
- package/dist/ptcw-design/{p-49e54079.entry.js → p-e3f8e5d5.entry.js} +1 -1
- package/dist/ptcw-design/{p-28be539b.entry.js → p-e4000363.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.d.ts +11 -0
- package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +3 -1
- package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +1 -1
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +1 -1
- package/dist/types/components.d.ts +27 -6
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/event-jumbotron-example.cjs.entry.js +0 -146
- package/dist/cjs/icon-asset.cjs.entry.js +0 -65
- package/dist/cjs/list-item.cjs.entry.js +0 -48
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +0 -47
- package/dist/cjs/ptc-button.cjs.entry.js +0 -87
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +0 -134
- package/dist/cjs/ptc-card-content.cjs.entry.js +0 -68
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +0 -222
- package/dist/cjs/ptc-img.cjs.entry.js +0 -133
- package/dist/cjs/ptc-link.cjs.entry.js +0 -87
- package/dist/cjs/ptc-para.cjs.entry.js +0 -127
- package/dist/cjs/ptc-scroll-button.cjs.entry.js +0 -136
- package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
- package/dist/cjs/ptc-title.cjs.entry.js +0 -152
- package/dist/esm/event-jumbotron-example.entry.js +0 -142
- package/dist/esm/icon-asset.entry.js +0 -61
- package/dist/esm/list-item.entry.js +0 -44
- package/dist/esm/ptc-breadcrumb.entry.js +0 -43
- package/dist/esm/ptc-button.entry.js +0 -83
- package/dist/esm/ptc-card-bottom_2.entry.js +0 -129
- package/dist/esm/ptc-card-content.entry.js +0 -64
- package/dist/esm/ptc-close-icon_2.entry.js +0 -217
- package/dist/esm/ptc-img.entry.js +0 -129
- package/dist/esm/ptc-link.entry.js +0 -83
- package/dist/esm/ptc-para.entry.js +0 -123
- package/dist/esm/ptc-scroll-button.entry.js +0 -132
- package/dist/esm/ptc-spacer.entry.js +0 -34
- package/dist/esm/ptc-title.entry.js +0 -148
- package/dist/ptcw-design/p-01075feb.entry.js +0 -1
- package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
- package/dist/ptcw-design/p-1070f8a3.entry.js +0 -1
- package/dist/ptcw-design/p-122c54b0.entry.js +0 -1
- package/dist/ptcw-design/p-158f6d50.entry.js +0 -1
- package/dist/ptcw-design/p-25a25451.entry.js +0 -1
- package/dist/ptcw-design/p-28371371.entry.js +0 -1
- package/dist/ptcw-design/p-7793babb.entry.js +0 -1
- package/dist/ptcw-design/p-8e297cd7.entry.js +0 -1
- package/dist/ptcw-design/p-92d22c78.entry.js +0 -1
- package/dist/ptcw-design/p-94b52339.entry.js +0 -1
- package/dist/ptcw-design/p-9a6bd91f.entry.js +0 -1
- package/dist/ptcw-design/p-9e9ae28c.entry.js +0 -1
- package/dist/ptcw-design/p-b3bbd17d.entry.js +0 -1
- package/dist/ptcw-design/p-b8ee8699.entry.js +0 -1
- package/dist/ptcw-design/p-bf18b622.entry.js +0 -1
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Host, h } from '@stencil/core';
|
|
2
|
+
import Swiper, { Navigation, Pagination, Scrollbar, Mousewheel } from 'swiper';
|
|
3
|
+
export class EventPodcastSliderExample {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.sliderType = 'event-slider-cards';
|
|
6
|
+
}
|
|
7
|
+
componentDidLoad() {
|
|
8
|
+
setTimeout(() => {
|
|
9
|
+
let list = this.el.querySelector('.event-slider-cards');
|
|
10
|
+
this.listSwp = new Swiper(list, {
|
|
11
|
+
// Customize options here
|
|
12
|
+
modules: [Navigation, Pagination, Scrollbar, Mousewheel],
|
|
13
|
+
slidesPerView: 'auto',
|
|
14
|
+
spaceBetween: 24,
|
|
15
|
+
centeredSlides: true,
|
|
16
|
+
centeredSlidesBounds: true,
|
|
17
|
+
initialSlide: 0,
|
|
18
|
+
centerInsufficientSlides: true,
|
|
19
|
+
freeMode: true,
|
|
20
|
+
scrollbar: {
|
|
21
|
+
el: this.swiperPaginationRef,
|
|
22
|
+
draggable: true,
|
|
23
|
+
},
|
|
24
|
+
navigation: {
|
|
25
|
+
nextEl: this.swiperButtonNextRef,
|
|
26
|
+
prevEl: this.swiperButtonPrevRef,
|
|
27
|
+
},
|
|
28
|
+
mousewheel: {
|
|
29
|
+
forceToAxis: true,
|
|
30
|
+
sensitivity: 100,
|
|
31
|
+
},
|
|
32
|
+
breakpoints: {
|
|
33
|
+
1200: {
|
|
34
|
+
spaceBetween: 32,
|
|
35
|
+
},
|
|
36
|
+
1400: {
|
|
37
|
+
spaceBetween: 40,
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
}, 100);
|
|
42
|
+
}
|
|
43
|
+
render() {
|
|
44
|
+
return (h(Host, null, h("div", { class: "event-slider-cards" }, h("div", { class: "swiper-wrapper" }, h("slot", null)), h("div", { class: "swiper-scrollbar", ref: el => (this.swiperPaginationRef = el) }), h("div", { class: "swiper-button-next", ref: el => (this.swiperButtonNextRef = el) }, h("svg", { width: "14", height: "20", viewBox: "0 0 14 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.75 17.25L8 10L0.75 2.75L3.375 0.125L13.25 10L3.375 19.875L0.75 17.25Z", fill: "#323B42" }))), h("div", { class: "swiper-button-prev", ref: el => (this.swiperButtonPrevRef = el) }, h("svg", { width: "14", height: "20", viewBox: "0 0 14 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M13.25 2.75L6 10L13.25 17.25L10.625 19.875L0.749999 10L10.625 0.125L13.25 2.75Z", fill: "#323B42" }))))));
|
|
45
|
+
}
|
|
46
|
+
static get is() { return "event-podcast-slider-example"; }
|
|
47
|
+
static get originalStyleUrls() {
|
|
48
|
+
return {
|
|
49
|
+
"$": ["event-podcast-slider-example.scss"]
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
static get styleUrls() {
|
|
53
|
+
return {
|
|
54
|
+
"$": ["event-podcast-slider-example.css"]
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
static get properties() {
|
|
58
|
+
return {
|
|
59
|
+
"sliderType": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"mutable": false,
|
|
62
|
+
"complexType": {
|
|
63
|
+
"original": "'homepage-case-study-cards' | 'event-slider-cards'",
|
|
64
|
+
"resolved": "\"event-slider-cards\" | \"homepage-case-study-cards\"",
|
|
65
|
+
"references": {}
|
|
66
|
+
},
|
|
67
|
+
"required": false,
|
|
68
|
+
"optional": false,
|
|
69
|
+
"docs": {
|
|
70
|
+
"tags": [],
|
|
71
|
+
"text": ""
|
|
72
|
+
},
|
|
73
|
+
"attribute": "slider-type",
|
|
74
|
+
"reflect": false,
|
|
75
|
+
"defaultValue": "'event-slider-cards'"
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
static get elementRef() { return "el"; }
|
|
80
|
+
}
|
|
@@ -11,6 +11,9 @@ export class PtcCardBottom {
|
|
|
11
11
|
this.el.previousElementSibling.classList.add('mouse-hover');
|
|
12
12
|
this.el.classList.add('mouse-hover-card-bottom');
|
|
13
13
|
}
|
|
14
|
+
if (this.el.classList.contains('event-podcast')) {
|
|
15
|
+
this.addClassOnDefaultSlot();
|
|
16
|
+
}
|
|
14
17
|
}
|
|
15
18
|
leaveEventHandler() {
|
|
16
19
|
this.hoverEvent.emit();
|
|
@@ -19,6 +22,24 @@ export class PtcCardBottom {
|
|
|
19
22
|
this.el.previousElementSibling.classList.remove('mouse-hover');
|
|
20
23
|
this.el.classList.remove('mouse-hover-card-bottom');
|
|
21
24
|
}
|
|
25
|
+
if (this.el.classList.contains('event-podcast')) {
|
|
26
|
+
this.removeClassOnDefaultSlot();
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
async addClassOnDefaultSlot() {
|
|
30
|
+
const slot = this.el.shadowRoot.querySelector('slot:not([name])');
|
|
31
|
+
console.log('slot: ' + slot);
|
|
32
|
+
const assignedElements = slot.assignedElements();
|
|
33
|
+
assignedElements.forEach((ele) => {
|
|
34
|
+
!ele.classList.contains('event-podcast') && ele.classList.add('event-podcast');
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
async removeClassOnDefaultSlot() {
|
|
38
|
+
const slot = this.el.shadowRoot.querySelector('slot:not([name])');
|
|
39
|
+
const assignedElements = slot.assignedElements();
|
|
40
|
+
assignedElements.forEach((ele) => {
|
|
41
|
+
ele.classList.contains('event-podcast') && ele.classList.remove('event-podcast');
|
|
42
|
+
});
|
|
22
43
|
}
|
|
23
44
|
render() {
|
|
24
45
|
const classMap = this.getCssClassMap();
|
|
@@ -47,8 +68,8 @@ export class PtcCardBottom {
|
|
|
47
68
|
"type": "string",
|
|
48
69
|
"mutable": false,
|
|
49
70
|
"complexType": {
|
|
50
|
-
"original": "'card-video' | 'card-tall' | 'card-2up' | 'card-wide' | 'card-playlist' | 'extra-tall' | 'color-outlined'| 'most-popular'",
|
|
51
|
-
"resolved": "\"card-2up\" | \"card-playlist\" | \"card-tall\" | \"card-video\" | \"card-wide\" | \"color-outlined\" | \"extra-tall\" | \"most-popular\"",
|
|
71
|
+
"original": "'card-video' | 'card-tall' | 'card-2up' | 'card-wide' | 'card-playlist' | 'extra-tall' | 'color-outlined'| 'most-popular'| 'event-podcast'",
|
|
72
|
+
"resolved": "\"card-2up\" | \"card-playlist\" | \"card-tall\" | \"card-video\" | \"card-wide\" | \"color-outlined\" | \"event-podcast\" | \"extra-tall\" | \"most-popular\"",
|
|
52
73
|
"references": {}
|
|
53
74
|
},
|
|
54
75
|
"required": false,
|
|
@@ -112,5 +133,47 @@ export class PtcCardBottom {
|
|
|
112
133
|
}
|
|
113
134
|
}];
|
|
114
135
|
}
|
|
136
|
+
static get methods() {
|
|
137
|
+
return {
|
|
138
|
+
"addClassOnDefaultSlot": {
|
|
139
|
+
"complexType": {
|
|
140
|
+
"signature": "() => Promise<void>",
|
|
141
|
+
"parameters": [],
|
|
142
|
+
"references": {
|
|
143
|
+
"Promise": {
|
|
144
|
+
"location": "global"
|
|
145
|
+
},
|
|
146
|
+
"HTMLSlotElement": {
|
|
147
|
+
"location": "global"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"return": "Promise<void>"
|
|
151
|
+
},
|
|
152
|
+
"docs": {
|
|
153
|
+
"text": "",
|
|
154
|
+
"tags": []
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"removeClassOnDefaultSlot": {
|
|
158
|
+
"complexType": {
|
|
159
|
+
"signature": "() => Promise<void>",
|
|
160
|
+
"parameters": [],
|
|
161
|
+
"references": {
|
|
162
|
+
"Promise": {
|
|
163
|
+
"location": "global"
|
|
164
|
+
},
|
|
165
|
+
"HTMLSlotElement": {
|
|
166
|
+
"location": "global"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"return": "Promise<void>"
|
|
170
|
+
},
|
|
171
|
+
"docs": {
|
|
172
|
+
"text": "",
|
|
173
|
+
"tags": []
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
}
|
|
115
178
|
static get elementRef() { return "el"; }
|
|
116
179
|
}
|
|
@@ -17,6 +17,10 @@ export class PtcCardContent {
|
|
|
17
17
|
this.el.nextElementSibling.classList.add('mouse-hover-card-bottom');
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
+
if (this.el.classList.contains('event-podcast')) {
|
|
21
|
+
const bottomComponent = this.el.nextElementSibling;
|
|
22
|
+
bottomComponent.addClassOnDefaultSlot();
|
|
23
|
+
}
|
|
20
24
|
}
|
|
21
25
|
leaveEventHandler() {
|
|
22
26
|
if (!this.el.classList.contains('speed-bump') &&
|
|
@@ -29,6 +33,10 @@ export class PtcCardContent {
|
|
|
29
33
|
this.el.nextElementSibling.classList.remove('mouse-hover-card-bottom');
|
|
30
34
|
}
|
|
31
35
|
}
|
|
36
|
+
if (this.el.classList.contains('event-podcast')) {
|
|
37
|
+
const bottomComponent = this.el.nextElementSibling;
|
|
38
|
+
bottomComponent.removeClassOnDefaultSlot();
|
|
39
|
+
}
|
|
32
40
|
}
|
|
33
41
|
async setHeight(height) {
|
|
34
42
|
this.el.style.height = height + 'px';
|
|
@@ -69,8 +77,8 @@ export class PtcCardContent {
|
|
|
69
77
|
"type": "string",
|
|
70
78
|
"mutable": false,
|
|
71
79
|
"complexType": {
|
|
72
|
-
"original": "| 'card-video'\r\n | 'card-tall'\r\n | 'card-2up'\r\n | 'card-wide'\r\n | 'speed-bump'\r\n | 'card-playlist'\r\n | 'card-video-intro'\r\n | 'card-dynamic'\r\n | 'extra-tall'\r\n | 'color-outlined'\r\n | 'thumbnail-video-preview'\r\n | 'event-jumbotron-sub-card'",
|
|
73
|
-
"resolved": "\"card-2up\" | \"card-dynamic\" | \"card-playlist\" | \"card-tall\" | \"card-video\" | \"card-video-intro\" | \"card-wide\" | \"color-outlined\" | \"event-jumbotron-sub-card\" | \"extra-tall\" | \"speed-bump\" | \"thumbnail-video-preview\"",
|
|
80
|
+
"original": "| 'card-video'\r\n | 'card-tall'\r\n | 'card-2up'\r\n | 'card-wide'\r\n | 'speed-bump'\r\n | 'card-playlist'\r\n | 'card-video-intro'\r\n | 'card-dynamic'\r\n | 'extra-tall'\r\n | 'color-outlined'\r\n | 'thumbnail-video-preview'\r\n | 'event-jumbotron-sub-card'\r\n | 'event-podcast'",
|
|
81
|
+
"resolved": "\"card-2up\" | \"card-dynamic\" | \"card-playlist\" | \"card-tall\" | \"card-video\" | \"card-video-intro\" | \"card-wide\" | \"color-outlined\" | \"event-jumbotron-sub-card\" | \"event-podcast\" | \"extra-tall\" | \"speed-bump\" | \"thumbnail-video-preview\"",
|
|
74
82
|
"references": {}
|
|
75
83
|
},
|
|
76
84
|
"required": false,
|
|
@@ -269,4 +269,11 @@ ptc-link, ptc-square-card,
|
|
|
269
269
|
pointer-events: none;
|
|
270
270
|
cursor: default;
|
|
271
271
|
text-decoration: none;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
:host(.event-podcast) a:focus-visible {
|
|
275
|
+
box-shadow: 0 0 0 5px var(--keyboard-nav-outline);
|
|
276
|
+
border-radius: var(--ptc-border-radius-standard) !important;
|
|
277
|
+
display: block;
|
|
278
|
+
outline: none;
|
|
272
279
|
}
|
|
@@ -94,8 +94,8 @@ export class PtcCardPlm {
|
|
|
94
94
|
"type": "string",
|
|
95
95
|
"mutable": false,
|
|
96
96
|
"complexType": {
|
|
97
|
-
"original": "| 'card-video'\r\n | 'card-tall'\r\n | 'card-wide'\r\n | 'speed-bump'\r\n | 'card-playlist'\r\n | 'card-video-intro'\r\n | 'card-2up'\r\n | 'extra-tall'\r\n | 'color-outlined'\r\n | 'result-box'\r\n | 'most-popular'\r\n | 'simple-card'",
|
|
98
|
-
"resolved": "\"card-2up\" | \"card-playlist\" | \"card-tall\" | \"card-video\" | \"card-video-intro\" | \"card-wide\" | \"color-outlined\" | \"extra-tall\" | \"most-popular\" | \"result-box\" | \"simple-card\" | \"speed-bump\"",
|
|
97
|
+
"original": "| 'card-video'\r\n | 'card-tall'\r\n | 'card-wide'\r\n | 'speed-bump'\r\n | 'card-playlist'\r\n | 'card-video-intro'\r\n | 'card-2up'\r\n | 'extra-tall'\r\n | 'color-outlined'\r\n | 'result-box'\r\n | 'most-popular'\r\n | 'simple-card'\r\n | 'event-podcast'",
|
|
98
|
+
"resolved": "\"card-2up\" | \"card-playlist\" | \"card-tall\" | \"card-video\" | \"card-video-intro\" | \"card-wide\" | \"color-outlined\" | \"event-podcast\" | \"extra-tall\" | \"most-popular\" | \"result-box\" | \"simple-card\" | \"speed-bump\"",
|
|
99
99
|
"references": {}
|
|
100
100
|
},
|
|
101
101
|
"required": false,
|
|
@@ -2205,6 +2205,35 @@ ptc-link, ptc-square-card,
|
|
|
2205
2205
|
}
|
|
2206
2206
|
}
|
|
2207
2207
|
|
|
2208
|
+
.ppc-skeleton-preloader {
|
|
2209
|
+
display: flex;
|
|
2210
|
+
justify-content: center;
|
|
2211
|
+
align-items: center;
|
|
2212
|
+
position: fixed;
|
|
2213
|
+
left: 0;
|
|
2214
|
+
right: 0;
|
|
2215
|
+
width: 100%;
|
|
2216
|
+
height: 100%;
|
|
2217
|
+
background: #F3F3F3;
|
|
2218
|
+
}
|
|
2219
|
+
.ppc-skeleton-preloader .dots-loader {
|
|
2220
|
+
color: var(--Green-6, #33A13C);
|
|
2221
|
+
width: 4px;
|
|
2222
|
+
aspect-ratio: 1;
|
|
2223
|
+
border-radius: 50%;
|
|
2224
|
+
box-shadow: 19px 0 0 7px, 38px 0 0 3px, 57px 0 0 0;
|
|
2225
|
+
transform: translateX(-38px);
|
|
2226
|
+
animation: dotsAnimation 0.5s infinite alternate linear;
|
|
2227
|
+
}
|
|
2228
|
+
@keyframes dotsAnimation {
|
|
2229
|
+
50% {
|
|
2230
|
+
box-shadow: 19px 0 0 3px, 38px 0 0 7px, 57px 0 0 3px;
|
|
2231
|
+
}
|
|
2232
|
+
100% {
|
|
2233
|
+
box-shadow: 19px 0 0 0, 38px 0 0 3px, 57px 0 0 7px;
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2236
|
+
|
|
2208
2237
|
@keyframes pulse {
|
|
2209
2238
|
0% {
|
|
2210
2239
|
opacity: 0.5;
|
|
@@ -69,6 +69,9 @@ export class PtcPreloaderSection {
|
|
|
69
69
|
case 'pdf-skeleton': {
|
|
70
70
|
return (h("div", { class: "preloader-wrapper pdf-skeleton-preloader" }, h("div", { class: "jumbotron-sec" }, h("div", { class: "ptc-container skeleton-jumbotron" }, h("div", { class: "is-grid has-no-row-gap has-col-gap-lg" }, h("div", { class: "is-col-12 is-col-8-lg" }, h("div", { class: "sekleton" }, h("div", { class: "skeleton-block thin short" }), h("div", { class: "skeleton-block thick" }), h("div", { class: "skeleton-block thick" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "cta-wrap" }, h("div", { class: "skeleton-block cta" }))))))), h("div", { class: "ptc-container" }, h("div", { class: "section-1" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block line-1" }), h("div", { class: "skeleton-block line-2 thin" }), h("div", { class: "skeleton-block line-3 thin" }), h("div", { class: "skeleton-block line-4 thin" }))), h("div", { class: "pdf-area" }, h("div", { class: "pdf-section" }, h("div", { class: "top-border" }), h("div", { class: "pdf-body" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thick" }), h("div", { class: "skeleton-block thick" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block thick-block" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }))))))));
|
|
71
71
|
}
|
|
72
|
+
case 'ppc-skeleton': {
|
|
73
|
+
return (h("div", { class: "preloader-wrapper" }, h("div", { class: "ppc-skeleton-preloader" }, h("div", { class: "ptc-container " }, h("div", { class: "dots-loader" })))));
|
|
74
|
+
}
|
|
72
75
|
default:
|
|
73
76
|
return (h("div", { class: "ptc-section-standard preload-min-height" }, h("div", { class: "ptc-container" }, h("max-width-container", { "max-width": "960", breakpoint: 1200 }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-header" }, h("div", { class: "skeleton-block bold" }), h("div", { class: "skeleton-block wide bold" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block medium" }), h("div", { class: "skeleton-block narrow" }), h("div", { class: "skeleton-block short" })), h("div", { class: "skeleton-image" }), h("div", { class: "skeleton-text" }, h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block long" }), h("div", { class: "skeleton-block narrow" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block medium" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block long" }), h("div", { class: "skeleton-block medium" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block long" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block medium" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block wide" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block short bold" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block wide" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block medium" })))))));
|
|
74
77
|
}
|
|
@@ -264,7 +264,7 @@ export class PtcTextfield {
|
|
|
264
264
|
${!!this.ptcMaxLength ? 'field-with-counter' : ''}` }, h("div", { class: "mdc-text-field-helper-text mdc-text-field-helper-text--validation-msg", id: this.fieldName }, h("svg", { class: "input-error-svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { "clip-path": "url(#clip0_12_1424)" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.3156 0L16 4.68444V11.3156L11.3156 16H4.68444L0 11.3156V4.68444L4.68444 0H11.3156ZM8 10.4C7.36 10.4 6.84444 10.9156 6.84444 11.5556C6.84444 12.1956 7.36 12.7111 8 12.7111C8.64 12.7111 9.15556 12.1956 9.15556 11.5556C9.15556 10.9156 8.64 10.4 8 10.4ZM8.88889 3.55556H7.11111V8.88889H8.88889V3.55556Z", fill: "#AF3231" })), h("defs", null, h("clipPath", { id: "clip0_12_1424" }, h("rect", { width: "16", height: "16", fill: "white" })))), this.helpertext), this.infoText ? h("div", { class: "mdc-text-field-helper-text mdc-text-field-helper-text--info-msg" }, this.infoText) : null, this.ptcMaxLength ? (h("div", { class: "mdc-text-field-character-counter" }, this.inputValue.length, " / ", this.ptcMaxLength)) : null),
|
|
265
265
|
/* Alert message */
|
|
266
266
|
h("div", { class: "ptc-text-field-alert-line" }, !!this.alertText ? (h("div", { class: "mdc-text-field-helper-text--alert-msg" }, h("svg", { class: "alert-msg-svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { id: "Info", "clip-path": "url(#clip0_227_7670)" }, h("path", { id: "Vector", "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM9 6V13H7V6H9ZM8 5C8.55229 5 9 4.55228 9 4C9 3.44772 8.55229 3 8 3C7.44772 3 7 3.44772 7 4C7 4.55228 7.44772 5 8 5Z", fill: "#197BC0" })), h("defs", null, h("clipPath", { id: "clip0_227_7670" }, h("rect", { width: "16", height: "16", fill: "white" })))), this.alertText)) : null, !!this.alertText && this.alertTextContent ? h("div", { class: "mdc-text-field-helper-text--alert-content-msg" }, this.alertTextContent) : null),
|
|
267
|
-
]) : (h("input", { id: this.fieldId, type: "hidden", "data-eloqua-name": this.ptcDataEloquaName, value: this.inputValue }))));
|
|
267
|
+
]) : (h("input", { id: this.fieldId, name: this.fieldName, type: "hidden", "data-eloqua-name": this.ptcDataEloquaName, value: this.inputValue }))));
|
|
268
268
|
}
|
|
269
269
|
static get is() { return "ptc-textfield"; }
|
|
270
270
|
static get originalStyleUrls() {
|
|
@@ -68,6 +68,12 @@ export const EventJumbotronExample: {
|
|
|
68
68
|
new (): EventJumbotronExample;
|
|
69
69
|
};
|
|
70
70
|
|
|
71
|
+
interface EventPodcastSliderExample extends Components.EventPodcastSliderExample, HTMLElement {}
|
|
72
|
+
export const EventPodcastSliderExample: {
|
|
73
|
+
prototype: EventPodcastSliderExample;
|
|
74
|
+
new (): EventPodcastSliderExample;
|
|
75
|
+
};
|
|
76
|
+
|
|
71
77
|
interface FeaturedEventsSliderExample extends Components.FeaturedEventsSliderExample, HTMLElement {}
|
|
72
78
|
export const FeaturedEventsSliderExample: {
|
|
73
79
|
prototype: FeaturedEventsSliderExample;
|