@ptcwebops/ptcw-design 4.3.0 → 4.3.2

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 (53) hide show
  1. package/dist/cjs/homepage-clickable-tab.cjs.entry.js +25 -0
  2. package/dist/cjs/homepage-jumbotron.cjs.entry.js +56 -0
  3. package/dist/cjs/homepage-toggled-content.cjs.entry.js +40 -0
  4. package/dist/cjs/jumbotron-sub-mune.cjs.entry.js +34 -0
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +46 -0
  7. package/dist/cjs/ptc-info-tile.cjs.entry.js +29 -0
  8. package/dist/cjs/{ptc-breadcrumb_2.cjs.entry.js → ptc-jumbotron.cjs.entry.js} +1 -41
  9. package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
  10. package/dist/cjs/ptcw-design.cjs.js +1 -1
  11. package/dist/collection/collection-manifest.json +5 -0
  12. package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.css +102 -0
  13. package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.js +81 -0
  14. package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.css +133 -0
  15. package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.js +61 -0
  16. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +856 -0
  17. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.js +134 -0
  18. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.css +228 -0
  19. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +47 -0
  20. package/dist/collection/components/ptc-info-tile/ptc-info-tile.css +136 -0
  21. package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +136 -0
  22. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +2 -2
  23. package/dist/collection/components/ptc-media-card/ptc-media-card.css +6 -0
  24. package/dist/custom-elements/index.d.ts +30 -0
  25. package/dist/custom-elements/index.js +4733 -4566
  26. package/dist/esm/homepage-clickable-tab.entry.js +21 -0
  27. package/dist/esm/homepage-jumbotron.entry.js +52 -0
  28. package/dist/esm/homepage-toggled-content.entry.js +36 -0
  29. package/dist/esm/jumbotron-sub-mune.entry.js +30 -0
  30. package/dist/esm/loader.js +1 -1
  31. package/dist/esm/ptc-breadcrumb.entry.js +42 -0
  32. package/dist/esm/ptc-info-tile.entry.js +25 -0
  33. package/dist/esm/{ptc-breadcrumb_2.entry.js → ptc-jumbotron.entry.js} +2 -41
  34. package/dist/esm/ptc-media-card.entry.js +1 -1
  35. package/dist/esm/ptcw-design.js +1 -1
  36. package/dist/ptcw-design/p-22f5b976.entry.js +1 -0
  37. package/dist/ptcw-design/p-230f8bce.entry.js +1 -0
  38. package/dist/ptcw-design/p-2a999b1f.entry.js +1 -0
  39. package/dist/ptcw-design/p-84da0491.entry.js +1 -0
  40. package/dist/ptcw-design/{p-08937894.entry.js → p-9c9bab6c.entry.js} +1 -1
  41. package/dist/ptcw-design/p-c3bfaef4.entry.js +1 -0
  42. package/dist/ptcw-design/p-e347dc85.entry.js +1 -0
  43. package/dist/ptcw-design/p-e9bbf7b1.entry.js +1 -0
  44. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  45. package/dist/types/components/homepage-clickable-tab/homepage-clickable-tab.d.ts +8 -0
  46. package/dist/types/components/jumbotron-sub-mune/jumbotron-sub-mune.d.ts +7 -0
  47. package/dist/types/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.d.ts +14 -0
  48. package/dist/types/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.d.ts +12 -0
  49. package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +11 -0
  50. package/dist/types/components.d.ts +99 -0
  51. package/package.json +1 -1
  52. package/readme.md +1 -1
  53. package/dist/ptcw-design/p-c0010157.entry.js +0 -1
@@ -52,7 +52,7 @@ export class PtcJumbotron {
52
52
  default:
53
53
  mediaElement = h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" });
54
54
  }
55
- return (h(Host, { class: classMap }, h("div", { class: { 'parent': true, 'light-links': (this.jumbotronType === 'dark' || this.jumbotronType === 'dark-video') } }, h("div", { class: `div1 image-container ${this.jumbotronType === 'text' ? 'hidden' : ''}` }, mediaElement), h("div", { class: "div2 content-container" }, h("div", { class: "bg-overlay", style: { background: this.contentBackground } }), h("div", { class: "ptc-container content-layout" }, h("max-width-container", { "max-width-p": "60", breakpoint: 992, "content-align": this.jumbotronType === 'text' ? 'center' : this.textAlign, styles: ":host{z-index: 999}" }, h("slot", { name: "breadcrumb" }), h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("slot", { name: "main-title" }), (this.jumbotronType !== 'text' || (this.jumbotronType === 'text' && this.subTitle)) && (h("div", null, h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }))), h("ptc-para", { "font-size": this.jumbotronType === 'text' && this.isMobile ? 'x-small' : 'small', "font-weight": 'w-4', "para-margin": `${this.jumbotronType === 'text' ? 'margin-flush' : 'margin-bottom-6'}`, "para-color": "white", "para-line-h": "line-height-p", "para-align": this.jumbotronType === 'text' ? 'center' : 'left' }, h("ptc-tooltip", { "text-lines": "8", description: this.subTitle, position: "right", styles: `.ellipsis-by-line-boxing{color: ${this.contentColor};}` })), this.hasCtaSlot &&
55
+ return (h(Host, { class: classMap }, h("div", { class: { 'parent': true, 'light-links': (this.jumbotronType === 'dark' || this.jumbotronType === 'dark-video') } }, h("div", { class: `div1 image-container ${this.jumbotronType === 'text' ? 'hidden' : ''}` }, mediaElement), h("div", { class: "div2 content-container" }, h("div", { class: "bg-overlay", style: { background: this.contentBackground } }), h("div", { class: "ptc-container content-layout" }, h("max-width-container", { "max-width-p": "60", breakpoint: 992, "content-align": this.jumbotronType === 'text' ? 'center' : this.textAlign, styles: ":host{z-index: 999}" }, h("slot", { name: "breadcrumb" }), h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("slot", { name: "main-title" }), h("slot", { name: "hp-sub-title" }), (this.jumbotronType !== 'text' || (this.jumbotronType === 'text' && this.subTitle)) && (h("div", null, h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }))), h("ptc-para", { "font-size": this.jumbotronType === 'text' && this.isMobile ? 'x-small' : 'small', "font-weight": 'w-4', "para-margin": `${this.jumbotronType === 'text' ? 'margin-flush' : 'margin-bottom-6'}`, "para-color": "white", "para-line-h": "line-height-p", "para-align": this.jumbotronType === 'text' ? 'center' : 'left' }, h("ptc-tooltip", { "text-lines": "8", description: this.subTitle, position: "right", styles: `.ellipsis-by-line-boxing{color: ${this.contentColor};}` })), this.hasCtaSlot &&
56
56
  h("div", { class: `u-flex u-flex-wrap gap-adjustment${this.jumbotronType === 'text' ? ' text-adjustment' : ''}` }, h("slot", { name: "j-cta" }))), (this.hasPopupVideo && this.jumbotronType !== 'png') ? h("slot", { name: "video" }) : null, this.jumbotronType === 'png' ? (h("div", { class: "desktop-media-image" }, h("div", { class: "media-image-wrapper" }, h("ptc-picture", { "is-full-width": true, src: this.pngSrc }), this.hasPopupVideo ? h("slot", { name: "video" }) : null))) : null, this.jumbotronType === 'gif' ? (h("div", { class: "desktop-media-image desk-gif-adjustment" }, h("img", { src: this.gifSrc }))) : null)))));
57
57
  }
58
58
  getCssClassMap() {
@@ -317,7 +317,7 @@ export class PtcJumbotron {
317
317
  },
318
318
  "hasCtaSlot": {
319
319
  "type": "boolean",
320
- "mutable": false,
320
+ "mutable": true,
321
321
  "complexType": {
322
322
  "original": "boolean",
323
323
  "resolved": "boolean",
@@ -184,10 +184,16 @@ ptc-link, ptc-square-card {
184
184
  :host(.case-study-icon) .case-study-img-anchor:hover .after {
185
185
  display: block;
186
186
  background: rgba(0, 0, 0, 0.07);
187
+ transition: var(--ptc-transition-medium) var(--ptc-ease-inout);
188
+ -webkit-transition: var(--ptc-transition-medium) var(--ptc-ease-inout);
189
+ -o-transition: var(--ptc-transition-medium) var(--ptc-ease-inout);
187
190
  }
188
191
  :host(.case-study-icon) .case-study-img-anchor:hover .case-study-icon-img {
189
192
  width: 96px;
190
193
  height: 46px;
194
+ transition: var(--ptc-transition-medium) var(--ptc-ease-inout);
195
+ -webkit-transition: var(--ptc-transition-medium) var(--ptc-ease-inout);
196
+ -o-transition: var(--ptc-transition-medium) var(--ptc-ease-inout);
191
197
  }
192
198
  :host(.case-study-icon) .case-study-img-anchor:active .after, :host(.case-study-icon) .case-study-img-anchor:focus .after {
193
199
  display: block;
@@ -74,6 +74,24 @@ export const FooterForm: {
74
74
  new (): FooterForm;
75
75
  };
76
76
 
77
+ interface HomepageClickableTab extends Components.HomepageClickableTab, HTMLElement {}
78
+ export const HomepageClickableTab: {
79
+ prototype: HomepageClickableTab;
80
+ new (): HomepageClickableTab;
81
+ };
82
+
83
+ interface HomepageJumbotron extends Components.HomepageJumbotron, HTMLElement {}
84
+ export const HomepageJumbotron: {
85
+ prototype: HomepageJumbotron;
86
+ new (): HomepageJumbotron;
87
+ };
88
+
89
+ interface HomepageToggledContent extends Components.HomepageToggledContent, HTMLElement {}
90
+ export const HomepageToggledContent: {
91
+ prototype: HomepageToggledContent;
92
+ new (): HomepageToggledContent;
93
+ };
94
+
77
95
  interface IconAsset extends Components.IconAsset, HTMLElement {}
78
96
  export const IconAsset: {
79
97
  prototype: IconAsset;
@@ -86,6 +104,12 @@ export const InnovatorToggleContainer: {
86
104
  new (): InnovatorToggleContainer;
87
105
  };
88
106
 
107
+ interface JumbotronSubMune extends Components.JumbotronSubMune, HTMLElement {}
108
+ export const JumbotronSubMune: {
109
+ prototype: JumbotronSubMune;
110
+ new (): JumbotronSubMune;
111
+ };
112
+
89
113
  interface ListItem extends Components.ListItem, HTMLElement {}
90
114
  export const ListItem: {
91
115
  prototype: ListItem;
@@ -374,6 +398,12 @@ export const PtcImg: {
374
398
  new (): PtcImg;
375
399
  };
376
400
 
401
+ interface PtcInfoTile extends Components.PtcInfoTile, HTMLElement {}
402
+ export const PtcInfoTile: {
403
+ prototype: PtcInfoTile;
404
+ new (): PtcInfoTile;
405
+ };
406
+
377
407
  interface PtcJumbotron extends Components.PtcJumbotron, HTMLElement {}
378
408
  export const PtcJumbotron: {
379
409
  prototype: PtcJumbotron;