@ptcwebops/ptcw-design 6.4.32-beta → 6.4.34-beta

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 (172) hide show
  1. package/dist/cjs/event-podcast-slider-example.cjs.entry.js +1 -1
  2. package/dist/cjs/featured-events-slider-example.cjs.entry.js +1 -1
  3. package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
  4. package/dist/cjs/icon-asset_2.cjs.entry.js +154 -0
  5. package/dist/cjs/list-item.cjs.entry.js +52 -0
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/ptc-back-to-top.cjs.entry.js +100 -0
  8. package/dist/cjs/ptc-blue-pill-announcement-bar.cjs.entry.js +6 -2
  9. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +63 -0
  10. package/dist/cjs/ptc-button.cjs.entry.js +117 -0
  11. package/dist/cjs/ptc-card_2.cjs.entry.js +1 -1
  12. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  13. package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +1 -1
  14. package/dist/cjs/ptc-icon-component.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-para.cjs.entry.js +139 -0
  16. package/dist/cjs/ptc-picture.cjs.entry.js +185 -0
  17. package/dist/cjs/ptc-product-card.cjs.entry.js +61 -0
  18. package/dist/cjs/ptc-product-category.cjs.entry.js +20 -0
  19. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +80 -0
  20. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +28 -0
  21. package/dist/cjs/ptc-product-list.cjs.entry.js +172 -0
  22. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +178 -0
  23. package/dist/cjs/ptc-readmore.cjs.entry.js +186 -0
  24. package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
  25. package/dist/cjs/ptc-store-card-list.cjs.entry.js +2 -7
  26. package/dist/cjs/ptc-store-card.cjs.entry.js +1 -1
  27. package/dist/cjs/ptc-title.cjs.entry.js +161 -0
  28. package/dist/cjs/ptc-tooltip.cjs.entry.js +113 -0
  29. package/dist/cjs/ptcw-design.cjs.js +1 -1
  30. package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +1 -1
  31. package/dist/cjs/storefront-enhanced-product-list-example.cjs.entry.js +1 -1
  32. package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +11 -16
  33. package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.css +11 -16
  34. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +11 -16
  35. package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +11 -16
  36. package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.css +11 -16
  37. package/dist/collection/components/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.css +4 -2
  38. package/dist/collection/components/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.js +29 -1
  39. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +11 -16
  40. package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +11 -16
  41. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +4 -4
  42. package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +3 -3
  43. package/dist/collection/components/ptc-store-card/ptc-store-card.css +1 -1
  44. package/dist/collection/components/ptc-store-card-list/ptc-store-card-list.css +86 -13
  45. package/dist/collection/components/ptc-store-card-list/ptc-store-card-list.js +1 -6
  46. package/dist/custom-elements/index.js +19 -20
  47. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  48. package/dist/esm/blog-detail-layout.entry.js +1 -1
  49. package/dist/esm/blogs-search-section.entry.js +1 -1
  50. package/dist/esm/event-podcast-slider-example.entry.js +1 -1
  51. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  52. package/dist/esm/homepage-jumbotron.entry.js +2 -2
  53. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  54. package/dist/esm/icon-asset_2.entry.js +149 -0
  55. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  56. package/dist/esm/{interfaces-7c0243be.js → interfaces-4caedd26.js} +1 -1
  57. package/dist/esm/list-item.entry.js +48 -0
  58. package/dist/esm/loader.js +1 -1
  59. package/dist/esm/most-popular-news.entry.js +1 -1
  60. package/dist/esm/my-component.entry.js +1 -1
  61. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  62. package/dist/esm/ptc-back-to-top.entry.js +96 -0
  63. package/dist/esm/ptc-background-video.entry.js +1 -1
  64. package/dist/esm/ptc-blue-pill-announcement-bar.entry.js +6 -2
  65. package/dist/esm/ptc-breadcrumb.entry.js +59 -0
  66. package/dist/esm/ptc-button.entry.js +113 -0
  67. package/dist/esm/ptc-card_2.entry.js +1 -1
  68. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  69. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  70. package/dist/esm/ptc-form-checkbox_4.entry.js +1 -1
  71. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  72. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  73. package/dist/esm/ptc-icon-card-slider-example.entry.js +1 -1
  74. package/dist/esm/ptc-icon-card.entry.js +1 -1
  75. package/dist/esm/ptc-icon-component.entry.js +1 -1
  76. package/dist/esm/ptc-img.entry.js +1 -1
  77. package/dist/esm/ptc-link.entry.js +1 -1
  78. package/dist/esm/ptc-media-card.entry.js +1 -1
  79. package/dist/esm/ptc-para.entry.js +135 -0
  80. package/dist/esm/ptc-picture.entry.js +181 -0
  81. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  82. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  83. package/dist/esm/ptc-product-card.entry.js +57 -0
  84. package/dist/esm/ptc-product-category.entry.js +16 -0
  85. package/dist/esm/ptc-product-dropdown.entry.js +76 -0
  86. package/dist/esm/ptc-product-highlight-card.entry.js +24 -0
  87. package/dist/esm/ptc-product-list.entry.js +168 -0
  88. package/dist/esm/ptc-product-sidebar.entry.js +174 -0
  89. package/dist/esm/ptc-readmore.entry.js +182 -0
  90. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  91. package/dist/esm/ptc-spacer.entry.js +34 -0
  92. package/dist/esm/ptc-store-card-list.entry.js +2 -7
  93. package/dist/esm/ptc-store-card.entry.js +1 -1
  94. package/dist/esm/ptc-title.entry.js +157 -0
  95. package/dist/esm/ptc-tooltip.entry.js +109 -0
  96. package/dist/esm/ptcw-design.js +1 -1
  97. package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +1 -1
  98. package/dist/esm/storefront-enhanced-product-list-example.entry.js +1 -1
  99. package/dist/esm/{utils-a64ba942.js → utils-bdd0cc16.js} +1 -1
  100. package/dist/ptcw-design/p-00c5879b.entry.js +1 -0
  101. package/dist/ptcw-design/p-03a1e1a5.entry.js +1 -0
  102. package/dist/ptcw-design/p-068b64a1.entry.js +1 -0
  103. package/dist/ptcw-design/p-0ea22cdc.entry.js +1 -0
  104. package/dist/ptcw-design/p-183ba1ca.entry.js +1 -0
  105. package/dist/ptcw-design/p-1acd3617.entry.js +1 -0
  106. package/dist/ptcw-design/p-1b3394a7.entry.js +1 -0
  107. package/dist/ptcw-design/p-2e288e60.entry.js +1 -0
  108. package/dist/ptcw-design/{p-0824f503.entry.js → p-2efd18d8.entry.js} +1 -1
  109. package/dist/ptcw-design/{p-681d26ef.entry.js → p-2f7b6437.entry.js} +1 -1
  110. package/dist/ptcw-design/p-2f82de8f.entry.js +1 -0
  111. package/dist/ptcw-design/p-36d6e662.entry.js +1 -0
  112. package/dist/ptcw-design/p-4313edfb.entry.js +1 -0
  113. package/dist/ptcw-design/p-47aa1583.entry.js +1 -0
  114. package/dist/ptcw-design/p-5119fb48.entry.js +1 -0
  115. package/dist/ptcw-design/p-561a622f.entry.js +1 -0
  116. package/dist/ptcw-design/{p-ed49544c.entry.js → p-562a3e36.entry.js} +1 -1
  117. package/dist/ptcw-design/{p-fa045097.entry.js → p-5b00a563.entry.js} +1 -1
  118. package/dist/ptcw-design/{p-fd269576.entry.js → p-5dd9b00c.entry.js} +1 -1
  119. package/dist/ptcw-design/p-674c828e.entry.js +1 -0
  120. package/dist/ptcw-design/p-709cc1f0.entry.js +1 -0
  121. package/dist/ptcw-design/{p-ee1183b2.js → p-711bcdad.js} +1 -1
  122. package/dist/ptcw-design/p-73293d32.entry.js +1 -0
  123. package/dist/ptcw-design/{p-bdb2e42c.entry.js → p-75c8fceb.entry.js} +1 -1
  124. package/dist/ptcw-design/{p-7524411a.entry.js → p-7777753a.entry.js} +1 -1
  125. package/dist/ptcw-design/{p-a31f22a1.entry.js → p-804dac0c.entry.js} +1 -1
  126. package/dist/ptcw-design/{p-e2da8109.entry.js → p-83dabf2e.entry.js} +1 -1
  127. package/dist/ptcw-design/{p-83632220.entry.js → p-850e6e8c.entry.js} +1 -1
  128. package/dist/ptcw-design/{p-87a9a028.entry.js → p-87215e3a.entry.js} +1 -1
  129. package/dist/ptcw-design/p-89da867f.entry.js +1 -0
  130. package/dist/ptcw-design/p-8efaac1b.entry.js +1 -0
  131. package/dist/ptcw-design/{p-2e1c6701.entry.js → p-9050ab76.entry.js} +1 -1
  132. package/dist/ptcw-design/{p-769954c9.entry.js → p-91a9f126.entry.js} +1 -1
  133. package/dist/ptcw-design/{p-7398874a.entry.js → p-9df3c31f.entry.js} +1 -1
  134. package/dist/ptcw-design/p-9e8e2835.entry.js +1 -0
  135. package/dist/ptcw-design/{p-2fa5814b.entry.js → p-a318a793.entry.js} +1 -1
  136. package/dist/ptcw-design/p-a3ef1660.entry.js +1 -0
  137. package/dist/ptcw-design/{p-9461c4eb.entry.js → p-a81833cd.entry.js} +1 -1
  138. package/dist/ptcw-design/{p-3596ce5a.entry.js → p-b154bbdb.entry.js} +1 -1
  139. package/dist/ptcw-design/p-b1c51eb4.entry.js +1 -0
  140. package/dist/ptcw-design/{p-fb0f4459.entry.js → p-b2fcbbd8.entry.js} +1 -1
  141. package/dist/ptcw-design/{p-22cf00e7.js → p-c7e948b2.js} +1 -1
  142. package/dist/ptcw-design/p-c9762c88.entry.js +1 -0
  143. package/dist/ptcw-design/{p-1b1fd60d.entry.js → p-cf41ac32.entry.js} +1 -1
  144. package/dist/ptcw-design/{p-b9966f20.entry.js → p-d3c11c68.entry.js} +1 -1
  145. package/dist/ptcw-design/p-d428ba40.entry.js +1 -0
  146. package/dist/ptcw-design/p-e00c5964.entry.js +1 -0
  147. package/dist/ptcw-design/p-e1373325.entry.js +1 -0
  148. package/dist/ptcw-design/{p-edaf241d.entry.js → p-e65cbdb9.entry.js} +1 -1
  149. package/dist/ptcw-design/p-ec22d0b8.entry.js +1 -0
  150. package/dist/ptcw-design/p-efe8563a.entry.js +1 -0
  151. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  152. package/dist/types/components/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.d.ts +1 -0
  153. package/dist/types/components.d.ts +64 -62
  154. package/package.json +1 -1
  155. package/readme.md +1 -1
  156. package/dist/cjs/icon-asset_17.cjs.entry.js +0 -1660
  157. package/dist/cjs/ptc-search-field.cjs.entry.js +0 -95
  158. package/dist/esm/icon-asset_17.entry.js +0 -1640
  159. package/dist/esm/ptc-search-field.entry.js +0 -91
  160. package/dist/ptcw-design/p-045c468a.entry.js +0 -1
  161. package/dist/ptcw-design/p-4e8c1ba6.entry.js +0 -1
  162. package/dist/ptcw-design/p-5aed43be.entry.js +0 -1
  163. package/dist/ptcw-design/p-73650c8e.entry.js +0 -1
  164. package/dist/ptcw-design/p-8ffdd794.entry.js +0 -1
  165. package/dist/ptcw-design/p-af46854e.entry.js +0 -1
  166. package/dist/ptcw-design/p-d1ff12d2.entry.js +0 -1
  167. package/dist/ptcw-design/p-da4b7e23.entry.js +0 -1
  168. package/dist/ptcw-design/p-e50a5a46.entry.js +0 -1
  169. package/dist/ptcw-design/p-e69a0445.entry.js +0 -1
  170. package/dist/ptcw-design/p-e9f834fa.entry.js +0 -1
  171. package/dist/ptcw-design/p-eabf87be.entry.js +0 -1
  172. package/dist/ptcw-design/p-fe445a4a.entry.js +0 -1
@@ -1,95 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-63ddc79c.js');
6
-
7
- const ptcSearchFieldCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host .search-div{position:relative;display:flex;align-items:stretch;height:51px;border-radius:var(--ptc-border-radius-standard)}:host .search-div:focus-visible{outline:5px solid var(--keyboard-nav-outline) !important;border-radius:var(--ptc-border-radius-standard) !important}:host .search-div .input-wrap{position:relative;width:100%;box-sizing:border-box;display:flex}:host .search-div .input-wrap input{height:100%}:host .search-div input{background-color:var(--color-white);height:-webkit-fill-available;border:0 solid var(--color-gray-12);border-radius:var(--ptc-border-radius-standard) 0 0 var(--ptc-border-radius-standard);flex-grow:2;padding-left:var(--ptc-element-spacing-04);line-height:var(--ptc-line-height-loose);padding-right:54px;width:100%;box-sizing:border-box;margin-right:0px}:host .search-div input:focus-visible{border-radius:var(--ptc-border-radius-standard) 0 0 var(--ptc-border-radius-standard);outline:none}:host .search-div input::-moz-placeholder{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-small);position:relative;top:1px;color:var(--color-gray-10)}:host .search-div input::placeholder{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-small);position:relative;top:1px;color:var(--color-gray-10)}:host .search-div div#searchBtnID{z-index:1}:host .search-div .search-btn{cursor:pointer;height:51px;min-width:51px;border-radius:0 var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0;background-color:var(--color-gray-12);border:0 solid var(--color-gray-12);transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium);margin:0}:host .search-div .search-btn:active{transition:none;background-color:var(--color-black)}:host .search-div .search-btn:hover{background-color:var(--color-gray-10)}:host .search-div .search-btn:focus-visible{z-index:1;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host(.dark){z-index:999;position:relative;margin-top:20px}:host(.dark) .search-div{height:43px;width:208px}@media (max-width: 480px){:host(.dark) .search-div{width:100%}}@media only screen and (min-width: 992px){:host(.dark) .search-div{width:246px}}:host(.dark) .search-div input{background-color:var(--color-gray-12);border:1px solid var(--color-gray-08);color:var(--color-white);padding-left:unset;text-indent:var(--ptc-element-spacing-04);padding-right:2px}:host(.dark) .search-div input::-moz-placeholder{color:var(--color-white);font-size:var(--ptc-font-size-x-small)}:host(.dark) .search-div input::placeholder{color:var(--color-white);font-size:var(--ptc-font-size-x-small)}:host(.dark) .search-div .search-btn{height:43px;width:43px;background-color:var(--color-gray-10);border:1px solid var(--color-gray-08);border-left:0}:host(.dark) .search-div .search-btn:hover{background-color:var(--color-gray-08)}:host(.news){z-index:999;position:relative;margin-top:20px}:host(.news) .search-div{height:43px}@media (max-width: 480px){:host(.news) .search-div{width:100%}}@media only screen and (min-width: 992px){:host(.news) .search-div{width:246px}}:host(.news) .search-div .search-btn{height:43px}:host(.x-small) .search-div{box-shadow:var(--ptc-shadow-x-small)}:host(.small) .search-div{box-shadow:var(--ptc-shadow-small)}:host(.medium) .search-div{box-shadow:var(--ptc-shadow-medium)}:host(.large) .search-div{box-shadow:var(--ptc-shadow-large)}:host(.x-large) .search-div{box-shadow:var(--ptc-shadow-x-large)}@media (max-width: 480px){input{width:75%}}.icon-wrapper{padding:16px 20px 0;background-color:transparent;position:absolute;right:0;top:-2px;height:100%;box-sizing:border-box}.icon-wrapper .cls{cursor:pointer;display:block}:host(.dark) .icon-wrapper{padding:12px 20px 0;background-color:var(--color-gray-12);border:1px solid var(--color-gray-08);border-left-width:0;position:initial;right:auto;top:auto}:host(.dark):host(.enable-clear) input{border-right-width:0}@media only screen and (min-width: 992px){.cls{display:none}}.tracker-div{display:inline}";
8
-
9
- const PtcSearchField = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.valueChanged = index.createEvent(this, "valueChanged", 7);
13
- this.clicked = index.createEvent(this, "clicked", 7);
14
- this.textValue = undefined;
15
- this.placeholderLabel = undefined;
16
- this.darkTheme = undefined;
17
- this.isNews = undefined;
18
- this.elevation = "small";
19
- this.enableClear = false;
20
- this.styles = undefined;
21
- }
22
- textChangedHandler(event) {
23
- this.valueChanged.emit({
24
- sender: this,
25
- event: event,
26
- searchTerm: this.getSearchValue(),
27
- });
28
- }
29
- buttonClickHandler(event) {
30
- this.clicked.emit({
31
- sender: this,
32
- event: event,
33
- searchTerm: this.getSearchValue(),
34
- });
35
- }
36
- keyDownHandler(event) {
37
- if (event.key == "Enter") {
38
- this.clicked.emit({
39
- sender: this,
40
- event: event,
41
- searchTerm: this.getSearchValue(),
42
- });
43
- }
44
- if (this.getSearchValue() && this.enableClear) ;
45
- }
46
- keyUpHandler() {
47
- if (!this.darkTheme) {
48
- this.enableClear = !(this.getSearchValue() == "");
49
- }
50
- }
51
- getSearchValue() {
52
- let result = "";
53
- let input = this.el.shadowRoot.querySelector("input");
54
- if (input) {
55
- result = input.value;
56
- }
57
- return result;
58
- }
59
- async clearSearchValue() {
60
- this.textValue = "";
61
- let input = this.el.shadowRoot.querySelector("input");
62
- if (input) {
63
- input.value = "";
64
- this.enableClear = false;
65
- }
66
- }
67
- render() {
68
- const classMap = this.getCssClassMap();
69
- const clearIconColor = this.darkTheme ? "white" : "black";
70
- return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("div", { class: "search-div" }, index.h("div", { class: "input-wrap mf-listen", id: "searchTextID" }, index.h("input", { id: "ptc-search-input", type: "text", value: this.textValue, placeholder: this.placeholderLabel, onKeyDown: (e) => {
71
- this.keyDownHandler(e);
72
- }, onKeyUp: () => {
73
- this.keyUpHandler();
74
- }, onChange: (e) => {
75
- this.textChangedHandler(e);
76
- } }), this.enableClear && (index.h("div", { class: "icon-wrapper" }, index.h("icon-asset", { class: "cls", type: "ptc", color: clearIconColor, name: "times", size: "xxx-small", onClick: (e) => {
77
- this.clearSearchValue();
78
- this.buttonClickHandler(e);
79
- } })))), index.h("div", { class: "tracker-div mf-listen", id: "searchBtnID" }, index.h("button", { type: "button", color: "blackgrey", class: "search-btn", onClick: (e) => {
80
- this.buttonClickHandler(e);
81
- } }, index.h("icon-asset", { type: "ptc", size: "medium", name: "new-search", color: "white" }))))));
82
- }
83
- getCssClassMap() {
84
- return {
85
- ["dark"]: this.darkTheme ? true : false,
86
- [this.elevation]: true,
87
- ["enable-clear"]: this.enableClear,
88
- ["news"]: this.isNews ? true : false,
89
- };
90
- }
91
- get el() { return index.getElement(this); }
92
- };
93
- PtcSearchField.style = ptcSearchFieldCss;
94
-
95
- exports.ptc_search_field = PtcSearchField;