@ptcwebops/ptcw-design 6.0.8 → 6.0.10

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 (64) hide show
  1. package/dist/cjs/icon-asset_13.cjs.entry.js +905 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/most-popular-news.cjs.entry.js +1 -13
  4. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +2 -2
  5. package/dist/cjs/ptc-card_2.cjs.entry.js +44 -68
  6. package/dist/cjs/ptc-link.cjs.entry.js +3 -1
  7. package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
  8. package/dist/cjs/ptc-nav-slider.cjs.entry.js +1 -1
  9. package/dist/cjs/ptc-search-field.cjs.entry.js +2 -2
  10. package/dist/cjs/ptcw-design.cjs.js +1 -1
  11. package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.js +1 -13
  12. package/dist/collection/components/ptc-card/ptc-card.css +4 -5
  13. package/dist/collection/components/ptc-card/ptc-card.js +1 -0
  14. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +5 -0
  15. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +1 -1
  16. package/dist/collection/components/ptc-link/ptc-link.css +33 -2
  17. package/dist/collection/components/ptc-link/ptc-link.js +20 -0
  18. package/dist/collection/components/ptc-media-card/ptc-media-card.js +1 -1
  19. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +142 -0
  20. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +6 -0
  21. package/dist/collection/components/ptc-search-field/ptc-search-field.css +4 -0
  22. package/dist/collection/components/ptc-search-field/ptc-search-field.js +1 -1
  23. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +1 -0
  24. package/dist/custom-elements/index.js +20 -23
  25. package/dist/esm/icon-asset_13.entry.js +889 -0
  26. package/dist/esm/loader.js +1 -1
  27. package/dist/esm/most-popular-news.entry.js +1 -13
  28. package/dist/esm/ptc-card-bottom_2.entry.js +2 -2
  29. package/dist/esm/ptc-card_2.entry.js +45 -69
  30. package/dist/esm/ptc-link.entry.js +3 -1
  31. package/dist/esm/ptc-media-card.entry.js +1 -1
  32. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  33. package/dist/esm/ptc-search-field.entry.js +2 -2
  34. package/dist/esm/ptcw-design.js +1 -1
  35. package/dist/ptcw-design/p-024851e1.entry.js +1 -0
  36. package/dist/ptcw-design/p-24e452a1.entry.js +1 -0
  37. package/dist/ptcw-design/p-32eec30d.entry.js +1 -0
  38. package/dist/ptcw-design/p-53c64e3f.entry.js +1 -0
  39. package/dist/ptcw-design/p-87c45b09.entry.js +1 -0
  40. package/dist/ptcw-design/{p-4f6c9992.entry.js → p-9db0897a.entry.js} +1 -1
  41. package/dist/ptcw-design/{p-e8adde7c.entry.js → p-a241088c.entry.js} +1 -1
  42. package/dist/ptcw-design/p-daa98c0d.entry.js +1 -0
  43. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  44. package/dist/types/components/ptc-link/ptc-link.d.ts +4 -0
  45. package/dist/types/components.d.ts +8 -0
  46. package/package.json +1 -1
  47. package/readme.md +1 -1
  48. package/dist/cjs/icon-asset_10.cjs.entry.js +0 -739
  49. package/dist/cjs/max-width-container.cjs.entry.js +0 -54
  50. package/dist/cjs/ptc-date.cjs.entry.js +0 -61
  51. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
  52. package/dist/esm/icon-asset_10.entry.js +0 -726
  53. package/dist/esm/max-width-container.entry.js +0 -50
  54. package/dist/esm/ptc-date.entry.js +0 -57
  55. package/dist/esm/ptc-spacer.entry.js +0 -34
  56. package/dist/ptcw-design/p-12df08d1.entry.js +0 -1
  57. package/dist/ptcw-design/p-5ed8a694.entry.js +0 -1
  58. package/dist/ptcw-design/p-68091d57.entry.js +0 -1
  59. package/dist/ptcw-design/p-68acba70.entry.js +0 -1
  60. package/dist/ptcw-design/p-c3c7b93b.entry.js +0 -1
  61. package/dist/ptcw-design/p-c3ce27b3.entry.js +0 -1
  62. package/dist/ptcw-design/p-d9ec506c.entry.js +0 -1
  63. package/dist/ptcw-design/p-ec22d0b8.entry.js +0 -1
  64. package/dist/ptcw-design/p-ef0079b0.entry.js +0 -1
@@ -81,6 +81,13 @@ ptc-link, ptc-square-card,
81
81
  border-radius: var(--ptc-border-radius-standard);
82
82
  outline: 5px solid var(--keyboard-nav-outline);
83
83
  }
84
+ .ptc-link:focus-visible .focus-state-dark-background:focus-visible {
85
+ border-radius: var(--ptc-border-radius-standard);
86
+ border: 2px solid white;
87
+ outline: 5px solid var(--keyboard-nav-outline);
88
+ transition: none;
89
+ text-decoration-line: none;
90
+ }
84
91
 
85
92
  .simple {
86
93
  text-decoration: underline;
@@ -97,8 +104,18 @@ ptc-link, ptc-square-card,
97
104
  transition: none;
98
105
  }
99
106
  .simple:focus-visible {
100
- outline: 5px solid #003DD6 !important;
101
- outline-offset: 0px !important;
107
+ border-radius: var(--ptc-border-radius-standard);
108
+ outline: 5px solid var(--keyboard-nav-outline);
109
+ transition: none;
110
+ color: var(--color-green-06);
111
+ transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);
112
+ }
113
+ .simple:focus-visible.focus-state-dark-background {
114
+ border-radius: var(--ptc-border-radius-standard);
115
+ border: 2px solid white;
116
+ outline: 5px solid var(--keyboard-nav-outline);
117
+ transition: none;
118
+ text-decoration-line: none;
102
119
  }
103
120
 
104
121
  .global {
@@ -356,6 +373,20 @@ ptc-link, ptc-square-card,
356
373
  .d-green-underline:active {
357
374
  transition: none;
358
375
  }
376
+ .d-green-underline:focus-visible {
377
+ border-radius: var(--ptc-border-radius-standard);
378
+ outline: 5px solid var(--keyboard-nav-outline);
379
+ transition: none;
380
+ color: var(--color-green-06);
381
+ transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);
382
+ }
383
+ .d-green-underline:focus-visible.focus-state-dark-background {
384
+ border-radius: var(--ptc-border-radius-standard);
385
+ border: 2px solid white;
386
+ outline: 5px solid var(--keyboard-nav-outline);
387
+ transition: none;
388
+ text-decoration-line: none;
389
+ }
359
390
 
360
391
  .d-white-underline {
361
392
  color: var(--color-white);
@@ -14,6 +14,7 @@ export class PtcLink {
14
14
  this.seoCompatibilityMode = false;
15
15
  this.styles = undefined;
16
16
  this.trackerId = undefined;
17
+ this.darkFocusState = false;
17
18
  }
18
19
  seoCompRender() {
19
20
  const classMap = this.getCssClassMap();
@@ -75,6 +76,7 @@ export class PtcLink {
75
76
  [this.fontSize]: true,
76
77
  [this.linkArea]: this.linkArea ? true : false,
77
78
  [this.fontWeight]: this.fontWeight ? true : false,
79
+ ['focus-state-dark-background']: this.darkFocusState
78
80
  };
79
81
  }
80
82
  static get is() { return "ptc-link"; }
@@ -300,6 +302,24 @@ export class PtcLink {
300
302
  },
301
303
  "attribute": "tracker-id",
302
304
  "reflect": false
305
+ },
306
+ "darkFocusState": {
307
+ "type": "boolean",
308
+ "mutable": false,
309
+ "complexType": {
310
+ "original": "boolean",
311
+ "resolved": "boolean",
312
+ "references": {}
313
+ },
314
+ "required": false,
315
+ "optional": false,
316
+ "docs": {
317
+ "tags": [],
318
+ "text": "darkFocusState for dark background"
319
+ },
320
+ "attribute": "dark-focus-state",
321
+ "reflect": false,
322
+ "defaultValue": "false"
303
323
  }
304
324
  };
305
325
  }
@@ -52,7 +52,7 @@ export class PtcMediaCard {
52
52
  // : null)}
53
53
  style: this.cardType != "case-study-icon" ?
54
54
  ((this.isHovered && this.hoverBackgroundImage) ? { backgroundImage: `url(${this.hoverBackgroundImage})` } : { backgroundImage: `url(${this.activeBackgroundImage})` }) : {} }, h("slot", { name: "seo-content" }), this.cardType != "case-study-icon" ?
55
- (h(Tag, { class: 'anchor-wrap', target: this.target, href: this.cardHref, rel: this.rel, "aria-label": this.cardHref ? 'Read more about ' + this.ariaLabel : undefined }, isVideoUrl && (h("video", { muted: true, loop: true, playsinline: true, poster: this.activeBackgroundImage, ref: el => (this.videoEle = el), style: this.isHovered ? { display: 'block' } : { display: 'none' } }, h("source", { src: this.hoverBackgroundImage, type: "video/mp4" }, "Your browser does not support the video tag."))), this.cardType === "media-card" && h("ptc-overlay", { "filter-color": "black-2" }), this.cardType === "media-card" && this.getCardText())) : null, this.cardType === "case-study-icon" ? (h("div", { id: this.trackerId, class: "tracker-div" }, h("a", { class: "case-study-img-anchor mf-listen", target: this.target, href: this.cardHref, rel: this.rel, "aria-label": this.cardHref ? 'Read more about ' + this.ariaLabel : undefined }, h("img", { class: "case-study-bg-img", src: this.activeBackgroundImage, alt: this.activeBackgroundImageAlt }), h("div", { class: "after" }), h("img", { class: "case-study-icon-img", src: this.iconImage, alt: this.iconImageAlt }))))
55
+ (h(Tag, { class: 'anchor-wrap', target: this.target, href: this.cardHref, rel: this.rel, tabindex: "-1", "aria-label": this.cardHref ? 'Read more about ' + this.ariaLabel : undefined }, isVideoUrl && (h("video", { muted: true, loop: true, playsinline: true, poster: this.activeBackgroundImage, ref: el => (this.videoEle = el), style: this.isHovered ? { display: 'block' } : { display: 'none' }, tabindex: "-1" }, h("source", { src: this.hoverBackgroundImage, type: "video/mp4" }, "Your browser does not support the video tag."))), this.cardType === "media-card" && h("ptc-overlay", { "filter-color": "black-2" }), this.cardType === "media-card" && this.getCardText())) : null, this.cardType === "case-study-icon" ? (h("div", { id: this.trackerId, class: "tracker-div" }, h("a", { class: "case-study-img-anchor mf-listen", target: this.target, href: this.cardHref, rel: this.rel, "aria-label": this.cardHref ? 'Read more about ' + this.ariaLabel : undefined }, h("img", { class: "case-study-bg-img", src: this.activeBackgroundImage, alt: this.activeBackgroundImageAlt }), h("div", { class: "after" }), h("img", { class: "case-study-icon-img", src: this.iconImage, alt: this.iconImageAlt }))))
56
56
  : null));
57
57
  }
58
58
  getCssClassMap() {
@@ -1754,6 +1754,148 @@ ptc-link, ptc-square-card,
1754
1754
  margin-bottom: 4px !important;
1755
1755
  }
1756
1756
 
1757
+ .preloader-generic-form .form-block-1 {
1758
+ border-radius: 4px;
1759
+ border: 8px solid var(--color-gray-02);
1760
+ padding: 45px 32px;
1761
+ margin-bottom: 118px;
1762
+ display: block;
1763
+ }
1764
+ @media only screen and (min-width: 992px) {
1765
+ .preloader-generic-form .form-block-1 {
1766
+ display: none;
1767
+ }
1768
+ }
1769
+ .preloader-generic-form .form-block-1 .form-block-skeleton {
1770
+ padding-bottom: 37px;
1771
+ }
1772
+ .preloader-generic-form .form-block-2 {
1773
+ border-radius: 4px;
1774
+ border: 8px solid var(--color-gray-02);
1775
+ padding: 45px 32px;
1776
+ margin-bottom: 118px;
1777
+ display: none;
1778
+ }
1779
+ @media only screen and (min-width: 992px) {
1780
+ .preloader-generic-form .form-block-2 {
1781
+ display: block;
1782
+ }
1783
+ }
1784
+ .preloader-generic-form .form-block-2 .form-block-skeleton {
1785
+ padding-bottom: 37px;
1786
+ }
1787
+ .preloader-generic-form .skeleton .skeleton-block.very-bold {
1788
+ width: 60%;
1789
+ height: 55px;
1790
+ }
1791
+ @media only screen and (min-width: 768px) {
1792
+ .preloader-generic-form .skeleton .skeleton-block.very-bold {
1793
+ width: 50%;
1794
+ }
1795
+ }
1796
+ @media only screen and (min-width: 992px) {
1797
+ .preloader-generic-form .skeleton .skeleton-block.very-bold {
1798
+ width: 40%;
1799
+ }
1800
+ }
1801
+ @media only screen and (min-width: 1200px) {
1802
+ .preloader-generic-form .skeleton .skeleton-block.very-bold {
1803
+ width: 60%;
1804
+ }
1805
+ }
1806
+
1807
+ .pdf-skeleton-preloader .jumbotron-sec {
1808
+ background: #fff;
1809
+ }
1810
+ .pdf-skeleton-preloader .section-1 {
1811
+ padding-top: 60px;
1812
+ padding-bottom: 222px;
1813
+ }
1814
+ .pdf-skeleton-preloader .section-1 .line-1 {
1815
+ height: 44px;
1816
+ width: 100%;
1817
+ margin-bottom: 39px;
1818
+ }
1819
+ @media only screen and (min-width: 992px) {
1820
+ .pdf-skeleton-preloader .section-1 .line-1 {
1821
+ width: 70%;
1822
+ }
1823
+ }
1824
+ @media only screen and (min-width: 1200px) {
1825
+ .pdf-skeleton-preloader .section-1 .line-1 {
1826
+ width: 50%;
1827
+ }
1828
+ }
1829
+ .pdf-skeleton-preloader .section-1 .line-2 {
1830
+ width: 100%;
1831
+ }
1832
+ @media only screen and (min-width: 1200px) {
1833
+ .pdf-skeleton-preloader .section-1 .line-2 {
1834
+ width: 90%;
1835
+ }
1836
+ }
1837
+ .pdf-skeleton-preloader .section-1 .line-3 {
1838
+ width: 97%;
1839
+ }
1840
+ @media only screen and (min-width: 1200px) {
1841
+ .pdf-skeleton-preloader .section-1 .line-3 {
1842
+ width: 87%;
1843
+ }
1844
+ }
1845
+ .pdf-skeleton-preloader .section-1 .line-4 {
1846
+ width: 95%;
1847
+ }
1848
+ @media only screen and (min-width: 1200px) {
1849
+ .pdf-skeleton-preloader .section-1 .line-4 {
1850
+ width: 85%;
1851
+ }
1852
+ }
1853
+ .pdf-skeleton-preloader .pdf-area {
1854
+ padding-bottom: 110px;
1855
+ }
1856
+ .pdf-skeleton-preloader .pdf-area .pdf-section {
1857
+ background-color: #fff;
1858
+ width: auto;
1859
+ }
1860
+ @media only screen and (min-width: 1440px) {
1861
+ .pdf-skeleton-preloader .pdf-area .pdf-section {
1862
+ width: 781px;
1863
+ margin: auto;
1864
+ }
1865
+ }
1866
+ .pdf-skeleton-preloader .pdf-area .pdf-section .top-border {
1867
+ height: 48px;
1868
+ background-color: var(--color-gray-03);
1869
+ }
1870
+ .pdf-skeleton-preloader .pdf-area .pdf-section .pdf-body {
1871
+ padding-top: 60px;
1872
+ padding-left: 24px;
1873
+ padding-right: 24px;
1874
+ padding-bottom: 58px;
1875
+ }
1876
+ @media only screen and (min-width: 992px) {
1877
+ .pdf-skeleton-preloader .pdf-area .pdf-section .pdf-body {
1878
+ padding-left: 155px;
1879
+ padding-right: 155px;
1880
+ }
1881
+ }
1882
+ @media only screen and (min-width: 1200px) {
1883
+ .pdf-skeleton-preloader .pdf-area .pdf-section .pdf-body {
1884
+ padding-left: 247px;
1885
+ padding-right: 247px;
1886
+ }
1887
+ }
1888
+ @media only screen and (min-width: 1440px) {
1889
+ .pdf-skeleton-preloader .pdf-area .pdf-section .pdf-body {
1890
+ padding-left: 70px;
1891
+ padding-right: 70px;
1892
+ }
1893
+ }
1894
+ .pdf-skeleton-preloader .pdf-area .pdf-section .pdf-body .skeleton .skeleton-block.thick-block {
1895
+ height: 623px;
1896
+ width: 100%;
1897
+ }
1898
+
1757
1899
  @keyframes pulse {
1758
1900
  0% {
1759
1901
  opacity: 0.5;
@@ -60,6 +60,12 @@ export class PtcPreloaderSection {
60
60
  case 'value-led': {
61
61
  return (h("div", { class: "preloader-wrapper" }, h("div", { class: "preloader-value-led" }, h("div", { class: "hero-image" }), h("div", { class: "ptc-container content-container" }, h("div", { class: "content-container-child" }, h("div", { class: "is-grid has-col-gap-md" }, h("div", { class: "is-col-3-lg" }, h("div", { class: "skeleton container-child-1" }, h("div", { class: "is-grid block grid-1" }, h("div", { class: "is-col-12 is-placed-left" }, Array.from({ length: 8 }).map(() => (h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thinnest-1" }), h("div", { class: "skeleton-block thinnest-1 long-4" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" })))))))), h("div", { class: "is-col-12 is-col-9-lg" }, h("div", { class: "skeleton container-child-2" }, h("div", { class: "is-grid block grid-top" }, h("div", { class: "is-col-12 is-placed-left" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thin smallest left" }), h("div", { class: "skeleton-block thick long-1" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block bold long-2" }), h("div", { class: "skeleton-block bold long-1" }), h("div", { class: "skeleton-block bold long-3" })))), h("div", { class: "grid-top-1" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block block-1" }))), h("div", { class: "skeleton-block bold" }), h("div", { class: "skeleton-block bold long-2" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block thinnnest longer" }), h("div", { class: "skeleton-block thinnnest longer" }), h("div", { class: "skeleton-block thinnnest longest" }), h("div", { class: "skeleton-block thinnnest long" }), h("div", { class: "skeleton-block thinnnest long-4" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block bold" }), h("div", { class: "skeleton-block bold long-2" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block thinnnest longer" }), h("div", { class: "skeleton-block thinnnest longer" }), h("div", { class: "skeleton-block thinnnest longest" }), h("div", { class: "skeleton-block thinnnest long" }), h("div", { class: "skeleton-block thinnnest long-4" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block thinnnest longer" }), h("div", { class: "skeleton-block thinnnest longer" }), h("div", { class: "skeleton-block thinnnest longest" }), h("div", { class: "skeleton-block thinnnest long" }), h("div", { class: "skeleton-block thinnnest long-4" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }))))), h("div", { class: "related-items" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" })))));
62
62
  }
63
+ case 'generic-form-with-image': {
64
+ return (h("div", { class: "preloader-wrapper" }, h("div", { class: "ptc-container skeleton-jumbotron" }, h("div", { class: "is-grid has-no-row-gap has-col-gap-lg" }, h("div", { class: "is-col-12 is-col-8-lg" }, h("div", { class: "sekleton" }, h("div", { class: "skeleton-block thin short" }), h("div", { class: "skeleton-block thick" }), h("div", { class: "skeleton-block thick" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "cta-wrap" }, h("div", { class: "skeleton-block cta" }), h("div", { class: "skeleton-block cta" })))))), h("div", { class: "ptc-container preloader-generic-form" }, h("div", { class: "is-grid block form-block-1" }, h("div", { class: "is-col-12" }, Array.from({ length: 7 }).map(() => (h("div", { class: "skeleton form-block-skeleton" }, h("div", { class: "skeleton-block bold" })))), h("div", { class: "skeleton" }, h("div", { class: "skeleton-block very-bold" })))), h("div", { class: "is-grid block" }, h("div", { class: "is-col-12-xs is-col-12-sm is-col-md-8" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thin short" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }), h("div", { class: "skeleton-block thin medium" }), h("div", { class: "skeleton-block thin medium" }))), h("div", { class: "is-col-12-xs is-col-12-sm is-col-4-md form-block-2" }, Array.from({ length: 7 }).map(() => (h("div", { class: "skeleton form-block-skeleton" }, h("div", { class: "skeleton-block bold" })))), h("div", { class: "skeleton" }, h("div", { class: "skeleton-block very-bold" })))))));
65
+ }
66
+ case 'pdf-skeleton': {
67
+ return (h("div", { class: "preloader-wrapper pdf-skeleton-preloader" }, h("div", { class: "jumbotron-sec" }, h("div", { class: "ptc-container skeleton-jumbotron" }, h("div", { class: "is-grid has-no-row-gap has-col-gap-lg" }, h("div", { class: "is-col-12 is-col-8-lg" }, h("div", { class: "sekleton" }, h("div", { class: "skeleton-block thin short" }), h("div", { class: "skeleton-block thick" }), h("div", { class: "skeleton-block thick" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "cta-wrap" }, h("div", { class: "skeleton-block cta" }))))))), h("div", { class: "ptc-container" }, h("div", { class: "section-1" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block line-1" }), h("div", { class: "skeleton-block line-2 thin" }), h("div", { class: "skeleton-block line-3 thin" }), h("div", { class: "skeleton-block line-4 thin" }))), h("div", { class: "pdf-area" }, h("div", { class: "pdf-section" }, h("div", { class: "top-border" }), h("div", { class: "pdf-body" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thick" }), h("div", { class: "skeleton-block thick" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block thick-block" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }))))))));
68
+ }
63
69
  default:
64
70
  return (h("div", { class: "ptc-section-standard preload-min-height" }, h("div", { class: "ptc-container" }, h("max-width-container", { "max-width": "960", breakpoint: 1200 }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-header" }, h("div", { class: "skeleton-block bold" }), h("div", { class: "skeleton-block wide bold" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block medium" }), h("div", { class: "skeleton-block narrow" }), h("div", { class: "skeleton-block short" })), h("div", { class: "skeleton-image" }), h("div", { class: "skeleton-text" }, h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block long" }), h("div", { class: "skeleton-block narrow" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block medium" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block long" }), h("div", { class: "skeleton-block medium" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block long" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block medium" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block wide" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block short bold" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block wide" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block medium" })))))));
65
71
  }
@@ -61,6 +61,10 @@ ptc-link, ptc-square-card,
61
61
  height: 51px;
62
62
  border-radius: var(--ptc-border-radius-standard);
63
63
  }
64
+ :host .search-div:focus-visible {
65
+ outline: 5px solid var(--keyboard-nav-outline) !important;
66
+ border-radius: var(--ptc-border-radius-standard) !important;
67
+ }
64
68
  :host .search-div .input-wrap {
65
69
  position: relative;
66
70
  width: 100%;
@@ -59,7 +59,7 @@ export class PtcSearchField {
59
59
  render() {
60
60
  const classMap = this.getCssClassMap();
61
61
  const clearIconColor = this.darkTheme ? "white" : "black";
62
- return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("div", { class: "search-div" }, h("div", { class: 'input-wrap' }, h("input", { id: "ptc-search-input", type: "text", value: this.textValue, placeholder: this.placeholderLabel, onKeyDown: (e) => { this.keyDownHandler(e); }, onKeyUp: () => { this.keyUpHandler(); }, onChange: (e) => { this.textChangedHandler(e); } }), this.enableClear && h("div", { class: "icon-wrapper" }, h("icon-asset", { class: "cls", type: "ptc", color: clearIconColor, name: "times", size: "xxx-small", onClick: (e) => { this.clearSearchValue(); this.buttonClickHandler(e); } }))), h("button", { type: "button", color: "blackgrey", class: "search-btn", onClick: (e) => { this.buttonClickHandler(e); } }, h("icon-asset", { type: "ptc", size: "medium", name: "new-search", color: "white" })))));
62
+ return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("div", { class: "search-div", tabindex: "0" }, h("div", { class: 'input-wrap' }, h("input", { id: "ptc-search-input", type: "text", value: this.textValue, placeholder: this.placeholderLabel, onKeyDown: (e) => { this.keyDownHandler(e); }, onKeyUp: () => { this.keyUpHandler(); }, onChange: (e) => { this.textChangedHandler(e); } }), this.enableClear && h("div", { class: "icon-wrapper" }, h("icon-asset", { class: "cls", type: "ptc", color: clearIconColor, name: "times", size: "xxx-small", onClick: (e) => { this.clearSearchValue(); this.buttonClickHandler(e); } }))), h("button", { type: "button", color: "blackgrey", class: "search-btn", onClick: (e) => { this.buttonClickHandler(e); }, tabindex: "-1" }, h("icon-asset", { type: "ptc", size: "medium", name: "new-search", color: "white" })))));
63
63
  }
64
64
  getCssClassMap() {
65
65
  return {
@@ -84,6 +84,7 @@ ptc-link, ptc-square-card,
84
84
  }
85
85
  }
86
86
  :host .navArrows {
87
+ cursor: pointer;
87
88
  display: inline-block;
88
89
  }
89
90
  :host .navArrows svg {