@ptcwebops/ptcw-design 2.0.2 → 2.0.4

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 (56) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  3. package/dist/cjs/ptc-card.cjs.entry.js +1 -1
  4. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +23 -0
  5. package/dist/cjs/ptc-modal.cjs.entry.js +1 -1
  6. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +1 -1
  7. package/dist/cjs/ptc-readmore-char.cjs.entry.js +2 -0
  8. package/dist/cjs/ptc-slit-card.cjs.entry.js +1 -1
  9. package/dist/cjs/ptcw-design.cjs.js +1 -1
  10. package/dist/collection/collection-manifest.json +1 -2
  11. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +1 -1
  12. package/dist/collection/components/ptc-card/ptc-card.css +2 -1
  13. package/dist/collection/components/{ptc-minimized-header/ptc-minimized-header.css → ptc-minimized-nav/ptc-minimized-nav.css} +46 -0
  14. package/dist/collection/components/{ptc-minimized-header/ptc-minimized-header.js → ptc-minimized-nav/ptc-minimized-nav.js} +24 -5
  15. package/dist/collection/components/ptc-modal/ptc-modal.css +6 -1
  16. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +1 -1
  17. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +19 -0
  18. package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +1 -1
  19. package/dist/custom-elements/index.d.ts +4 -10
  20. package/dist/custom-elements/index.js +15 -28
  21. package/dist/esm/loader.js +1 -1
  22. package/dist/esm/ptc-bio-card.entry.js +1 -1
  23. package/dist/esm/ptc-card.entry.js +1 -1
  24. package/dist/esm/ptc-minimized-nav.entry.js +19 -0
  25. package/dist/esm/ptc-modal.entry.js +1 -1
  26. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  27. package/dist/esm/ptc-readmore-char.entry.js +3 -1
  28. package/dist/esm/ptc-slit-card.entry.js +1 -1
  29. package/dist/esm/ptcw-design.js +1 -1
  30. package/dist/ptcw-design/p-2b079e72.entry.js +1 -0
  31. package/dist/ptcw-design/p-362c38ff.entry.js +1 -0
  32. package/dist/ptcw-design/p-399345bb.entry.js +1 -0
  33. package/dist/ptcw-design/{p-c005febf.entry.js → p-5e0dd0fe.entry.js} +1 -1
  34. package/dist/ptcw-design/p-847d85ba.entry.js +1 -0
  35. package/dist/ptcw-design/p-a7961cf6.entry.js +1 -0
  36. package/dist/ptcw-design/p-f041f6e7.entry.js +1 -0
  37. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  38. package/dist/types/components/{ptc-minimized-header/ptc-minimized-header.d.ts → ptc-minimized-nav/ptc-minimized-nav.d.ts} +2 -1
  39. package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +2 -0
  40. package/dist/types/components.d.ts +16 -22
  41. package/package.json +1 -1
  42. package/readme.md +1 -1
  43. package/dist/cjs/ptc-minimized-footer.cjs.entry.js +0 -19
  44. package/dist/cjs/ptc-minimized-header.cjs.entry.js +0 -22
  45. package/dist/collection/components/ptc-minimized-footer/ptc-minimized-footer.css +0 -46
  46. package/dist/collection/components/ptc-minimized-footer/ptc-minimized-footer.js +0 -18
  47. package/dist/esm/ptc-minimized-footer.entry.js +0 -15
  48. package/dist/esm/ptc-minimized-header.entry.js +0 -18
  49. package/dist/ptcw-design/p-15af7aee.entry.js +0 -1
  50. package/dist/ptcw-design/p-561d7a5c.entry.js +0 -1
  51. package/dist/ptcw-design/p-976b3b0c.entry.js +0 -1
  52. package/dist/ptcw-design/p-99b10f83.entry.js +0 -1
  53. package/dist/ptcw-design/p-e550725e.entry.js +0 -1
  54. package/dist/ptcw-design/p-e71c4b6b.entry.js +0 -1
  55. package/dist/ptcw-design/p-f24c57cf.entry.js +0 -1
  56. package/dist/types/components/ptc-minimized-footer/ptc-minimized-footer.d.ts +0 -3
@@ -44,8 +44,7 @@
44
44
  "./components/ptc-list/ptc-list.js",
45
45
  "./components/ptc-lottie/ptc-lottie.js",
46
46
  "./components/ptc-media-card/ptc-media-card.js",
47
- "./components/ptc-minimized-footer/ptc-minimized-footer.js",
48
- "./components/ptc-minimized-header/ptc-minimized-header.js",
47
+ "./components/ptc-minimized-nav/ptc-minimized-nav.js",
49
48
  "./components/ptc-mobile-select/ptc-mobile-select.js",
50
49
  "./components/ptc-modal/ptc-modal.js",
51
50
  "./components/ptc-nav-card/ptc-nav-card.js",
@@ -18,7 +18,7 @@ export class PtcBioCard {
18
18
  });
19
19
  }
20
20
  render() {
21
- return (h(Host, { onClick: () => { this.openModal(); }, type: "button" }, h("div", { class: "bio-card" }, h("div", { class: "bio-card__image" }, h("img", { src: this.image, alt: `${this.name} profile image` })), h("div", { class: "bio-card__content" }, h("div", null, h("h3", { class: "bio-card__name" }, this.name), h("p", { class: "bio-card__job-title" }, this.jobTitle)), (this.linkedin || this.twitter) && (h("div", { class: "bio-card__social-links" }, this.linkedin && (h("a", { href: this.linkedin, target: "_blank", class: "tw social-icon", "aria-label": "linkedin" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient1-in); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "31.995", height: "36.794", viewBox: "0 0 31.995 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient1-in", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("path", { d: "M-416.964 153.563h-2.487v-7.987h2.487zm-1.311-8.985h-.018a1.385 1.385 0 0 1-1.485-1.279v-.107a1.4 1.4 0 0 1 1.524-1.385 1.393 1.393 0 0 1 1.5 1.278v.107a1.4 1.4 0 0 1-1.521 1.386zm11.283 8.985h-2.842v-4.132c0-1.066-.441-1.819-1.421-1.819a1.422 1.422 0 0 0-1.35.977 1.82 1.82 0 0 0-.06.65v4.324h-2.778s.036-7.319 0-7.983h2.8v1.265a2.563 2.563 0 0 1 2.487-1.329c1.776 0 3.165 1.147 3.165 3.62z", class: "cls-2", "data-name": "Path 8769", transform: "translate(429.342 -128.977)" })))), this.twitter && (h("a", { href: this.twitter, target: "_blank", class: "tw social-icon", "aria-label": "twitter" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient0-tw); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "31.995", height: "36.794", viewBox: "0 0 31.995 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient0-tw", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("g", { "data-name": "Group 3004", transform: "translate(9.205 13.034)" }, h("g", null, h("path", { d: "M-617.4 147a5.577 5.577 0 0 1-1.6.436 2.78 2.78 0 0 0 1.219-1.535 5.54 5.54 0 0 1-1.765.674 2.78 2.78 0 0 0-3.93-.118 2.782 2.782 0 0 0-.874 2.018 2.754 2.754 0 0 0 .072.632 7.9 7.9 0 0 1-5.73-2.9 2.784 2.784 0 0 0 .861 3.71 2.784 2.784 0 0 1-1.26-.346v.034a2.78 2.78 0 0 0 2.231 2.724 2.714 2.714 0 0 1-.734.1 2.774 2.774 0 0 1-.534-.049 2.776 2.776 0 0 0 2.6 1.93 5.619 5.619 0 0 1-4.1 1.151 7.874 7.874 0 0 0 4.259 1.249 7.844 7.844 0 0 0 7.9-7.9v-.376A5.652 5.652 0 0 0-617.4 147", class: "cls-2", "data-name": "Path 4252", transform: "translate(630.939 -145.697)" })))))))))), h("ptc-modal", { id: "bio-modal", show: this.showModal, size: "lg", "border-radius": 'large', "is-bio-modal": true }, h("div", { class: "modal-wrap" }, h("div", { class: "bio-modal-left" }, h("div", { class: "bio-modal__image" }, h("img", { src: this.image, alt: `${this.name} profile image` })), (this.linkedin || this.twitter) && (h("div", { class: "bio-card__social-links" }, this.linkedin && (h("a", { href: this.linkedin, target: "_blank", class: "tw social-icon", "aria-label": "linkedin" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient1-in); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "31.995", height: "36.794", viewBox: "0 0 31.995 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient1-in", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("path", { d: "M-416.964 153.563h-2.487v-7.987h2.487zm-1.311-8.985h-.018a1.385 1.385 0 0 1-1.485-1.279v-.107a1.4 1.4 0 0 1 1.524-1.385 1.393 1.393 0 0 1 1.5 1.278v.107a1.4 1.4 0 0 1-1.521 1.386zm11.283 8.985h-2.842v-4.132c0-1.066-.441-1.819-1.421-1.819a1.422 1.422 0 0 0-1.35.977 1.82 1.82 0 0 0-.06.65v4.324h-2.778s.036-7.319 0-7.983h2.8v1.265a2.563 2.563 0 0 1 2.487-1.329c1.776 0 3.165 1.147 3.165 3.62z", class: "cls-2", "data-name": "Path 8769", transform: "translate(429.342 -128.977)" })))), this.twitter && (h("a", { href: this.twitter, target: "_blank", class: "tw social-icon", "aria-label": "twitter" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient0-tw); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "31.995", height: "36.794", viewBox: "0 0 31.995 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient0-tw", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("g", { "data-name": "Group 3004", transform: "translate(9.205 13.034)" }, h("g", null, h("path", { d: "M-617.4 147a5.577 5.577 0 0 1-1.6.436 2.78 2.78 0 0 0 1.219-1.535 5.54 5.54 0 0 1-1.765.674 2.78 2.78 0 0 0-3.93-.118 2.782 2.782 0 0 0-.874 2.018 2.754 2.754 0 0 0 .072.632 7.9 7.9 0 0 1-5.73-2.9 2.784 2.784 0 0 0 .861 3.71 2.784 2.784 0 0 1-1.26-.346v.034a2.78 2.78 0 0 0 2.231 2.724 2.714 2.714 0 0 1-.734.1 2.774 2.774 0 0 1-.534-.049 2.776 2.776 0 0 0 2.6 1.93 5.619 5.619 0 0 1-4.1 1.151 7.874 7.874 0 0 0 4.259 1.249 7.844 7.844 0 0 0 7.9-7.9v-.376A5.652 5.652 0 0 0-617.4 147", class: "cls-2", "data-name": "Path 4252", transform: "translate(630.939 -145.697)" }))))))))), h("div", { class: "bio-modal-right" }, h("div", { class: "bio-modal-header" }, h("h2", { class: "bio-card__name" }, this.name), h("p", { class: "bio-card__job-title" }, this.jobTitle)), h("div", { class: "bio-modal-description" }, h("slot", null)))))));
21
+ return (h(Host, { onClick: () => { this.openModal(); }, type: "button" }, h("div", { class: "bio-card" }, h("div", { class: "bio-card__image" }, h("img", { src: this.image, alt: `${this.name} profile image` })), h("div", { class: "bio-card__content" }, h("div", null, h("h3", { class: "bio-card__name" }, this.name), h("p", { class: "bio-card__job-title" }, this.jobTitle)), (this.linkedin || this.twitter) && (h("div", { class: "bio-card__social-links" }, this.linkedin && (h("a", { href: this.linkedin, target: "_blank", class: "tw social-icon", "aria-label": "linkedin" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient1-in); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "31.995", height: "36.794", viewBox: "0 0 31.995 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient1-in", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("path", { d: "M-416.964 153.563h-2.487v-7.987h2.487zm-1.311-8.985h-.018a1.385 1.385 0 0 1-1.485-1.279v-.107a1.4 1.4 0 0 1 1.524-1.385 1.393 1.393 0 0 1 1.5 1.278v.107a1.4 1.4 0 0 1-1.521 1.386zm11.283 8.985h-2.842v-4.132c0-1.066-.441-1.819-1.421-1.819a1.422 1.422 0 0 0-1.35.977 1.82 1.82 0 0 0-.06.65v4.324h-2.778s.036-7.319 0-7.983h2.8v1.265a2.563 2.563 0 0 1 2.487-1.329c1.776 0 3.165 1.147 3.165 3.62z", class: "cls-2", "data-name": "Path 8769", transform: "translate(429.342 -128.977)" })))), this.twitter && (h("a", { href: this.twitter, target: "_blank", class: "tw social-icon", "aria-label": "twitter" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient0-tw); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "31.995", height: "36.794", viewBox: "0 0 31.995 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient0-tw", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("g", { "data-name": "Group 3004", transform: "translate(9.205 13.034)" }, h("g", null, h("path", { d: "M-617.4 147a5.577 5.577 0 0 1-1.6.436 2.78 2.78 0 0 0 1.219-1.535 5.54 5.54 0 0 1-1.765.674 2.78 2.78 0 0 0-3.93-.118 2.782 2.782 0 0 0-.874 2.018 2.754 2.754 0 0 0 .072.632 7.9 7.9 0 0 1-5.73-2.9 2.784 2.784 0 0 0 .861 3.71 2.784 2.784 0 0 1-1.26-.346v.034a2.78 2.78 0 0 0 2.231 2.724 2.714 2.714 0 0 1-.734.1 2.774 2.774 0 0 1-.534-.049 2.776 2.776 0 0 0 2.6 1.93 5.619 5.619 0 0 1-4.1 1.151 7.874 7.874 0 0 0 4.259 1.249 7.844 7.844 0 0 0 7.9-7.9v-.376A5.652 5.652 0 0 0-617.4 147", class: "cls-2", "data-name": "Path 4252", transform: "translate(630.939 -145.697)" })))))))))), h("ptc-modal", { id: "bio-modal", show: this.showModal, size: "lg", "border-radius": 'large', "is-bio-modal": true, fixed: true }, h("div", { class: "modal-wrap" }, h("div", { class: "bio-modal-left" }, h("div", { class: "bio-modal__image" }, h("img", { src: this.image, alt: `${this.name} profile image` })), (this.linkedin || this.twitter) && (h("div", { class: "bio-card__social-links" }, this.linkedin && (h("a", { href: this.linkedin, target: "_blank", class: "tw social-icon", "aria-label": "linkedin" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient1-in); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "31.995", height: "36.794", viewBox: "0 0 31.995 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient1-in", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("path", { d: "M-416.964 153.563h-2.487v-7.987h2.487zm-1.311-8.985h-.018a1.385 1.385 0 0 1-1.485-1.279v-.107a1.4 1.4 0 0 1 1.524-1.385 1.393 1.393 0 0 1 1.5 1.278v.107a1.4 1.4 0 0 1-1.521 1.386zm11.283 8.985h-2.842v-4.132c0-1.066-.441-1.819-1.421-1.819a1.422 1.422 0 0 0-1.35.977 1.82 1.82 0 0 0-.06.65v4.324h-2.778s.036-7.319 0-7.983h2.8v1.265a2.563 2.563 0 0 1 2.487-1.329c1.776 0 3.165 1.147 3.165 3.62z", class: "cls-2", "data-name": "Path 8769", transform: "translate(429.342 -128.977)" })))), this.twitter && (h("a", { href: this.twitter, target: "_blank", class: "tw social-icon", "aria-label": "twitter" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient0-tw); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "31.995", height: "36.794", viewBox: "0 0 31.995 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient0-tw", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("g", { "data-name": "Group 3004", transform: "translate(9.205 13.034)" }, h("g", null, h("path", { d: "M-617.4 147a5.577 5.577 0 0 1-1.6.436 2.78 2.78 0 0 0 1.219-1.535 5.54 5.54 0 0 1-1.765.674 2.78 2.78 0 0 0-3.93-.118 2.782 2.782 0 0 0-.874 2.018 2.754 2.754 0 0 0 .072.632 7.9 7.9 0 0 1-5.73-2.9 2.784 2.784 0 0 0 .861 3.71 2.784 2.784 0 0 1-1.26-.346v.034a2.78 2.78 0 0 0 2.231 2.724 2.714 2.714 0 0 1-.734.1 2.774 2.774 0 0 1-.534-.049 2.776 2.776 0 0 0 2.6 1.93 5.619 5.619 0 0 1-4.1 1.151 7.874 7.874 0 0 0 4.259 1.249 7.844 7.844 0 0 0 7.9-7.9v-.376A5.652 5.652 0 0 0-617.4 147", class: "cls-2", "data-name": "Path 4252", transform: "translate(630.939 -145.697)" }))))))))), h("div", { class: "bio-modal-right" }, h("div", { class: "bio-modal-header" }, h("h2", { class: "bio-card__name" }, this.name), h("p", { class: "bio-card__job-title" }, this.jobTitle)), h("div", { class: "bio-modal-description" }, h("slot", null)))))));
22
22
  }
23
23
  static get is() { return "ptc-bio-card"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -39,6 +39,7 @@
39
39
  :host(.lottie-card) .link-wrapper {
40
40
  outline: none;
41
41
  text-decoration: none;
42
+ color: var(--color-gray-10);
42
43
  }
43
44
  :host(.lottie-card) .link-wrapper:hover {
44
45
  outline: none;
@@ -1019,9 +1020,9 @@
1019
1020
  color: var(--color-gray-11);
1020
1021
  border-radius: 0px 3px 3px 0px;
1021
1022
  box-shadow: var(--ptc-shadow-small);
1022
- max-width: 70%;
1023
1023
  max-height: 20px;
1024
1024
  overflow: hidden;
1025
+ width: fit-content;
1025
1026
  }
1026
1027
  :host(.related-card) .link-wrapper {
1027
1028
  outline: none;
@@ -65,6 +65,52 @@
65
65
  }
66
66
  }
67
67
 
68
+ .ptc-min-footer {
69
+ box-shadow: var(--ptc-shadow-medium);
70
+ color: var(--color-white);
71
+ position: relative;
72
+ overflow: hidden;
73
+ position: relative;
74
+ z-index: 1000;
75
+ padding: 0;
76
+ height: 60px;
77
+ display: -webkit-box;
78
+ display: -ms-flexbox;
79
+ display: flex;
80
+ -webkit-box-align: center;
81
+ -ms-flex-align: center;
82
+ align-items: center;
83
+ -webkit-box-pack: center;
84
+ -ms-flex-pack: center;
85
+ justify-content: center;
86
+ background-color: var(--color-gray-10);
87
+ }
88
+
89
+ .min-footer-nav-list {
90
+ margin: 0;
91
+ padding: 0;
92
+ list-style: none;
93
+ }
94
+
95
+ .min-footer-copyright-wrapper {
96
+ text-align: center;
97
+ position: relative;
98
+ z-index: 20;
99
+ }
100
+ .min-footer-copyright-wrapper .min-footer-copyright-list {
101
+ padding: var(--ptc-element-spacing-04) 0;
102
+ display: flex;
103
+ flex-direction: row;
104
+ align-items: center;
105
+ flex-wrap: wrap;
106
+ justify-content: center;
107
+ }
108
+
109
+ @media screen-sm {
110
+ .min-footer-copyright-wrapper .min-footer-copyright-list {
111
+ padding: var(--ptc-element-spacing-04) 0;
112
+ }
113
+ }
68
114
  @media screen-xs {
69
115
  .minimized-header .header a {
70
116
  float: none;
@@ -1,23 +1,24 @@
1
1
  import { Host, h } from '@stencil/core';
2
- export class PtcMinimizedHeader {
2
+ export class PtcMinimizedNav {
3
3
  constructor() {
4
4
  this.linkUrl = '#';
5
5
  this.imgSrc = '';
6
6
  this.imgAlt = 'PTC';
7
+ this.navType = 'minimized-header';
7
8
  }
8
9
  render() {
9
- return (h(Host, null, h("div", { class: "minimized-header" }, h("div", { class: "header" }, h("div", { class: "temp-container" }, h("a", { class: "mini-navbar-logo", href: this.linkUrl }, h("img", { src: this.imgSrc, alt: this.imgAlt })))))));
10
+ return (h(Host, null, "if (this.navType == 'minimized-header') ", h("div", { class: "minimized-header" }, h("div", { class: "header" }, h("div", { class: "temp-container" }, h("a", { class: "mini-navbar-logo", href: this.linkUrl }, h("img", { src: this.imgSrc, alt: this.imgAlt }))))), " else if(this.navType == 'minimized-footer') ", h("div", { class: "ptc-min-footer mini-footer" }, h("div", { class: "min-footer-copyright-wrapper" }, h("ul", { class: "min-footer-nav-list min-footer-copyright-list" }, h("slot", null))))));
10
11
  }
11
- static get is() { return "ptc-minimized-header"; }
12
+ static get is() { return "ptc-minimized-nav"; }
12
13
  static get encapsulation() { return "shadow"; }
13
14
  static get originalStyleUrls() {
14
15
  return {
15
- "$": ["ptc-minimized-header.scss"]
16
+ "$": ["ptc-minimized-nav.scss"]
16
17
  };
17
18
  }
18
19
  static get styleUrls() {
19
20
  return {
20
- "$": ["ptc-minimized-header.css"]
21
+ "$": ["ptc-minimized-nav.css"]
21
22
  };
22
23
  }
23
24
  static get properties() {
@@ -75,6 +76,24 @@ export class PtcMinimizedHeader {
75
76
  "attribute": "img-alt",
76
77
  "reflect": true,
77
78
  "defaultValue": "'PTC'"
79
+ },
80
+ "navType": {
81
+ "type": "string",
82
+ "mutable": false,
83
+ "complexType": {
84
+ "original": "string",
85
+ "resolved": "string",
86
+ "references": {}
87
+ },
88
+ "required": false,
89
+ "optional": false,
90
+ "docs": {
91
+ "tags": [],
92
+ "text": ""
93
+ },
94
+ "attribute": "nav-type",
95
+ "reflect": false,
96
+ "defaultValue": "'minimized-header'"
78
97
  }
79
98
  };
80
99
  }
@@ -65,7 +65,12 @@
65
65
  margin-top: var(--ptc-element-spacing-03);
66
66
  }
67
67
  .wrapper .modal-popup.shadow-scroller {
68
- max-height: 756px;
68
+ max-height: calc(100vh - 196px);
69
+ }
70
+ @media only screen and (min-width: 992px) {
71
+ .wrapper .modal-popup.shadow-scroller {
72
+ max-height: 756px;
73
+ }
69
74
  }
70
75
  .wrapper .modal-popup.shadow-scroller .modal-header {
71
76
  transition: box-shadow ease-in-out 250ms;
@@ -118,7 +118,7 @@ export class PtcProductSidebar {
118
118
  }
119
119
  render() {
120
120
  return (h(Host, { class: 'search-box' }, h("div", { class: "filter-result-wrap white-box" }, h("div", { class: "result-header" }, h("ptc-title", { type: "h3", "title-margin": "margin-flush", upperline: "no-upperline", "title-size": "medium", "title-height": "densest" }, "Filter Results"), h("span", { class: "clear-cta", onClick: (e) => this.clearSearch(e) }, "Clear")), h("div", { class: "sort-wrap" }, h("div", { class: "typeahead-input" }, h("label", { htmlFor: "searchBox" }, "Filter"), h("div", { class: "input-wrap" }, h("svg", { width: "19", height: "18", viewBox: "0 0 19 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.208984 0V1.2375L6.95898 7.65V14.2875L11.5715 17.8875V7.65L18.209 1.35V0H0.208984Z", fill: "#323B42" })), h("input", { type: "text", value: this.searchTerm, onInput: (event) => this.handleInputChange(event), onKeyUp: (e) => this.handleKeyUp(e), id: 'searchBox' })), this.suggestions.length > 0 &&
121
- h("div", { class: "suggestion-wrap" }, h("ul", { class: "suggestions" }, this.suggestions.map((suggestion) => (h("li", { onClick: (e) => this.handleSelectSuggestion(suggestion, e) }, suggestion)))))), h("div", { class: "dropdwon-filter" }, h("label", { htmlFor: "tech-dropdown" }, "Technology"), h("ptc-product-dropdown", { placeholder: "Select a technology", id: "tech-dropdown" }, this.suggestionList.sort((a, b) => a.categoryName.localeCompare(b.categoryName)).map((item) => (h("span", null, item.categoryName))))))), h("ptc-spacer", { size: "large" }), h("ptc-spacer", { size: "large" }), h("div", { class: "product-list-wrap white-box" }, h("ptc-title", { type: "h3", "title-margin": "margin-flush", upperline: "no-upperline", "title-size": "medium", "title-height": "densest" }, "Jump to Product"), this.suggestionList.sort((a, b) => a.categoryName.localeCompare(b.categoryName)).map((item) => (h("div", { class: "category-list" }, h("ptc-para", { "font-size": 'x-small', "font-weight": 'w-7', "para-line-h": "line-height-densest", "para-margin": 'margin-flush' }, h("list-item", { "list-type": "list-underline", "link-href": '#' + item.categoryName }, h("ptc-tooltip", { "text-display": "inline", "text-lines": "4", "z-index": "z-2", description: item.categoryName, position: "bottom" }))), h("div", { class: "product-list" }, h("ul", null, item.products.sort((a, b) => a.localeCompare(b)).map((product) => (h("list-item", { "list-type": "list-underline", "link-href": '#' + product }, product)))))))))));
121
+ h("div", { class: "suggestion-wrap" }, h("ul", { class: "suggestions" }, this.suggestions.map((suggestion) => (h("li", { onClick: (e) => this.handleSelectSuggestion(suggestion, e) }, suggestion)))))), h("div", { class: "dropdwon-filter" }, h("label", { htmlFor: "tech-dropdown" }, "Technology"), h("ptc-product-dropdown", { placeholder: "Select a technology", id: "tech-dropdown" }, this.suggestionList.map((item) => (h("span", null, item.categoryName))))))), h("ptc-spacer", { size: "large" }), h("ptc-spacer", { size: "large" }), h("div", { class: "product-list-wrap white-box" }, h("ptc-title", { type: "h3", "title-margin": "margin-flush", upperline: "no-upperline", "title-size": "medium", "title-height": "densest" }, "Jump to Product"), this.suggestionList.map((item) => (h("div", { class: "category-list" }, h("ptc-para", { "font-size": 'x-small', "font-weight": 'w-7', "para-line-h": "line-height-densest", "para-margin": 'margin-flush' }, h("list-item", { "list-type": "list-underline", "link-href": '#' + item.categoryName }, h("ptc-tooltip", { "text-display": "inline", "text-lines": "4", "z-index": "z-2", description: item.categoryName, position: "bottom" }))), h("div", { class: "product-list" }, h("ul", null, item.products.map((product) => (h("list-item", { "list-type": "list-underline", "link-href": '#' + product }, product)))))))))));
122
122
  }
123
123
  static get is() { return "ptc-product-sidebar"; }
124
124
  static get encapsulation() { return "shadow"; }
@@ -9,6 +9,7 @@ export class PtcReadmoreChar {
9
9
  }
10
10
  toggleExpand() {
11
11
  this.expanded = !this.expanded;
12
+ this.readMoreClicked.emit(this.expanded);
12
13
  }
13
14
  render() {
14
15
  const contentText = this.description
@@ -110,5 +111,23 @@ export class PtcReadmoreChar {
110
111
  "expanded": {}
111
112
  };
112
113
  }
114
+ static get events() {
115
+ return [{
116
+ "method": "readMoreClicked",
117
+ "name": "readMoreClicked",
118
+ "bubbles": true,
119
+ "cancelable": true,
120
+ "composed": true,
121
+ "docs": {
122
+ "tags": [],
123
+ "text": ""
124
+ },
125
+ "complexType": {
126
+ "original": "boolean",
127
+ "resolved": "boolean",
128
+ "references": {}
129
+ }
130
+ }];
131
+ }
113
132
  static get elementRef() { return "el"; }
114
133
  }
@@ -18,7 +18,7 @@ export class PtcSlitCard {
18
18
  ]
19
19
  : null, !!this.content
20
20
  ? [
21
- h("div", { class: "card-body" }, h("ptc-para", { "font-size": "xx-small", "font-weight": "w-6", "para-margin": "margin-flush", "para-style": "main", "para-line-h": "line-height-dense" }, this.content))
21
+ h("div", { class: "card-body" }, h("ptc-para", { "font-size": "xx-small", "font-weight": "w-6", "para-margin": "margin-flush", "para-style": "main", "para-line-h": "line-height-dense" }, h("ptc-readmore-char", { "max-characters": "330", description: this.content })))
22
22
  ]
23
23
  : null)));
24
24
  }
@@ -254,16 +254,10 @@ export const PtcMediaCard: {
254
254
  new (): PtcMediaCard;
255
255
  };
256
256
 
257
- interface PtcMinimizedFooter extends Components.PtcMinimizedFooter, HTMLElement {}
258
- export const PtcMinimizedFooter: {
259
- prototype: PtcMinimizedFooter;
260
- new (): PtcMinimizedFooter;
261
- };
262
-
263
- interface PtcMinimizedHeader extends Components.PtcMinimizedHeader, HTMLElement {}
264
- export const PtcMinimizedHeader: {
265
- prototype: PtcMinimizedHeader;
266
- new (): PtcMinimizedHeader;
257
+ interface PtcMinimizedNav extends Components.PtcMinimizedNav, HTMLElement {}
258
+ export const PtcMinimizedNav: {
259
+ prototype: PtcMinimizedNav;
260
+ new (): PtcMinimizedNav;
267
261
  };
268
262
 
269
263
  interface PtcMobileSelect extends Components.PtcMobileSelect, HTMLElement {}