@ptcwebops/ptcw-design 4.3.6 → 4.3.8

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.
Files changed (60) hide show
  1. package/dist/cjs/homepage-jumbotron.cjs.entry.js +28 -3
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/ptc-background-video.cjs.entry.js +1 -1
  4. package/dist/cjs/ptc-button.cjs.entry.js +1 -1
  5. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +1 -1
  6. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +6 -2
  7. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +3 -3
  8. package/dist/cjs/ptc-media-card.cjs.entry.js +2 -2
  9. package/dist/cjs/ptc-square-card.cjs.entry.js +1 -1
  10. package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +2 -2
  11. package/dist/cjs/ptcw-design.cjs.js +1 -1
  12. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +17 -0
  13. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.js +35 -2
  14. package/dist/collection/components/ptc-background-video/ptc-background-video.css +5 -0
  15. package/dist/collection/components/ptc-background-video/ptc-background-video.js +2 -2
  16. package/dist/collection/components/ptc-button/ptc-button.css +1 -0
  17. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +1 -2
  18. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +27 -0
  19. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +23 -1
  20. package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +5 -1
  21. package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.js +2 -2
  22. package/dist/collection/components/ptc-media-card/ptc-media-card.css +2 -2
  23. package/dist/collection/components/ptc-media-card/ptc-media-card.js +1 -1
  24. package/dist/collection/components/ptc-square-card/ptc-square-card.css +14 -0
  25. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +21 -18
  26. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +1 -1
  27. package/dist/custom-elements/index.js +47 -18
  28. package/dist/esm/homepage-jumbotron.entry.js +28 -3
  29. package/dist/esm/loader.js +1 -1
  30. package/dist/esm/ptc-background-video.entry.js +1 -1
  31. package/dist/esm/ptc-button.entry.js +1 -1
  32. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  33. package/dist/esm/ptc-filter-level-theater.entry.js +6 -2
  34. package/dist/esm/ptc-homepage-video-background.entry.js +3 -3
  35. package/dist/esm/ptc-media-card.entry.js +2 -2
  36. package/dist/esm/ptc-square-card.entry.js +1 -1
  37. package/dist/esm/ptc-theater-video-modal.entry.js +2 -2
  38. package/dist/esm/ptcw-design.js +1 -1
  39. package/dist/ptcw-design/p-0716cb30.entry.js +1 -0
  40. package/dist/ptcw-design/{p-4c28c632.entry.js → p-2403fc07.entry.js} +1 -1
  41. package/dist/ptcw-design/{p-bb8f914e.entry.js → p-2b22a895.entry.js} +1 -1
  42. package/dist/ptcw-design/p-36abaa95.entry.js +1 -0
  43. package/dist/ptcw-design/p-5d51c3d9.entry.js +1 -0
  44. package/dist/ptcw-design/{p-5c6ed757.entry.js → p-635082aa.entry.js} +1 -1
  45. package/dist/ptcw-design/p-667a4240.entry.js +1 -0
  46. package/dist/ptcw-design/p-a733e29a.entry.js +1 -0
  47. package/dist/ptcw-design/p-f3187f9d.entry.js +1 -0
  48. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  49. package/dist/types/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.d.ts +7 -0
  50. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +1 -1
  51. package/dist/types/components/ptc-filter-level-theater/ptc-filter-level-theater.d.ts +2 -0
  52. package/dist/types/components.d.ts +4 -2
  53. package/package.json +1 -1
  54. package/readme.md +1 -1
  55. package/dist/ptcw-design/p-0510f2f5.entry.js +0 -1
  56. package/dist/ptcw-design/p-07723bd0.entry.js +0 -1
  57. package/dist/ptcw-design/p-5a07616e.entry.js +0 -1
  58. package/dist/ptcw-design/p-64bea65b.entry.js +0 -1
  59. package/dist/ptcw-design/p-e14bf61d.entry.js +0 -1
  60. package/dist/ptcw-design/p-f054d968.entry.js +0 -1
@@ -166,10 +166,13 @@ ptc-link, ptc-square-card {
166
166
  left: 0;
167
167
  right: 0;
168
168
  bottom: 0;
169
- transition: opacity var(--ptc-transition-medium) var(--ptc-ease-out);
170
169
  z-index: 8;
171
170
  opacity: 0;
172
171
  }
172
+ .card-links .card-section .card-link .bgb,
173
+ .card-links .card-section .card-link .bgh {
174
+ transition: opacity var(--ptc-transition-medium) var(--ptc-ease-out);
175
+ }
173
176
  .card-links .card-section .card-link .bgb {
174
177
  background: linear-gradient(85deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.07) 100.13%);
175
178
  opacity: 1;
@@ -189,6 +192,7 @@ ptc-link, ptc-square-card {
189
192
  }
190
193
  .card-links .card-section .card-link:active .bgb,
191
194
  .card-links .card-section .card-link:active .bgh {
195
+ display: none;
192
196
  opacity: 0;
193
197
  }
194
198
  .card-links .card-section .card-link:active .bgp {
@@ -90,10 +90,10 @@ export class PtcHomepageVideoBackground {
90
90
  }
91
91
  }
92
92
  render() {
93
- return (h(Host, null, h("ptc-preloader-section", { "section-type": 'home-video-background' }, h("ptc-background-video", Object.assign({}, this.getBackgroundVideoSettings(), { "overlay-type": 'dark' }), h("div", { class: "container" }, h("div", { class: "primary-content-wrapper" }, h("slot", { name: "primary-content" })), h("div", { class: "card-links" }, h("div", { class: "secondary-content-wrapper" }, h("slot", { name: "secondary-content" })), h("div", Object.assign({ class: "card-section" }, this.getSliderBindings()), this.links && this.links.map((link, i) => {
93
+ return (h(Host, null, h("ptc-background-video", Object.assign({}, this.getBackgroundVideoSettings(), { "overlay-type": 'dark' }), h("div", { class: "container" }, h("div", { class: "primary-content-wrapper" }, h("slot", { name: "primary-content" })), h("div", { class: "card-links" }, h("div", { class: "secondary-content-wrapper" }, h("slot", { name: "secondary-content" })), h("div", Object.assign({ class: "card-section" }, this.getSliderBindings()), this.links && this.links.map((link, i) => {
94
94
  const icon = link.getAttribute('data-icon');
95
95
  return (h("a", { class: `card-link card-link-${i + 1}`, "tab-index": i + 1, href: link.href, onClick: (e) => this.onLinkClick(e) }, h("div", { class: "bgb" }), h("div", { class: "bgh" }), h("div", { class: "bgp" }), icon && h("icon-asset", { type: "ptc", size: "large", color: 'white', name: icon }), h("span", { class: "link-text" }, link.textContent)));
96
- }))))))));
96
+ })))))));
97
97
  }
98
98
  getBackgroundVideoSettings() {
99
99
  return {
@@ -95,7 +95,7 @@ ptc-link, ptc-square-card {
95
95
  :host(.media-card) .card-wrap .car-content {
96
96
  padding: 20px 30px 30px 30px;
97
97
  }
98
- :host(.media-card) .card-wrap .car-content h4,
98
+ :host(.media-card) .card-wrap .car-content p,
99
99
  :host(.media-card) .card-wrap .car-content h3 {
100
100
  color: #fff;
101
101
  }
@@ -122,7 +122,7 @@ ptc-link, ptc-square-card {
122
122
  background-size: initial;
123
123
  top: -10px;
124
124
  }
125
- :host(.media-card) .card-wrap .car-content h4 {
125
+ :host(.media-card) .card-wrap .car-content p {
126
126
  text-shadow: 1px 3px 30px var(--color-black);
127
127
  font-weight: var(--ptc-font-weight-semibold);
128
128
  display: block;
@@ -27,7 +27,7 @@ export class PtcMediaCard {
27
27
  getCardText() {
28
28
  if (this.cardType === 'media-card') {
29
29
  return [
30
- h("div", { class: "card-wrap" }, h("div", { class: "car-content" }, h("h4", null, this.category, " "), h("h3", null, this.heading))),
30
+ h("div", { class: "card-wrap" }, h("div", { class: "car-content" }, h("p", null, this.category, " "), h("h3", null, this.heading))),
31
31
  ];
32
32
  }
33
33
  }
@@ -63,6 +63,20 @@ ptc-link, ptc-square-card {
63
63
  height: auto;
64
64
  width: 200px;
65
65
  }
66
+ :host .card-border .before-icon-h3 {
67
+ line-height: var(--ptc-line-height-densest);
68
+ font-size: var(--ptc-font-size-x-small);
69
+ font-weight: var(--ptc-font-weight-semibold);
70
+ color: var(--color-gray-10);
71
+ }
72
+ :host .card-border .after-icon-p {
73
+ color: var(--color-gray-10);
74
+ line-height: var(--ptc-line-height-densest);
75
+ font-size: var(--ptc-font-size-x-small);
76
+ font-weight: var(--ptc-font-weight-semibold);
77
+ margin-top: 0;
78
+ margin-bottom: var(--ptc-element-spacing-05);
79
+ }
66
80
  :host .square-padding {
67
81
  margin: var(--ptc-element-spacing-02);
68
82
  }
@@ -5639,7 +5639,7 @@ Credits to Dave Berning
5639
5639
  left: 0;
5640
5640
  width: 100%;
5641
5641
  height: 100%;
5642
- background-color: var(--color-gray-12);
5642
+ background-color: rgba(78, 93, 102, 0.6);
5643
5643
  display: flex;
5644
5644
  flex-direction: column;
5645
5645
  justify-content: center;
@@ -5667,14 +5667,14 @@ Credits to Dave Berning
5667
5667
  }
5668
5668
  .modal .modal-container {
5669
5669
  position: relative;
5670
- padding-top: 100px;
5671
- padding-bottom: 100px;
5670
+ padding: 24px;
5672
5671
  height: 100vh;
5673
5672
  overflow-y: auto;
5674
5673
  overflow-x: hidden;
5675
5674
  color: var(--color-white);
5676
5675
  font-size: var(--ptc-font-size-small);
5677
5676
  line-height: var(--ptc-line-height-p);
5677
+ background-color: var(--color-gray-12);
5678
5678
  }
5679
5679
  @media only screen and (min-width: 992px) {
5680
5680
  .modal .modal-container {
@@ -5698,12 +5698,17 @@ Credits to Dave Berning
5698
5698
  background-color: transparent;
5699
5699
  }
5700
5700
  }
5701
+ .modal .modal-container .vm-close-container {
5702
+ width: 100%;
5703
+ display: flex;
5704
+ justify-content: right;
5705
+ margin-bottom: 8px;
5706
+ }
5701
5707
  .modal .modal-container .vm-close {
5702
- position: absolute;
5703
- right: 24px;
5704
- top: 24px;
5708
+ width: max-content;
5705
5709
  cursor: pointer;
5706
- padding: 10px;
5710
+ padding: 8px;
5711
+ transform: translateX(8px);
5707
5712
  }
5708
5713
  @media only screen and (min-width: 1200px) {
5709
5714
  .modal .modal-container .vm-close {
@@ -5764,29 +5769,27 @@ Credits to Dave Berning
5764
5769
  border-radius: 4px;
5765
5770
  }
5766
5771
  .modal.modal-only-video .modal-wrapper {
5767
- max-height: 80vh;
5768
- width: 90vw;
5772
+ width: 100vw;
5769
5773
  position: relative;
5774
+ padding: 40px;
5775
+ background-color: var(--color-gray-12);
5770
5776
  }
5771
- @media only screen and (min-width: 768px) {
5777
+ @media only screen and (min-width: 992px) {
5772
5778
  .modal.modal-only-video .modal-wrapper {
5773
5779
  width: 75vw;
5774
- padding: 40px;
5775
5780
  }
5776
5781
  }
5777
5782
  .modal.modal-only-video .modal-wrapper .vm-close {
5778
5783
  position: absolute;
5779
5784
  right: 0;
5780
- top: -40px;
5785
+ top: 0;
5786
+ padding: var(--ptc-element-spacing-02);
5781
5787
  cursor: pointer;
5782
- }
5783
- @media only screen and (min-width: 768px) {
5784
- .modal.modal-only-video .modal-wrapper .vm-close {
5785
- right: 0;
5786
- top: 10px;
5787
- }
5788
+ margin-right: var(--ptc-element-spacing-04);
5789
+ margin-top: var(--ptc-element-spacing-04);
5788
5790
  }
5789
5791
  .modal.modal-only-video .modal-wrapper .aspect-ratio-container {
5790
5792
  width: 100%;
5791
5793
  height: 100%;
5794
+ margin-top: 16px;
5792
5795
  }
@@ -75,7 +75,7 @@ export class PtcTheaterVideoModal {
75
75
  }
76
76
  render() {
77
77
  return (h(Host, null, h("slot", null), this.showModal &&
78
- (this.modalType != 'only-video' ? (h("div", { class: "modal" }, h("div", { class: "modal-container ptc-container" }, h("div", { onClick: () => this.closeCardModal(), class: 'vm-close' }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" }, h("g", { "clip-path": "url(#clip0_214_927)" }, h("path", { d: "M18 2.8125L15.1875 0L9 6.1875L2.8125 0L0 2.8125L6.1875 9L0 15.1875L2.8125 18L9 11.8125L15.1875 18L18 15.1875L11.8125 9L18 2.8125Z", fill: "white" })), h("defs", null, h("clipPath", { id: "clip0_214_927" }, h("rect", { width: "18", height: "18", fill: "white" }))))), h("div", { class: "is-grid has-col-gap-xl has-row-gap-lg" }, h("div", { class: 'is-col is-col-7-lg' }, h("div", { class: "v-modal-left" }, h("div", { class: 'v-nav' }, h("button", { onClick: () => this.showPrevCard(), disabled: this.currentCardIndex === 0 }, "Previous Video"), h("div", { class: 'v-number' }, ' ', this.currentCardIndex + 1, " of ", this.cards.length), h("button", { onClick: () => this.showNextCard(), disabled: this.currentCardIndex === this.cards.length - 1 }, "Next Video")), h("div", { class: 'aspect-ratio-container ' }, h("div", { class: 'video-container' }, h("video-js", { id: "bcPlayer", "data-account": "1532789042001", "data-player": "HknUe20R", "data-embed": "default", "data-video-id": this.cards[this.currentCardIndex].videoId, controls: "", "data-application-id": "", class: `dpm-vj-${this.currentCardIndex} video-js vjs-fills` }))), h("div", { class: "card-description-content" }, h("ptc-title", { type: "h3", "title-size": "large", "title-color": "white", upperline: "no-upperline", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", styles: ".is-standard{margin-top:14px !important}" }, this.cards[this.currentCardIndex].title), h("ptc-para", { "font-size": "medium", "font-weight": "w-4", "para-color": "white", "para-margin": "margin-3", "para-line-h": "line-height-p", innerHTML: this.cards[this.currentCardIndex].cardDescription })))), h("div", { class: 'is-col is-col-5-lg' }, h("div", { class: "video-modal-description" }, h("div", { innerHTML: this.cards[this.currentCardIndex].descriptionModal }))))))) : (h("div", { class: "modal modal-only-video" }, h("div", { class: "modal-wrapper" }, h("div", { onClick: () => this.closeCardModal(), class: 'vm-close' }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" }, h("g", { "clip-path": "url(#clip0_214_927)" }, h("path", { d: "M18 2.8125L15.1875 0L9 6.1875L2.8125 0L0 2.8125L6.1875 9L0 15.1875L2.8125 18L9 11.8125L15.1875 18L18 15.1875L11.8125 9L18 2.8125Z", fill: "white" })), h("defs", null, h("clipPath", { id: "clip0_214_927" }, h("rect", { width: "18", height: "18", fill: "white" }))))), h("div", { class: 'aspect-ratio-container ' }, h("div", { class: 'video-container' }, h("video-js", { id: "bcPlayer", "data-account": "1532789042001", "data-player": "HknUe20R", "data-embed": "default", "data-video-id": this.cards[this.currentCardIndex].videoId, controls: "", "data-application-id": "", class: `dpm-vj-${this.currentCardIndex} video-js vjs-fills` })))))))));
78
+ (this.modalType != 'only-video' ? (h("div", { class: "modal" }, h("div", { class: "modal-container ptc-container" }, h("div", { class: "vm-close-container" }, h("div", { onClick: () => this.closeCardModal(), class: 'vm-close' }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" }, h("g", { "clip-path": "url(#clip0_214_927)" }, h("path", { d: "M18 2.8125L15.1875 0L9 6.1875L2.8125 0L0 2.8125L6.1875 9L0 15.1875L2.8125 18L9 11.8125L15.1875 18L18 15.1875L11.8125 9L18 2.8125Z", fill: "white" })), h("defs", null, h("clipPath", { id: "clip0_214_927" }, h("rect", { width: "18", height: "18", fill: "white" })))))), h("div", { class: "is-grid has-col-gap-xl has-row-gap-lg" }, h("div", { class: 'is-col is-col-7-lg' }, h("div", { class: "v-modal-left" }, h("div", { class: 'v-nav' }, h("button", { onClick: () => this.showPrevCard(), disabled: this.currentCardIndex === 0 }, "Previous Video"), h("div", { class: 'v-number' }, ' ', this.currentCardIndex + 1, " of ", this.cards.length), h("button", { onClick: () => this.showNextCard(), disabled: this.currentCardIndex === this.cards.length - 1 }, "Next Video")), h("div", { class: 'aspect-ratio-container ' }, h("div", { class: 'video-container' }, h("video-js", { id: "bcPlayer", "data-account": "1532789042001", "data-player": "HknUe20R", "data-embed": "default", "data-video-id": this.cards[this.currentCardIndex].videoId, controls: "", "data-application-id": "", class: `dpm-vj-${this.currentCardIndex} video-js vjs-fills` }))), h("div", { class: "card-description-content" }, h("ptc-title", { type: "h3", "title-size": "large", "title-color": "white", upperline: "no-upperline", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", styles: ".is-standard{margin-top:14px !important}" }, this.cards[this.currentCardIndex].title), h("ptc-para", { "font-size": "medium", "font-weight": "w-4", "para-color": "white", "para-margin": "margin-3", "para-line-h": "line-height-p", innerHTML: this.cards[this.currentCardIndex].cardDescription })))), h("div", { class: 'is-col is-col-5-lg' }, h("div", { class: "video-modal-description" }, h("div", { innerHTML: this.cards[this.currentCardIndex].descriptionModal }))))))) : (h("div", { class: "modal modal-only-video" }, h("div", { class: "modal-wrapper" }, h("div", { onClick: () => this.closeCardModal(), class: 'vm-close' }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" }, h("g", { "clip-path": "url(#clip0_214_927)" }, h("path", { d: "M18 2.8125L15.1875 0L9 6.1875L2.8125 0L0 2.8125L6.1875 9L0 15.1875L2.8125 18L9 11.8125L15.1875 18L18 15.1875L11.8125 9L18 2.8125Z", fill: "white" })), h("defs", null, h("clipPath", { id: "clip0_214_927" }, h("rect", { width: "18", height: "18", fill: "white" }))))), h("div", { class: 'aspect-ratio-container ' }, h("div", { class: 'video-container' }, h("video-js", { id: "bcPlayer", "data-account": "1532789042001", "data-player": "HknUe20R", "data-embed": "default", "data-video-id": this.cards[this.currentCardIndex].videoId, controls: "", "data-application-id": "", class: `dpm-vj-${this.currentCardIndex} video-js vjs-fills` })))))))));
79
79
  }
80
80
  static get is() { return "ptc-theater-video-modal"; }
81
81
  static get encapsulation() { return "scoped"; }