@ptcwebops/ptcw-design 3.5.3 → 3.5.5

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 (71) hide show
  1. package/dist/cjs/{academic-form.cjs.entry.js → academic-form-test.cjs.entry.js} +3 -3
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/max-width-container_3.cjs.entry.js +11 -2
  4. package/dist/cjs/most-popular-news.cjs.entry.js +20 -2
  5. package/dist/cjs/news-search-result.cjs.entry.js +2 -29
  6. package/dist/cjs/ptc-badge.cjs.entry.js +12 -2
  7. package/dist/cjs/ptc-bio-card.cjs.entry.js +7 -3
  8. package/dist/cjs/ptc-data-lookup.cjs.entry.js +8 -1
  9. package/dist/cjs/ptc-form-checkbox_3.cjs.entry.js +4 -2
  10. package/dist/cjs/ptc-nav-tile.cjs.entry.js +20 -0
  11. package/dist/cjs/ptcw-design.cjs.js +1 -1
  12. package/dist/collection/collection-manifest.json +2 -1
  13. package/dist/collection/components/organism-bundles/form/academic-form/{academic-form.js → academic-form-test.js} +3 -3
  14. package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.css +4 -0
  15. package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.js +4 -1
  16. package/dist/collection/components/organism-bundles/news-search-result/news-search-result.css +4 -0
  17. package/dist/collection/components/organism-bundles/news-search-result/news-search-result.js +1 -28
  18. package/dist/collection/components/ptc-badge/ptc-badge.css +14 -6
  19. package/dist/collection/components/ptc-badge/ptc-badge.js +46 -1
  20. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +8 -7
  21. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +24 -2
  22. package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.js +20 -1
  23. package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.css +43 -0
  24. package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.js +40 -0
  25. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +32 -1
  26. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +28 -1
  27. package/dist/collection/components/ptc-textfield/ptc-textfield.js +20 -1
  28. package/dist/collection/media/svg-imgs/NumberOneGreenBadge.svg +4 -0
  29. package/dist/collection/media/svg-imgs/NumberThreeGreenBadge.svg +4 -0
  30. package/dist/collection/media/svg-imgs/NumberTwoGreenBadge.svg +4 -0
  31. package/dist/collection/utils/elq-lib.js +8 -1
  32. package/dist/custom-elements/index.d.ts +10 -4
  33. package/dist/custom-elements/index.js +91 -52
  34. package/dist/esm/{academic-form.entry.js → academic-form-test.entry.js} +3 -3
  35. package/dist/esm/loader.js +1 -1
  36. package/dist/esm/max-width-container_3.entry.js +11 -2
  37. package/dist/esm/most-popular-news.entry.js +20 -2
  38. package/dist/esm/news-search-result.entry.js +2 -29
  39. package/dist/esm/ptc-badge.entry.js +12 -2
  40. package/dist/esm/ptc-bio-card.entry.js +7 -3
  41. package/dist/esm/ptc-data-lookup.entry.js +8 -1
  42. package/dist/esm/ptc-form-checkbox_3.entry.js +4 -2
  43. package/dist/esm/ptc-nav-tile.entry.js +16 -0
  44. package/dist/esm/ptcw-design.js +1 -1
  45. package/dist/ptcw-design/{p-d4f0a2b4.entry.js → p-0f3070d6.entry.js} +1 -1
  46. package/dist/ptcw-design/p-61ebe36f.entry.js +1 -0
  47. package/dist/ptcw-design/p-6cf5faac.entry.js +68 -0
  48. package/dist/ptcw-design/p-7271678c.entry.js +1 -0
  49. package/dist/ptcw-design/p-7a6ce9ed.entry.js +1 -0
  50. package/dist/ptcw-design/p-9fa11bca.entry.js +1 -0
  51. package/dist/ptcw-design/{p-2a97f776.entry.js → p-d77dc736.entry.js} +1 -1
  52. package/dist/ptcw-design/p-e547fb24.entry.js +1 -0
  53. package/dist/ptcw-design/p-fdfe6cff.entry.js +1 -0
  54. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  55. package/dist/types/components/ptc-badge/ptc-badge.d.ts +3 -0
  56. package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +1 -0
  57. package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +1 -0
  58. package/dist/types/components/ptc-nav-tile/ptc-nav-tile.d.ts +7 -0
  59. package/dist/types/components/ptc-preloader-section/ptc-preloader-section.d.ts +2 -0
  60. package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +1 -0
  61. package/dist/types/components.d.ts +36 -9
  62. package/package.json +1 -1
  63. package/readme.md +1 -1
  64. package/dist/ptcw-design/p-28d1d73a.entry.js +0 -68
  65. package/dist/ptcw-design/p-395a7527.entry.js +0 -1
  66. package/dist/ptcw-design/p-678d28bc.entry.js +0 -1
  67. package/dist/ptcw-design/p-72a5e883.entry.js +0 -1
  68. package/dist/ptcw-design/p-72b5d9a1.entry.js +0 -1
  69. package/dist/ptcw-design/p-e555cae7.entry.js +0 -1
  70. /package/dist/collection/components/organism-bundles/form/academic-form/{academic-form.css → academic-form-test.css} +0 -0
  71. /package/dist/types/components/organism-bundles/form/academic-form/{academic-form.d.ts → academic-form-test.d.ts} +0 -0
@@ -7,40 +7,13 @@ export class NewsSearchResult {
7
7
  this.cardHeights = [];
8
8
  this.maxCardHeight = 0;
9
9
  }
10
- // @Listen('resize', { target: 'window' })
11
- // handleWindowResize() {
12
- // //this.cardHeights = [];
13
- // //this.updatePictureSize();
14
- // //this.updateMaxHeight();
15
- // }
16
- // @Listen('squareHeightChanged', { target: 'body' })
17
- // squareHeightChangedHandler(event: CustomEvent<number>) {
18
- // //console.log('Received the height:', event.detail); // Here you get the height
19
- // this.cardHeights = [...this.cardHeights, event.detail];
20
- // //this.updateMaxHeight();
21
- // }
22
- // Replace it with search logic
23
10
  componentDidLoad() {
24
11
  setTimeout(() => {
25
12
  this.isLoading = false;
26
13
  }, 3000);
27
- //this.updatePictureSize();
28
14
  }
29
- // updateMaxHeight() {
30
- // this.maxCardHeight = Math.max(...this.cardHeights, 0); // Update maxHeight based on the current cardHeights
31
- // console.log('cardheights: ' + this.cardHeights);
32
- // }
33
- // private updatePictureSize() {
34
- // const pictureComponents = this.el.shadowRoot.querySelectorAll('ptc-picture');
35
- // for (let i = 0; i < pictureComponents.length; i++) {
36
- // const pictureComponent = pictureComponents[i] as HTMLPtcPictureElement;
37
- // pictureComponent.isFullWidth = true;
38
- // pictureComponent.styles =
39
- // ':host{padding-bottom: 56.25%;overflow: hidden;margin:0;padding-top:56.25%;position: relative;} :host img{position:absolute;width:100%;height:100%;object-fit:cover;top:50%;left:50%;transform:translate(-50%,-50%);}';
40
- // }
41
- // }
42
15
  render() {
43
- return (h(Host, null, h("div", { class: "is-grid has-col-1 has-col-2-md has-col-3-lg has-col-gap-md has-row-gap-md" }, h("div", { class: "is-col-1" }, h("ptc-card", { "card-href": "http://www.google.com", "card-type": "listing-card", "has-image": "true", heading: "2022 SoCal RUG Event", "heading-transform": "none", "ribbon-text": "eBook", target: "_blank" }, h("ptc-img", { slot: "slot-image", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "image-type": "smart-img", "load-mode": "lazy-bg" }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "medium", "font-weight": "w-4", "para-line-h": "line-height-19" }, "Join us for live presentations and hear about the latest updates for Creo, Windchill PLM, and Thingworx IOT and Augmented Reality.")))), h("div", { class: "is-col-1" }, h("ptc-card", { "card-href": "http://www.google.com", "card-type": "listing-card", "has-image": "true", heading: "2022 SoCal RUG Event", "heading-transform": "none", "ribbon-text": "eBook", target: "_blank" }, h("ptc-img", { slot: "slot-image", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "image-type": "smart-img", "load-mode": "lazy-bg" }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "medium", "font-weight": "w-4", "para-line-h": "line-height-19" }, "Join us for live presentations and hear about the latest updates for Creo, Windchill PLM, and Thingworx IOT and Augmented Reality.")))), h("div", { class: "is-col-1" }, h("ptc-card", { "card-href": "http://www.google.com", "card-type": "listing-card", "has-image": "true", heading: "2022 SoCal RUG Event", "heading-transform": "none", "ribbon-text": "eBook", target: "_blank" }, h("ptc-img", { slot: "slot-image", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "image-type": "smart-img", "load-mode": "lazy-bg" }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "medium", "font-weight": "w-4", "para-line-h": "line-height-19" }, "Join us for live presentations and hear about the latest updates for Creo, Windchill PLM, and Thingworx IOT and Augmented Reality.")))), h("div", { class: "is-col-1" }, h("ptc-card", { "card-href": "http://www.google.com", "card-type": "listing-card", "has-image": "true", heading: "2022 SoCal RUG Event", "heading-transform": "none", "ribbon-text": "eBook", target: "_blank" }, h("ptc-img", { slot: "slot-image", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "image-type": "smart-img", "load-mode": "lazy-bg" }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "medium", "font-weight": "w-4", "para-line-h": "line-height-19" }, "Join us for live presentations and hear about the latest updates for Creo, Windchill PLM, and Thingworx IOT and Augmented Reality.")))), h("div", { class: "is-col-1" }, h("ptc-card", { "card-href": "http://www.google.com", "card-type": "listing-card", "has-image": "true", heading: "2022 SoCal RUG Event", "heading-transform": "none", "ribbon-text": "eBook", target: "_blank" }, h("ptc-img", { slot: "slot-image", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "image-type": "smart-img", "load-mode": "lazy-bg" }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "medium", "font-weight": "w-4", "para-line-h": "line-height-19" }, "Join us for live presentations and hear about the latest updates for Creo, Windchill PLM, and Thingworx IOT and Augmented Reality.")))), h("div", { class: "is-col-1" }, h("ptc-card", { "card-href": "http://www.google.com", "card-type": "listing-card", "has-image": "true", heading: "2022 SoCal RUG Event", "heading-transform": "none", "ribbon-text": "eBook", target: "_blank" }, h("ptc-img", { slot: "slot-image", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "image-type": "smart-img", "load-mode": "lazy-bg" }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "medium", "font-weight": "w-4", "para-line-h": "line-height-19" }, "Join us for live presentations and hear about the latest updates for Creo, Windchill PLM, and Thingworx IOT and Augmented Reality.")))))));
16
+ return (h(Host, null, h("ptc-preloader-section", { "section-type": "cards", "number-of-cards": "9" }, h("div", { class: "is-grid has-col-1 has-col-2-md has-col-3-lg has-col-gap-md has-row-gap-md" }, h("div", { class: "is-col-1" }, h("ptc-card", { "has-image": "true", "card-type": "case-studies-card", "card-href": "/en/events/Events-Item", heading: "[Boston Globe] Jim Heppelmann Tech Power Players Ranked #11", styles: ":host(.case-studies-card) .card-media{height:230px!important;}" }, h("ptc-picture", { slot: "slot-image", src: "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "load-mode": "lazy-bg", height: "230", "is-full-width": true }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-line-h": "line-height-19", class: "hydrated" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications")), h("p", { slot: "seo-content" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications"))), h("div", { class: "is-col-1" }, h("ptc-card", { "has-image": "true", "card-type": "case-studies-card", "card-href": "/en/events/Events-Item", heading: "[Boston Globe] Jim Heppelmann Tech Power Players Ranked #11", styles: ":host(.case-studies-card) .card-media{height:230px!important;}" }, h("ptc-picture", { slot: "slot-image", src: "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "load-mode": "lazy-bg", height: "230", "is-full-width": true }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-line-h": "line-height-19", class: "hydrated" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications")), h("p", { slot: "seo-content" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications"))), h("div", { class: "is-col-1" }, h("ptc-card", { "has-image": "true", "card-type": "case-studies-card", "card-href": "/en/events/Events-Item", heading: "[Boston Globe] Jim Heppelmann Tech Power Players Ranked #11", styles: ":host(.case-studies-card) .card-media{height:230px!important;}" }, h("ptc-picture", { slot: "slot-image", src: "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "load-mode": "lazy-bg", height: "230", "is-full-width": true }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-line-h": "line-height-19", class: "hydrated" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications")), h("p", { slot: "seo-content" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications"))), h("div", { class: "is-col-1" }, h("ptc-card", { "has-image": "true", "card-type": "case-studies-card", "card-href": "/en/events/Events-Item", heading: "[Boston Globe] Jim Heppelmann Tech Power Players Ranked #11", styles: ":host(.case-studies-card) .card-media{height:230px!important;}" }, h("ptc-picture", { slot: "slot-image", src: "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "load-mode": "lazy-bg", height: "230", "is-full-width": true }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-line-h": "line-height-19", class: "hydrated" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications")), h("p", { slot: "seo-content" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications"))), h("div", { class: "is-col-1" }, h("ptc-card", { "has-image": "true", "card-type": "case-studies-card", "card-href": "/en/events/Events-Item", heading: "[Boston Globe] Jim Heppelmann Tech Power Players Ranked #11", styles: ":host(.case-studies-card) .card-media{height:230px!important;}" }, h("ptc-picture", { slot: "slot-image", src: "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "load-mode": "lazy-bg", height: "230", "is-full-width": true }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-line-h": "line-height-19", class: "hydrated" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications")), h("p", { slot: "seo-content" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications"))), h("div", { class: "is-col-1" }, h("ptc-card", { "has-image": "true", "card-type": "case-studies-card", "card-href": "/en/events/Events-Item", heading: "[Boston Globe] Jim Heppelmann Tech Power Players Ranked #11", styles: ":host(.case-studies-card) .card-media{height:230px!important;}" }, h("ptc-picture", { slot: "slot-image", src: "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "load-mode": "lazy-bg", height: "230", "is-full-width": true }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-line-h": "line-height-19", class: "hydrated" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications")), h("p", { slot: "seo-content" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications"))), h("div", { class: "is-col-1" }, h("ptc-card", { "has-image": "true", "card-type": "case-studies-card", "card-href": "/en/events/Events-Item", heading: "[Boston Globe] Jim Heppelmann Tech Power Players Ranked #11", styles: ":host(.case-studies-card) .card-media{height:230px!important;}" }, h("ptc-picture", { slot: "slot-image", src: "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "load-mode": "lazy-bg", height: "230", "is-full-width": true }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-line-h": "line-height-19", class: "hydrated" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications")), h("p", { slot: "seo-content" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications"))), h("div", { class: "is-col-1" }, h("ptc-card", { "has-image": "true", "card-type": "case-studies-card", "card-href": "/en/events/Events-Item", heading: "[Boston Globe] Jim Heppelmann Tech Power Players Ranked #11", styles: ":host(.case-studies-card) .card-media{height:230px!important;}" }, h("ptc-picture", { slot: "slot-image", src: "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "load-mode": "lazy-bg", height: "230", "is-full-width": true }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-line-h": "line-height-19", class: "hydrated" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications")), h("p", { slot: "seo-content" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications"))), h("div", { class: "is-col-1" }, h("ptc-card", { "has-image": "true", "card-type": "case-studies-card", "card-href": "/en/events/Events-Item", heading: "[Boston Globe] Jim Heppelmann Tech Power Players Ranked #11", styles: ":host(.case-studies-card) .card-media{height:230px!important;}" }, h("ptc-picture", { slot: "slot-image", src: "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "load-mode": "lazy-bg", height: "230", "is-full-width": true }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-line-h": "line-height-19", class: "hydrated" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications")), h("p", { slot: "seo-content" }, "For more than a decade, Jim Heppelmann has led the software company PTC as its CEO, expanding it from its roots in computer-aided design applications")))))));
44
17
  }
45
18
  static get is() { return "news-search-result"; }
46
19
  static get encapsulation() { return "shadow"; }
@@ -14,18 +14,26 @@ li {
14
14
  -ms-hyphens: manual;
15
15
  }
16
16
 
17
- .badge {
17
+ .number-badge, .svg-badge {
18
+ position: absolute;
19
+ top: 0;
20
+ left: 0;
21
+ transform: translate(-50%, -50%);
22
+ z-index: 2;
23
+ }
24
+
25
+ .number-badge {
18
26
  background-color: var(--color-green-08);
19
27
  color: white;
20
28
  border-radius: 50%;
21
29
  padding: 0.5em;
22
30
  min-width: 1.18em;
23
31
  text-align: center;
24
- position: absolute;
25
- top: 0;
26
- left: 0;
27
- transform: translate(-50%, -50%);
28
- z-index: 2;
29
32
  font-weight: var(--ptc-font-weight-bold);
30
33
  font-size: var(--ptc-font-size-x-small);
34
+ }
35
+
36
+ .svg-badge {
37
+ width: 35px;
38
+ height: 35px;
31
39
  }
@@ -2,9 +2,19 @@ import { Host, h } from '@stencil/core';
2
2
  export class PtcBadge {
3
3
  constructor() {
4
4
  this.number = undefined;
5
+ this.svgCode = undefined;
6
+ this.type = 'number';
7
+ }
8
+ renderContent() {
9
+ if (this.type === 'svg' && !!this.svgCode) {
10
+ return h("div", { class: "svg-badge", innerHTML: this.svgCode });
11
+ }
12
+ else if (this.type === 'number' && !!this.number) {
13
+ return h("div", { class: "number-badge" }, this.number);
14
+ }
5
15
  }
6
16
  render() {
7
- return (h(Host, null, h("div", { class: "badge" }, this.number)));
17
+ return h(Host, null, this.renderContent());
8
18
  }
9
19
  static get is() { return "ptc-badge"; }
10
20
  static get encapsulation() { return "shadow"; }
@@ -36,6 +46,41 @@ export class PtcBadge {
36
46
  },
37
47
  "attribute": "number",
38
48
  "reflect": false
49
+ },
50
+ "svgCode": {
51
+ "type": "string",
52
+ "mutable": false,
53
+ "complexType": {
54
+ "original": "string",
55
+ "resolved": "string",
56
+ "references": {}
57
+ },
58
+ "required": false,
59
+ "optional": false,
60
+ "docs": {
61
+ "tags": [],
62
+ "text": ""
63
+ },
64
+ "attribute": "svg-code",
65
+ "reflect": false
66
+ },
67
+ "type": {
68
+ "type": "string",
69
+ "mutable": false,
70
+ "complexType": {
71
+ "original": "'svg' | 'number'",
72
+ "resolved": "\"number\" | \"svg\"",
73
+ "references": {}
74
+ },
75
+ "required": false,
76
+ "optional": false,
77
+ "docs": {
78
+ "tags": [],
79
+ "text": ""
80
+ },
81
+ "attribute": "type",
82
+ "reflect": false,
83
+ "defaultValue": "'number'"
39
84
  }
40
85
  };
41
86
  }
@@ -110,13 +110,6 @@ li {
110
110
  max-width: 27px;
111
111
  max-height: 44px;
112
112
  }
113
- :host .bio-card:hover {
114
- box-shadow: var(--ptc-shadow-x-large);
115
- cursor: pointer;
116
- }
117
- :host .bio-card:hover .bio-card__name {
118
- border-bottom-color: var(--color-green-07);
119
- }
120
113
  :host .modal-wrap {
121
114
  display: flex;
122
115
  height: 100%;
@@ -267,4 +260,12 @@ li {
267
260
  }
268
261
  :host .social-icon:hover .cls-4 {
269
262
  fill: var(--color-green-14);
263
+ }
264
+
265
+ :host(.card-with-modal) .bio-card:hover {
266
+ box-shadow: var(--ptc-shadow-x-large);
267
+ cursor: pointer;
268
+ }
269
+ :host(.card-with-modal) .bio-card:hover .bio-card__name {
270
+ border-bottom-color: var(--color-green-07);
270
271
  }
@@ -7,9 +7,12 @@ export class PtcBioCard {
7
7
  this.image = undefined;
8
8
  this.linkedin = undefined;
9
9
  this.twitter = undefined;
10
+ this.isModal = true;
10
11
  }
11
12
  openModal() {
12
- this.showModal = true;
13
+ if (this.isModal) {
14
+ this.showModal = true;
15
+ }
13
16
  }
14
17
  componentDidLoad() {
15
18
  let PtcModal = this.el.shadowRoot.querySelector('#bio-modal');
@@ -18,7 +21,8 @@ export class PtcBioCard {
18
21
  });
19
22
  }
20
23
  render() {
21
- return (h(Host, { onClick: () => { this.openModal(); }, type: "button" }, h("div", { class: "bio-card" }, h("slot", { name: "seo-content" }), 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: "32", height: "36.794", viewBox: "0 0 32 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: "32", height: "36.794", viewBox: "0 0 32 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: "32", height: "36.794", viewBox: "0 0 32 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: "32", height: "36.794", viewBox: "0 0 32 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)))))));
24
+ return (h(Host, { onClick: () => { this.openModal(); }, type: "button", class: this.isModal ? 'card-with-modal' : '' }, h("div", { class: "bio-card" }, h("slot", { name: "seo-content" }), 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: "32", height: "36.794", viewBox: "0 0 32 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: "32", height: "36.794", viewBox: "0 0 32 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)" })))))))))), this.isModal &&
25
+ 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: "32", height: "36.794", viewBox: "0 0 32 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: "32", height: "36.794", viewBox: "0 0 32 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
26
  }
23
27
  static get is() { return "ptc-bio-card"; }
24
28
  static get encapsulation() { return "shadow"; }
@@ -118,6 +122,24 @@ export class PtcBioCard {
118
122
  },
119
123
  "attribute": "twitter",
120
124
  "reflect": false
125
+ },
126
+ "isModal": {
127
+ "type": "boolean",
128
+ "mutable": false,
129
+ "complexType": {
130
+ "original": "boolean",
131
+ "resolved": "boolean",
132
+ "references": {}
133
+ },
134
+ "required": false,
135
+ "optional": false,
136
+ "docs": {
137
+ "tags": [],
138
+ "text": ""
139
+ },
140
+ "attribute": "is-modal",
141
+ "reflect": false,
142
+ "defaultValue": "true"
121
143
  }
122
144
  };
123
145
  }
@@ -16,6 +16,7 @@ export class PtcFormCheckbox {
16
16
  this.ptcDataEloquaName = undefined;
17
17
  this.hasError = false;
18
18
  this.language = 'en';
19
+ this.ignoreBlindSubmit = false;
19
20
  }
20
21
  handleChange(event) {
21
22
  if (this.disabled) {
@@ -60,7 +61,7 @@ export class PtcFormCheckbox {
60
61
  this.mdcCheckbox = mdcCheckbox;
61
62
  } }, h("input", Object.assign({ id: this.checkboxId, ref: checkboxInput => {
62
63
  this.checkboxInput = checkboxInput;
63
- }, type: "checkbox" }, (this.isRequired ? { required: true } : { required: false }), { "data-eloqua-name": this.ptcDataEloquaName, class: "mdc-checkbox__native-control", onChange: this.handleChange.bind(this) })), h("div", { class: "mdc-checkbox__background" }, h("svg", { class: "mdc-checkbox__checkmark", viewBox: "0 0 24 24" }, h("path", { class: "mdc-checkbox__checkmark-path", fill: "none", d: "M1.73,12.91 8.1,19.28 22.79,4.59" })), h("div", { class: "mdc-checkbox__mixedmark" })), h("div", { class: "mdc-checkbox__ripple" })), h("label", { htmlFor: this.checkboxId, innerHTML: this.label })),
64
+ }, type: "checkbox" }, (this.isRequired ? { required: true } : { required: false }), (this.ignoreBlindSubmit ? { ignoreBlindSubmit: true } : null), { "data-eloqua-name": this.ptcDataEloquaName, class: "mdc-checkbox__native-control", onChange: this.handleChange.bind(this) })), h("div", { class: "mdc-checkbox__background" }, h("svg", { class: "mdc-checkbox__checkmark", viewBox: "0 0 24 24" }, h("path", { class: "mdc-checkbox__checkmark-path", fill: "none", d: "M1.73,12.91 8.1,19.28 22.79,4.59" })), h("div", { class: "mdc-checkbox__mixedmark" })), h("div", { class: "mdc-checkbox__ripple" })), h("label", { htmlFor: this.checkboxId, innerHTML: this.label })),
64
65
  this.hasError ? (h("div", { class: "checkbox-helper-wrapper" }, h("p", { id: this.name }, h("svg", { class: "select-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))) : null,
65
66
  ];
66
67
  }
@@ -234,6 +235,24 @@ export class PtcFormCheckbox {
234
235
  },
235
236
  "attribute": "ptc-data-eloqua-name",
236
237
  "reflect": false
238
+ },
239
+ "ignoreBlindSubmit": {
240
+ "type": "boolean",
241
+ "mutable": false,
242
+ "complexType": {
243
+ "original": "boolean",
244
+ "resolved": "boolean",
245
+ "references": {}
246
+ },
247
+ "required": false,
248
+ "optional": false,
249
+ "docs": {
250
+ "tags": [],
251
+ "text": ""
252
+ },
253
+ "attribute": "ignore-blind-submit",
254
+ "reflect": false,
255
+ "defaultValue": "false"
237
256
  }
238
257
  };
239
258
  }
@@ -0,0 +1,43 @@
1
+ h1,
2
+ h2,
3
+ h3,
4
+ h4,
5
+ h5,
6
+ h6,
7
+ p,
8
+ ul,
9
+ li {
10
+ word-break: break-word;
11
+ hyphens: manual;
12
+ -webkit-hyphens: manual;
13
+ -moz-hyphens: manual;
14
+ -ms-hyphens: manual;
15
+ }
16
+
17
+ :host {
18
+ display: block;
19
+ }
20
+
21
+ .nav-link-group {
22
+ display: inline-block;
23
+ padding: 12px 16px;
24
+ border-radius: var(--ptc-border-radius-standard);
25
+ background: var(--color-gray-02);
26
+ /* Drop Shadow (Small) */
27
+ box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.24);
28
+ }
29
+ .nav-link-group .nav-title-link {
30
+ color: var(--color-gray-10);
31
+ font-family: var(--ptc-font-latin);
32
+ font-size: var(--ptc-font-size-x-small);
33
+ font-weight: var(--ptc-font-weight-semibold);
34
+ line-height: var(--ptc-line-height-densest);
35
+ margin: 0 16px;
36
+ text-decoration: none;
37
+ outline: none;
38
+ }
39
+ .nav-link-group .nav-title-link:hover, .nav-link-group .nav-title-link:visited {
40
+ color: var(--color-gray-10);
41
+ text-decoration: none;
42
+ outline: none;
43
+ }
@@ -0,0 +1,40 @@
1
+ import { Host, h } from '@stencil/core';
2
+ export class PtcNavTile {
3
+ constructor() {
4
+ this.navLinks = [];
5
+ }
6
+ render() {
7
+ return (h(Host, null, h("div", { class: "nav-link-group" }, this.navLinks.map((link) => (h("a", { href: link.url, class: "nav-title-link" }, link.title))))));
8
+ }
9
+ static get is() { return "ptc-nav-tile"; }
10
+ static get originalStyleUrls() {
11
+ return {
12
+ "$": ["ptc-nav-tile.scss"]
13
+ };
14
+ }
15
+ static get styleUrls() {
16
+ return {
17
+ "$": ["ptc-nav-tile.css"]
18
+ };
19
+ }
20
+ static get properties() {
21
+ return {
22
+ "navLinks": {
23
+ "type": "unknown",
24
+ "mutable": false,
25
+ "complexType": {
26
+ "original": "{ title: string; url: string} []",
27
+ "resolved": "{ title: string; url: string; }[]",
28
+ "references": {}
29
+ },
30
+ "required": false,
31
+ "optional": false,
32
+ "docs": {
33
+ "tags": [],
34
+ "text": ""
35
+ },
36
+ "defaultValue": "[]"
37
+ }
38
+ };
39
+ }
40
+ }