@ptcwebops/ptcw-design 6.5.6-upgrade → 6.5.7-upgrade

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 (880) hide show
  1. package/dist/cjs/buying-option-card.cjs.entry.js +2 -2
  2. package/dist/cjs/buying-option-cards-slider.cjs.entry.js +1 -1
  3. package/dist/cjs/dropdown-item.cjs.entry.js +1 -1
  4. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +1 -1
  5. package/dist/cjs/fl-tab-content_3.cjs.entry.js +4 -4
  6. package/dist/cjs/homepage-clickable-tab.cjs.entry.js +2 -2
  7. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  8. package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +3 -3
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/max-width-container.cjs.entry.js +1 -1
  11. package/dist/cjs/ptc-accordion-item.cjs.entry.js +4 -4
  12. package/dist/cjs/ptc-accordion.cjs.entry.js +3 -3
  13. package/dist/cjs/ptc-announcement.cjs.entry.js +2 -2
  14. package/dist/cjs/ptc-back-to-top.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-background-video.cjs.entry.js +5 -5
  16. package/dist/cjs/ptc-badge.cjs.entry.js +1 -1
  17. package/dist/cjs/ptc-bio-card.cjs.entry.js +2 -2
  18. package/dist/cjs/ptc-blue-pill-announcement-bar.cjs.entry.js +2 -2
  19. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +1 -1
  20. package/dist/cjs/ptc-brightcov-video.cjs.entry.js +1 -1
  21. package/dist/cjs/ptc-card-bottom.cjs.entry.js +1 -1
  22. package/dist/cjs/ptc-card-content.cjs.entry.js +2 -2
  23. package/dist/cjs/ptc-card-wrapper.cjs.entry.js +3 -3
  24. package/dist/cjs/ptc-card.cjs.entry.js +7 -7
  25. package/dist/cjs/ptc-checkbox-group.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-checkbox.cjs.entry.js +73 -0
  27. package/dist/cjs/ptc-checkbox.entry.cjs.js.map +1 -0
  28. package/dist/cjs/ptc-close-icon.ptc-modal.entry.cjs.js.map +1 -1
  29. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +10 -10
  30. package/dist/cjs/ptc-container.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-countdown.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -1
  33. package/dist/cjs/ptc-date.cjs.entry.js +1 -1
  34. package/dist/cjs/ptc-dropdown.cjs.entry.js +2 -2
  35. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +2 -2
  36. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +2 -2
  37. package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +2 -2
  38. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  39. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +8 -8
  40. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +14 -14
  41. package/dist/cjs/ptc-filter-tag.cjs.entry.js +3 -3
  42. package/dist/cjs/ptc-footer.cjs.entry.js +2 -2
  43. package/dist/cjs/ptc-form-checkbox.cjs.entry.js +5 -5
  44. package/dist/cjs/ptc-form-radio-button.cjs.entry.js +1 -1
  45. package/dist/cjs/ptc-form-radio-group.cjs.entry.js +1 -1
  46. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +1 -1
  47. package/dist/cjs/ptc-hero.cjs.entry.js +1 -1
  48. package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
  49. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
  50. package/dist/cjs/ptc-icon-card.cjs.entry.js +2 -2
  51. package/dist/cjs/ptc-icon-component.cjs.entry.js +1 -1
  52. package/dist/cjs/ptc-icon-list.cjs.entry.js +1 -1
  53. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +1 -1
  54. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +2 -2
  55. package/dist/cjs/ptc-img.cjs.entry.js +1 -1
  56. package/dist/cjs/ptc-info-tile.cjs.entry.js +2 -2
  57. package/dist/cjs/ptc-jumbotron.cjs.entry.js +14 -14
  58. package/dist/cjs/ptc-media-card.cjs.entry.js +2 -2
  59. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +1 -1
  60. package/dist/cjs/ptc-mobile-select.cjs.entry.js +3 -3
  61. package/dist/cjs/ptc-multi-select.cjs.entry.js +4 -4
  62. package/dist/cjs/ptc-nav-card.cjs.entry.js +1 -1
  63. package/dist/cjs/ptc-nav-link.cjs.entry.js +2 -2
  64. package/dist/cjs/ptc-nav-pills.cjs.entry.js +1 -1
  65. package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +1 -1
  66. package/dist/cjs/ptc-nav-slider.cjs.entry.js +1 -1
  67. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +1 -1
  68. package/dist/cjs/ptc-nav-tile.cjs.entry.js +1 -1
  69. package/dist/cjs/ptc-news.cjs.entry.js +1 -1
  70. package/dist/cjs/ptc-office-location-card.cjs.entry.js +2 -2
  71. package/dist/cjs/ptc-office-locations.cjs.entry.js +8 -8
  72. package/dist/cjs/ptc-overlay.cjs.entry.js +1 -1
  73. package/dist/cjs/ptc-picture.cjs.entry.js +2 -2
  74. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  75. package/dist/cjs/ptc-preferance-center-form.cjs.entry.js +3 -3
  76. package/dist/cjs/ptc-preloader-section.cjs.entry.js +1 -1
  77. package/dist/cjs/ptc-preloader.cjs.entry.js +1 -1
  78. package/dist/cjs/ptc-previous-url.cjs.entry.js +1 -1
  79. package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +2 -2
  80. package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +1 -1
  81. package/dist/cjs/ptc-pricing-block.cjs.entry.js +1 -1
  82. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +2 -2
  83. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  84. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  85. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +2 -2
  86. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  87. package/dist/cjs/ptc-product-list.cjs.entry.js +2 -2
  88. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +2 -2
  89. package/dist/cjs/ptc-progress-bar.cjs.entry.js +1 -1
  90. package/dist/cjs/ptc-quantity-counter.cjs.entry.js +1 -1
  91. package/dist/cjs/ptc-quote.cjs.entry.js +3 -3
  92. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  93. package/dist/cjs/ptc-readmore.cjs.entry.js +2 -2
  94. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +1 -1
  95. package/dist/cjs/ptc-scroll-button.cjs.entry.js +1 -1
  96. package/dist/cjs/ptc-search-field.cjs.entry.js +4 -4
  97. package/dist/cjs/ptc-select.cjs.entry.js +1 -1
  98. package/dist/cjs/ptc-seo-title.cjs.entry.js +1 -1
  99. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +1 -1
  100. package/dist/cjs/ptc-showcase-card.cjs.entry.js +1 -1
  101. package/dist/cjs/ptc-skeleton.cjs.entry.js +1 -1
  102. package/dist/cjs/ptc-slit-card.cjs.entry.js +2 -2
  103. package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +5 -5
  104. package/dist/cjs/ptc-social-icons.cjs.entry.js +1 -1
  105. package/dist/cjs/ptc-spacer.cjs.entry.js +1 -1
  106. package/dist/cjs/ptc-span.cjs.entry.js +1 -1
  107. package/dist/cjs/ptc-square-card.cjs.entry.js +2 -2
  108. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +1 -1
  109. package/dist/cjs/ptc-sticky-section.cjs.entry.js +1 -1
  110. package/dist/cjs/ptc-sticky-title.cjs.entry.js +1 -1
  111. package/dist/cjs/ptc-store-card-list.cjs.entry.js +1 -1
  112. package/dist/cjs/ptc-store-card.cjs.entry.js +1 -1
  113. package/dist/cjs/ptc-subnav-card.cjs.entry.js +1 -1
  114. package/dist/cjs/ptc-subnav.cjs.entry.js +2 -2
  115. package/dist/cjs/ptc-svg-btn.cjs.entry.js +2 -2
  116. package/dist/cjs/ptc-tab-list.cjs.entry.js +2 -2
  117. package/dist/cjs/ptc-tab.cjs.entry.js +1 -1
  118. package/dist/cjs/ptc-tabs.cjs.entry.js +1 -1
  119. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +1 -1
  120. package/dist/cjs/ptc-textfield.cjs.entry.js +2 -2
  121. package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +1 -1
  122. package/dist/cjs/ptc-two-column-media.cjs.entry.js +1 -1
  123. package/dist/cjs/ptc-value-led-card.cjs.entry.js +1 -1
  124. package/dist/cjs/ptc-value-led-content-highlight.cjs.entry.js +1 -1
  125. package/dist/cjs/ptc-value-led-content.cjs.entry.js +1 -1
  126. package/dist/cjs/ptc-value-led-intro.cjs.entry.js +1 -1
  127. package/dist/cjs/ptc-value-led-layout.cjs.entry.js +4 -4
  128. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  129. package/dist/cjs/ptc-value-prop-card.cjs.entry.js +1 -1
  130. package/dist/cjs/ptc-white-paper.cjs.entry.js +2 -2
  131. package/dist/cjs/ptcw-design.cjs.js +1 -1
  132. package/dist/cjs/tab-content.cjs.entry.js +2 -2
  133. package/dist/cjs/tab-header.cjs.entry.js +1 -1
  134. package/dist/collection/collection-manifest.json +1 -0
  135. package/dist/collection/components/atoms/ptc-checkbox/ptc-checkbox.css +84 -0
  136. package/dist/collection/components/atoms/ptc-checkbox/ptc-checkbox.js +213 -0
  137. package/dist/collection/components/atoms/ptc-checkbox/ptc-checkbox.js.map +1 -0
  138. package/dist/collection/components/atoms/ptc-date/ptc-date.js +1 -1
  139. package/dist/collection/components/atoms/ptc-form-checkbox/ptc-form-checkbox.js +5 -5
  140. package/dist/collection/components/atoms/ptc-form-radio-button/ptc-form-radio-button.js +1 -1
  141. package/dist/collection/components/atoms/ptc-img/ptc-img.js +1 -1
  142. package/dist/collection/components/atoms/ptc-modal/ptc-modal.js +15 -25
  143. package/dist/collection/components/atoms/ptc-modal/ptc-modal.js.map +1 -1
  144. package/dist/collection/components/atoms/ptc-overlay/ptc-overlay.js +1 -1
  145. package/dist/collection/components/atoms/ptc-picture/ptc-picture.js +2 -2
  146. package/dist/collection/components/atoms/ptc-readmore/ptc-readmore.js +2 -2
  147. package/dist/collection/components/atoms/ptc-readmore-char/ptc-readmore-char.js +1 -1
  148. package/dist/collection/components/atoms/ptc-select/ptc-select.js +1 -1
  149. package/dist/collection/components/atoms/ptc-span/ptc-span.js +1 -1
  150. package/dist/collection/components/atoms/ptc-svg-btn/ptc-svg-btn.js +2 -2
  151. package/dist/collection/components/atoms/ptc-textfield/ptc-textfield.js +2 -2
  152. package/dist/collection/components/molecules/buying-option-card/buying-option-card.js +2 -2
  153. package/dist/collection/components/molecules/buying-option-cards-slider/buying-option-cards-slider.js +1 -1
  154. package/dist/collection/components/molecules/dropdown-item/dropdown-item.js +1 -1
  155. package/dist/collection/components/molecules/dynamic-box-bundle/dynamic-box-bundle.js +1 -1
  156. package/dist/collection/components/molecules/homepage-clickable-tab/homepage-clickable-tab.js +2 -2
  157. package/dist/collection/components/molecules/innovator-toggle-container/innovator-toggle-container.js +1 -1
  158. package/dist/collection/components/molecules/jumbotron-sub-menu/jumbotron-sub-menu.js +3 -3
  159. package/dist/collection/components/molecules/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +4 -4
  160. package/dist/collection/components/molecules/ptc-accordion/ptc-accordion.js +3 -3
  161. package/dist/collection/components/molecules/ptc-announcement/ptc-announcement.js +2 -2
  162. package/dist/collection/components/molecules/ptc-back-to-top/ptc-back-to-top.js +1 -1
  163. package/dist/collection/components/molecules/ptc-background-video/ptc-background-video.js +5 -5
  164. package/dist/collection/components/molecules/ptc-badge/ptc-badge.js +1 -1
  165. package/dist/collection/components/molecules/ptc-bio-card/ptc-bio-card.js +2 -2
  166. package/dist/collection/components/molecules/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.js +2 -2
  167. package/dist/collection/components/molecules/ptc-breadcrumb/ptc-breadcrumb.js +1 -1
  168. package/dist/collection/components/molecules/ptc-brightcov-video/ptc-brightcov-video.js +1 -1
  169. package/dist/collection/components/molecules/ptc-card/ptc-card.js +7 -7
  170. package/dist/collection/components/molecules/ptc-card-bottom/ptc-card-bottom.js +1 -1
  171. package/dist/collection/components/molecules/ptc-card-content/ptc-card-content.js +2 -2
  172. package/dist/collection/components/molecules/ptc-card-wrapper/ptc-card-wrapper.js +3 -3
  173. package/dist/collection/components/molecules/ptc-checkbox-group/ptc-checkbox-group.js +1 -1
  174. package/dist/collection/components/molecules/ptc-close-icon/ptc-close-icon.js +1 -1
  175. package/dist/collection/components/molecules/ptc-container/ptc-container.js +1 -1
  176. package/dist/collection/components/molecules/ptc-countdown/ptc-countdown.js +1 -1
  177. package/dist/collection/components/molecules/ptc-data-lookup/ptc-data-lookup.js +1 -1
  178. package/dist/collection/components/molecules/ptc-dropdown/ptc-dropdown.js +2 -2
  179. package/dist/collection/components/molecules/ptc-dynamic-card/ptc-dynamic-card.js +2 -2
  180. package/dist/collection/components/molecules/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +2 -2
  181. package/dist/collection/components/molecules/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.js +2 -2
  182. package/dist/collection/components/molecules/ptc-featured-list/fl-tab-content/fl-tab-content.js +2 -2
  183. package/dist/collection/components/molecules/ptc-featured-list/fl-tab-header/fl-tab-header.js +1 -1
  184. package/dist/collection/components/molecules/ptc-featured-list/fl-tab-image/fl-tab-image.js +1 -1
  185. package/dist/collection/components/molecules/ptc-featured-list/ptc-featured-list.js +1 -1
  186. package/dist/collection/components/molecules/ptc-filter-dropdown/ptc-filter-dropdown.js +4 -4
  187. package/dist/collection/components/molecules/ptc-filter-level-theater/ptc-filter-level-theater.js +14 -14
  188. package/dist/collection/components/molecules/ptc-filter-tag/ptc-filter-tag.js +3 -3
  189. package/dist/collection/components/molecules/ptc-footer/ptc-footer.js +2 -2
  190. package/dist/collection/components/molecules/ptc-form-radio-group/ptc-form-radio-group.js +1 -1
  191. package/dist/collection/components/molecules/ptc-hero/ptc-hero.js +1 -1
  192. package/dist/collection/components/molecules/ptc-hero-footer-cta/ptc-hero-footer-cta.js +1 -1
  193. package/dist/collection/components/molecules/ptc-homepage-image-feature/ptc-homepage-image-feature.js +1 -1
  194. package/dist/collection/components/molecules/ptc-homepage-video-background/ptc-homepage-video-background.js +1 -1
  195. package/dist/collection/components/molecules/ptc-icon-card/ptc-icon-card.js +2 -2
  196. package/dist/collection/components/molecules/ptc-icon-component/ptc-icon-component.js +1 -1
  197. package/dist/collection/components/molecules/ptc-icon-list/ptc-icon-list.js +1 -1
  198. package/dist/collection/components/molecules/ptc-icon-minimize/ptc-icon-minimize.js +1 -1
  199. package/dist/collection/components/molecules/ptc-image-download-strip/ptc-image-download-strip.js +2 -2
  200. package/dist/collection/components/molecules/ptc-info-tile/ptc-info-tile.js +2 -2
  201. package/dist/collection/components/molecules/ptc-jumbotron/ptc-jumbotron.js +14 -14
  202. package/dist/collection/components/molecules/ptc-media-card/ptc-media-card.js +2 -2
  203. package/dist/collection/components/molecules/ptc-minimized-nav/ptc-minimized-nav.js +1 -1
  204. package/dist/collection/components/molecules/ptc-mobile-select/ptc-mobile-select.js +3 -3
  205. package/dist/collection/components/molecules/ptc-multi-select/ptc-multi-select.js +4 -4
  206. package/dist/collection/components/molecules/ptc-nav-card/ptc-nav-card.js +1 -1
  207. package/dist/collection/components/molecules/ptc-nav-pills/ptc-nav-pills.js +1 -1
  208. package/dist/collection/components/molecules/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +1 -1
  209. package/dist/collection/components/molecules/ptc-nav-tile/ptc-nav-tile.js +1 -1
  210. package/dist/collection/components/molecules/ptc-news/ptc-news.js +1 -1
  211. package/dist/collection/components/molecules/ptc-office-location-card/ptc-office-location-card.js +2 -2
  212. package/dist/collection/components/molecules/ptc-office-locations/ptc-office-locations.js +8 -8
  213. package/dist/collection/components/molecules/ptc-podcast-card/ptc-podcast-card.js +1 -1
  214. package/dist/collection/components/molecules/ptc-preferance-center-form/ptc-preferance-center-form.js +3 -3
  215. package/dist/collection/components/molecules/ptc-preloader/ptc-preloader.js +1 -1
  216. package/dist/collection/components/molecules/ptc-preloader-section/ptc-preloader-section.js +1 -1
  217. package/dist/collection/components/molecules/ptc-previous-url/ptc-previous-url.js +1 -1
  218. package/dist/collection/components/molecules/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +2 -2
  219. package/dist/collection/components/molecules/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +1 -1
  220. package/dist/collection/components/molecules/ptc-pricing-block/ptc-pricing-block.js +1 -1
  221. package/dist/collection/components/molecules/ptc-pricing-tabs/ptc-pricing-tabs.js +2 -2
  222. package/dist/collection/components/molecules/ptc-product-card/ptc-product-card.js +1 -1
  223. package/dist/collection/components/molecules/ptc-product-category/ptc-product-category.js +1 -1
  224. package/dist/collection/components/molecules/ptc-product-dropdown/ptc-product-dropdown.js +2 -2
  225. package/dist/collection/components/molecules/ptc-product-highlight-card/ptc-product-highlight-card.js +1 -1
  226. package/dist/collection/components/molecules/ptc-product-list/ptc-product-list.js +2 -2
  227. package/dist/collection/components/molecules/ptc-product-sidebar/ptc-product-sidebar.js +2 -2
  228. package/dist/collection/components/molecules/ptc-progress-bar/ptc-progress-bar.js +1 -1
  229. package/dist/collection/components/molecules/ptc-quantity-counter/ptc-quantity-counter.js +1 -1
  230. package/dist/collection/components/molecules/ptc-quote/ptc-quote.js +3 -3
  231. package/dist/collection/components/molecules/ptc-scroll-button/ptc-scroll-button.js +1 -1
  232. package/dist/collection/components/molecules/ptc-search-field/ptc-search-field.js +4 -4
  233. package/dist/collection/components/molecules/ptc-seo-title/ptc-seo-title.js +1 -1
  234. package/dist/collection/components/molecules/ptc-shopping-cart/ptc-shopping-cart.js +1 -1
  235. package/dist/collection/components/molecules/ptc-showcase-card/ptc-showcase-card.js +1 -1
  236. package/dist/collection/components/molecules/ptc-skeleton/ptc-skeleton.js +1 -1
  237. package/dist/collection/components/molecules/ptc-slit-card/ptc-slit-card.js +2 -2
  238. package/dist/collection/components/molecules/ptc-social-icons/ptc-social-icons.js +1 -1
  239. package/dist/collection/components/molecules/ptc-social-icons-footer/ptc-social-icons-footer.js +5 -5
  240. package/dist/collection/components/molecules/ptc-social-share/ptc-social-share.js +2 -2
  241. package/dist/collection/components/molecules/ptc-square-card/ptc-square-card.js +2 -2
  242. package/dist/collection/components/molecules/ptc-sticky-icons/ptc-sticky-icons.js +1 -1
  243. package/dist/collection/components/molecules/ptc-sticky-section/ptc-sticky-section.js +1 -1
  244. package/dist/collection/components/molecules/ptc-sticky-title/ptc-sticky-title.js +1 -1
  245. package/dist/collection/components/molecules/ptc-store-card/ptc-store-card.js +1 -1
  246. package/dist/collection/components/molecules/ptc-store-card-list/ptc-store-card-list.js +1 -1
  247. package/dist/collection/components/molecules/ptc-tab-list/ptc-tab-list.js +2 -2
  248. package/dist/collection/components/molecules/ptc-tabs/ptc-tab.js +1 -1
  249. package/dist/collection/components/molecules/ptc-tabs/ptc-tabs.js +1 -1
  250. package/dist/collection/components/molecules/ptc-text-copy-with-background/ptc-text-copy-with-background.js +1 -1
  251. package/dist/collection/components/molecules/ptc-theater-video/ptc-theater-video.js +1 -1
  252. package/dist/collection/components/molecules/ptc-theater-video-modal/ptc-theater-video-modal.js +1 -1
  253. package/dist/collection/components/molecules/ptc-theater-video-playlist/ptc-theater-video-playlist.js +1 -1
  254. package/dist/collection/components/molecules/ptc-two-column-media/ptc-two-column-media.js +1 -1
  255. package/dist/collection/components/molecules/ptc-value-led-card/ptc-value-led-card.js +1 -1
  256. package/dist/collection/components/molecules/ptc-value-led-content/ptc-value-led-content.js +1 -1
  257. package/dist/collection/components/molecules/ptc-value-led-content-highlight/ptc-value-led-content-highlight.js +1 -1
  258. package/dist/collection/components/molecules/ptc-value-led-intro/ptc-value-led-intro.js +1 -1
  259. package/dist/collection/components/molecules/ptc-value-led-layout/ptc-value-led-layout.js +4 -4
  260. package/dist/collection/components/molecules/ptc-value-led-speed-bump/ptc-value-led-speed-bump.js +1 -1
  261. package/dist/collection/components/molecules/ptc-value-prop-card/ptc-value-prop-card.js +1 -1
  262. package/dist/collection/components/molecules/ptc-white-paper/ptc-white-paper.js +2 -2
  263. package/dist/collection/components/molecules/subnav/ptc-nav-link/ptc-nav-link.js +2 -2
  264. package/dist/collection/components/molecules/subnav/ptc-nav-slider/ptc-nav-slider.js +1 -1
  265. package/dist/collection/components/molecules/subnav/ptc-nav-submenu/ptc-nav-submenu.js +1 -1
  266. package/dist/collection/components/molecules/subnav/ptc-subnav/ptc-subnav.js +2 -2
  267. package/dist/collection/components/molecules/subnav/ptc-subnav-card/ptc-subnav-card.js +1 -1
  268. package/dist/collection/components/molecules/tab-content/tab-content.js +2 -2
  269. package/dist/collection/components/molecules/tab-header/tab-header.js +1 -1
  270. package/dist/collection/components/utilities/max-width-container/max-width-container.js +1 -1
  271. package/dist/collection/components/utilities/ptc-responsive-wrapper/ptc-responsive-wrapper.js +1 -1
  272. package/dist/collection/components/utilities/ptc-spacer/ptc-spacer.js +1 -1
  273. package/dist/components/buying-option-card.js +2 -2
  274. package/dist/components/buying-option-cards-slider.js +1 -1
  275. package/dist/components/dropdown-item.js +1 -1
  276. package/dist/components/dynamic-box-bundle.js +1 -1
  277. package/dist/components/fl-tab-content.js +1 -1
  278. package/dist/components/fl-tab-header.js +1 -1
  279. package/dist/components/fl-tab-image.js +1 -1
  280. package/dist/components/homepage-clickable-tab.js +2 -2
  281. package/dist/components/innovator-toggle-container.js +2 -2
  282. package/dist/components/jumbotron-sub-menu.js +3 -3
  283. package/dist/components/max-width-container.js +1 -1
  284. package/dist/components/{p-Cyvb5zfG.js → p-0guGrzy8.js} +3 -3
  285. package/dist/components/{p-Cyvb5zfG.js.map → p-0guGrzy8.js.map} +1 -1
  286. package/dist/components/{p-u1d9Lu8W.js → p-B0NSTy2y.js} +4 -4
  287. package/dist/components/{p-u1d9Lu8W.js.map → p-B0NSTy2y.js.map} +1 -1
  288. package/dist/components/{p-rV440n48.js → p-BAW88YcS.js} +3 -3
  289. package/dist/components/{p-rV440n48.js.map → p-BAW88YcS.js.map} +1 -1
  290. package/dist/components/{p-CoxTlRBE.js → p-BE6xl5CV.js} +3 -3
  291. package/dist/components/{p-CoxTlRBE.js.map → p-BE6xl5CV.js.map} +1 -1
  292. package/dist/components/{p-B5fWr5oN.js → p-BFUh3kag.js} +3 -3
  293. package/dist/components/{p-B5fWr5oN.js.map → p-BFUh3kag.js.map} +1 -1
  294. package/dist/components/{p-rp_eqs4l.js → p-BQjkh7kQ.js} +4 -4
  295. package/dist/components/{p-rp_eqs4l.js.map → p-BQjkh7kQ.js.map} +1 -1
  296. package/dist/components/{p-Dy9aYfKt.js → p-BRkdgVC0.js} +7 -7
  297. package/dist/components/{p-Dy9aYfKt.js.map → p-BRkdgVC0.js.map} +1 -1
  298. package/dist/components/{p-sNBdP2gv.js → p-BeRHdpb-.js} +3 -3
  299. package/dist/components/{p-sNBdP2gv.js.map → p-BeRHdpb-.js.map} +1 -1
  300. package/dist/components/{p-BZmiyqIe.js → p-BoQK-f42.js} +7 -7
  301. package/dist/components/{p-BZmiyqIe.js.map → p-BoQK-f42.js.map} +1 -1
  302. package/dist/components/{p-A8cqTum7.js → p-C07ojBTl.js} +3 -3
  303. package/dist/components/{p-A8cqTum7.js.map → p-C07ojBTl.js.map} +1 -1
  304. package/dist/components/{p-vDw4ZbGF.js → p-C1g9I9xH.js} +3 -3
  305. package/dist/components/{p-vDw4ZbGF.js.map → p-C1g9I9xH.js.map} +1 -1
  306. package/dist/components/{p-SlTyS70R.js → p-CYgk2SEY.js} +3 -3
  307. package/dist/components/{p-SlTyS70R.js.map → p-CYgk2SEY.js.map} +1 -1
  308. package/dist/components/{p-D0XJt6EB.js → p-CdTTj7ab.js} +3 -3
  309. package/dist/components/{p-D0XJt6EB.js.map → p-CdTTj7ab.js.map} +1 -1
  310. package/dist/components/{p-Dws0e-v8.js → p-CrO4JStG.js} +3 -3
  311. package/dist/components/{p-Dws0e-v8.js.map → p-CrO4JStG.js.map} +1 -1
  312. package/dist/components/{p-BvtkwA8N.js → p-CtKHBYM3.js} +3 -3
  313. package/dist/components/{p-BvtkwA8N.js.map → p-CtKHBYM3.js.map} +1 -1
  314. package/dist/components/{p-K87Ni9cl.js → p-CtOMq-3s.js} +7 -7
  315. package/dist/components/{p-K87Ni9cl.js.map → p-CtOMq-3s.js.map} +1 -1
  316. package/dist/components/{p-D9QQ0tGz.js → p-DGEGX6gr.js} +4 -4
  317. package/dist/components/{p-D9QQ0tGz.js.map → p-DGEGX6gr.js.map} +1 -1
  318. package/dist/components/{p-D-L4F0W2.js → p-DM4DZ3DX.js} +4 -4
  319. package/dist/components/{p-D-L4F0W2.js.map → p-DM4DZ3DX.js.map} +1 -1
  320. package/dist/components/{p-BBapzpqC.js → p-DZjCoqdh.js} +6 -6
  321. package/dist/components/{p-BBapzpqC.js.map → p-DZjCoqdh.js.map} +1 -1
  322. package/dist/components/p-DjOed3JN.js +104 -0
  323. package/dist/components/p-DjOed3JN.js.map +1 -0
  324. package/dist/components/{p-DsLwxl3z.js → p-Dl5FLhIz.js} +3 -3
  325. package/dist/components/{p-DsLwxl3z.js.map → p-Dl5FLhIz.js.map} +1 -1
  326. package/dist/components/{p-DIQsWvTl.js → p-DqEp_ABX.js} +13 -13
  327. package/dist/components/{p-DIQsWvTl.js.map → p-DqEp_ABX.js.map} +1 -1
  328. package/dist/components/{p-BtXR4IsB.js → p-DynRjvin.js} +3 -3
  329. package/dist/components/{p-BtXR4IsB.js.map → p-DynRjvin.js.map} +1 -1
  330. package/dist/components/{p-CtGy5Fsl.js → p-FlBKqZNv.js} +4 -4
  331. package/dist/components/{p-CtGy5Fsl.js.map → p-FlBKqZNv.js.map} +1 -1
  332. package/dist/components/{p-Y8wDqrCA.js → p-Lqjb0ifQ.js} +4 -4
  333. package/dist/components/{p-Y8wDqrCA.js.map → p-Lqjb0ifQ.js.map} +1 -1
  334. package/dist/components/{p-ChEIBH0Z.js → p-TfhYoSUK.js} +3 -3
  335. package/dist/components/{p-ChEIBH0Z.js.map → p-TfhYoSUK.js.map} +1 -1
  336. package/dist/components/{p-HVuUeTH6.js → p-YxDZIuGb.js} +5 -5
  337. package/dist/components/{p-HVuUeTH6.js.map → p-YxDZIuGb.js.map} +1 -1
  338. package/dist/components/{p-Ye02__7-.js → p-bEXhZuKd.js} +6 -6
  339. package/dist/components/{p-Ye02__7-.js.map → p-bEXhZuKd.js.map} +1 -1
  340. package/dist/components/ptc-accordion-item.js +4 -4
  341. package/dist/components/ptc-accordion.js +3 -3
  342. package/dist/components/ptc-announcement.js +3 -3
  343. package/dist/components/ptc-back-to-top.js +1 -1
  344. package/dist/components/ptc-background-video.js +1 -1
  345. package/dist/components/ptc-badge.js +1 -1
  346. package/dist/components/ptc-bio-card.js +5 -5
  347. package/dist/components/ptc-blue-pill-announcement-bar.js +2 -2
  348. package/dist/components/ptc-breadcrumb.js +1 -1
  349. package/dist/components/ptc-brightcov-video.js +1 -1
  350. package/dist/components/ptc-card-bottom.js +1 -1
  351. package/dist/components/ptc-card-content.js +1 -1
  352. package/dist/components/ptc-card-wrapper.js +3 -3
  353. package/dist/components/ptc-card.js +9 -9
  354. package/dist/components/ptc-checkbox-group.js +1 -1
  355. package/dist/components/ptc-checkbox.d.ts +11 -0
  356. package/dist/components/ptc-checkbox.js +9 -0
  357. package/dist/components/ptc-checkbox.js.map +1 -0
  358. package/dist/components/ptc-close-icon.js +1 -1
  359. package/dist/components/ptc-container.js +1 -1
  360. package/dist/components/ptc-countdown.js +1 -1
  361. package/dist/components/ptc-data-lookup.js +1 -1
  362. package/dist/components/ptc-date.js +1 -1
  363. package/dist/components/ptc-dropdown.js +2 -2
  364. package/dist/components/ptc-dynamic-card.js +5 -5
  365. package/dist/components/ptc-ellipsis-dropdown.js +1 -1
  366. package/dist/components/ptc-embedded-quiz.js +1 -1
  367. package/dist/components/ptc-enhanced-product-listing-card.js +3 -3
  368. package/dist/components/ptc-featured-list.js +7 -7
  369. package/dist/components/ptc-filter-dropdown.js +1 -1
  370. package/dist/components/ptc-filter-level-theater.js +22 -22
  371. package/dist/components/ptc-filter-tag.js +3 -3
  372. package/dist/components/ptc-footer.js +2 -2
  373. package/dist/components/ptc-form-checkbox.js +5 -5
  374. package/dist/components/ptc-form-radio-button.js +1 -1
  375. package/dist/components/ptc-form-radio-group.js +1 -1
  376. package/dist/components/ptc-hero-footer-cta.js +1 -1
  377. package/dist/components/ptc-hero.js +3 -3
  378. package/dist/components/ptc-homepage-image-feature.js +1 -1
  379. package/dist/components/ptc-homepage-video-background.js +2 -2
  380. package/dist/components/ptc-icon-card.js +2 -2
  381. package/dist/components/ptc-icon-component.js +1 -1
  382. package/dist/components/ptc-icon-list.js +1 -1
  383. package/dist/components/ptc-icon-minimize.js +9 -3
  384. package/dist/components/ptc-icon-minimize.js.map +1 -1
  385. package/dist/components/ptc-image-download-strip.js +1 -1
  386. package/dist/components/ptc-img.js +1 -1
  387. package/dist/components/ptc-info-tile.js +2 -2
  388. package/dist/components/ptc-inline-cta.js +2 -2
  389. package/dist/components/ptc-jumbotron.js +19 -19
  390. package/dist/components/ptc-media-card.js +3 -3
  391. package/dist/components/ptc-minimized-nav.js +1 -1
  392. package/dist/components/ptc-mobile-select.js +3 -3
  393. package/dist/components/ptc-modal-quiz.js +1 -1
  394. package/dist/components/ptc-modal.js +1 -1
  395. package/dist/components/ptc-multi-select.js +4 -4
  396. package/dist/components/ptc-nav-card.js +1 -1
  397. package/dist/components/ptc-nav-link.js +2 -2
  398. package/dist/components/ptc-nav-pills.js +1 -1
  399. package/dist/components/ptc-nav-skip-to-content.js +1 -1
  400. package/dist/components/ptc-nav-slider.js +1 -1
  401. package/dist/components/ptc-nav-submenu.js +1 -1
  402. package/dist/components/ptc-nav-tile.js +1 -1
  403. package/dist/components/ptc-news.js +6 -6
  404. package/dist/components/ptc-office-location-card.js +5 -5
  405. package/dist/components/ptc-office-locations.js +11 -11
  406. package/dist/components/ptc-overlay.js +1 -1
  407. package/dist/components/ptc-picture.js +1 -1
  408. package/dist/components/ptc-podcast-card.js +1 -1
  409. package/dist/components/ptc-preferance-center-form.js +3 -3
  410. package/dist/components/ptc-preloader-section.js +3 -3
  411. package/dist/components/ptc-preloader.js +1 -1
  412. package/dist/components/ptc-previous-url.js +2 -2
  413. package/dist/components/ptc-pricing-add-on-card.js +1 -1
  414. package/dist/components/ptc-pricing-add-on-section.js +4 -4
  415. package/dist/components/ptc-pricing-block.js +1 -1
  416. package/dist/components/ptc-pricing-packaging-table.js +2 -2
  417. package/dist/components/ptc-pricing-tabs.js +3 -3
  418. package/dist/components/ptc-product-card.js +3 -3
  419. package/dist/components/ptc-product-category.js +2 -2
  420. package/dist/components/ptc-product-dropdown.js +1 -1
  421. package/dist/components/ptc-product-highlight-card.js +3 -3
  422. package/dist/components/ptc-product-list.js +2 -2
  423. package/dist/components/ptc-product-sidebar.js +4 -4
  424. package/dist/components/ptc-progress-bar.js +1 -1
  425. package/dist/components/ptc-quantity-counter.js +1 -1
  426. package/dist/components/ptc-quote.js +4 -4
  427. package/dist/components/ptc-readmore-char.js +1 -1
  428. package/dist/components/ptc-readmore.js +1 -1
  429. package/dist/components/ptc-responsive-wrapper.js +1 -1
  430. package/dist/components/ptc-scroll-button.js +1 -1
  431. package/dist/components/ptc-search-field.js +4 -4
  432. package/dist/components/ptc-select.js +1 -1
  433. package/dist/components/ptc-seo-title.js +1 -1
  434. package/dist/components/ptc-shopping-cart.js +1 -1
  435. package/dist/components/ptc-showcase-card.js +1 -1
  436. package/dist/components/ptc-skeleton.js +1 -1
  437. package/dist/components/ptc-slit-card.js +2 -2
  438. package/dist/components/ptc-social-icons-footer.js +9 -9
  439. package/dist/components/ptc-social-icons.js +1 -1
  440. package/dist/components/ptc-social-share.js +1 -1
  441. package/dist/components/ptc-spacer.js +1 -1
  442. package/dist/components/ptc-span.js +1 -1
  443. package/dist/components/ptc-square-card.js +3 -3
  444. package/dist/components/ptc-sticky-icons.js +1 -1
  445. package/dist/components/ptc-sticky-section.js +1 -1
  446. package/dist/components/ptc-sticky-title.js +2 -2
  447. package/dist/components/ptc-store-card-list.js +1 -1
  448. package/dist/components/ptc-store-card.js +1 -1
  449. package/dist/components/ptc-subnav-card.js +1 -1
  450. package/dist/components/ptc-subnav.js +2 -2
  451. package/dist/components/ptc-svg-btn.js +1 -1
  452. package/dist/components/ptc-tab-list.js +4 -4
  453. package/dist/components/ptc-tab.js +1 -1
  454. package/dist/components/ptc-tabs.js +1 -1
  455. package/dist/components/ptc-text-copy-with-background.js +1 -1
  456. package/dist/components/ptc-textfield.js +2 -2
  457. package/dist/components/ptc-theater-video-modal.js +1 -1
  458. package/dist/components/ptc-theater-video-playlist.js +1 -1
  459. package/dist/components/ptc-theater-video.js +1 -1
  460. package/dist/components/ptc-two-column-media.js +1 -1
  461. package/dist/components/ptc-value-led-card.js +3 -3
  462. package/dist/components/ptc-value-led-content-highlight.js +1 -1
  463. package/dist/components/ptc-value-led-content.js +1 -1
  464. package/dist/components/ptc-value-led-intro.js +1 -1
  465. package/dist/components/ptc-value-led-layout.js +4 -4
  466. package/dist/components/ptc-value-led-speed-bump.js +2 -2
  467. package/dist/components/ptc-value-prop-card.js +2 -2
  468. package/dist/components/ptc-white-paper.js +5 -5
  469. package/dist/components/tab-content.js +2 -2
  470. package/dist/components/tab-header.js +1 -1
  471. package/dist/esm/buying-option-card.entry.js +2 -2
  472. package/dist/esm/buying-option-cards-slider.entry.js +1 -1
  473. package/dist/esm/dropdown-item.entry.js +1 -1
  474. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  475. package/dist/esm/fl-tab-content_3.entry.js +4 -4
  476. package/dist/esm/homepage-clickable-tab.entry.js +2 -2
  477. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  478. package/dist/esm/jumbotron-sub-menu.entry.js +3 -3
  479. package/dist/esm/loader.js +1 -1
  480. package/dist/esm/max-width-container.entry.js +1 -1
  481. package/dist/esm/ptc-accordion-item.entry.js +4 -4
  482. package/dist/esm/ptc-accordion.entry.js +3 -3
  483. package/dist/esm/ptc-announcement.entry.js +2 -2
  484. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  485. package/dist/esm/ptc-background-video.entry.js +5 -5
  486. package/dist/esm/ptc-badge.entry.js +1 -1
  487. package/dist/esm/ptc-bio-card.entry.js +2 -2
  488. package/dist/esm/ptc-blue-pill-announcement-bar.entry.js +2 -2
  489. package/dist/esm/ptc-breadcrumb.entry.js +1 -1
  490. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  491. package/dist/esm/ptc-card-bottom.entry.js +1 -1
  492. package/dist/esm/ptc-card-content.entry.js +2 -2
  493. package/dist/esm/ptc-card-wrapper.entry.js +3 -3
  494. package/dist/esm/ptc-card.entry.js +7 -7
  495. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  496. package/dist/esm/ptc-checkbox.entry.js +71 -0
  497. package/dist/esm/ptc-checkbox.entry.js.map +1 -0
  498. package/dist/esm/ptc-close-icon.ptc-modal.entry.js.map +1 -1
  499. package/dist/esm/ptc-close-icon_2.entry.js +10 -10
  500. package/dist/esm/ptc-container.entry.js +1 -1
  501. package/dist/esm/ptc-countdown.entry.js +1 -1
  502. package/dist/esm/ptc-data-lookup.entry.js +1 -1
  503. package/dist/esm/ptc-date.entry.js +1 -1
  504. package/dist/esm/ptc-dropdown.entry.js +2 -2
  505. package/dist/esm/ptc-dynamic-card.entry.js +2 -2
  506. package/dist/esm/ptc-ellipsis-dropdown.entry.js +2 -2
  507. package/dist/esm/ptc-enhanced-product-listing-card.entry.js +2 -2
  508. package/dist/esm/ptc-featured-list.entry.js +1 -1
  509. package/dist/esm/ptc-filter-dropdown_4.entry.js +8 -8
  510. package/dist/esm/ptc-filter-level-theater.entry.js +14 -14
  511. package/dist/esm/ptc-filter-tag.entry.js +3 -3
  512. package/dist/esm/ptc-footer.entry.js +2 -2
  513. package/dist/esm/ptc-form-checkbox.entry.js +5 -5
  514. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  515. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  516. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  517. package/dist/esm/ptc-hero.entry.js +1 -1
  518. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  519. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  520. package/dist/esm/ptc-icon-card.entry.js +2 -2
  521. package/dist/esm/ptc-icon-component.entry.js +1 -1
  522. package/dist/esm/ptc-icon-list.entry.js +1 -1
  523. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  524. package/dist/esm/ptc-image-download-strip.entry.js +2 -2
  525. package/dist/esm/ptc-img.entry.js +1 -1
  526. package/dist/esm/ptc-info-tile.entry.js +2 -2
  527. package/dist/esm/ptc-jumbotron.entry.js +14 -14
  528. package/dist/esm/ptc-media-card.entry.js +2 -2
  529. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  530. package/dist/esm/ptc-mobile-select.entry.js +3 -3
  531. package/dist/esm/ptc-multi-select.entry.js +4 -4
  532. package/dist/esm/ptc-nav-card.entry.js +1 -1
  533. package/dist/esm/ptc-nav-link.entry.js +2 -2
  534. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  535. package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
  536. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  537. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  538. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  539. package/dist/esm/ptc-news.entry.js +1 -1
  540. package/dist/esm/ptc-office-location-card.entry.js +2 -2
  541. package/dist/esm/ptc-office-locations.entry.js +8 -8
  542. package/dist/esm/ptc-overlay.entry.js +1 -1
  543. package/dist/esm/ptc-picture.entry.js +2 -2
  544. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  545. package/dist/esm/ptc-preferance-center-form.entry.js +3 -3
  546. package/dist/esm/ptc-preloader-section.entry.js +1 -1
  547. package/dist/esm/ptc-preloader.entry.js +1 -1
  548. package/dist/esm/ptc-previous-url.entry.js +1 -1
  549. package/dist/esm/ptc-pricing-add-on-card.entry.js +2 -2
  550. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  551. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  552. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  553. package/dist/esm/ptc-product-card.entry.js +1 -1
  554. package/dist/esm/ptc-product-category.entry.js +1 -1
  555. package/dist/esm/ptc-product-dropdown.entry.js +2 -2
  556. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  557. package/dist/esm/ptc-product-list.entry.js +2 -2
  558. package/dist/esm/ptc-product-sidebar.entry.js +2 -2
  559. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  560. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  561. package/dist/esm/ptc-quote.entry.js +3 -3
  562. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  563. package/dist/esm/ptc-readmore.entry.js +2 -2
  564. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  565. package/dist/esm/ptc-scroll-button.entry.js +1 -1
  566. package/dist/esm/ptc-search-field.entry.js +4 -4
  567. package/dist/esm/ptc-select.entry.js +1 -1
  568. package/dist/esm/ptc-seo-title.entry.js +1 -1
  569. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  570. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  571. package/dist/esm/ptc-skeleton.entry.js +1 -1
  572. package/dist/esm/ptc-slit-card.entry.js +2 -2
  573. package/dist/esm/ptc-social-icons-footer.entry.js +5 -5
  574. package/dist/esm/ptc-social-icons.entry.js +1 -1
  575. package/dist/esm/ptc-spacer.entry.js +1 -1
  576. package/dist/esm/ptc-span.entry.js +1 -1
  577. package/dist/esm/ptc-square-card.entry.js +2 -2
  578. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  579. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  580. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  581. package/dist/esm/ptc-store-card-list.entry.js +1 -1
  582. package/dist/esm/ptc-store-card.entry.js +1 -1
  583. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  584. package/dist/esm/ptc-subnav.entry.js +2 -2
  585. package/dist/esm/ptc-svg-btn.entry.js +2 -2
  586. package/dist/esm/ptc-tab-list.entry.js +2 -2
  587. package/dist/esm/ptc-tab.entry.js +1 -1
  588. package/dist/esm/ptc-tabs.entry.js +1 -1
  589. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  590. package/dist/esm/ptc-textfield.entry.js +2 -2
  591. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  592. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  593. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  594. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  595. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  596. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  597. package/dist/esm/ptc-value-led-layout.entry.js +4 -4
  598. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  599. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  600. package/dist/esm/ptc-white-paper.entry.js +2 -2
  601. package/dist/esm/ptcw-design.js +1 -1
  602. package/dist/esm/tab-content.entry.js +2 -2
  603. package/dist/esm/tab-header.entry.js +1 -1
  604. package/dist/ptcw-design/{p-45451dab.entry.js → p-012dcb24.entry.js} +2 -2
  605. package/dist/ptcw-design/{p-9fdc4f8e.entry.js → p-01927d95.entry.js} +2 -2
  606. package/dist/ptcw-design/{p-2fc3e48f.entry.js → p-0350f1c3.entry.js} +2 -2
  607. package/dist/ptcw-design/{p-54920e5d.entry.js → p-058daf15.entry.js} +2 -2
  608. package/dist/ptcw-design/{p-62c003a1.entry.js → p-0643ad0f.entry.js} +2 -2
  609. package/dist/ptcw-design/{p-03800132.entry.js → p-087caf2f.entry.js} +2 -2
  610. package/dist/ptcw-design/{p-996c0890.entry.js → p-08c5defb.entry.js} +2 -2
  611. package/dist/ptcw-design/{p-dd855d7b.entry.js → p-090165b9.entry.js} +2 -2
  612. package/dist/ptcw-design/{p-75c1acfc.entry.js → p-0b32f8bb.entry.js} +2 -2
  613. package/dist/ptcw-design/{p-d4cdec55.entry.js → p-0e54efa8.entry.js} +2 -2
  614. package/dist/ptcw-design/p-114118af.entry.js +2 -0
  615. package/dist/ptcw-design/{p-0bdaae7c.entry.js → p-1300eac6.entry.js} +2 -2
  616. package/dist/ptcw-design/{p-ddfea195.entry.js → p-15aaf4a5.entry.js} +2 -2
  617. package/dist/ptcw-design/{p-ef79cfdd.entry.js → p-15f3bd0d.entry.js} +2 -2
  618. package/dist/ptcw-design/{p-c0c26ff8.entry.js → p-178119c1.entry.js} +2 -2
  619. package/dist/ptcw-design/{p-533f48b9.entry.js → p-185492a8.entry.js} +2 -2
  620. package/dist/ptcw-design/{p-a2be029d.entry.js → p-18a5d22e.entry.js} +2 -2
  621. package/dist/ptcw-design/{p-75782718.entry.js → p-1993d588.entry.js} +2 -2
  622. package/dist/ptcw-design/{p-07bca6e7.entry.js → p-1bb70d72.entry.js} +2 -2
  623. package/dist/ptcw-design/{p-3ff48faa.entry.js → p-1e3857a4.entry.js} +2 -2
  624. package/dist/ptcw-design/{p-1d54f5d1.entry.js → p-2281f9dc.entry.js} +2 -2
  625. package/dist/ptcw-design/{p-06d26f58.entry.js → p-29e67f2f.entry.js} +2 -2
  626. package/dist/ptcw-design/{p-ab115085.entry.js → p-2cf43025.entry.js} +2 -2
  627. package/dist/ptcw-design/{p-e92fb8c3.entry.js → p-2ebe32f1.entry.js} +2 -2
  628. package/dist/ptcw-design/{p-ec72abc2.entry.js → p-2f29f3f9.entry.js} +2 -2
  629. package/dist/ptcw-design/{p-99c5e692.entry.js → p-33e88aa6.entry.js} +2 -2
  630. package/dist/ptcw-design/{p-31793ed8.entry.js → p-341c49ed.entry.js} +2 -2
  631. package/dist/ptcw-design/p-347db570.entry.js +2 -0
  632. package/dist/ptcw-design/{p-64affe14.entry.js.map → p-347db570.entry.js.map} +1 -1
  633. package/dist/ptcw-design/{p-2a5e3fba.entry.js → p-34d7d90c.entry.js} +2 -2
  634. package/dist/ptcw-design/{p-7a6e58ba.entry.js → p-35024b0f.entry.js} +2 -2
  635. package/dist/ptcw-design/{p-cad25490.entry.js → p-3980d48a.entry.js} +2 -2
  636. package/dist/ptcw-design/p-39963922.entry.js +2 -0
  637. package/dist/ptcw-design/{p-7b732a4b.entry.js.map → p-39963922.entry.js.map} +1 -1
  638. package/dist/ptcw-design/{p-1df8c975.entry.js → p-3a24096c.entry.js} +2 -2
  639. package/dist/ptcw-design/{p-4b17c401.entry.js → p-3a2cc56d.entry.js} +2 -2
  640. package/dist/ptcw-design/{p-bf79e535.entry.js → p-3b809f54.entry.js} +2 -2
  641. package/dist/ptcw-design/{p-f1ad8f05.entry.js → p-3c15ca9f.entry.js} +2 -2
  642. package/dist/ptcw-design/p-3c1cf941.entry.js +2 -0
  643. package/dist/ptcw-design/{p-31dc46ab.entry.js → p-3f2be425.entry.js} +2 -2
  644. package/dist/ptcw-design/p-3fd00562.entry.js +2 -0
  645. package/dist/ptcw-design/{p-8916e0c1.entry.js.map → p-3fd00562.entry.js.map} +1 -1
  646. package/dist/ptcw-design/{p-e810ebfb.entry.js → p-42c72e86.entry.js} +2 -2
  647. package/dist/ptcw-design/{p-0965bd1b.entry.js → p-44e3807f.entry.js} +2 -2
  648. package/dist/ptcw-design/{p-38427de7.entry.js → p-486f868f.entry.js} +2 -2
  649. package/dist/ptcw-design/{p-3b6867a6.entry.js → p-4a447830.entry.js} +2 -2
  650. package/dist/ptcw-design/{p-7fcaa71f.entry.js → p-4aab98b0.entry.js} +2 -2
  651. package/dist/ptcw-design/{p-f3eece01.entry.js → p-4b546e7c.entry.js} +2 -2
  652. package/dist/ptcw-design/{p-77c83bbd.entry.js → p-4f9f9d0b.entry.js} +2 -2
  653. package/dist/ptcw-design/{p-0909488e.entry.js → p-5075f204.entry.js} +2 -2
  654. package/dist/ptcw-design/{p-c14878cf.entry.js → p-50b1308a.entry.js} +2 -2
  655. package/dist/ptcw-design/{p-c3eed320.entry.js → p-50e47562.entry.js} +2 -2
  656. package/dist/ptcw-design/{p-ec9f8614.entry.js → p-53a0ef61.entry.js} +2 -2
  657. package/dist/ptcw-design/{p-d484b93e.entry.js → p-54ff43dc.entry.js} +2 -2
  658. package/dist/ptcw-design/{p-65739ec0.entry.js → p-5cd721fa.entry.js} +2 -2
  659. package/dist/ptcw-design/{p-30a7fac4.entry.js → p-5f1f1801.entry.js} +2 -2
  660. package/dist/ptcw-design/{p-e789d83b.entry.js → p-5f4891e1.entry.js} +2 -2
  661. package/dist/ptcw-design/p-60759c7b.entry.js +2 -0
  662. package/dist/ptcw-design/{p-6cba62c8.entry.js.map → p-60759c7b.entry.js.map} +1 -1
  663. package/dist/ptcw-design/{p-5db5906d.entry.js → p-61e6b855.entry.js} +2 -2
  664. package/dist/ptcw-design/{p-c4eb7b96.entry.js → p-643483cf.entry.js} +2 -2
  665. package/dist/ptcw-design/{p-1ca79afb.entry.js → p-66febb1d.entry.js} +2 -2
  666. package/dist/ptcw-design/{p-0afb9cb3.entry.js → p-689545dd.entry.js} +2 -2
  667. package/dist/ptcw-design/{p-b973b27a.entry.js → p-68a89eae.entry.js} +2 -2
  668. package/dist/ptcw-design/{p-439aa9a4.entry.js → p-6998931d.entry.js} +2 -2
  669. package/dist/ptcw-design/{p-3865e9be.entry.js → p-69fe8697.entry.js} +2 -2
  670. package/dist/ptcw-design/{p-12293359.entry.js → p-6e534b3f.entry.js} +2 -2
  671. package/dist/ptcw-design/{p-8699e5f0.entry.js → p-6ef42ab6.entry.js} +2 -2
  672. package/dist/ptcw-design/{p-ff4cf1d7.entry.js → p-6fb47ae8.entry.js} +2 -2
  673. package/dist/ptcw-design/{p-fb36a9f7.entry.js → p-7013ec9c.entry.js} +2 -2
  674. package/dist/ptcw-design/{p-909c7acf.entry.js → p-70a74348.entry.js} +2 -2
  675. package/dist/ptcw-design/{p-31c74171.entry.js → p-71ed2ff9.entry.js} +2 -2
  676. package/dist/ptcw-design/{p-7237d5e5.entry.js → p-7ba9553f.entry.js} +2 -2
  677. package/dist/ptcw-design/{p-0e1f9e19.entry.js → p-7c561d2e.entry.js} +2 -2
  678. package/dist/ptcw-design/{p-c237e39f.entry.js → p-80531e28.entry.js} +2 -2
  679. package/dist/ptcw-design/{p-3cedb1fe.entry.js → p-81252340.entry.js} +2 -2
  680. package/dist/ptcw-design/{p-56835c52.entry.js → p-82f2d103.entry.js} +2 -2
  681. package/dist/ptcw-design/{p-14af3ce9.entry.js → p-885fa95f.entry.js} +2 -2
  682. package/dist/ptcw-design/p-88a44832.entry.js +2 -0
  683. package/dist/ptcw-design/{p-a3ca0a5f.entry.js → p-88a94bef.entry.js} +2 -2
  684. package/dist/ptcw-design/{p-deaf58e6.entry.js → p-8a208331.entry.js} +2 -2
  685. package/dist/ptcw-design/{p-7484f5c5.entry.js → p-8aade402.entry.js} +2 -2
  686. package/dist/ptcw-design/{p-eb80acf2.entry.js → p-8c84c772.entry.js} +2 -2
  687. package/dist/ptcw-design/{p-aca24ff8.entry.js → p-8d3d5d54.entry.js} +2 -2
  688. package/dist/ptcw-design/{p-40ed85fa.entry.js → p-8f00ba3c.entry.js} +2 -2
  689. package/dist/ptcw-design/{p-7e5ff680.entry.js → p-9195f27e.entry.js} +2 -2
  690. package/dist/ptcw-design/{p-845ea3b3.entry.js → p-92eb0f5d.entry.js} +2 -2
  691. package/dist/ptcw-design/{p-74ae26ff.entry.js → p-95d02fd2.entry.js} +2 -2
  692. package/dist/ptcw-design/{p-4c252547.entry.js → p-9b45be16.entry.js} +2 -2
  693. package/dist/ptcw-design/{p-a055a2ca.entry.js → p-9c27120c.entry.js} +2 -2
  694. package/dist/ptcw-design/p-9d6a3ac7.entry.js +2 -0
  695. package/dist/ptcw-design/p-9d6a3ac7.entry.js.map +1 -0
  696. package/dist/ptcw-design/{p-4f710bf3.entry.js → p-9e272ae3.entry.js} +2 -2
  697. package/dist/ptcw-design/{p-67627fc6.entry.js → p-a691657c.entry.js} +2 -2
  698. package/dist/ptcw-design/p-aab3edf4.entry.js +2 -0
  699. package/dist/ptcw-design/{p-10316732.entry.js → p-b2964ce2.entry.js} +2 -2
  700. package/dist/ptcw-design/{p-da54e990.entry.js → p-b6ede5cd.entry.js} +2 -2
  701. package/dist/ptcw-design/{p-14b33696.entry.js → p-b7cd5b72.entry.js} +2 -2
  702. package/dist/ptcw-design/{p-a46f20a3.entry.js → p-b7e1db7e.entry.js} +2 -2
  703. package/dist/ptcw-design/{p-b75a439b.entry.js → p-b82b13ea.entry.js} +2 -2
  704. package/dist/ptcw-design/{p-66d2e150.entry.js → p-bcb8c889.entry.js} +2 -2
  705. package/dist/ptcw-design/{p-119bc00f.entry.js → p-bd62a923.entry.js} +2 -2
  706. package/dist/ptcw-design/{p-eb7cca56.entry.js → p-be540e54.entry.js} +2 -2
  707. package/dist/ptcw-design/{p-87ff3a15.entry.js → p-c4d9208f.entry.js} +2 -2
  708. package/dist/ptcw-design/{p-3dbd28a7.entry.js → p-c9b3498e.entry.js} +2 -2
  709. package/dist/ptcw-design/{p-e6f93797.entry.js → p-cd8a9560.entry.js} +2 -2
  710. package/dist/ptcw-design/p-cf90439a.entry.js +2 -0
  711. package/dist/ptcw-design/{p-19449437.entry.js → p-d361ca0d.entry.js} +2 -2
  712. package/dist/ptcw-design/p-d3933825.entry.js +2 -0
  713. package/dist/ptcw-design/{p-3124b62a.entry.js → p-d4a99d8d.entry.js} +2 -2
  714. package/dist/ptcw-design/{p-36347902.entry.js → p-d53b0179.entry.js} +2 -2
  715. package/dist/ptcw-design/{p-5287fad3.entry.js → p-d65d19a6.entry.js} +2 -2
  716. package/dist/ptcw-design/{p-af6c93ee.entry.js → p-d9393e77.entry.js} +2 -2
  717. package/dist/ptcw-design/{p-57710574.entry.js → p-da00a155.entry.js} +2 -2
  718. package/dist/ptcw-design/p-ddc58628.entry.js +2 -0
  719. package/dist/ptcw-design/{p-19ab0b71.entry.js → p-dfb9c8ab.entry.js} +2 -2
  720. package/dist/ptcw-design/{p-1d675f69.entry.js → p-e28370bb.entry.js} +2 -2
  721. package/dist/ptcw-design/{p-63cbf2e2.entry.js → p-e4436895.entry.js} +2 -2
  722. package/dist/ptcw-design/{p-ddb6daed.entry.js → p-e5aa1bda.entry.js} +2 -2
  723. package/dist/ptcw-design/{p-811ef0d7.entry.js → p-e62c5a96.entry.js} +2 -2
  724. package/dist/ptcw-design/{p-bdd0fb5e.entry.js → p-e7687904.entry.js} +2 -2
  725. package/dist/ptcw-design/{p-68c44fc3.entry.js → p-e8392c42.entry.js} +2 -2
  726. package/dist/ptcw-design/{p-f1dddb1f.entry.js → p-e91fbaab.entry.js} +2 -2
  727. package/dist/ptcw-design/{p-d19216c4.entry.js → p-eb96e2c4.entry.js} +2 -2
  728. package/dist/ptcw-design/{p-fe26e463.entry.js → p-eef800bb.entry.js} +2 -2
  729. package/dist/ptcw-design/{p-7e774270.entry.js → p-efc2328f.entry.js} +2 -2
  730. package/dist/ptcw-design/{p-ad0830a3.entry.js → p-f43b2438.entry.js} +2 -2
  731. package/dist/ptcw-design/{p-dcaa18be.entry.js → p-f5cd1a64.entry.js} +2 -2
  732. package/dist/ptcw-design/{p-ede7d93b.entry.js → p-f6175af5.entry.js} +2 -2
  733. package/dist/ptcw-design/{p-427ca8bd.entry.js → p-fa394b9d.entry.js} +2 -2
  734. package/dist/ptcw-design/p-fa5ffe8b.entry.js +2 -0
  735. package/dist/ptcw-design/{p-485f8957.entry.js.map → p-fa5ffe8b.entry.js.map} +1 -1
  736. package/dist/ptcw-design/{p-2cbbe2d7.entry.js → p-fa7ca591.entry.js} +2 -2
  737. package/dist/ptcw-design/{p-8e919886.entry.js → p-fd2e37a9.entry.js} +2 -2
  738. package/dist/ptcw-design/{p-2b9802cb.entry.js → p-ff2d8087.entry.js} +2 -2
  739. package/dist/ptcw-design/ptc-checkbox.entry.esm.js.map +1 -0
  740. package/dist/ptcw-design/ptc-close-icon.ptc-modal.entry.esm.js.map +1 -1
  741. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  742. package/dist/types/components/atoms/ptc-checkbox/ptc-checkbox.d.ts +17 -0
  743. package/dist/types/components/atoms/ptc-modal/ptc-modal.d.ts +2 -2
  744. package/dist/types/components.d.ts +63 -4
  745. package/package.json +1 -1
  746. package/dist/ptcw-design/p-485f8957.entry.js +0 -2
  747. package/dist/ptcw-design/p-5bb479da.entry.js +0 -2
  748. package/dist/ptcw-design/p-64affe14.entry.js +0 -2
  749. package/dist/ptcw-design/p-6cba62c8.entry.js +0 -2
  750. package/dist/ptcw-design/p-6d3cbc0d.entry.js +0 -2
  751. package/dist/ptcw-design/p-73eb6667.entry.js +0 -2
  752. package/dist/ptcw-design/p-7b732a4b.entry.js +0 -2
  753. package/dist/ptcw-design/p-845ef290.entry.js +0 -2
  754. package/dist/ptcw-design/p-8916e0c1.entry.js +0 -2
  755. package/dist/ptcw-design/p-c4522c73.entry.js +0 -2
  756. package/dist/ptcw-design/p-e2609d0c.entry.js +0 -2
  757. package/dist/ptcw-design/p-e8dbd31c.entry.js +0 -2
  758. /package/dist/ptcw-design/{p-45451dab.entry.js.map → p-012dcb24.entry.js.map} +0 -0
  759. /package/dist/ptcw-design/{p-9fdc4f8e.entry.js.map → p-01927d95.entry.js.map} +0 -0
  760. /package/dist/ptcw-design/{p-2fc3e48f.entry.js.map → p-0350f1c3.entry.js.map} +0 -0
  761. /package/dist/ptcw-design/{p-54920e5d.entry.js.map → p-058daf15.entry.js.map} +0 -0
  762. /package/dist/ptcw-design/{p-62c003a1.entry.js.map → p-0643ad0f.entry.js.map} +0 -0
  763. /package/dist/ptcw-design/{p-03800132.entry.js.map → p-087caf2f.entry.js.map} +0 -0
  764. /package/dist/ptcw-design/{p-996c0890.entry.js.map → p-08c5defb.entry.js.map} +0 -0
  765. /package/dist/ptcw-design/{p-dd855d7b.entry.js.map → p-090165b9.entry.js.map} +0 -0
  766. /package/dist/ptcw-design/{p-75c1acfc.entry.js.map → p-0b32f8bb.entry.js.map} +0 -0
  767. /package/dist/ptcw-design/{p-d4cdec55.entry.js.map → p-0e54efa8.entry.js.map} +0 -0
  768. /package/dist/ptcw-design/{p-e8dbd31c.entry.js.map → p-114118af.entry.js.map} +0 -0
  769. /package/dist/ptcw-design/{p-0bdaae7c.entry.js.map → p-1300eac6.entry.js.map} +0 -0
  770. /package/dist/ptcw-design/{p-ddfea195.entry.js.map → p-15aaf4a5.entry.js.map} +0 -0
  771. /package/dist/ptcw-design/{p-ef79cfdd.entry.js.map → p-15f3bd0d.entry.js.map} +0 -0
  772. /package/dist/ptcw-design/{p-c0c26ff8.entry.js.map → p-178119c1.entry.js.map} +0 -0
  773. /package/dist/ptcw-design/{p-533f48b9.entry.js.map → p-185492a8.entry.js.map} +0 -0
  774. /package/dist/ptcw-design/{p-a2be029d.entry.js.map → p-18a5d22e.entry.js.map} +0 -0
  775. /package/dist/ptcw-design/{p-75782718.entry.js.map → p-1993d588.entry.js.map} +0 -0
  776. /package/dist/ptcw-design/{p-07bca6e7.entry.js.map → p-1bb70d72.entry.js.map} +0 -0
  777. /package/dist/ptcw-design/{p-3ff48faa.entry.js.map → p-1e3857a4.entry.js.map} +0 -0
  778. /package/dist/ptcw-design/{p-1d54f5d1.entry.js.map → p-2281f9dc.entry.js.map} +0 -0
  779. /package/dist/ptcw-design/{p-06d26f58.entry.js.map → p-29e67f2f.entry.js.map} +0 -0
  780. /package/dist/ptcw-design/{p-ab115085.entry.js.map → p-2cf43025.entry.js.map} +0 -0
  781. /package/dist/ptcw-design/{p-e92fb8c3.entry.js.map → p-2ebe32f1.entry.js.map} +0 -0
  782. /package/dist/ptcw-design/{p-ec72abc2.entry.js.map → p-2f29f3f9.entry.js.map} +0 -0
  783. /package/dist/ptcw-design/{p-99c5e692.entry.js.map → p-33e88aa6.entry.js.map} +0 -0
  784. /package/dist/ptcw-design/{p-31793ed8.entry.js.map → p-341c49ed.entry.js.map} +0 -0
  785. /package/dist/ptcw-design/{p-2a5e3fba.entry.js.map → p-34d7d90c.entry.js.map} +0 -0
  786. /package/dist/ptcw-design/{p-7a6e58ba.entry.js.map → p-35024b0f.entry.js.map} +0 -0
  787. /package/dist/ptcw-design/{p-cad25490.entry.js.map → p-3980d48a.entry.js.map} +0 -0
  788. /package/dist/ptcw-design/{p-1df8c975.entry.js.map → p-3a24096c.entry.js.map} +0 -0
  789. /package/dist/ptcw-design/{p-4b17c401.entry.js.map → p-3a2cc56d.entry.js.map} +0 -0
  790. /package/dist/ptcw-design/{p-bf79e535.entry.js.map → p-3b809f54.entry.js.map} +0 -0
  791. /package/dist/ptcw-design/{p-f1ad8f05.entry.js.map → p-3c15ca9f.entry.js.map} +0 -0
  792. /package/dist/ptcw-design/{p-845ef290.entry.js.map → p-3c1cf941.entry.js.map} +0 -0
  793. /package/dist/ptcw-design/{p-31dc46ab.entry.js.map → p-3f2be425.entry.js.map} +0 -0
  794. /package/dist/ptcw-design/{p-e810ebfb.entry.js.map → p-42c72e86.entry.js.map} +0 -0
  795. /package/dist/ptcw-design/{p-0965bd1b.entry.js.map → p-44e3807f.entry.js.map} +0 -0
  796. /package/dist/ptcw-design/{p-38427de7.entry.js.map → p-486f868f.entry.js.map} +0 -0
  797. /package/dist/ptcw-design/{p-3b6867a6.entry.js.map → p-4a447830.entry.js.map} +0 -0
  798. /package/dist/ptcw-design/{p-7fcaa71f.entry.js.map → p-4aab98b0.entry.js.map} +0 -0
  799. /package/dist/ptcw-design/{p-f3eece01.entry.js.map → p-4b546e7c.entry.js.map} +0 -0
  800. /package/dist/ptcw-design/{p-77c83bbd.entry.js.map → p-4f9f9d0b.entry.js.map} +0 -0
  801. /package/dist/ptcw-design/{p-0909488e.entry.js.map → p-5075f204.entry.js.map} +0 -0
  802. /package/dist/ptcw-design/{p-c14878cf.entry.js.map → p-50b1308a.entry.js.map} +0 -0
  803. /package/dist/ptcw-design/{p-c3eed320.entry.js.map → p-50e47562.entry.js.map} +0 -0
  804. /package/dist/ptcw-design/{p-ec9f8614.entry.js.map → p-53a0ef61.entry.js.map} +0 -0
  805. /package/dist/ptcw-design/{p-d484b93e.entry.js.map → p-54ff43dc.entry.js.map} +0 -0
  806. /package/dist/ptcw-design/{p-65739ec0.entry.js.map → p-5cd721fa.entry.js.map} +0 -0
  807. /package/dist/ptcw-design/{p-30a7fac4.entry.js.map → p-5f1f1801.entry.js.map} +0 -0
  808. /package/dist/ptcw-design/{p-e789d83b.entry.js.map → p-5f4891e1.entry.js.map} +0 -0
  809. /package/dist/ptcw-design/{p-5db5906d.entry.js.map → p-61e6b855.entry.js.map} +0 -0
  810. /package/dist/ptcw-design/{p-c4eb7b96.entry.js.map → p-643483cf.entry.js.map} +0 -0
  811. /package/dist/ptcw-design/{p-1ca79afb.entry.js.map → p-66febb1d.entry.js.map} +0 -0
  812. /package/dist/ptcw-design/{p-0afb9cb3.entry.js.map → p-689545dd.entry.js.map} +0 -0
  813. /package/dist/ptcw-design/{p-b973b27a.entry.js.map → p-68a89eae.entry.js.map} +0 -0
  814. /package/dist/ptcw-design/{p-439aa9a4.entry.js.map → p-6998931d.entry.js.map} +0 -0
  815. /package/dist/ptcw-design/{p-3865e9be.entry.js.map → p-69fe8697.entry.js.map} +0 -0
  816. /package/dist/ptcw-design/{p-12293359.entry.js.map → p-6e534b3f.entry.js.map} +0 -0
  817. /package/dist/ptcw-design/{p-8699e5f0.entry.js.map → p-6ef42ab6.entry.js.map} +0 -0
  818. /package/dist/ptcw-design/{p-ff4cf1d7.entry.js.map → p-6fb47ae8.entry.js.map} +0 -0
  819. /package/dist/ptcw-design/{p-fb36a9f7.entry.js.map → p-7013ec9c.entry.js.map} +0 -0
  820. /package/dist/ptcw-design/{p-909c7acf.entry.js.map → p-70a74348.entry.js.map} +0 -0
  821. /package/dist/ptcw-design/{p-31c74171.entry.js.map → p-71ed2ff9.entry.js.map} +0 -0
  822. /package/dist/ptcw-design/{p-7237d5e5.entry.js.map → p-7ba9553f.entry.js.map} +0 -0
  823. /package/dist/ptcw-design/{p-0e1f9e19.entry.js.map → p-7c561d2e.entry.js.map} +0 -0
  824. /package/dist/ptcw-design/{p-c237e39f.entry.js.map → p-80531e28.entry.js.map} +0 -0
  825. /package/dist/ptcw-design/{p-3cedb1fe.entry.js.map → p-81252340.entry.js.map} +0 -0
  826. /package/dist/ptcw-design/{p-56835c52.entry.js.map → p-82f2d103.entry.js.map} +0 -0
  827. /package/dist/ptcw-design/{p-14af3ce9.entry.js.map → p-885fa95f.entry.js.map} +0 -0
  828. /package/dist/ptcw-design/{p-5bb479da.entry.js.map → p-88a44832.entry.js.map} +0 -0
  829. /package/dist/ptcw-design/{p-a3ca0a5f.entry.js.map → p-88a94bef.entry.js.map} +0 -0
  830. /package/dist/ptcw-design/{p-deaf58e6.entry.js.map → p-8a208331.entry.js.map} +0 -0
  831. /package/dist/ptcw-design/{p-7484f5c5.entry.js.map → p-8aade402.entry.js.map} +0 -0
  832. /package/dist/ptcw-design/{p-eb80acf2.entry.js.map → p-8c84c772.entry.js.map} +0 -0
  833. /package/dist/ptcw-design/{p-aca24ff8.entry.js.map → p-8d3d5d54.entry.js.map} +0 -0
  834. /package/dist/ptcw-design/{p-40ed85fa.entry.js.map → p-8f00ba3c.entry.js.map} +0 -0
  835. /package/dist/ptcw-design/{p-7e5ff680.entry.js.map → p-9195f27e.entry.js.map} +0 -0
  836. /package/dist/ptcw-design/{p-845ea3b3.entry.js.map → p-92eb0f5d.entry.js.map} +0 -0
  837. /package/dist/ptcw-design/{p-74ae26ff.entry.js.map → p-95d02fd2.entry.js.map} +0 -0
  838. /package/dist/ptcw-design/{p-4c252547.entry.js.map → p-9b45be16.entry.js.map} +0 -0
  839. /package/dist/ptcw-design/{p-a055a2ca.entry.js.map → p-9c27120c.entry.js.map} +0 -0
  840. /package/dist/ptcw-design/{p-4f710bf3.entry.js.map → p-9e272ae3.entry.js.map} +0 -0
  841. /package/dist/ptcw-design/{p-67627fc6.entry.js.map → p-a691657c.entry.js.map} +0 -0
  842. /package/dist/ptcw-design/{p-e2609d0c.entry.js.map → p-aab3edf4.entry.js.map} +0 -0
  843. /package/dist/ptcw-design/{p-10316732.entry.js.map → p-b2964ce2.entry.js.map} +0 -0
  844. /package/dist/ptcw-design/{p-da54e990.entry.js.map → p-b6ede5cd.entry.js.map} +0 -0
  845. /package/dist/ptcw-design/{p-14b33696.entry.js.map → p-b7cd5b72.entry.js.map} +0 -0
  846. /package/dist/ptcw-design/{p-a46f20a3.entry.js.map → p-b7e1db7e.entry.js.map} +0 -0
  847. /package/dist/ptcw-design/{p-b75a439b.entry.js.map → p-b82b13ea.entry.js.map} +0 -0
  848. /package/dist/ptcw-design/{p-66d2e150.entry.js.map → p-bcb8c889.entry.js.map} +0 -0
  849. /package/dist/ptcw-design/{p-119bc00f.entry.js.map → p-bd62a923.entry.js.map} +0 -0
  850. /package/dist/ptcw-design/{p-eb7cca56.entry.js.map → p-be540e54.entry.js.map} +0 -0
  851. /package/dist/ptcw-design/{p-87ff3a15.entry.js.map → p-c4d9208f.entry.js.map} +0 -0
  852. /package/dist/ptcw-design/{p-3dbd28a7.entry.js.map → p-c9b3498e.entry.js.map} +0 -0
  853. /package/dist/ptcw-design/{p-e6f93797.entry.js.map → p-cd8a9560.entry.js.map} +0 -0
  854. /package/dist/ptcw-design/{p-6d3cbc0d.entry.js.map → p-cf90439a.entry.js.map} +0 -0
  855. /package/dist/ptcw-design/{p-19449437.entry.js.map → p-d361ca0d.entry.js.map} +0 -0
  856. /package/dist/ptcw-design/{p-73eb6667.entry.js.map → p-d3933825.entry.js.map} +0 -0
  857. /package/dist/ptcw-design/{p-3124b62a.entry.js.map → p-d4a99d8d.entry.js.map} +0 -0
  858. /package/dist/ptcw-design/{p-36347902.entry.js.map → p-d53b0179.entry.js.map} +0 -0
  859. /package/dist/ptcw-design/{p-5287fad3.entry.js.map → p-d65d19a6.entry.js.map} +0 -0
  860. /package/dist/ptcw-design/{p-af6c93ee.entry.js.map → p-d9393e77.entry.js.map} +0 -0
  861. /package/dist/ptcw-design/{p-57710574.entry.js.map → p-da00a155.entry.js.map} +0 -0
  862. /package/dist/ptcw-design/{p-c4522c73.entry.js.map → p-ddc58628.entry.js.map} +0 -0
  863. /package/dist/ptcw-design/{p-19ab0b71.entry.js.map → p-dfb9c8ab.entry.js.map} +0 -0
  864. /package/dist/ptcw-design/{p-1d675f69.entry.js.map → p-e28370bb.entry.js.map} +0 -0
  865. /package/dist/ptcw-design/{p-63cbf2e2.entry.js.map → p-e4436895.entry.js.map} +0 -0
  866. /package/dist/ptcw-design/{p-ddb6daed.entry.js.map → p-e5aa1bda.entry.js.map} +0 -0
  867. /package/dist/ptcw-design/{p-811ef0d7.entry.js.map → p-e62c5a96.entry.js.map} +0 -0
  868. /package/dist/ptcw-design/{p-bdd0fb5e.entry.js.map → p-e7687904.entry.js.map} +0 -0
  869. /package/dist/ptcw-design/{p-68c44fc3.entry.js.map → p-e8392c42.entry.js.map} +0 -0
  870. /package/dist/ptcw-design/{p-f1dddb1f.entry.js.map → p-e91fbaab.entry.js.map} +0 -0
  871. /package/dist/ptcw-design/{p-d19216c4.entry.js.map → p-eb96e2c4.entry.js.map} +0 -0
  872. /package/dist/ptcw-design/{p-fe26e463.entry.js.map → p-eef800bb.entry.js.map} +0 -0
  873. /package/dist/ptcw-design/{p-7e774270.entry.js.map → p-efc2328f.entry.js.map} +0 -0
  874. /package/dist/ptcw-design/{p-ad0830a3.entry.js.map → p-f43b2438.entry.js.map} +0 -0
  875. /package/dist/ptcw-design/{p-dcaa18be.entry.js.map → p-f5cd1a64.entry.js.map} +0 -0
  876. /package/dist/ptcw-design/{p-ede7d93b.entry.js.map → p-f6175af5.entry.js.map} +0 -0
  877. /package/dist/ptcw-design/{p-427ca8bd.entry.js.map → p-fa394b9d.entry.js.map} +0 -0
  878. /package/dist/ptcw-design/{p-2cbbe2d7.entry.js.map → p-fa7ca591.entry.js.map} +0 -0
  879. /package/dist/ptcw-design/{p-8e919886.entry.js.map → p-fd2e37a9.entry.js.map} +0 -0
  880. /package/dist/ptcw-design/{p-2b9802cb.entry.js.map → p-ff2d8087.entry.js.map} +0 -0
@@ -72,9 +72,9 @@ const PtcProductDropdown = /*@__PURE__*/ proxyCustomElement(class PtcProductDrop
72
72
  this.parseOptions();
73
73
  }
74
74
  render() {
75
- return (h(Host, { key: 'f0ae8f80296a422c1c51deadfbdf2e82350ab3e6' }, h("div", { key: 'a9b2dd095ebcb309d94eb7e40f08ec1969b7bd65', class: "dropdown" }, h("div", { key: '3f9f1366af89a4bb3c39bb065a6e8c018b0b0a7c', class: "dropdown-toggle", onClick: () => this.toggleDropdown(), onKeyDown: (e) => {
75
+ return (h(Host, { key: '7a8e57df26e175f0570af84e0ebd229bf291b319' }, h("div", { key: '4f87fc310e4535f2c36f1293f988187e319820fa', class: "dropdown" }, h("div", { key: '75cba4c7fdca9faf850d4b4d7647840ebf1a7502', class: "dropdown-toggle", onClick: () => this.toggleDropdown(), onKeyDown: (e) => {
76
76
  e.key === "Enter" ? this.toggleDropdown() : null;
77
- }, tabIndex: 0 }, h("span", { key: 'd95e81dd28c48a2c366f6bb5e670771f3b115a9d', class: "dropdown-placeholder" }, this.placeholder), h("span", { key: 'c9738005f388d2fbd0a3d2f8153de229bfd40951', class: "caret" }, h("svg", { key: '8855d428d7fced1c8692d53fe513be10ed21dc1c', width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '703a344827f448bf4f1e7d8268557218fbf7c465', d: "M1.86537 0.917969L6.14614 4.56922L10.4269 0.917969L11.9769 2.23997L6.14614 7.21323L0.31543 2.23997L1.86537 0.917969Z", fill: "#323B42" })))), this.isOpen && (h("div", { key: 'fd1de44a1b8daca811f25b41022d14a03344d6af', class: "dropdown-menu" }, this.internalOptions.map((option) => (h("label", { class: "checkbox-label" }, h("input", { type: "checkbox", checked: this.selectedOptions.includes(option), onChange: () => this.handleCheckboxChange(option) }), option)))))), h("div", { key: '2861431ec20e138f3a6227635c43ffe823ac39ed', class: "hidden" }, h("slot", { key: '7db3d279c2fe072865439fdde5013528b72bdcab' }))));
77
+ }, tabIndex: 0 }, h("span", { key: '846131aae21dbfaeb632c50ddac744c956c77a97', class: "dropdown-placeholder" }, this.placeholder), h("span", { key: '3b9df63720211807cd48f472fa0822af5384fe10', class: "caret" }, h("svg", { key: '551055b802a83225fedfc751de52c6d30cf8eff2', width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '604863bb0dbad093c4fee97d4e50665d09f23ab8', d: "M1.86537 0.917969L6.14614 4.56922L10.4269 0.917969L11.9769 2.23997L6.14614 7.21323L0.31543 2.23997L1.86537 0.917969Z", fill: "#323B42" })))), this.isOpen && (h("div", { key: '3637c053e3ea9354c4105f6a8f24642604b23442', class: "dropdown-menu" }, this.internalOptions.map((option) => (h("label", { class: "checkbox-label" }, h("input", { type: "checkbox", checked: this.selectedOptions.includes(option), onChange: () => this.handleCheckboxChange(option) }), option)))))), h("div", { key: '6374c0c5a7cac46a29fe41b9668e32256ca959ab', class: "hidden" }, h("slot", { key: 'e75e1bc7c49a8be2482d7006eaf0e445702ad94b' }))));
78
78
  }
79
79
  static get style() { return ptcProductDropdownCss; }
80
80
  }, [257, "ptc-product-dropdown", {
@@ -100,6 +100,6 @@ function defineCustomElement() {
100
100
  defineCustomElement();
101
101
 
102
102
  export { PtcProductDropdown as P, defineCustomElement as d };
103
- //# sourceMappingURL=p-u1d9Lu8W.js.map
103
+ //# sourceMappingURL=p-B0NSTy2y.js.map
104
104
 
105
- //# sourceMappingURL=p-u1d9Lu8W.js.map
105
+ //# sourceMappingURL=p-B0NSTy2y.js.map
@@ -1 +1 @@
1
- {"file":"p-u1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AAA,EAAA,KAAK,EAAC,OAAO,EAAA,EAClB,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,GAAG,EACV,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,EAAA,EAElC,CACC,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAC,EAAC,sHAAsH,EACxH,IAAI,EAAC,SAAS,EAAA,CACb,CACG,CACA,CACF,EACL,IAAI,CAAC,MAAM,KACX,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,eAAe,EACxB,EAAA,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,MAAM,MAChC,CAAA,CAAA,OAAA,EAAA,EAAO,KAAK,EAAC,gBAAgB,EAAA,EAC5B,CACC,CAAA,OAAA,EAAA,EAAA,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,IAAI,CAAC,eAAe,CAAC,QAAQ,CACrC,MAAM,CACN,EACD,QAAQ,EAAE,MACT,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAEjC,CAAA,EACD,MAAM,CACA,CACR,CAAC,CACG,CACN,CACI,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,QAAQ,EAAA,EAClB,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACR,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/molecules/ptc-product-dropdown/ptc-product-dropdown.scss?tag=ptc-product-dropdown&encapsulation=shadow","src/components/molecules/ptc-product-dropdown/ptc-product-dropdown.tsx"],"sourcesContent":["@use 'mixins' as *;\r\n\r\n:host {\r\n\tdisplay: block;\r\n\tmargin-top: 4px;\r\n\tbackground-color: var(--color-white);\r\n\r\n\t.hidden {\r\n\t\tdisplay: none;\r\n\t}\r\n\r\n\t.dropdown {\r\n\t\tposition: relative;\r\n\t\tdisplay: inline-block;\r\n\t\twidth: 100%;\r\n\t\tfont-size: 16px;\r\n\r\n\t\t.dropdown-toggle {\r\n\t\t\tpadding: 0.5rem;\r\n\t\t\tborder: 1px solid var(--color-gray-03);\r\n\t\t\tbackground-color: var(--color-white);\r\n\t\t\tcursor: pointer;\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\tjustify-content: space-between;\r\n\t\t\tmin-height: 34px;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\t&:focus-visible {\r\n\t\t\t\t@include base-focus-state;\r\n\t\t\t}\r\n\r\n\t\t\t.dropdown-placeholder {\r\n\t\t\t\tfont-size: 14px;\r\n\t\t\t\tcolor: var(--color-gray-07);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.caret {\r\n\t\tdisplay: inline-block;\r\n\t\tvertical-align: middle;\r\n\t}\r\n\r\n\t.dropdown-menu {\r\n\t\tposition: absolute;\r\n\t\ttop: 100%;\r\n\t\tleft: 0;\r\n\t\tmin-width: 10rem;\r\n\t\tborder: 1px solid var(--color-gray-03);\r\n\t\tbackground-color: var(--color-white);\r\n\t\tbox-shadow: 0px 2px 4px rgba(35, 43, 45, 0.3);\r\n\t\tz-index: 105;\r\n\t\tmax-height: 400px;\r\n\t\toverflow-y: auto;\r\n\t\twidth: 100%;\r\n\t\tbox-sizing: border-box;\r\n\r\n\t\t&::-webkit-scrollbar {\r\n\t\t\twidth: 5px;\r\n\t\t}\r\n\r\n\t\t&::-webkit-scrollbar-track {\r\n\t\t\t-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\r\n\t\t}\r\n\r\n\t\t&::-webkit-scrollbar-thumb {\r\n\t\t\tbackground-color: var(--color-gray-05);\r\n\t\t\toutline: 1px solid var(--color-gray-05);\r\n\t\t}\r\n\t}\r\n\r\n\t.checkbox-label {\r\n\t\tdisplay: flex;\r\n\t\talign-items: flex-start;\r\n\t\tpadding: 6px 16px;\r\n\t\tcursor: pointer;\r\n\t\tfont-size: 14px;\r\n\r\n\t\t&:first-child {\r\n\t\t\tpadding-top: 20px;\r\n\t\t}\r\n\r\n\t\t&:last-child {\r\n\t\t\tpadding-bottom: 20px;\r\n\t\t}\r\n\r\n\t\tinput[type=\"checkbox\"] {\r\n\t\t\tmin-width: 20px;\r\n\t\t\tmargin-right: 8px;\r\n\t\t\twidth: 20px;\r\n\t\t\theight: 20px;\r\n\t\t\tmargin-top: 0;\r\n\t\t\t&:focus-visible {\r\n\t\t\t\t@include base-focus-state;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n","import {\r\n\tComponent,\r\n\tHost,\r\n\th,\r\n\tState,\r\n\tProp,\r\n\tEventEmitter,\r\n\tEvent,\r\n\tListen,\r\n\tElement,\r\n} from \"@stencil/core\";\r\n\r\n@Component({\r\n\ttag: \"ptc-product-dropdown\",\r\n\tstyleUrl: \"ptc-product-dropdown.scss\",\r\n\tshadow: true,\r\n})\r\nexport class PtcProductDropdown {\r\n\t@Element() hostElement: HTMLElement;\r\n\t@State() internalOptions: string[];\r\n\t@Prop() newOptions: string[];\r\n\t@Prop() selectedOptions: string[] = [];\r\n\t@Prop() placeholder: string;\r\n\t@Event() selectedValues: EventEmitter;\r\n\t@Event() dropdownTouched: EventEmitter;\r\n\r\n\t@State() isOpen = false;\r\n\r\n\tparseOptions() {\r\n\t\tlet options = Array.from(this.hostElement.querySelectorAll(\"span\"));\r\n\t\tif (options) {\r\n\t\t\tthis.internalOptions = options.map((option) => {\r\n\t\t\t\treturn option.textContent;\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\ttoggleDropdown() {\r\n\t\tthis.isOpen = !this.isOpen;\r\n\t\tthis.dropdownTouched.emit({\r\n\t\t\tsender: this,\r\n\t\t\tisOpen: this.isOpen,\r\n\t\t});\r\n\t}\r\n\r\n\t@Listen(\"clearsearch\", { target: \"document\" })\r\n\thandleSearchResult(event: CustomEvent) {\r\n\t\tconst { sender, searchTerm } = event.detail;\r\n\t\tif (sender) {\r\n\t\t\tif (searchTerm === \"\") {\r\n\t\t\t\tthis.selectedOptions = [];\r\n\t\t\t\tthis.isOpen = false;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t@Listen(\"inputChanged\", { target: \"document\" })\r\n\thandleinputChanged(event: CustomEvent) {\r\n\t\tconst { sender } = event.detail;\r\n\t\tif (sender) {\r\n\t\t\tthis.selectedOptions = [];\r\n\t\t\tthis.isOpen = false;\r\n\t\t}\r\n\t}\r\n\r\n\thandleCheckboxChange(option: string) {\r\n\t\tconst index = this.selectedOptions.indexOf(option);\r\n\t\tif (index > -1) {\r\n\t\t\tthis.selectedOptions.splice(index, 1);\r\n\t\t\tthis.selectedValues.emit({\r\n\t\t\t\tsender: this,\r\n\t\t\t\tselectedOptions: this.selectedOptions,\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.selectedOptions.push(option);\r\n\t\t\tthis.selectedValues.emit({\r\n\t\t\t\tsender: this,\r\n\t\t\t\tselectedOptions: this.selectedOptions,\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\tcomponentWillLoad() {\r\n\t\tthis.parseOptions();\r\n\t}\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t<Host>\r\n\t\t\t\t<div class=\"dropdown\">\r\n\t\t\t\t\t<div\r\n\t\t\t\t\t\tclass=\"dropdown-toggle\"\r\n\t\t\t\t\t\tonClick={() => this.toggleDropdown()}\r\n\t\t\t\t\t\tonKeyDown={(e) => {\r\n\t\t\t\t\t\t\te.key === \"Enter\" ? this.toggleDropdown() : null;\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t\ttabIndex={0}\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<span class=\"dropdown-placeholder\">\r\n\t\t\t\t\t\t\t{/* {this.selectedOptions.join(', ')} */}\r\n\t\t\t\t\t\t\t{this.placeholder}\r\n\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t<span class=\"caret\">\r\n\t\t\t\t\t\t\t<svg\r\n\t\t\t\t\t\t\t\twidth=\"12\"\r\n\t\t\t\t\t\t\t\theight=\"8\"\r\n\t\t\t\t\t\t\t\tviewBox=\"0 0 12 8\"\r\n\t\t\t\t\t\t\t\tfill=\"none\"\r\n\t\t\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\r\n\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t<path\r\n\t\t\t\t\t\t\t\t\td=\"M1.86537 0.917969L6.14614 4.56922L10.4269 0.917969L11.9769 2.23997L6.14614 7.21323L0.31543 2.23997L1.86537 0.917969Z\"\r\n\t\t\t\t\t\t\t\t\tfill=\"#323B42\"\r\n\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t</svg>\r\n\t\t\t\t\t\t</span>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t{this.isOpen && (\r\n\t\t\t\t\t\t<div class=\"dropdown-menu\">\r\n\t\t\t\t\t\t\t{this.internalOptions.map((option) => (\r\n\t\t\t\t\t\t\t\t<label class=\"checkbox-label\">\r\n\t\t\t\t\t\t\t\t\t<input\r\n\t\t\t\t\t\t\t\t\t\ttype=\"checkbox\"\r\n\t\t\t\t\t\t\t\t\t\tchecked={this.selectedOptions.includes(\r\n\t\t\t\t\t\t\t\t\t\t\toption\r\n\t\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t\t\tonChange={() =>\r\n\t\t\t\t\t\t\t\t\t\t\tthis.handleCheckboxChange(option)\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t{option}\r\n\t\t\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t\t))}\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t)}\r\n\t\t\t\t</div>\r\n\t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AA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAC,sBAAsB,IAEhC,IAAI,CAAC,WAAW,CACX,EACP,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,OAAO,EAAA,EAClB,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,GAAG,EACV,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,EAAA,EAElC,CACC,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAC,EAAC,sHAAsH,EACxH,IAAI,EAAC,SAAS,EAAA,CACb,CACG,CACA,CACF,EACL,IAAI,CAAC,MAAM,KACX,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,eAAe,EACxB,EAAA,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,MAAM,MAChC,CAAA,CAAA,OAAA,EAAA,EAAO,KAAK,EAAC,gBAAgB,EAAA,EAC5B,CACC,CAAA,OAAA,EAAA,EAAA,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,IAAI,CAAC,eAAe,CAAC,QAAQ,CACrC,MAAM,CACN,EACD,QAAQ,EAAE,MACT,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAEjC,CAAA,EACD,MAAM,CACA,CACR,CAAC,CACG,CACN,CACI,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,QAAQ,EAAA,EAClB,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACR,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/molecules/ptc-product-dropdown/ptc-product-dropdown.scss?tag=ptc-product-dropdown&encapsulation=shadow","src/components/molecules/ptc-product-dropdown/ptc-product-dropdown.tsx"],"sourcesContent":["@use 'mixins' as *;\r\n\r\n:host {\r\n\tdisplay: block;\r\n\tmargin-top: 4px;\r\n\tbackground-color: var(--color-white);\r\n\r\n\t.hidden {\r\n\t\tdisplay: none;\r\n\t}\r\n\r\n\t.dropdown {\r\n\t\tposition: relative;\r\n\t\tdisplay: inline-block;\r\n\t\twidth: 100%;\r\n\t\tfont-size: 16px;\r\n\r\n\t\t.dropdown-toggle {\r\n\t\t\tpadding: 0.5rem;\r\n\t\t\tborder: 1px solid var(--color-gray-03);\r\n\t\t\tbackground-color: var(--color-white);\r\n\t\t\tcursor: pointer;\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\tjustify-content: space-between;\r\n\t\t\tmin-height: 34px;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\t&:focus-visible {\r\n\t\t\t\t@include base-focus-state;\r\n\t\t\t}\r\n\r\n\t\t\t.dropdown-placeholder {\r\n\t\t\t\tfont-size: 14px;\r\n\t\t\t\tcolor: var(--color-gray-07);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.caret {\r\n\t\tdisplay: inline-block;\r\n\t\tvertical-align: middle;\r\n\t}\r\n\r\n\t.dropdown-menu {\r\n\t\tposition: absolute;\r\n\t\ttop: 100%;\r\n\t\tleft: 0;\r\n\t\tmin-width: 10rem;\r\n\t\tborder: 1px solid var(--color-gray-03);\r\n\t\tbackground-color: var(--color-white);\r\n\t\tbox-shadow: 0px 2px 4px rgba(35, 43, 45, 0.3);\r\n\t\tz-index: 105;\r\n\t\tmax-height: 400px;\r\n\t\toverflow-y: auto;\r\n\t\twidth: 100%;\r\n\t\tbox-sizing: border-box;\r\n\r\n\t\t&::-webkit-scrollbar {\r\n\t\t\twidth: 5px;\r\n\t\t}\r\n\r\n\t\t&::-webkit-scrollbar-track {\r\n\t\t\t-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\r\n\t\t}\r\n\r\n\t\t&::-webkit-scrollbar-thumb {\r\n\t\t\tbackground-color: var(--color-gray-05);\r\n\t\t\toutline: 1px solid var(--color-gray-05);\r\n\t\t}\r\n\t}\r\n\r\n\t.checkbox-label {\r\n\t\tdisplay: flex;\r\n\t\talign-items: flex-start;\r\n\t\tpadding: 6px 16px;\r\n\t\tcursor: pointer;\r\n\t\tfont-size: 14px;\r\n\r\n\t\t&:first-child {\r\n\t\t\tpadding-top: 20px;\r\n\t\t}\r\n\r\n\t\t&:last-child {\r\n\t\t\tpadding-bottom: 20px;\r\n\t\t}\r\n\r\n\t\tinput[type=\"checkbox\"] {\r\n\t\t\tmin-width: 20px;\r\n\t\t\tmargin-right: 8px;\r\n\t\t\twidth: 20px;\r\n\t\t\theight: 20px;\r\n\t\t\tmargin-top: 0;\r\n\t\t\t&:focus-visible {\r\n\t\t\t\t@include base-focus-state;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n","import {\r\n\tComponent,\r\n\tHost,\r\n\th,\r\n\tState,\r\n\tProp,\r\n\tEventEmitter,\r\n\tEvent,\r\n\tListen,\r\n\tElement,\r\n} from \"@stencil/core\";\r\n\r\n@Component({\r\n\ttag: \"ptc-product-dropdown\",\r\n\tstyleUrl: \"ptc-product-dropdown.scss\",\r\n\tshadow: true,\r\n})\r\nexport class PtcProductDropdown {\r\n\t@Element() hostElement: HTMLElement;\r\n\t@State() internalOptions: string[];\r\n\t@Prop() newOptions: string[];\r\n\t@Prop() selectedOptions: string[] = [];\r\n\t@Prop() placeholder: string;\r\n\t@Event() selectedValues: EventEmitter;\r\n\t@Event() dropdownTouched: EventEmitter;\r\n\r\n\t@State() isOpen = false;\r\n\r\n\tparseOptions() {\r\n\t\tlet options = Array.from(this.hostElement.querySelectorAll(\"span\"));\r\n\t\tif (options) {\r\n\t\t\tthis.internalOptions = options.map((option) => {\r\n\t\t\t\treturn option.textContent;\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\ttoggleDropdown() {\r\n\t\tthis.isOpen = !this.isOpen;\r\n\t\tthis.dropdownTouched.emit({\r\n\t\t\tsender: this,\r\n\t\t\tisOpen: this.isOpen,\r\n\t\t});\r\n\t}\r\n\r\n\t@Listen(\"clearsearch\", { target: \"document\" })\r\n\thandleSearchResult(event: CustomEvent) {\r\n\t\tconst { sender, searchTerm } = event.detail;\r\n\t\tif (sender) {\r\n\t\t\tif (searchTerm === \"\") {\r\n\t\t\t\tthis.selectedOptions = [];\r\n\t\t\t\tthis.isOpen = false;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t@Listen(\"inputChanged\", { target: \"document\" })\r\n\thandleinputChanged(event: CustomEvent) {\r\n\t\tconst { sender } = event.detail;\r\n\t\tif (sender) {\r\n\t\t\tthis.selectedOptions = [];\r\n\t\t\tthis.isOpen = false;\r\n\t\t}\r\n\t}\r\n\r\n\thandleCheckboxChange(option: string) {\r\n\t\tconst index = this.selectedOptions.indexOf(option);\r\n\t\tif (index > -1) {\r\n\t\t\tthis.selectedOptions.splice(index, 1);\r\n\t\t\tthis.selectedValues.emit({\r\n\t\t\t\tsender: this,\r\n\t\t\t\tselectedOptions: this.selectedOptions,\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.selectedOptions.push(option);\r\n\t\t\tthis.selectedValues.emit({\r\n\t\t\t\tsender: this,\r\n\t\t\t\tselectedOptions: this.selectedOptions,\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\tcomponentWillLoad() {\r\n\t\tthis.parseOptions();\r\n\t}\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t<Host>\r\n\t\t\t\t<div class=\"dropdown\">\r\n\t\t\t\t\t<div\r\n\t\t\t\t\t\tclass=\"dropdown-toggle\"\r\n\t\t\t\t\t\tonClick={() => this.toggleDropdown()}\r\n\t\t\t\t\t\tonKeyDown={(e) => {\r\n\t\t\t\t\t\t\te.key === \"Enter\" ? this.toggleDropdown() : null;\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t\ttabIndex={0}\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<span class=\"dropdown-placeholder\">\r\n\t\t\t\t\t\t\t{/* {this.selectedOptions.join(', ')} */}\r\n\t\t\t\t\t\t\t{this.placeholder}\r\n\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t<span class=\"caret\">\r\n\t\t\t\t\t\t\t<svg\r\n\t\t\t\t\t\t\t\twidth=\"12\"\r\n\t\t\t\t\t\t\t\theight=\"8\"\r\n\t\t\t\t\t\t\t\tviewBox=\"0 0 12 8\"\r\n\t\t\t\t\t\t\t\tfill=\"none\"\r\n\t\t\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\r\n\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t<path\r\n\t\t\t\t\t\t\t\t\td=\"M1.86537 0.917969L6.14614 4.56922L10.4269 0.917969L11.9769 2.23997L6.14614 7.21323L0.31543 2.23997L1.86537 0.917969Z\"\r\n\t\t\t\t\t\t\t\t\tfill=\"#323B42\"\r\n\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t</svg>\r\n\t\t\t\t\t\t</span>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t{this.isOpen && (\r\n\t\t\t\t\t\t<div class=\"dropdown-menu\">\r\n\t\t\t\t\t\t\t{this.internalOptions.map((option) => (\r\n\t\t\t\t\t\t\t\t<label class=\"checkbox-label\">\r\n\t\t\t\t\t\t\t\t\t<input\r\n\t\t\t\t\t\t\t\t\t\ttype=\"checkbox\"\r\n\t\t\t\t\t\t\t\t\t\tchecked={this.selectedOptions.includes(\r\n\t\t\t\t\t\t\t\t\t\t\toption\r\n\t\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t\t\tonChange={() =>\r\n\t\t\t\t\t\t\t\t\t\t\tthis.handleCheckboxChange(option)\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t{option}\r\n\t\t\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t\t))}\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t)}\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class=\"hidden\">\r\n\t\t\t\t\t<slot></slot>\r\n\t\t\t\t</div>\r\n\t\t\t</Host>\r\n\t\t);\r\n\t}\r\n}\r\n"],"version":3}
@@ -53,7 +53,7 @@ const PtcDate = /*@__PURE__*/ proxyCustomElement(class PtcDate extends H {
53
53
  render() {
54
54
  // const newDate = new Date(this.year, this.month, this.day);
55
55
  const classMap = this.getCssClassMap();
56
- return (h(Host, { key: 'f44f36607096e3347438c3d85bb709b03580f486', class: classMap }, this.dateStyles && h("style", { key: '60c1a041b8992cca04af1b754393552d00bf925d' }, this.dateStyles), h("span", { key: '3bfc459f181eae7c2dcd9e8fe4686589104d7a63', part: "part-ptc-date" }, this.getDate().toLocaleDateString(this.country, this.getOptions()))));
56
+ return (h(Host, { key: '056d08237afd75097e428311a14065d93e42e63b', class: classMap }, this.dateStyles && h("style", { key: 'ddcd788b88b80be7d0d723d610d4b60964260506' }, this.dateStyles), h("span", { key: 'd6264592f88b3b94e316dd94ddc94a1628ee23ae', part: "part-ptc-date" }, this.getDate().toLocaleDateString(this.country, this.getOptions()))));
57
57
  }
58
58
  getCssClassMap() {
59
59
  return {
@@ -114,6 +114,6 @@ function defineCustomElement() {
114
114
  defineCustomElement();
115
115
 
116
116
  export { PtcDate as P, defineCustomElement as d };
117
- //# sourceMappingURL=p-rV440n48.js.map
117
+ //# sourceMappingURL=p-BAW88YcS.js.map
118
118
 
119
- //# sourceMappingURL=p-rV440n48.js.map
119
+ //# sourceMappingURL=p-BAW88YcS.js.map
@@ -1 +1 @@
1
- {"file":"p-rV440n48.js","mappings":";;AAAA,MAAM,UAAU,GAAG,qWAAqW;;MCQ3W,OAAO,iBAAAA,kBAAA,CAAA,MAAA,OAAA,SAAAC,CAAA,CAAA;;;;;;;;AAClB;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,CAAC;gBACzC,IAAI,IAAI,EAAE;oBACT,MAAM,GAAG,IAAI;;;YAEb,OAAO,CAAC,EAAE;;AAEX,gBAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC;;;AAIhB,QAAA,OAAO,MAAM;;IAGN,OAAO,GAAA;AACd,QAAA,IAAI,IAAI,CAAC,UAAU,EAAE;AACpB,YAAA,IAAI,OAAO,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;AAC1D,YAAA,OAAO,OAAO;;aACR;AACN,YAAA,OAAO,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/ptc-date/ptc-date.scss?tag=ptc-date&encapsulation=shadow","src/components/atoms/ptc-date/ptc-date.tsx"],"sourcesContent":[":host {\r\n\tdisplay: block;\r\n}\r\n:host(.small) {\r\n\tspan {\r\n\t\tfont-size: var(--ptc-font-size-xx-small);\r\n\t}\r\n}\r\n:host(.medium) {\r\n\tspan {\r\n\t\tfont-size: var(--ptc-font-size-x-small);\r\n\t}\r\n}\r\n:host(.large) {\r\n\tspan {\r\n\t\tfont-size: var(--ptc-font-size-small);\r\n\t}\r\n}\r\n:host(.primary-grey) {\r\n\tcolor: var(--color-primary-gray-new);\r\n}\r\n:host(.white) {\r\n\tspan {\r\n\t\tcolor: var(--color-white);\r\n\t}\r\n}\r\n:host(.date-m-top) {\r\n\tmargin-top: var(--ptc-element-spacing-01);\r\n}\r\n","import { Component, Host, h, Prop } from '@stencil/core';\r\nimport { CssClassMap } from '../../../utils/interfaces';\r\n\r\n@Component({\r\n tag: 'ptc-date',\r\n styleUrl: 'ptc-date.scss',\r\n shadow: true,\r\n})\r\nexport class PtcDate {\r\n /**\r\n\t * Year\r\n\t */\r\n\t@Prop() year: number = 1900;\r\n\r\n\t/**\r\n\t * Month\r\n\t * An integer between 1 (January) and 12 (December) representing the month.If omitted, defaults to 0.\r\n\t */\r\n\t@Prop() month: number = 1;\r\n\r\n\t/**\r\n\t * Day\r\n\t * An integer between 1 and 31 representing the day of the month. If omitted, defaults to 1.\r\n\t */\r\n\t@Prop() day: number = 1;\r\n\r\n\t/**\r\n\t * Country\r\n\t * examples: en-US, zh-CN, zh-TW, fr-FR, ja-JP, ru-RU, de-DE, ko-KR, it-IT, es-ES\r\n\t */\r\n\t@Prop() country: string | undefined = \"en-US\";\r\n\r\n\t/**\r\n\t * Date\r\n\t * examples: 2000-1-1 or 2000/01/01\r\n\t */\r\n\t@Prop() dateString?: string;\r\n\t/**\r\n\t * Date Color\r\n\t */\r\n\t@Prop() dateColor: \"white\" | \"primary-grey\";\r\n\t/**\r\n\t * Injected styles\r\n\t */\r\n\t@Prop() dateStyles?: string;\r\n\t/**\r\n\t * Date Font Size\r\n\t */\r\n\t@Prop() dataSize: \"medium\" | \"small\" = \"small\";\r\n\t/**\r\n\t * Custom object for formatting date e.i. { weekday: \"long\", year: \"numeric\", month: \"long\", day: \"numeric\" }\r\n\t */\r\n\t@Prop() formatOptions?: string;\r\n\r\n render() {\r\n // const newDate = new Date(this.year, this.month, this.day);\r\n\t\tconst classMap = this.getCssClassMap();\r\n\r\n\t\treturn (\r\n\t\t\t<Host class={classMap}>\r\n\t\t\t\t{this.dateStyles && <style>{this.dateStyles}</style>}\r\n\t\t\t\t<span part=\"part-ptc-date\">\r\n\t\t\t\t\t{this.getDate().toLocaleDateString(\r\n\t\t\t\t\t\tthis.country,\r\n\t\t\t\t\t\tthis.getOptions(),\r\n\t\t\t\t\t)}\r\n\t\t\t\t</span>\r\n\t\t\t</Host>\r\n\t\t);\r\n }\r\n\r\n private getCssClassMap(): CssClassMap {\r\n\t\treturn {\r\n\t\t\t[this.dateColor]: !!this.dateColor ? true : false,\r\n\t\t\t[this.dataSize]: !!this.dataSize ? true : false,\r\n\t\t};\r\n\t}\r\n\r\n\tprivate getOptions(): any {\r\n\t\tlet result = { year: \"numeric\", month: \"short\", day: \"numeric\" };\r\n\r\n\t\tif (this.formatOptions) {\r\n\t\t\ttry {\r\n\t\t\t\tvar json = JSON.parse(this.formatOptions);\r\n\t\t\t\tif (json) {\r\n\t\t\t\t\tresult = json;\r\n\t\t\t\t}\r\n\t\t\t} catch (e) {\r\n\t\t\t\t//debugger\r\n\t\t\t\tconsole.log(e);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}\r\n\r\n\tprivate getDate() {\r\n\t\tif (this.dateString) {\r\n\t\t\tlet newDate = new Date(this.dateString.replace(/-/g, \"/\"));\r\n\t\t\treturn newDate;\r\n\t\t} else {\r\n\t\t\treturn new Date(this.year, this.month - 1, this.day);\r\n\t\t}\r\n\t}\r\n}\r\n"],"version":3}
1
+ {"file":"p-BAW88YcS.js","mappings":";;AAAA,MAAM,UAAU,GAAG,qWAAqW;;MCQ3W,OAAO,iBAAAA,kBAAA,CAAA,MAAA,OAAA,SAAAC,CAAA,CAAA;;;;;;;;AAClB;;AAEE;IACK,IAAI,GAAW,IAAI;AAE3B;;;AAGG;IACK,KAAK,GAAW,CAAC;AAEzB;;;AAGG;IACK,GAAG,GAAW,CAAC;AAEvB;;;AAGG;IACK,OAAO,GAAuB,OAAO;AAE7C;;;AAGG;AACK,IAAA,UAAU;AAClB;;AAEG;AACK,IAAA,SAAS;AACjB;;AAEG;AACK,IAAA,UAAU;AAClB;;AAEG;IACK,QAAQ,GAAuB,OAAO;AAC9C;;AAEG;AACK,IAAA,aAAa;IAEpB,MAAM,GAAA;;AAEN,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,cAAc,EAAE;AAEtC,QAAA,QACC,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,QAAQ,EAAA,EACnB,IAAI,CAAC,UAAU,IA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;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/ptc-date/ptc-date.scss?tag=ptc-date&encapsulation=shadow","src/components/atoms/ptc-date/ptc-date.tsx"],"sourcesContent":[":host {\r\n\tdisplay: block;\r\n}\r\n:host(.small) {\r\n\tspan {\r\n\t\tfont-size: var(--ptc-font-size-xx-small);\r\n\t}\r\n}\r\n:host(.medium) {\r\n\tspan {\r\n\t\tfont-size: var(--ptc-font-size-x-small);\r\n\t}\r\n}\r\n:host(.large) {\r\n\tspan {\r\n\t\tfont-size: var(--ptc-font-size-small);\r\n\t}\r\n}\r\n:host(.primary-grey) {\r\n\tcolor: var(--color-primary-gray-new);\r\n}\r\n:host(.white) {\r\n\tspan {\r\n\t\tcolor: var(--color-white);\r\n\t}\r\n}\r\n:host(.date-m-top) {\r\n\tmargin-top: var(--ptc-element-spacing-01);\r\n}\r\n","import { Component, Host, h, Prop } from '@stencil/core';\r\nimport { CssClassMap } from '../../../utils/interfaces';\r\n\r\n@Component({\r\n tag: 'ptc-date',\r\n styleUrl: 'ptc-date.scss',\r\n shadow: true,\r\n})\r\nexport class PtcDate {\r\n /**\r\n\t * Year\r\n\t */\r\n\t@Prop() year: number = 1900;\r\n\r\n\t/**\r\n\t * Month\r\n\t * An integer between 1 (January) and 12 (December) representing the month.If omitted, defaults to 0.\r\n\t */\r\n\t@Prop() month: number = 1;\r\n\r\n\t/**\r\n\t * Day\r\n\t * An integer between 1 and 31 representing the day of the month. If omitted, defaults to 1.\r\n\t */\r\n\t@Prop() day: number = 1;\r\n\r\n\t/**\r\n\t * Country\r\n\t * examples: en-US, zh-CN, zh-TW, fr-FR, ja-JP, ru-RU, de-DE, ko-KR, it-IT, es-ES\r\n\t */\r\n\t@Prop() country: string | undefined = \"en-US\";\r\n\r\n\t/**\r\n\t * Date\r\n\t * examples: 2000-1-1 or 2000/01/01\r\n\t */\r\n\t@Prop() dateString?: string;\r\n\t/**\r\n\t * Date Color\r\n\t */\r\n\t@Prop() dateColor: \"white\" | \"primary-grey\";\r\n\t/**\r\n\t * Injected styles\r\n\t */\r\n\t@Prop() dateStyles?: string;\r\n\t/**\r\n\t * Date Font Size\r\n\t */\r\n\t@Prop() dataSize: \"medium\" | \"small\" = \"small\";\r\n\t/**\r\n\t * Custom object for formatting date e.i. { weekday: \"long\", year: \"numeric\", month: \"long\", day: \"numeric\" }\r\n\t */\r\n\t@Prop() formatOptions?: string;\r\n\r\n render() {\r\n // const newDate = new Date(this.year, this.month, this.day);\r\n\t\tconst classMap = this.getCssClassMap();\r\n\r\n\t\treturn (\r\n\t\t\t<Host class={classMap}>\r\n\t\t\t\t{this.dateStyles && <style>{this.dateStyles}</style>}\r\n\t\t\t\t<span part=\"part-ptc-date\">\r\n\t\t\t\t\t{this.getDate().toLocaleDateString(\r\n\t\t\t\t\t\tthis.country,\r\n\t\t\t\t\t\tthis.getOptions(),\r\n\t\t\t\t\t)}\r\n\t\t\t\t</span>\r\n\t\t\t</Host>\r\n\t\t);\r\n }\r\n\r\n private getCssClassMap(): CssClassMap {\r\n\t\treturn {\r\n\t\t\t[this.dateColor]: !!this.dateColor ? true : false,\r\n\t\t\t[this.dataSize]: !!this.dataSize ? true : false,\r\n\t\t};\r\n\t}\r\n\r\n\tprivate getOptions(): any {\r\n\t\tlet result = { year: \"numeric\", month: \"short\", day: \"numeric\" };\r\n\r\n\t\tif (this.formatOptions) {\r\n\t\t\ttry {\r\n\t\t\t\tvar json = JSON.parse(this.formatOptions);\r\n\t\t\t\tif (json) {\r\n\t\t\t\t\tresult = json;\r\n\t\t\t\t}\r\n\t\t\t} catch (e) {\r\n\t\t\t\t//debugger\r\n\t\t\t\tconsole.log(e);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}\r\n\r\n\tprivate getDate() {\r\n\t\tif (this.dateString) {\r\n\t\t\tlet newDate = new Date(this.dateString.replace(/-/g, \"/\"));\r\n\t\t\treturn newDate;\r\n\t\t} else {\r\n\t\t\treturn new Date(this.year, this.month - 1, this.day);\r\n\t\t}\r\n\t}\r\n}\r\n"],"version":3}
@@ -31,7 +31,7 @@ const PtcOverlay = /*@__PURE__*/ proxyCustomElement(class PtcOverlay extends H {
31
31
  }
32
32
  render() {
33
33
  const classMap = this.getCssClassMap();
34
- return h(Host, { key: '5f9ef6e6176415c618a07b29fa625806c9c50614', class: classMap });
34
+ return h(Host, { key: 'd51bc2fabe980b78d83d0282aa21c775f817be4b', class: classMap });
35
35
  }
36
36
  getCssClassMap() {
37
37
  return {
@@ -64,6 +64,6 @@ function defineCustomElement() {
64
64
  defineCustomElement();
65
65
 
66
66
  export { PtcOverlay as P, defineCustomElement as d };
67
- //# sourceMappingURL=p-CoxTlRBE.js.map
67
+ //# sourceMappingURL=p-BE6xl5CV.js.map
68
68
 
69
- //# sourceMappingURL=p-CoxTlRBE.js.map
69
+ //# sourceMappingURL=p-BE6xl5CV.js.map
@@ -1 +1 @@
1
- {"file":"p-CoxTlRBE.js","mappings":";;AAAA,MAAM,aAAa,GAAG,42FAA42F;;MCQr3F,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;;;;;;;;AACtB;;AAEG;AACK,IAAA,WAAW;AA0BnB;;AAEG;AACK,IAAA,YAAY;AAKpB;;AAEG;IACK,aAAa,GAKF,cAAc;AAEjC;;AAEG;AACK,IAAA,MAAM;IAGd,MAAM,UAAU,CAAC,WAAmB,EAAA;AACnC,QAAA,IAAI,CAAC,WAAW,GAAG,WAAW;;IAG/B,MAAM,GAAA;AACL,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,cAAc,EAAE;AAEtC,QAAA,OAAO,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,KAAK,EAAE,QAAQ,GAAS;;IAG9B,cAAc,GAAA;QACrB,OAAO;AACN,YAAA,CAAC,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,IAAI,CAAC,WAAW,GAAG,IAAI,GAAG,KAAK;AACrD,YAAA,CAAC,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,KAAK;AACvD,YAAA,CAAC,IAAI,CAAC,aAAa,GAAG,IAAI;SAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/ptc-overlay/ptc-overlay.scss?tag=ptc-overlay&encapsulation=shadow","src/components/atoms/ptc-overlay/ptc-overlay.tsx"],"sourcesContent":[":host {\r\n\tdisplay: block;\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\ttransition: background var(--ptc-transition-medium) var(--ptc-ease-inout);\r\n}\r\n\r\n:host(.blue) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(25, 123, 192, 0.2) 0%,\r\n\t\tvar(--color-blue-07) 100%\r\n\t);\r\n}\r\n\r\n:host(.red) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(209, 44, 58, 0.2) 0%,\r\n\t\tvar(--color-red-07) 100%\r\n\t);\r\n}\r\n\r\n:host(.orange) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(195, 119, 41, 0.2) 0%,\r\n\t\tvar(--color-orange-07) 100%\r\n\t);\r\n}\r\n\r\n:host(.green) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(0, 137, 11, 0.2) 0%,\r\n\t\tvar(--color-green-07) 100%\r\n\t);\r\n}\r\n\r\n:host(.black-1) {\r\n\tbackground: linear-gradient(\r\n\t\t270deg,\r\n\t\trgba(32, 38, 42, 0.32) 33.33%,\r\n\t\tvar(--color-gray-12) 100%\r\n\t);\r\n}\r\n\r\n:host(.black-2) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(32, 38, 42, 0) 0%,\r\n\t\tvar(--color-gray-12) 100%\r\n\t);\r\n}\r\n\r\n:host(.black-4) {\r\n\tbackground: rgba(0, 0, 0, 0.66);\r\n}\r\n\r\n:host(.black-5) {\r\n\tbackground: rgba(0, 0, 0, 0.76);\r\n}\r\n\r\n//PUT BACK IN WHEN WE CAN FIGURE OUT WHY POSTCSS NOT WORKING\r\n// @include screen-sm {\r\n// \t:host(.black-1) {\r\n// \t\tbackground: linear-gradient(\r\n// \t\t\t270deg,\r\n// \t\t\trgba(32, 38, 42, 0) 33.33%,\r\n// \t\t\tvar(--color-gray-12) 100%\r\n// \t\t);\r\n// \t}\r\n\r\n// \t:host(.black-2) {\r\n// \t\tbackground: linear-gradient(\r\n// \t\t\t180deg,\r\n// \t\t\trgba(32, 38, 42, 0) 0%,\r\n// \t\t\tvar(--color-gray-12) 100%\r\n// \t\t);\r\n// \t}\r\n// }\r\n\r\n:host(.black-3) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\tvar(--color-gray-12) 0%,\r\n\t\trgba(32, 38, 42, 0.55) 100%\r\n\t);\r\n}\r\n\r\n:host(.slate-grey) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(97, 116, 128, 0.2) 0%,\r\n\t\tvar(--color-gray-07) 100%\r\n\t);\r\n}\r\n\r\n:host(.bright-blue) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(25, 123, 192, 0.72) 0%,\r\n\t\trgba(25, 123, 192, 0.85) 69.27%,\r\n\t\trgba(25, 123, 192, 0.4) 100%\r\n\t);\r\n}\r\n\r\n:host(.bright-red) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(211, 62, 62, 0.72) 0%,\r\n\t\trgba(211, 62, 62, 0.85) 69.27%,\r\n\t\trgba(211, 62, 62, 0.4) 100%\r\n\t);\r\n}\r\n\r\n:host(.bright-orange) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(195, 119, 41, 0.72) 0%,\r\n\t\trgba(195, 119, 41, 0.85) 69.27%,\r\n\t\trgba(195, 119, 41, 0.4) 100%\r\n\t);\r\n}\r\n\r\n:host(.bright-green) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(0, 137, 11, 0.72) 0%,\r\n\t\trgba(0, 137, 11, 0.85) 69.27%,\r\n\t\trgba(0, 137, 11, 0.4) 100%\r\n\t);\r\n}\r\n\r\n:host(.bright-slate-grey) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(97, 116, 128, 0.72) 0%,\r\n\t\trgba(97, 116, 128, 0.85) 69.27%,\r\n\t\trgba(97, 116, 128, 0.4) 100%\r\n\t);\r\n}\r\n\r\n:host(.solid-black-1) {\r\n\tbackground: rgba(16, 19, 20, 0.85);\r\n}\r\n\r\n:host(.solid-black-2) {\r\n\tbackground: rgba(16, 19, 20, 0.7);\r\n}\r\n\r\n:host(.hp-blue) {\r\n\tbackground: linear-gradient(180deg, #197bc0 0%, #4795cd 100%);\r\n}\r\n\r\n:host(.hp-green) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\t#00890b 0%,\r\n\t\t#33a13c 100%\r\n\t); //green 07 to 06\r\n}\r\n\r\n:host(.hp-red) {\r\n\tbackground: linear-gradient(180deg, #d33e3e 0%, #dc6565 100%);\r\n}\r\n\r\n:host(.hp-gray) {\r\n\tbackground: linear-gradient(180deg, #617480 0%, #819099 100%);\r\n}\r\n\r\n:host(.hp-orange) {\r\n\tbackground: linear-gradient(180deg, #c37729 0%, #cf9254 100%);\r\n}\r\n\r\n:host(.transparent) {\r\n\tbackground: linear-gradient(180deg, transparent 0%, transparent 100%);\r\n}\r\n:host(.white-bottom) {\r\n\tbackground: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, #fff 100%);\r\n}\r\n\r\n//Radius\r\n:host(.radius-standard) {\r\n\tborder-radius: var(--ptc-border-radius-standard);\r\n}\r\n\r\n:host(.radius-large) {\r\n\tborder-radius: var(--ptc-border-radius-large);\r\n}\r\n\r\n:host(.radius-pill) {\r\n\tborder-radius: var(--ptc-border-radius-pill);\r\n}\r\n\r\n:host(.radius-circle) {\r\n\tborder-radius: var(--ptc-border-radius-circle);\r\n}\r\n\r\n//zIndex\r\n:host(.z-index-auto) {\r\n\tz-index: auto;\r\n}\r\n\r\n:host(.z-index-n-1) {\r\n\tz-index: -1;\r\n}\r\n\r\n:host(.z-index-n-2) {\r\n\tz-index: -2;\r\n}\r\n\r\n:host(.z-index-p-1) {\r\n\tz-index: 1;\r\n}\r\n\r\n:host(.z-index-p-2) {\r\n\tz-index: 2;\r\n}\r\n","import { Component, Host, h, Prop, Method } from \"@stencil/core\";\r\nimport { CssClassMap } from \"../../../utils/interfaces\";\r\n\r\n@Component({\r\n\ttag: \"ptc-overlay\",\r\n\tstyleUrl: \"ptc-overlay.scss\",\r\n\tshadow: true,\r\n})\r\nexport class PtcOverlay {\r\n\t/**\r\n\t * Filter Color\r\n\t */\r\n\t@Prop() filterColor:\r\n\t\t| \"blue\"\r\n\t\t| \"red\"\r\n\t\t| \"orange\"\r\n\t\t| \"green\"\r\n\t\t| \"black-1\"\r\n\t\t| \"black-2\"\r\n\t\t| \"black-3\"\r\n\t\t| \"black-4\"\r\n\t\t| \"black-5\"\r\n\t\t| \"slate-grey\"\r\n\t\t| \"bright-blue\"\r\n\t\t| \"bright-red\"\r\n\t\t| \"bright-orange\"\r\n\t\t| \"bright-green\"\r\n\t\t| \"bright-slate-grey\"\r\n\t\t| \"solid-black-1\"\r\n\t\t| \"solid-black-2\"\r\n\t\t| \"hp-blue\"\r\n\t\t| \"hp-green\"\r\n\t\t| \"hp-red\"\r\n\t\t| \"hp-gray\"\r\n\t\t| \"hp-orange\"\r\n\t\t| \"transparent\"\r\n\t\t| \"white-bottom\"\r\n\t\t| string;\r\n\t/**\r\n\t * Overlay border shape\r\n\t */\r\n\t@Prop() borderRadius:\r\n\t\t| \"radius-standard\"\r\n\t\t| \"radius-large\"\r\n\t\t| \"radius-pill\"\r\n\t\t| \"radius-circle\";\r\n\t/**\r\n\t * Overlay z-index\r\n\t */\r\n\t@Prop() overlayZIndex:\r\n\t\t| \"z-index-auto\"\r\n\t\t| \"z-index-n-2\"\r\n\t\t| \"z-index-n-1\"\r\n\t\t| \"z-index-p-1\"\r\n\t\t| \"z-index-p-2\" = \"z-index-auto\";\r\n\r\n\t/**\r\n\t * Injected Styles\r\n\t */\r\n\t@Prop() styles?: string;\r\n\r\n\t@Method()\r\n\tasync setOverlay(overlayName: string) {\r\n\t\tthis.filterColor = overlayName;\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst classMap = this.getCssClassMap();\r\n\r\n\t\treturn <Host class={classMap}></Host>;\r\n\t}\r\n\r\n\tprivate getCssClassMap(): CssClassMap {\r\n\t\treturn {\r\n\t\t\t[this.filterColor]: !!this.filterColor ? true : false,\r\n\t\t\t[this.borderRadius]: !!this.borderRadius ? true : false,\r\n\t\t\t[this.overlayZIndex]: true,\r\n\t\t};\r\n\t}\r\n}\r\n"],"version":3}
1
+ {"file":"p-BE6xl5CV.js","mappings":";;AAAA,MAAM,aAAa,GAAG,42FAA42F;;MCQr3F,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;;;;;;;;AACtB;;AAEG;AACK,IAAA,WAAW;AA0BnB;;AAEG;AACK,IAAA,YAAY;AAKpB;;AAEG;IACK,aAAa,GAKF,cAAc;AAEjC;;AAEG;AACK,IAAA,MAAM;IAGd,MAAM,UAAU,CAAC,WAAmB,EAAA;AACnC,QAAA,IAAI,CAAC,WAAW,GAAG,WAAW;;IAG/B,MAAM,GAAA;AACL,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,cAAc,EAAE;AAEtC,QAAA,OAAO,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,KAAK,EAAE,QAAQ,GAAS;;IAG9B,cAAc,GAAA;QACrB,OAAO;AACN,YAAA,CAAC,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,IAAI,CAAC,WAAW,GAAG,IAAI,GAAG,KAAK;AACrD,YAAA,CAAC,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,KAAK;AACvD,YAAA,CAAC,IAAI,CAAC,aAAa,GAAG,IAAI;SAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/ptc-overlay/ptc-overlay.scss?tag=ptc-overlay&encapsulation=shadow","src/components/atoms/ptc-overlay/ptc-overlay.tsx"],"sourcesContent":[":host {\r\n\tdisplay: block;\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\ttransition: background var(--ptc-transition-medium) var(--ptc-ease-inout);\r\n}\r\n\r\n:host(.blue) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(25, 123, 192, 0.2) 0%,\r\n\t\tvar(--color-blue-07) 100%\r\n\t);\r\n}\r\n\r\n:host(.red) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(209, 44, 58, 0.2) 0%,\r\n\t\tvar(--color-red-07) 100%\r\n\t);\r\n}\r\n\r\n:host(.orange) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(195, 119, 41, 0.2) 0%,\r\n\t\tvar(--color-orange-07) 100%\r\n\t);\r\n}\r\n\r\n:host(.green) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(0, 137, 11, 0.2) 0%,\r\n\t\tvar(--color-green-07) 100%\r\n\t);\r\n}\r\n\r\n:host(.black-1) {\r\n\tbackground: linear-gradient(\r\n\t\t270deg,\r\n\t\trgba(32, 38, 42, 0.32) 33.33%,\r\n\t\tvar(--color-gray-12) 100%\r\n\t);\r\n}\r\n\r\n:host(.black-2) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(32, 38, 42, 0) 0%,\r\n\t\tvar(--color-gray-12) 100%\r\n\t);\r\n}\r\n\r\n:host(.black-4) {\r\n\tbackground: rgba(0, 0, 0, 0.66);\r\n}\r\n\r\n:host(.black-5) {\r\n\tbackground: rgba(0, 0, 0, 0.76);\r\n}\r\n\r\n//PUT BACK IN WHEN WE CAN FIGURE OUT WHY POSTCSS NOT WORKING\r\n// @include screen-sm {\r\n// \t:host(.black-1) {\r\n// \t\tbackground: linear-gradient(\r\n// \t\t\t270deg,\r\n// \t\t\trgba(32, 38, 42, 0) 33.33%,\r\n// \t\t\tvar(--color-gray-12) 100%\r\n// \t\t);\r\n// \t}\r\n\r\n// \t:host(.black-2) {\r\n// \t\tbackground: linear-gradient(\r\n// \t\t\t180deg,\r\n// \t\t\trgba(32, 38, 42, 0) 0%,\r\n// \t\t\tvar(--color-gray-12) 100%\r\n// \t\t);\r\n// \t}\r\n// }\r\n\r\n:host(.black-3) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\tvar(--color-gray-12) 0%,\r\n\t\trgba(32, 38, 42, 0.55) 100%\r\n\t);\r\n}\r\n\r\n:host(.slate-grey) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(97, 116, 128, 0.2) 0%,\r\n\t\tvar(--color-gray-07) 100%\r\n\t);\r\n}\r\n\r\n:host(.bright-blue) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(25, 123, 192, 0.72) 0%,\r\n\t\trgba(25, 123, 192, 0.85) 69.27%,\r\n\t\trgba(25, 123, 192, 0.4) 100%\r\n\t);\r\n}\r\n\r\n:host(.bright-red) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(211, 62, 62, 0.72) 0%,\r\n\t\trgba(211, 62, 62, 0.85) 69.27%,\r\n\t\trgba(211, 62, 62, 0.4) 100%\r\n\t);\r\n}\r\n\r\n:host(.bright-orange) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(195, 119, 41, 0.72) 0%,\r\n\t\trgba(195, 119, 41, 0.85) 69.27%,\r\n\t\trgba(195, 119, 41, 0.4) 100%\r\n\t);\r\n}\r\n\r\n:host(.bright-green) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(0, 137, 11, 0.72) 0%,\r\n\t\trgba(0, 137, 11, 0.85) 69.27%,\r\n\t\trgba(0, 137, 11, 0.4) 100%\r\n\t);\r\n}\r\n\r\n:host(.bright-slate-grey) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\trgba(97, 116, 128, 0.72) 0%,\r\n\t\trgba(97, 116, 128, 0.85) 69.27%,\r\n\t\trgba(97, 116, 128, 0.4) 100%\r\n\t);\r\n}\r\n\r\n:host(.solid-black-1) {\r\n\tbackground: rgba(16, 19, 20, 0.85);\r\n}\r\n\r\n:host(.solid-black-2) {\r\n\tbackground: rgba(16, 19, 20, 0.7);\r\n}\r\n\r\n:host(.hp-blue) {\r\n\tbackground: linear-gradient(180deg, #197bc0 0%, #4795cd 100%);\r\n}\r\n\r\n:host(.hp-green) {\r\n\tbackground: linear-gradient(\r\n\t\t180deg,\r\n\t\t#00890b 0%,\r\n\t\t#33a13c 100%\r\n\t); //green 07 to 06\r\n}\r\n\r\n:host(.hp-red) {\r\n\tbackground: linear-gradient(180deg, #d33e3e 0%, #dc6565 100%);\r\n}\r\n\r\n:host(.hp-gray) {\r\n\tbackground: linear-gradient(180deg, #617480 0%, #819099 100%);\r\n}\r\n\r\n:host(.hp-orange) {\r\n\tbackground: linear-gradient(180deg, #c37729 0%, #cf9254 100%);\r\n}\r\n\r\n:host(.transparent) {\r\n\tbackground: linear-gradient(180deg, transparent 0%, transparent 100%);\r\n}\r\n:host(.white-bottom) {\r\n\tbackground: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, #fff 100%);\r\n}\r\n\r\n//Radius\r\n:host(.radius-standard) {\r\n\tborder-radius: var(--ptc-border-radius-standard);\r\n}\r\n\r\n:host(.radius-large) {\r\n\tborder-radius: var(--ptc-border-radius-large);\r\n}\r\n\r\n:host(.radius-pill) {\r\n\tborder-radius: var(--ptc-border-radius-pill);\r\n}\r\n\r\n:host(.radius-circle) {\r\n\tborder-radius: var(--ptc-border-radius-circle);\r\n}\r\n\r\n//zIndex\r\n:host(.z-index-auto) {\r\n\tz-index: auto;\r\n}\r\n\r\n:host(.z-index-n-1) {\r\n\tz-index: -1;\r\n}\r\n\r\n:host(.z-index-n-2) {\r\n\tz-index: -2;\r\n}\r\n\r\n:host(.z-index-p-1) {\r\n\tz-index: 1;\r\n}\r\n\r\n:host(.z-index-p-2) {\r\n\tz-index: 2;\r\n}\r\n","import { Component, Host, h, Prop, Method } from \"@stencil/core\";\r\nimport { CssClassMap } from \"../../../utils/interfaces\";\r\n\r\n@Component({\r\n\ttag: \"ptc-overlay\",\r\n\tstyleUrl: \"ptc-overlay.scss\",\r\n\tshadow: true,\r\n})\r\nexport class PtcOverlay {\r\n\t/**\r\n\t * Filter Color\r\n\t */\r\n\t@Prop() filterColor:\r\n\t\t| \"blue\"\r\n\t\t| \"red\"\r\n\t\t| \"orange\"\r\n\t\t| \"green\"\r\n\t\t| \"black-1\"\r\n\t\t| \"black-2\"\r\n\t\t| \"black-3\"\r\n\t\t| \"black-4\"\r\n\t\t| \"black-5\"\r\n\t\t| \"slate-grey\"\r\n\t\t| \"bright-blue\"\r\n\t\t| \"bright-red\"\r\n\t\t| \"bright-orange\"\r\n\t\t| \"bright-green\"\r\n\t\t| \"bright-slate-grey\"\r\n\t\t| \"solid-black-1\"\r\n\t\t| \"solid-black-2\"\r\n\t\t| \"hp-blue\"\r\n\t\t| \"hp-green\"\r\n\t\t| \"hp-red\"\r\n\t\t| \"hp-gray\"\r\n\t\t| \"hp-orange\"\r\n\t\t| \"transparent\"\r\n\t\t| \"white-bottom\"\r\n\t\t| string;\r\n\t/**\r\n\t * Overlay border shape\r\n\t */\r\n\t@Prop() borderRadius:\r\n\t\t| \"radius-standard\"\r\n\t\t| \"radius-large\"\r\n\t\t| \"radius-pill\"\r\n\t\t| \"radius-circle\";\r\n\t/**\r\n\t * Overlay z-index\r\n\t */\r\n\t@Prop() overlayZIndex:\r\n\t\t| \"z-index-auto\"\r\n\t\t| \"z-index-n-2\"\r\n\t\t| \"z-index-n-1\"\r\n\t\t| \"z-index-p-1\"\r\n\t\t| \"z-index-p-2\" = \"z-index-auto\";\r\n\r\n\t/**\r\n\t * Injected Styles\r\n\t */\r\n\t@Prop() styles?: string;\r\n\r\n\t@Method()\r\n\tasync setOverlay(overlayName: string) {\r\n\t\tthis.filterColor = overlayName;\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst classMap = this.getCssClassMap();\r\n\r\n\t\treturn <Host class={classMap}></Host>;\r\n\t}\r\n\r\n\tprivate getCssClassMap(): CssClassMap {\r\n\t\treturn {\r\n\t\t\t[this.filterColor]: !!this.filterColor ? true : false,\r\n\t\t\t[this.borderRadius]: !!this.borderRadius ? true : false,\r\n\t\t\t[this.overlayZIndex]: true,\r\n\t\t};\r\n\t}\r\n}\r\n"],"version":3}
@@ -60,7 +60,7 @@ const PtcImg = /*@__PURE__*/ proxyCustomElement(class PtcImg extends H {
60
60
  }
61
61
  render() {
62
62
  const classMap = this.getCssClassMap();
63
- return (h(Host, { key: 'c2fa502057e226f57193dab626e26c9226bb351b' }, this.styles && h("style", { key: 'f2ff5dfc15f748d1b9939fd6cf358c3f18f228d9' }, this.styles), h("div", { key: '3149bdb84f0bce798235eda8bdcd5a4d4ee155ea', class: classMap, "data-xs": `${this.imgUrl}`, "data-sm": `${this.imgUrl}`, "data-md": `${this.imgUrl}`, "data-lg": `${this.imgUrl}` }, this.imageType == "smart-bg" ? h("slot", null) : null)));
63
+ return (h(Host, { key: 'f2668530f67aa8a4ce0b63e49bd8d542ef15a8b7' }, this.styles && h("style", { key: 'fd31ef320414c681da742a294bbb606813ec6a3b' }, this.styles), h("div", { key: '9ba5c1c14c7eb460dbf37827932e08ccd1079353', class: classMap, "data-xs": `${this.imgUrl}`, "data-sm": `${this.imgUrl}`, "data-md": `${this.imgUrl}`, "data-lg": `${this.imgUrl}` }, this.imageType == "smart-bg" ? h("slot", null) : null)));
64
64
  }
65
65
  componentDidLoad() {
66
66
  this.addIntersectionObserver();
@@ -188,6 +188,6 @@ function defineCustomElement() {
188
188
  defineCustomElement();
189
189
 
190
190
  export { PtcImg as P, defineCustomElement as d };
191
- //# sourceMappingURL=p-B5fWr5oN.js.map
191
+ //# sourceMappingURL=p-BFUh3kag.js.map
192
192
 
193
- //# sourceMappingURL=p-B5fWr5oN.js.map
193
+ //# sourceMappingURL=p-BFUh3kag.js.map
@@ -1 +1 @@
1
- {"file":"p-B5fWr5oN.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,iuBAAiuB;;MCQtuB,MAAM,iBAAAA,kBAAA,CAAA,MAAA,MAAA,SAAAC,CAAA,CAAA;;;;;;;;AAElB;;;AAGG;IACsB,MAAM,GAAW,SAAS;AACnD;;;AAGG;IACsB,MAAM,GAAW,UAAU;AACpD;;;AAGG;IACsB,MAAM,GAAW,UAAU;AACpD;;;AAGG;IACsB,MAAM,GAAW,WAAW;AACrD;;AAEG;AACK,IAAA,MAAM;AACd;;AAEG;IACK,SAAS,GAA6B,UAAU;AACxD;;AAEG;IACK,YAAY,GAKZ,EAAE;AACV;;AAEG;IACK,QAAQ,GAA2B,SAAS;AACpD;;AAEI;AACI,IAAA,MAAM;AAEd;;AAEG;;IAIH,YAAY,GAAA;QACX,IAAI,CAAC,eAAe,EAAE;;IAGvB,MAAM,GAAA;AACL,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,cAAc,EAAE;QAEtC,QACC,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,IAAI,CAAC,MAAM,IAAI,gEAAQ,IAAI,CAAC,MAAM,CAAS,EAC5C,CACC,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,QAAQ,EA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,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE;AAChE,YAAA,GAAG,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC;;AAGnC,YAAA,IAAI,CAAC,SAAS,GAAG,SAAS,GAAG,GAAG;;AAGhC,YAAA,IAAI,IAAI,CAAC,YAAY,KAAK,IAAI,EAAE;;AAE/B,gBAAA,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;;AAG1B,gBAAA,OAAO,GAAG;;;;AAIZ,QAAA,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;AAC1B,QAAA,OAAO,IAAI,CAAC,qBAAqB,EAAE;;IAG5B,qBAAqB,GAAA;QAC5B,IAAI,MAAM,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC,OAAO,EAAE;AACpD,YAAA,OAAO,IAAI;;aACL,IAAI,MAAM,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC,OAAO,EAAE;AAC3D,YAAA,OAAO,IAAI;;aACL,IAAI,MAAM,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC,OAAO,EAAE;AAC3D,YAAA,OAAO,IAAI;;aACL;AACN,YAAA,OAAO,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/ptc-img/ptc-img.scss?tag=ptc-img","src/components/atoms/ptc-img/ptc-img.tsx"],"sourcesContent":[".smart-bg {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tbackground-size: cover;\r\n\tbackground-repeat: no-repeat;\r\n\tbackground-position: 50% 50%;\r\n}\r\n\r\n.smart-img {\r\n\tposition: absolute;\r\n\tdisplay: block;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tbackground-size: cover;\r\n\tbackground-repeat: no-repeat;\r\n\tbackground-position: 50% 50%;\r\n}\r\n\r\n.radius-standard {\r\n\tborder-radius: var(--ptc-border-radius-standard);\r\n}\r\n\r\n.radius-standard-top {\r\n\tborder-top-left-radius: var(--ptc-border-radius-standard);\r\n\tborder-top-right-radius: var(--ptc-border-radius-standard);\r\n}\r\n\r\n.radius-large {\r\n\tborder-radius: var(--ptc-border-radius-large);\r\n}\r\n\r\n.radius-large-top {\r\n\tborder-top-left-radius: var(--ptc-border-radius-large);\r\n\tborder-top-right-radius: var(--ptc-border-radius-large);\r\n}\r\n\r\n.lazy-bg {\r\n\tbackground-image: none !important;\r\n\tbackground-color: var(--color-gray-03);\r\n}\r\n\r\n// .z-index-auto{\r\n// z-index: auto;\r\n// }\r\n// .z-index-n-1{\r\n// z-index: -1;\r\n// }\r\n// .z-index-n-2{\r\n// z-index: -2;\r\n// }\r\n// .z-index-p-1{\r\n// z-index: 1;\r\n// }\r\n// .z-index-p-2{\r\n// z-index: 2;\r\n// }\r\n\r\n/* XS */\r\n/* max-width: $screen-xs-max */\r\n//PUT BACK IN WHEN WE CAN FIGURE OUT WHY POSTCSS NOT WORKING\r\n// @include screen-sm {\r\n// \t.hidden-xs {\r\n// \t\tdisplay: none !important;\r\n// \t}\r\n// }\r\n/* SM $breakpoint-md-max */\r\n/* min-width: $screen-sm-min) and (max-width: $screen-sm-max */\r\n\r\n//PUT BACK IN WHEN WE CAN FIGURE OUT WHY POSTCSS NOT WORKING\r\n// @media (min-width: $breakpoint-sm) and (max-width: $breakpoint-md-max) {\r\n// \t.hidden-sm {\r\n// \t\tdisplay: none !important;\r\n// \t}\r\n// }\r\n/* MD */\r\n/* min-width: $screen-md-min) and (max-width: $screen-md-max */\r\n\r\n//PUT BACK IN WHEN WE CAN FIGURE OUT WHY POSTCSS NOT WORKING\r\n// @media (min-width: $breakpoint-md) and (max-width: $breakpoint-lg-max) {\r\n// \t.hidden-md {\r\n// \t\tdisplay: none !important;\r\n// \t}\r\n// }\r\n/* LG */\r\n/* min-width: $screen-lg-min */\r\n\r\n//PUT BACK IN WHEN WE CAN FIGURE OUT WHY POSTCSS NOT WORKING\r\n// @include screen-sm {\r\n// \t.hidden-lg {\r\n// \t\tdisplay: none !important;\r\n// \t}\r\n// }\r\n","import { Component, Host, h, Prop, Listen, Element } from \"@stencil/core\";\r\nimport { CssClassMap, ResponsiveBgVariables } from \"../../../utils/interfaces\";\r\n\r\n@Component({\r\n\ttag: \"ptc-img\",\r\n\tstyleUrl: \"ptc-img.scss\",\r\n\tshadow: false,\r\n})\r\nexport class PtcImg {\r\n\t@Element() el: HTMLElement;\r\n\t/**\r\n\t * Image size for smallest screen\r\n\t * <=767px\r\n\t */\r\n\t@Prop({ mutable: true }) sizeXs: string = \"510x340\";\r\n\t/**\r\n\t * Image size for small screen\r\n\t * >=768px and <=991px\r\n\t */\r\n\t@Prop({ mutable: true }) sizeSm: string = \"1240x496\";\r\n\t/**\r\n\t * Image size for medium screen\r\n\t * >=992px and <=1199px\r\n\t */\r\n\t@Prop({ mutable: true }) sizeMd: string = \"1366x500\";\r\n\t/**\r\n\t * Image solution for large screen\r\n\t * >=1200px\r\n\t */\r\n\t@Prop({ mutable: true }) sizeLg: string = \"1920x1080\";\r\n\t/**\r\n\t * Image Src\r\n\t */\r\n\t@Prop() imgUrl: string;\r\n\t/**\r\n\t * Image type\r\n\t */\r\n\t@Prop() imageType: \"smart-bg\" | \"smart-img\" = \"smart-bg\";\r\n\t/**\r\n\t * Image border shape\r\n\t */\r\n\t@Prop() borderRadius:\r\n\t\t| \"radius-standard\"\r\n\t\t| \"radius-large\"\r\n\t\t| \"radius-large-top\"\r\n\t\t| \"radius-standard-top\"\r\n\t\t| \"\" = \"\";\r\n\t/**\r\n\t * Lazy loading option\r\n\t */\r\n\t@Prop() loadMode: \"lazy-bg\" | \"eager-bg\" = \"lazy-bg\";\r\n\t/**\r\n\t * (optional) Injected CSS styles\r\n\t **/\r\n\t@Prop() styles?: string;\r\n\r\n\t/**\r\n\t * Image Z Index\r\n\t */\r\n\t// @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';\r\n\r\n\t@Listen(\"resize\", { target: \"window\" })\r\n\tWindowResize() {\r\n\t\tthis.setResponsiveBg();\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst classMap = this.getCssClassMap();\r\n\r\n\t\treturn (\r\n\t\t\t<Host>\r\n\t\t\t\t{this.styles && <style>{this.styles}</style>}\r\n\t\t\t\t<div\r\n\t\t\t\t\tclass={classMap}\r\n\t\t\t\t\tdata-xs={`${this.imgUrl}`}\r\n\t\t\t\t\tdata-sm={`${this.imgUrl}`}\r\n\t\t\t\t\tdata-md={`${this.imgUrl}`}\r\n\t\t\t\t\tdata-lg={`${this.imgUrl}`}\r\n\t\t\t\t>\r\n\t\t\t\t\t{this.imageType == \"smart-bg\" ? <slot /> : null}\r\n\t\t\t\t</div>\r\n\t\t\t</Host>\r\n\t\t);\r\n\t}\r\n\r\n\tcomponentDidLoad() {\r\n\t\tthis.addIntersectionObserver();\r\n\t\tthis.setResponsiveBg();\r\n\t}\r\n\r\n\tcomponentWillUpdate() {\r\n\t\tthis.addIntersectionObserver();\r\n\t\tthis.setResponsiveBg();\r\n\t}\r\n\r\n\t//responsive image\r\n\tsetResponsiveBg() {\r\n\t\t// Define local variables\r\n\t\tlet backgrounds = (this.el || document).querySelectorAll<HTMLElement>(\r\n\t\t\t\tResponsiveBgVariables.selector,\r\n\t\t\t),\r\n\t\t\tel: HTMLElement,\r\n\t\t\telData: string,\r\n\t\t\tcurrentBreakpoint = this.getCurrentBreakPoints();\r\n\r\n\t\t// Loop through all target elements\r\n\t\tfor (var i = 0, len = backgrounds.length; i < len; i++) {\r\n\t\t\t// Set current variables\r\n\t\t\tel = backgrounds[i];\r\n\t\t\telData = el.getAttribute(\"data-\" + currentBreakpoint);\r\n\r\n\t\t\t// If the data attribute exists, set the background\r\n\t\t\tif (elData !== null) {\r\n\t\t\t\tel.style.backgroundImage = \"url('\" + elData + \"')\";\r\n\t\t\t} else {\r\n\t\t\t\tif (typeof console == \"object\") {\r\n\t\t\t\t\tconsole.warn(\r\n\t\t\t\t\t\t\"Data attribute: data-\" +\r\n\t\t\t\t\t\t\tcurrentBreakpoint +\r\n\t\t\t\t\t\t\t\" not found on element:\\n\\n\" +\r\n\t\t\t\t\t\t\tel.outerHTML +\r\n\t\t\t\t\t\t\t\"\\n\\n\\n\",\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t//lazy loading\r\n\taddIntersectionObserver() {\r\n\t\tif (!this.imgUrl) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (\"IntersectionObserver\" in window) {\r\n\t\t\tlet lazyLoadBgs = (this.el || document).querySelectorAll(\r\n\t\t\t\t\".lazy-bg\",\r\n\t\t\t);\r\n\t\t\tlet bgObserver = new IntersectionObserver((entries) => {\r\n\t\t\t\tentries.forEach((entry) => {\r\n\t\t\t\t\tif (entry.isIntersecting) {\r\n\t\t\t\t\t\tconst image = entry.target;\r\n\t\t\t\t\t\timage.classList.remove(\"lazy-bg\");\r\n\t\t\t\t\t\tbgObserver.unobserve(image);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t});\r\n\r\n\t\t\tlazyLoadBgs.forEach((image) => {\r\n\t\t\t\tbgObserver.observe(image);\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\t// fall back to setTimeout for Safari and IE\r\n\t\t\t// setTimeout(() => {};\r\n\t\t\t// }, 5000);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate getCssClassMap(): CssClassMap {\r\n\t\treturn {\r\n\t\t\t[this.imageType]: true,\r\n\t\t\t\"ptc-img\": true,\r\n\t\t\t[this.borderRadius]: true,\r\n\t\t\t[this.loadMode]: true,\r\n\t\t\t// [this.imageZIndex] : true\r\n\t\t};\r\n\t}\r\n\r\n\tprivate getCurrentBreakPoints(): string {\r\n\t\t// Define local variables\r\n\t\tlet doc = window.document,\r\n\t\t\ttemp = doc.createElement(\"div\"),\r\n\t\t\tenv: any;\r\n\r\n\t\t// Append test node\r\n\t\tdoc.body.appendChild(temp);\r\n\r\n\t\t// Loop through breakpoints\r\n\t\tfor (let i = ResponsiveBgVariables.envs.length - 1; i >= 0; i--) {\r\n\t\t\tenv = ResponsiveBgVariables.envs[i];\r\n\r\n\t\t\t// Add classes\r\n\t\t\ttemp.className = \"hidden-\" + env;\r\n\r\n\t\t\t// Found breakpoint\r\n\t\t\tif (temp.offsetParent === null) {\r\n\t\t\t\t// Remove our test node\r\n\t\t\t\tdoc.body.removeChild(temp);\r\n\r\n\t\t\t\t// Return current breakpoint\r\n\t\t\t\treturn env;\r\n\t\t\t}\r\n\t\t}\r\n\t\t// Breakpoint not found, try fallback\r\n\t\tdoc.body.removeChild(temp);\r\n\t\treturn this.getFallbackBreakpoint();\r\n\t}\r\n\r\n\tprivate getFallbackBreakpoint(): string {\r\n\t\tif (window.matchMedia(\"(min-width: 992px)\").matches) {\r\n\t\t\treturn \"lg\";\r\n\t\t} else if (window.matchMedia(\"(min-width: 768px)\").matches) {\r\n\t\t\treturn \"md\";\r\n\t\t} else if (window.matchMedia(\"(min-width: 576px)\").matches) {\r\n\t\t\treturn \"sm\";\r\n\t\t} else {\r\n\t\t\treturn \"xs\";\r\n\t\t}\r\n\t}\r\n}\r\n"],"version":3}
1
+ {"file":"p-BFUh3kag.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,iuBAAiuB;;MCQtuB,MAAM,iBAAAA,kBAAA,CAAA,MAAA,MAAA,SAAAC,CAAA,CAAA;;;;;;;;AAElB;;;AAGG;IACsB,MAAM,GAAW,SAAS;AACnD;;;AAGG;IACsB,MAAM,GAAW,UAAU;AACpD;;;AAGG;IACsB,MAAM,GAAW,UAAU;AACpD;;;AAGG;IACsB,MAAM,GAAW,WAAW;AACrD;;AAEG;AACK,IAAA,MAAM;AACd;;AAEG;IACK,SAAS,GAA6B,UAAU;AACxD;;AAEG;IACK,YAAY,GAKZ,EAAE;AACV;;AAE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":["src/components/atoms/ptc-img/ptc-img.scss?tag=ptc-img","src/components/atoms/ptc-img/ptc-img.tsx"],"sourcesContent":[".smart-bg {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tbackground-size: cover;\r\n\tbackground-repeat: no-repeat;\r\n\tbackground-position: 50% 50%;\r\n}\r\n\r\n.smart-img {\r\n\tposition: absolute;\r\n\tdisplay: block;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tbackground-size: cover;\r\n\tbackground-repeat: no-repeat;\r\n\tbackground-position: 50% 50%;\r\n}\r\n\r\n.radius-standard {\r\n\tborder-radius: var(--ptc-border-radius-standard);\r\n}\r\n\r\n.radius-standard-top {\r\n\tborder-top-left-radius: var(--ptc-border-radius-standard);\r\n\tborder-top-right-radius: var(--ptc-border-radius-standard);\r\n}\r\n\r\n.radius-large {\r\n\tborder-radius: var(--ptc-border-radius-large);\r\n}\r\n\r\n.radius-large-top {\r\n\tborder-top-left-radius: var(--ptc-border-radius-large);\r\n\tborder-top-right-radius: var(--ptc-border-radius-large);\r\n}\r\n\r\n.lazy-bg {\r\n\tbackground-image: none !important;\r\n\tbackground-color: var(--color-gray-03);\r\n}\r\n\r\n// .z-index-auto{\r\n// z-index: auto;\r\n// }\r\n// .z-index-n-1{\r\n// z-index: -1;\r\n// }\r\n// .z-index-n-2{\r\n// z-index: -2;\r\n// }\r\n// .z-index-p-1{\r\n// z-index: 1;\r\n// }\r\n// .z-index-p-2{\r\n// z-index: 2;\r\n// }\r\n\r\n/* XS */\r\n/* max-width: $screen-xs-max */\r\n//PUT BACK IN WHEN WE CAN FIGURE OUT WHY POSTCSS NOT WORKING\r\n// @include screen-sm {\r\n// \t.hidden-xs {\r\n// \t\tdisplay: none !important;\r\n// \t}\r\n// }\r\n/* SM $breakpoint-md-max */\r\n/* min-width: $screen-sm-min) and (max-width: $screen-sm-max */\r\n\r\n//PUT BACK IN WHEN WE CAN FIGURE OUT WHY POSTCSS NOT WORKING\r\n// @media (min-width: $breakpoint-sm) and (max-width: $breakpoint-md-max) {\r\n// \t.hidden-sm {\r\n// \t\tdisplay: none !important;\r\n// \t}\r\n// }\r\n/* MD */\r\n/* min-width: $screen-md-min) and (max-width: $screen-md-max */\r\n\r\n//PUT BACK IN WHEN WE CAN FIGURE OUT WHY POSTCSS NOT WORKING\r\n// @media (min-width: $breakpoint-md) and (max-width: $breakpoint-lg-max) {\r\n// \t.hidden-md {\r\n// \t\tdisplay: none !important;\r\n// \t}\r\n// }\r\n/* LG */\r\n/* min-width: $screen-lg-min */\r\n\r\n//PUT BACK IN WHEN WE CAN FIGURE OUT WHY POSTCSS NOT WORKING\r\n// @include screen-sm {\r\n// \t.hidden-lg {\r\n// \t\tdisplay: none !important;\r\n// \t}\r\n// }\r\n","import { Component, Host, h, Prop, Listen, Element } from \"@stencil/core\";\r\nimport { CssClassMap, ResponsiveBgVariables } from \"../../../utils/interfaces\";\r\n\r\n@Component({\r\n\ttag: \"ptc-img\",\r\n\tstyleUrl: \"ptc-img.scss\",\r\n\tshadow: false,\r\n})\r\nexport class PtcImg {\r\n\t@Element() el: HTMLElement;\r\n\t/**\r\n\t * Image size for smallest screen\r\n\t * <=767px\r\n\t */\r\n\t@Prop({ mutable: true }) sizeXs: string = \"510x340\";\r\n\t/**\r\n\t * Image size for small screen\r\n\t * >=768px and <=991px\r\n\t */\r\n\t@Prop({ mutable: true }) sizeSm: string = \"1240x496\";\r\n\t/**\r\n\t * Image size for medium screen\r\n\t * >=992px and <=1199px\r\n\t */\r\n\t@Prop({ mutable: true }) sizeMd: string = \"1366x500\";\r\n\t/**\r\n\t * Image solution for large screen\r\n\t * >=1200px\r\n\t */\r\n\t@Prop({ mutable: true }) sizeLg: string = \"1920x1080\";\r\n\t/**\r\n\t * Image Src\r\n\t */\r\n\t@Prop() imgUrl: string;\r\n\t/**\r\n\t * Image type\r\n\t */\r\n\t@Prop() imageType: \"smart-bg\" | \"smart-img\" = \"smart-bg\";\r\n\t/**\r\n\t * Image border shape\r\n\t */\r\n\t@Prop() borderRadius:\r\n\t\t| \"radius-standard\"\r\n\t\t| \"radius-large\"\r\n\t\t| \"radius-large-top\"\r\n\t\t| \"radius-standard-top\"\r\n\t\t| \"\" = \"\";\r\n\t/**\r\n\t * Lazy loading option\r\n\t */\r\n\t@Prop() loadMode: \"lazy-bg\" | \"eager-bg\" = \"lazy-bg\";\r\n\t/**\r\n\t * (optional) Injected CSS styles\r\n\t **/\r\n\t@Prop() styles?: string;\r\n\r\n\t/**\r\n\t * Image Z Index\r\n\t */\r\n\t// @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';\r\n\r\n\t@Listen(\"resize\", { target: \"window\" })\r\n\tWindowResize() {\r\n\t\tthis.setResponsiveBg();\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst classMap = this.getCssClassMap();\r\n\r\n\t\treturn (\r\n\t\t\t<Host>\r\n\t\t\t\t{this.styles && <style>{this.styles}</style>}\r\n\t\t\t\t<div\r\n\t\t\t\t\tclass={classMap}\r\n\t\t\t\t\tdata-xs={`${this.imgUrl}`}\r\n\t\t\t\t\tdata-sm={`${this.imgUrl}`}\r\n\t\t\t\t\tdata-md={`${this.imgUrl}`}\r\n\t\t\t\t\tdata-lg={`${this.imgUrl}`}\r\n\t\t\t\t>\r\n\t\t\t\t\t{this.imageType == \"smart-bg\" ? <slot /> : null}\r\n\t\t\t\t</div>\r\n\t\t\t</Host>\r\n\t\t);\r\n\t}\r\n\r\n\tcomponentDidLoad() {\r\n\t\tthis.addIntersectionObserver();\r\n\t\tthis.setResponsiveBg();\r\n\t}\r\n\r\n\tcomponentWillUpdate() {\r\n\t\tthis.addIntersectionObserver();\r\n\t\tthis.setResponsiveBg();\r\n\t}\r\n\r\n\t//responsive image\r\n\tsetResponsiveBg() {\r\n\t\t// Define local variables\r\n\t\tlet backgrounds = (this.el || document).querySelectorAll<HTMLElement>(\r\n\t\t\t\tResponsiveBgVariables.selector,\r\n\t\t\t),\r\n\t\t\tel: HTMLElement,\r\n\t\t\telData: string,\r\n\t\t\tcurrentBreakpoint = this.getCurrentBreakPoints();\r\n\r\n\t\t// Loop through all target elements\r\n\t\tfor (var i = 0, len = backgrounds.length; i < len; i++) {\r\n\t\t\t// Set current variables\r\n\t\t\tel = backgrounds[i];\r\n\t\t\telData = el.getAttribute(\"data-\" + currentBreakpoint);\r\n\r\n\t\t\t// If the data attribute exists, set the background\r\n\t\t\tif (elData !== null) {\r\n\t\t\t\tel.style.backgroundImage = \"url('\" + elData + \"')\";\r\n\t\t\t} else {\r\n\t\t\t\tif (typeof console == \"object\") {\r\n\t\t\t\t\tconsole.warn(\r\n\t\t\t\t\t\t\"Data attribute: data-\" +\r\n\t\t\t\t\t\t\tcurrentBreakpoint +\r\n\t\t\t\t\t\t\t\" not found on element:\\n\\n\" +\r\n\t\t\t\t\t\t\tel.outerHTML +\r\n\t\t\t\t\t\t\t\"\\n\\n\\n\",\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t//lazy loading\r\n\taddIntersectionObserver() {\r\n\t\tif (!this.imgUrl) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (\"IntersectionObserver\" in window) {\r\n\t\t\tlet lazyLoadBgs = (this.el || document).querySelectorAll(\r\n\t\t\t\t\".lazy-bg\",\r\n\t\t\t);\r\n\t\t\tlet bgObserver = new IntersectionObserver((entries) => {\r\n\t\t\t\tentries.forEach((entry) => {\r\n\t\t\t\t\tif (entry.isIntersecting) {\r\n\t\t\t\t\t\tconst image = entry.target;\r\n\t\t\t\t\t\timage.classList.remove(\"lazy-bg\");\r\n\t\t\t\t\t\tbgObserver.unobserve(image);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t});\r\n\r\n\t\t\tlazyLoadBgs.forEach((image) => {\r\n\t\t\t\tbgObserver.observe(image);\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\t// fall back to setTimeout for Safari and IE\r\n\t\t\t// setTimeout(() => {};\r\n\t\t\t// }, 5000);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate getCssClassMap(): CssClassMap {\r\n\t\treturn {\r\n\t\t\t[this.imageType]: true,\r\n\t\t\t\"ptc-img\": true,\r\n\t\t\t[this.borderRadius]: true,\r\n\t\t\t[this.loadMode]: true,\r\n\t\t\t// [this.imageZIndex] : true\r\n\t\t};\r\n\t}\r\n\r\n\tprivate getCurrentBreakPoints(): string {\r\n\t\t// Define local variables\r\n\t\tlet doc = window.document,\r\n\t\t\ttemp = doc.createElement(\"div\"),\r\n\t\t\tenv: any;\r\n\r\n\t\t// Append test node\r\n\t\tdoc.body.appendChild(temp);\r\n\r\n\t\t// Loop through breakpoints\r\n\t\tfor (let i = ResponsiveBgVariables.envs.length - 1; i >= 0; i--) {\r\n\t\t\tenv = ResponsiveBgVariables.envs[i];\r\n\r\n\t\t\t// Add classes\r\n\t\t\ttemp.className = \"hidden-\" + env;\r\n\r\n\t\t\t// Found breakpoint\r\n\t\t\tif (temp.offsetParent === null) {\r\n\t\t\t\t// Remove our test node\r\n\t\t\t\tdoc.body.removeChild(temp);\r\n\r\n\t\t\t\t// Return current breakpoint\r\n\t\t\t\treturn env;\r\n\t\t\t}\r\n\t\t}\r\n\t\t// Breakpoint not found, try fallback\r\n\t\tdoc.body.removeChild(temp);\r\n\t\treturn this.getFallbackBreakpoint();\r\n\t}\r\n\r\n\tprivate getFallbackBreakpoint(): string {\r\n\t\tif (window.matchMedia(\"(min-width: 992px)\").matches) {\r\n\t\t\treturn \"lg\";\r\n\t\t} else if (window.matchMedia(\"(min-width: 768px)\").matches) {\r\n\t\t\treturn \"md\";\r\n\t\t} else if (window.matchMedia(\"(min-width: 576px)\").matches) {\r\n\t\t\treturn \"sm\";\r\n\t\t} else {\r\n\t\t\treturn \"xs\";\r\n\t\t}\r\n\t}\r\n}\r\n"],"version":3}
@@ -194,11 +194,11 @@ const PtcPicture = /*@__PURE__*/ proxyCustomElement(class PtcPicture extends H {
194
194
  render() {
195
195
  const classMap = this.getCssClassMap();
196
196
  const classMapHost = this.getCssClassMapHost();
197
- return (h(Host, { key: 'afe595bdc5eefb6a5113d76220e9664bdd24182f', class: classMapHost }, this.styles && h("style", { key: '66a224a59b94934069abd5c0ca1113ac00f287d4' }, this.styles), h("img", { key: '86f21c897bf2e4a42c1a0dda9be415f4d9c875bc', class: classMap, "data-xs": !!this.sizeXs ? `${this.src}` : `${this.src}`, "data-sm": !!this.sizeSm ? `${this.src}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}` : `${this.src}`, ...(!!this.width ? { width: this.width } : {}), ...(!!this.height ? { height: this.height } : {}), alt: this.alt, style: {
197
+ return (h(Host, { key: '4b3ffdad0d6ad5c2e11639b3b1abb263fec316ce', class: classMapHost }, this.styles && h("style", { key: '07dda214d90869609d6701d94fd722ec429a764c' }, this.styles), h("img", { key: '297ace0559ac3e3cd258ce9a9bbfc23dbee6b4c6', class: classMap, "data-xs": !!this.sizeXs ? `${this.src}` : `${this.src}`, "data-sm": !!this.sizeSm ? `${this.src}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}` : `${this.src}`, ...(!!this.width ? { width: this.width } : {}), ...(!!this.height ? { height: this.height } : {}), alt: this.alt, style: {
198
198
  ...(!!this.maxWidth
199
199
  ? { maxWidth: this.maxWidth + "px" }
200
200
  : {}),
201
- } }), h("slot", { key: 'ec7ea1eccb3dd47a65a47afbc277f213680cee41' })));
201
+ } }), h("slot", { key: '22eb62c26f45cc0a9b02beec30a07fcf0eb4ce03' })));
202
202
  }
203
203
  getCurrentBreakPoints() {
204
204
  // Define local variables
@@ -290,6 +290,6 @@ function defineCustomElement() {
290
290
  defineCustomElement();
291
291
 
292
292
  export { PtcPicture as P, defineCustomElement as d };
293
- //# sourceMappingURL=p-rp_eqs4l.js.map
293
+ //# sourceMappingURL=p-BQjkh7kQ.js.map
294
294
 
295
- //# sourceMappingURL=p-rp_eqs4l.js.map
295
+ //# sourceMappingURL=p-BQjkh7kQ.js.map
@@ -1 +1 @@
1
- {"file":"p-rp_eqs4l.js","mappings":";;;AAAA,MAAM,aAAa,GAAG,m9BAAm9B;;MCoB59B,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;;;;;;;;;AAGtB;;AAEG;AACK,IAAA,GAAG;AACX;;AAEG;IACK,GAAG,GAAW,OAAO;AAC7B;;;AAGG;IACsB,MAAM,GAAW,SAAS;AACnD;;;AAGG;IACsB,MAAM,GAAW,UAAU;AACpD;;;AAGG;IACsB,MAAM,GAAW,UAAU;AACpD;;;AAGG;IACsB,MAAM,GAAW,WAAW;AACrD;;AAEG;IACsB,aAAa,GAAY,KAAK;AACvD;;AAEI;AACK,IAAA,MAAM;AACf;;AAEG;IACK,aAAa,GAAuC,QAAQ;AACpE;;AAEG;AACK,IAAA,YAAY;AAKpB;;;;AAIG;AACK,IAAA,MAAM;AACd;;;;AAIG;AACK,IAAA,KAAK;AACb;;;AAGG;IACK,SAAS,GAOF,OAAO;AACtB;;AAEG;IACK,YAAY,GAAY,KAAK;AACrC;;AAEG;IACK,WAAW,GAAY,KAAK;AACpC;;AAEI;AACI,IAAA,MAAM;AACd;;AAEI;IACI,cAAc,GAAiC,MAAM;AAC7D;;;;AAII;AACI,IAAA,QAAQ;AAEhB;;AAEI;IACI,YAAY,GAAyC,OAAO;AAEpE,IAAA,QAAQ;IAGR,YAAY,GAAA;QACX,IAAI,CAAC,uBAAuB,EAAE;;AAG/B,IAAA,EAAE;IAEF,iBAAiB,GAAA;AAChB,QAAA,IAAI,IAAI,CAAC,aAAa,EAAE;AACvB,YAAA,IAAI,CAAC,MAAM,GAAG,SAAS;AACvB,YAAA,IAAI,CAAC,MAAM,GAAG,SAAS;AACvB,YAAA,IAAI,CA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L;AACN,YAAA,OAAO,IAAI;;;IAIL,cAAc,GAAA;QACrB,OAAO;AACN,YAAA,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,KAAK;AACrD,YAAA,CAAC,IAAI,CAAC,SAAS,GAAG,IAAI;AACtB,YAAA,CAAC,IAAI,CAAC,YAAY,GAAG,gBAAgB,GAAG,kBAAkB,GAAG,IAAI;AACjE,YAAA,CAAC,IAAI,CAAC,WAAW,GAAG,eAAe,GAAG,iBAAiB,GAAG,IAAI;AAC9D,YAAA,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI;SACzB;;IAEM,kBAAkB,GAAA;QACzB,OAAO;AACN,YAAA,CAAC,IAAI,CAAC,aAAa,GAAG,IAAI;AAC1B,YAAA,CAAC,IAAI,CAAC,cAAc,GAAG,IAAI;SAC3B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/ptc-picture/ptc-picture.scss?tag=ptc-picture&encapsulation=shadow","src/components/atoms/ptc-picture/ptc-picture.tsx"],"sourcesContent":[":host {\r\n\tdisplay: block;\r\n\toverflow: hidden;\r\n\t.inline {\r\n\t\tdisplay: inline;\r\n\t}\r\n\t.inline-block {\r\n\t\tdisplay: inline-block;\r\n\t}\r\n\t.block {\r\n\t\tdisplay: block;\r\n\t}\r\n}\r\n:host(.relative) {\r\n\tposition: relative;\r\n}\r\n:host(.static) {\r\n\tposition: static;\r\n}\r\n:host(.absoltue) {\r\n\tposition: absolute;\r\n}\r\nimg {\r\n\tmax-width: 100%;\r\n}\r\n.cover {\r\n\tobject-fit: cover;\r\n}\r\n.fill {\r\n\tobject-fit: fill;\r\n}\r\n.contain {\r\n\tobject-fit: contain;\r\n}\r\n.scale-down {\r\n\tobject-fit: scale-down;\r\n}\r\n.none {\r\n\tobject-fit: none;\r\n}\r\n.initial {\r\n\tobject-fit: initial;\r\n}\r\n.inherit {\r\n\tobject-fit: inherit;\r\n}\r\n\r\n.radius-standard {\r\n\tborder-radius: var(--ptc-border-radius-standard);\r\n}\r\n.radius-large {\r\n\tborder-radius: var(--ptc-border-radius-large);\r\n}\r\n.radius-pill {\r\n\tborder-radius: var(--ptc-border-radius-pill);\r\n}\r\n.radius-circle {\r\n\tborder-radius: var(--ptc-border-radius-circle);\r\n}\r\n.is-full-height {\r\n\theight: 100%;\r\n}\r\n.is-full-width {\r\n\twidth: 100%;\r\n}\r\n:host(.left) {\r\n\ttext-align: left;\r\n}\r\n:host(.right) {\r\n\ttext-align: right;\r\n}\r\n:host(.center) {\r\n\ttext-align: center;\r\n}\r\n","import {\r\n\tComponent,\r\n\tProp,\r\n\th,\r\n\tElement,\r\n\tListen,\r\n\tState,\r\n\tHost,\r\n\tMethod,\r\n} from \"@stencil/core\";\r\nimport {\r\n\tCssClassMap,\r\n\tResponsivePictureVariables,\r\n} from \"../../../utils/interfaces\";\r\n\r\n@Component({\r\n\ttag: \"ptc-picture\",\r\n\tstyleUrl: \"ptc-picture.scss\",\r\n\tshadow: true,\r\n})\r\nexport class PtcPicture {\r\n\t@Element() el: HTMLElement;\r\n\r\n\t/**\r\n\t * Image Render Src\r\n\t */\r\n\t@Prop() src: string;\r\n\t/**\r\n\t * Image alt\r\n\t */\r\n\t@Prop() alt: string = \"image\";\r\n\t/**\r\n\t * Image size for smallest screen\r\n\t * <=767px\r\n\t */\r\n\t@Prop({ mutable: true }) sizeXs: string = \"510x340\";\r\n\t/**\r\n\t * Image size for small screen\r\n\t * >=768px and <=991px\r\n\t */\r\n\t@Prop({ mutable: true }) sizeSm: string = \"1240x496\";\r\n\t/**\r\n\t * Image size for medium screen\r\n\t * >=992px and <=1199px\r\n\t */\r\n\t@Prop({ mutable: true }) sizeMd: string = \"1366x500\";\r\n\t/**\r\n\t * Image solution for large screen\r\n\t * >=1200px\r\n\t */\r\n\t@Prop({ mutable: true }) sizeLg: string = \"1920x1080\";\r\n\t/**\r\n\t * Disable Image resizing solution\r\n\t */\r\n\t@Prop({ mutable: true }) disableResize: boolean = false;\r\n\t/**\r\n\t * Image Src\r\n\t **/\r\n\t@State() oldSrc: string;\r\n\t/**\r\n\t * Image Position\r\n\t */\r\n\t@Prop() imagePosition: \"relative\" | \"absolute\" | \"static\" = \"static\";\r\n\t/**\r\n\t * Image border shape\r\n\t */\r\n\t@Prop() borderRadius:\r\n\t\t| \"radius-standard\"\r\n\t\t| \"radius-large\"\r\n\t\t| \"radius-pill\"\r\n\t\t| \"radius-circle\";\r\n\t/**\r\n\t * Set height\r\n\t * Value unit: pixles\r\n\t * Just put numbers without unit\r\n\t */\r\n\t@Prop() height?: string;\r\n\t/**\r\n\t * Set Width\r\n\t * value unit: pixles\r\n\t * Just put numbers without unit\r\n\t */\r\n\t@Prop() width?: string;\r\n\t/**\r\n\t * Object Fit\r\n\t * Default: cover\r\n\t */\r\n\t@Prop() objectFit:\r\n\t\t| \"cover\"\r\n\t\t| \"fill\"\r\n\t\t| \"contain\"\r\n\t\t| \"scale-down\"\r\n\t\t| \"none\"\r\n\t\t| \"initial\"\r\n\t\t| \"inherit\" = \"cover\";\r\n\t/**\r\n\t * Stretch height to 100%?\r\n\t */\r\n\t@Prop() isFullHeight: boolean = false;\r\n\t/**\r\n\t * Stretch width to 100%?\r\n\t */\r\n\t@Prop() isFullWidth: boolean = false;\r\n\t/**\r\n\t * (optional) Injected CSS styles\r\n\t **/\r\n\t@Prop() styles?: string;\r\n\t/**\r\n\t * (optional) Image alignment\r\n\t **/\r\n\t@Prop() imageAlignment?: \"left\" | \"right\" | \"center\" = \"left\";\r\n\t/**\r\n\t * (optional) Set max-width\r\n\t * value unit: pixles\r\n\t * Just put numbers without unit\r\n\t **/\r\n\t@Prop() maxWidth?: string;\r\n\r\n\t/**\r\n\t * Display image: inline, inline-block, block\r\n\t **/\r\n\t@Prop() displayImage?: \"inline\" | \"inline-block\" | \"block\" = \"block\";\r\n\r\n\tobserver: IntersectionObserver;\r\n\r\n\t@Listen(\"resize\", { target: \"window\" })\r\n\tWindowResize() {\r\n\t\tthis.addIntersectionObserver();\r\n\t}\r\n\r\n\tio: IntersectionObserver;\r\n\r\n\tcomponentWillLoad() {\r\n\t\tif (this.disableResize) {\r\n\t\t\tthis.sizeXs = undefined;\r\n\t\t\tthis.sizeSm = undefined;\r\n\t\t\tthis.sizeMd = undefined;\r\n\t\t\tthis.sizeLg = undefined;\r\n\t\t}\r\n\t}\r\n\r\n\tcomponentDidLoad() {\r\n\t\tthis.addIntersectionObserver();\r\n\t}\r\n\r\n\tcomponentWillUpdate() {\r\n\t\tif (this.src !== this.oldSrc) {\r\n\t\t\tthis.addIntersectionObserver();\r\n\t\t}\r\n\t\tthis.oldSrc = this.src;\r\n\t}\r\n\r\n\t//lazy-loading\r\n\taddIntersectionObserver() {\r\n\t\tif (!this.src) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (\"IntersectionObserver\" in window) {\r\n\t\t\tlet lazyLoadImages = new IntersectionObserver((entries) => {\r\n\t\t\t\tentries.forEach((entry) => {\r\n\t\t\t\t\tif (entry.isIntersecting) {\r\n\t\t\t\t\t\tconst image: HTMLImageElement =\r\n\t\t\t\t\t\t\tthis.el.shadowRoot.querySelector(\"img\");\r\n\t\t\t\t\t\timage.src = this.setResponsiveBg();\r\n\t\t\t\t\t\tlazyLoadImages.unobserve(image);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t\tlet tempImg = this.el.shadowRoot.querySelector(\"img\");\r\n\t\t\tif (tempImg) {\r\n\t\t\t\tlazyLoadImages.observe(tempImg);\r\n\t\t\t}\r\n\r\n\t\t\tthis.observer = lazyLoadImages;\r\n\t\t} else {\r\n\t\t\t// fall back to setTimeout for Safari and IE\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tconst image: HTMLImageElement =\r\n\t\t\t\t\tthis.el.shadowRoot.querySelector(\"img\");\r\n\t\t\t\timage.src = this.setResponsiveBg();\r\n\t\t\t\timage.onload = () => {\r\n\t\t\t\t\timage.removeAttribute(\"data-src\");\r\n\t\t\t\t};\r\n\t\t\t}, 5000);\r\n\t\t}\r\n\t}\r\n\r\n\t//responsive image\r\n\tsetResponsiveBg() {\r\n\t\t// Define local variables\r\n\t\tlet backgrounds = (\r\n\t\t\t\tthis.el.shadowRoot || document\r\n\t\t\t).querySelectorAll<HTMLElement>(\"img\"),\r\n\t\t\tel: HTMLElement,\r\n\t\t\telData: string,\r\n\t\t\tcurrentBreakpoint = this.getCurrentBreakPoints();\r\n\r\n\t\tfor (var i = 0, len = backgrounds.length; i < len; i++) {\r\n\t\t\t// Set current variables\r\n\t\t\tel = backgrounds[i];\r\n\t\t\telData = el.getAttribute(\"data-\" + currentBreakpoint);\r\n\t\t\tif (elData !== null) {\r\n\t\t\t\treturn elData;\r\n\t\t\t} else {\r\n\t\t\t\tif (typeof console == \"object\") {\r\n\t\t\t\t\tconsole.warn(\r\n\t\t\t\t\t\t\"Data attribute: data-\" +\r\n\t\t\t\t\t\t\tcurrentBreakpoint +\r\n\t\t\t\t\t\t\t\" not found on element:\\n\\n\" +\r\n\t\t\t\t\t\t\tel.outerHTML +\r\n\t\t\t\t\t\t\t\"\\n\\n\\n\",\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t//manually load image\r\n\t@Method()\r\n\tasync LoadImage() {\r\n\t\tconst image: HTMLImageElement =\r\n\t\t\tthis.el.shadowRoot.querySelector(\"img\");\r\n\r\n\t\tif(!image) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif(!image.src) {\r\n\t\t\timage.src = this.setResponsiveBg();\r\n\t\t\timage.onload = () => {\r\n\t\t\t\timage.removeAttribute(\"data-src\");\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tif(this.observer) {\r\n\t\t\tthis.observer.unobserve(image);\r\n\t\t}\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst classMap = this.getCssClassMap();\r\n\t\tconst classMapHost = this.getCssClassMapHost();\r\n\t\treturn (\r\n\t\t\t<Host class={classMapHost}>\r\n\t\t\t\t{this.styles && <style>{this.styles}</style>}\r\n\t\t\t\t<img\r\n\t\t\t\t\tclass={classMap}\r\n\t\t\t\t\tdata-xs={!!this.sizeXs ? `${this.src}` : `${this.src}`}\r\n\t\t\t\t\tdata-sm={!!this.sizeSm ? `${this.src}` : `${this.src}`}\r\n\t\t\t\t\tdata-md={!!this.sizeMd ? `${this.src}` : `${this.src}`}\r\n\t\t\t\t\tdata-lg={!!this.sizeLg ? `${this.src}` : `${this.src}`}\r\n\t\t\t\t\t// data-xs={`${this.src}:${this.sizeXs}`}\r\n\t\t\t\t\t// data-sm={`${this.src}:${this.sizeSm}`}\r\n\t\t\t\t\t// data-md={`${this.src}:${this.sizeMd}`}\r\n\t\t\t\t\t// data-lg={`${this.src}:${this.sizeLg}`}\r\n\t\t\t\t\t{...(!!this.width ? { width: this.width } : {})}\r\n\t\t\t\t\t{...(!!this.height ? { height: this.height } : {})}\r\n\t\t\t\t\talt={this.alt}\r\n\t\t\t\t\tstyle={{\r\n\t\t\t\t\t\t...(!!this.maxWidth\r\n\t\t\t\t\t\t\t? { maxWidth: this.maxWidth + \"px\" }\r\n\t\t\t\t\t\t\t: {}),\r\n\t\t\t\t\t}}\r\n\t\t\t\t/>\r\n\t\t\t\t<slot />\r\n\t\t\t</Host>\r\n\t\t);\r\n\t}\r\n\r\n\tprivate getCurrentBreakPoints(): string {\r\n\t\t// Define local variables\r\n\t\tlet doc = window.document,\r\n\t\t\ttemp = doc.createElement(\"div\"),\r\n\t\t\tenv: any;\r\n\r\n\t\t// Append test node\r\n\t\tdoc.body.appendChild(temp);\r\n\r\n\t\t// Loop through breakpoints\r\n\t\tfor (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {\r\n\t\t\tenv = ResponsivePictureVariables.envs[i];\r\n\r\n\t\t\t// Add classes\r\n\t\t\ttemp.className = \"hidden-\" + env;\r\n\r\n\t\t\t// Found breakpoint\r\n\t\t\tif (temp.offsetParent === null) {\r\n\t\t\t\t// Remove our test node\r\n\t\t\t\tdoc.body.removeChild(temp);\r\n\r\n\t\t\t\t// Return current breakpoint\r\n\t\t\t\treturn env;\r\n\t\t\t}\r\n\t\t}\r\n\t\t// Breakpoint not found, try fallback\r\n\t\tdoc.body.removeChild(temp);\r\n\t\treturn this.getFallbackBreakpoint();\r\n\t}\r\n\r\n\tprivate getFallbackBreakpoint(): string {\r\n\t\tif (window.matchMedia(\"(min-width: 992px)\").matches) {\r\n\t\t\treturn \"lg\";\r\n\t\t} else if (window.matchMedia(\"(min-width: 768px)\").matches) {\r\n\t\t\treturn \"md\";\r\n\t\t} else if (window.matchMedia(\"(min-width: 576px)\").matches) {\r\n\t\t\treturn \"sm\";\r\n\t\t} else {\r\n\t\t\treturn \"xs\";\r\n\t\t}\r\n\t}\r\n\r\n\tprivate getCssClassMap(): CssClassMap {\r\n\t\treturn {\r\n\t\t\t[this.borderRadius]: this.borderRadius ? true : false,\r\n\t\t\t[this.objectFit]: true,\r\n\t\t\t[this.isFullHeight ? \"is-full-height\" : \"is-normal-height\"]: true,\r\n\t\t\t[this.isFullWidth ? \"is-full-width\" : \"is-normal-width\"]: true,\r\n\t\t\t[this.displayImage]: true,\r\n\t\t};\r\n\t}\r\n\tprivate getCssClassMapHost(): CssClassMap {\r\n\t\treturn {\r\n\t\t\t[this.imagePosition]: true,\r\n\t\t\t[this.imageAlignment]: true,\r\n\t\t};\r\n\t}\r\n}\r\n"],"version":3}
1
+ {"file":"p-BQjkh7kQ.js","mappings":";;;AAAA,MAAM,aAAa,GAAG,m9BAAm9B;;MCoB59B,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;;;;;;;;;AAGtB;;AAEG;AACK,IAAA,GAAG;AACX;;AAEG;IACK,GAAG,GAAW,OAAO;AAC7B;;;AAGG;IACsB,MAAM,GAAW,SAAS;AACnD;;;AAGG;IACsB,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,YAAA,CAAC,IAAI,CAAC,aAAa,GAAG,IAAI;AAC1B,YAAA,CAAC,IAAI,CAAC,cAAc,GAAG,IAAI;SAC3B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/ptc-picture/ptc-picture.scss?tag=ptc-picture&encapsulation=shadow","src/components/atoms/ptc-picture/ptc-picture.tsx"],"sourcesContent":[":host {\r\n\tdisplay: block;\r\n\toverflow: hidden;\r\n\t.inline {\r\n\t\tdisplay: inline;\r\n\t}\r\n\t.inline-block {\r\n\t\tdisplay: inline-block;\r\n\t}\r\n\t.block {\r\n\t\tdisplay: block;\r\n\t}\r\n}\r\n:host(.relative) {\r\n\tposition: relative;\r\n}\r\n:host(.static) {\r\n\tposition: static;\r\n}\r\n:host(.absoltue) {\r\n\tposition: absolute;\r\n}\r\nimg {\r\n\tmax-width: 100%;\r\n}\r\n.cover {\r\n\tobject-fit: cover;\r\n}\r\n.fill {\r\n\tobject-fit: fill;\r\n}\r\n.contain {\r\n\tobject-fit: contain;\r\n}\r\n.scale-down {\r\n\tobject-fit: scale-down;\r\n}\r\n.none {\r\n\tobject-fit: none;\r\n}\r\n.initial {\r\n\tobject-fit: initial;\r\n}\r\n.inherit {\r\n\tobject-fit: inherit;\r\n}\r\n\r\n.radius-standard {\r\n\tborder-radius: var(--ptc-border-radius-standard);\r\n}\r\n.radius-large {\r\n\tborder-radius: var(--ptc-border-radius-large);\r\n}\r\n.radius-pill {\r\n\tborder-radius: var(--ptc-border-radius-pill);\r\n}\r\n.radius-circle {\r\n\tborder-radius: var(--ptc-border-radius-circle);\r\n}\r\n.is-full-height {\r\n\theight: 100%;\r\n}\r\n.is-full-width {\r\n\twidth: 100%;\r\n}\r\n:host(.left) {\r\n\ttext-align: left;\r\n}\r\n:host(.right) {\r\n\ttext-align: right;\r\n}\r\n:host(.center) {\r\n\ttext-align: center;\r\n}\r\n","import {\r\n\tComponent,\r\n\tProp,\r\n\th,\r\n\tElement,\r\n\tListen,\r\n\tState,\r\n\tHost,\r\n\tMethod,\r\n} from \"@stencil/core\";\r\nimport {\r\n\tCssClassMap,\r\n\tResponsivePictureVariables,\r\n} from \"../../../utils/interfaces\";\r\n\r\n@Component({\r\n\ttag: \"ptc-picture\",\r\n\tstyleUrl: \"ptc-picture.scss\",\r\n\tshadow: true,\r\n})\r\nexport class PtcPicture {\r\n\t@Element() el: HTMLElement;\r\n\r\n\t/**\r\n\t * Image Render Src\r\n\t */\r\n\t@Prop() src: string;\r\n\t/**\r\n\t * Image alt\r\n\t */\r\n\t@Prop() alt: string = \"image\";\r\n\t/**\r\n\t * Image size for smallest screen\r\n\t * <=767px\r\n\t */\r\n\t@Prop({ mutable: true }) sizeXs: string = \"510x340\";\r\n\t/**\r\n\t * Image size for small screen\r\n\t * >=768px and <=991px\r\n\t */\r\n\t@Prop({ mutable: true }) sizeSm: string = \"1240x496\";\r\n\t/**\r\n\t * Image size for medium screen\r\n\t * >=992px and <=1199px\r\n\t */\r\n\t@Prop({ mutable: true }) sizeMd: string = \"1366x500\";\r\n\t/**\r\n\t * Image solution for large screen\r\n\t * >=1200px\r\n\t */\r\n\t@Prop({ mutable: true }) sizeLg: string = \"1920x1080\";\r\n\t/**\r\n\t * Disable Image resizing solution\r\n\t */\r\n\t@Prop({ mutable: true }) disableResize: boolean = false;\r\n\t/**\r\n\t * Image Src\r\n\t **/\r\n\t@State() oldSrc: string;\r\n\t/**\r\n\t * Image Position\r\n\t */\r\n\t@Prop() imagePosition: \"relative\" | \"absolute\" | \"static\" = \"static\";\r\n\t/**\r\n\t * Image border shape\r\n\t */\r\n\t@Prop() borderRadius:\r\n\t\t| \"radius-standard\"\r\n\t\t| \"radius-large\"\r\n\t\t| \"radius-pill\"\r\n\t\t| \"radius-circle\";\r\n\t/**\r\n\t * Set height\r\n\t * Value unit: pixles\r\n\t * Just put numbers without unit\r\n\t */\r\n\t@Prop() height?: string;\r\n\t/**\r\n\t * Set Width\r\n\t * value unit: pixles\r\n\t * Just put numbers without unit\r\n\t */\r\n\t@Prop() width?: string;\r\n\t/**\r\n\t * Object Fit\r\n\t * Default: cover\r\n\t */\r\n\t@Prop() objectFit:\r\n\t\t| \"cover\"\r\n\t\t| \"fill\"\r\n\t\t| \"contain\"\r\n\t\t| \"scale-down\"\r\n\t\t| \"none\"\r\n\t\t| \"initial\"\r\n\t\t| \"inherit\" = \"cover\";\r\n\t/**\r\n\t * Stretch height to 100%?\r\n\t */\r\n\t@Prop() isFullHeight: boolean = false;\r\n\t/**\r\n\t * Stretch width to 100%?\r\n\t */\r\n\t@Prop() isFullWidth: boolean = false;\r\n\t/**\r\n\t * (optional) Injected CSS styles\r\n\t **/\r\n\t@Prop() styles?: string;\r\n\t/**\r\n\t * (optional) Image alignment\r\n\t **/\r\n\t@Prop() imageAlignment?: \"left\" | \"right\" | \"center\" = \"left\";\r\n\t/**\r\n\t * (optional) Set max-width\r\n\t * value unit: pixles\r\n\t * Just put numbers without unit\r\n\t **/\r\n\t@Prop() maxWidth?: string;\r\n\r\n\t/**\r\n\t * Display image: inline, inline-block, block\r\n\t **/\r\n\t@Prop() displayImage?: \"inline\" | \"inline-block\" | \"block\" = \"block\";\r\n\r\n\tobserver: IntersectionObserver;\r\n\r\n\t@Listen(\"resize\", { target: \"window\" })\r\n\tWindowResize() {\r\n\t\tthis.addIntersectionObserver();\r\n\t}\r\n\r\n\tio: IntersectionObserver;\r\n\r\n\tcomponentWillLoad() {\r\n\t\tif (this.disableResize) {\r\n\t\t\tthis.sizeXs = undefined;\r\n\t\t\tthis.sizeSm = undefined;\r\n\t\t\tthis.sizeMd = undefined;\r\n\t\t\tthis.sizeLg = undefined;\r\n\t\t}\r\n\t}\r\n\r\n\tcomponentDidLoad() {\r\n\t\tthis.addIntersectionObserver();\r\n\t}\r\n\r\n\tcomponentWillUpdate() {\r\n\t\tif (this.src !== this.oldSrc) {\r\n\t\t\tthis.addIntersectionObserver();\r\n\t\t}\r\n\t\tthis.oldSrc = this.src;\r\n\t}\r\n\r\n\t//lazy-loading\r\n\taddIntersectionObserver() {\r\n\t\tif (!this.src) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (\"IntersectionObserver\" in window) {\r\n\t\t\tlet lazyLoadImages = new IntersectionObserver((entries) => {\r\n\t\t\t\tentries.forEach((entry) => {\r\n\t\t\t\t\tif (entry.isIntersecting) {\r\n\t\t\t\t\t\tconst image: HTMLImageElement =\r\n\t\t\t\t\t\t\tthis.el.shadowRoot.querySelector(\"img\");\r\n\t\t\t\t\t\timage.src = this.setResponsiveBg();\r\n\t\t\t\t\t\tlazyLoadImages.unobserve(image);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t\tlet tempImg = this.el.shadowRoot.querySelector(\"img\");\r\n\t\t\tif (tempImg) {\r\n\t\t\t\tlazyLoadImages.observe(tempImg);\r\n\t\t\t}\r\n\r\n\t\t\tthis.observer = lazyLoadImages;\r\n\t\t} else {\r\n\t\t\t// fall back to setTimeout for Safari and IE\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tconst image: HTMLImageElement =\r\n\t\t\t\t\tthis.el.shadowRoot.querySelector(\"img\");\r\n\t\t\t\timage.src = this.setResponsiveBg();\r\n\t\t\t\timage.onload = () => {\r\n\t\t\t\t\timage.removeAttribute(\"data-src\");\r\n\t\t\t\t};\r\n\t\t\t}, 5000);\r\n\t\t}\r\n\t}\r\n\r\n\t//responsive image\r\n\tsetResponsiveBg() {\r\n\t\t// Define local variables\r\n\t\tlet backgrounds = (\r\n\t\t\t\tthis.el.shadowRoot || document\r\n\t\t\t).querySelectorAll<HTMLElement>(\"img\"),\r\n\t\t\tel: HTMLElement,\r\n\t\t\telData: string,\r\n\t\t\tcurrentBreakpoint = this.getCurrentBreakPoints();\r\n\r\n\t\tfor (var i = 0, len = backgrounds.length; i < len; i++) {\r\n\t\t\t// Set current variables\r\n\t\t\tel = backgrounds[i];\r\n\t\t\telData = el.getAttribute(\"data-\" + currentBreakpoint);\r\n\t\t\tif (elData !== null) {\r\n\t\t\t\treturn elData;\r\n\t\t\t} else {\r\n\t\t\t\tif (typeof console == \"object\") {\r\n\t\t\t\t\tconsole.warn(\r\n\t\t\t\t\t\t\"Data attribute: data-\" +\r\n\t\t\t\t\t\t\tcurrentBreakpoint +\r\n\t\t\t\t\t\t\t\" not found on element:\\n\\n\" +\r\n\t\t\t\t\t\t\tel.outerHTML +\r\n\t\t\t\t\t\t\t\"\\n\\n\\n\",\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t//manually load image\r\n\t@Method()\r\n\tasync LoadImage() {\r\n\t\tconst image: HTMLImageElement =\r\n\t\t\tthis.el.shadowRoot.querySelector(\"img\");\r\n\r\n\t\tif(!image) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif(!image.src) {\r\n\t\t\timage.src = this.setResponsiveBg();\r\n\t\t\timage.onload = () => {\r\n\t\t\t\timage.removeAttribute(\"data-src\");\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tif(this.observer) {\r\n\t\t\tthis.observer.unobserve(image);\r\n\t\t}\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst classMap = this.getCssClassMap();\r\n\t\tconst classMapHost = this.getCssClassMapHost();\r\n\t\treturn (\r\n\t\t\t<Host class={classMapHost}>\r\n\t\t\t\t{this.styles && <style>{this.styles}</style>}\r\n\t\t\t\t<img\r\n\t\t\t\t\tclass={classMap}\r\n\t\t\t\t\tdata-xs={!!this.sizeXs ? `${this.src}` : `${this.src}`}\r\n\t\t\t\t\tdata-sm={!!this.sizeSm ? `${this.src}` : `${this.src}`}\r\n\t\t\t\t\tdata-md={!!this.sizeMd ? `${this.src}` : `${this.src}`}\r\n\t\t\t\t\tdata-lg={!!this.sizeLg ? `${this.src}` : `${this.src}`}\r\n\t\t\t\t\t// data-xs={`${this.src}:${this.sizeXs}`}\r\n\t\t\t\t\t// data-sm={`${this.src}:${this.sizeSm}`}\r\n\t\t\t\t\t// data-md={`${this.src}:${this.sizeMd}`}\r\n\t\t\t\t\t// data-lg={`${this.src}:${this.sizeLg}`}\r\n\t\t\t\t\t{...(!!this.width ? { width: this.width } : {})}\r\n\t\t\t\t\t{...(!!this.height ? { height: this.height } : {})}\r\n\t\t\t\t\talt={this.alt}\r\n\t\t\t\t\tstyle={{\r\n\t\t\t\t\t\t...(!!this.maxWidth\r\n\t\t\t\t\t\t\t? { maxWidth: this.maxWidth + \"px\" }\r\n\t\t\t\t\t\t\t: {}),\r\n\t\t\t\t\t}}\r\n\t\t\t\t/>\r\n\t\t\t\t<slot />\r\n\t\t\t</Host>\r\n\t\t);\r\n\t}\r\n\r\n\tprivate getCurrentBreakPoints(): string {\r\n\t\t// Define local variables\r\n\t\tlet doc = window.document,\r\n\t\t\ttemp = doc.createElement(\"div\"),\r\n\t\t\tenv: any;\r\n\r\n\t\t// Append test node\r\n\t\tdoc.body.appendChild(temp);\r\n\r\n\t\t// Loop through breakpoints\r\n\t\tfor (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {\r\n\t\t\tenv = ResponsivePictureVariables.envs[i];\r\n\r\n\t\t\t// Add classes\r\n\t\t\ttemp.className = \"hidden-\" + env;\r\n\r\n\t\t\t// Found breakpoint\r\n\t\t\tif (temp.offsetParent === null) {\r\n\t\t\t\t// Remove our test node\r\n\t\t\t\tdoc.body.removeChild(temp);\r\n\r\n\t\t\t\t// Return current breakpoint\r\n\t\t\t\treturn env;\r\n\t\t\t}\r\n\t\t}\r\n\t\t// Breakpoint not found, try fallback\r\n\t\tdoc.body.removeChild(temp);\r\n\t\treturn this.getFallbackBreakpoint();\r\n\t}\r\n\r\n\tprivate getFallbackBreakpoint(): string {\r\n\t\tif (window.matchMedia(\"(min-width: 992px)\").matches) {\r\n\t\t\treturn \"lg\";\r\n\t\t} else if (window.matchMedia(\"(min-width: 768px)\").matches) {\r\n\t\t\treturn \"md\";\r\n\t\t} else if (window.matchMedia(\"(min-width: 576px)\").matches) {\r\n\t\t\treturn \"sm\";\r\n\t\t} else {\r\n\t\t\treturn \"xs\";\r\n\t\t}\r\n\t}\r\n\r\n\tprivate getCssClassMap(): CssClassMap {\r\n\t\treturn {\r\n\t\t\t[this.borderRadius]: this.borderRadius ? true : false,\r\n\t\t\t[this.objectFit]: true,\r\n\t\t\t[this.isFullHeight ? \"is-full-height\" : \"is-normal-height\"]: true,\r\n\t\t\t[this.isFullWidth ? \"is-full-width\" : \"is-normal-width\"]: true,\r\n\t\t\t[this.displayImage]: true,\r\n\t\t};\r\n\t}\r\n\tprivate getCssClassMapHost(): CssClassMap {\r\n\t\treturn {\r\n\t\t\t[this.imagePosition]: true,\r\n\t\t\t[this.imageAlignment]: true,\r\n\t\t};\r\n\t}\r\n}\r\n"],"version":3}
@@ -1,7 +1,7 @@
1
1
  import { p as proxyCustomElement, H, h, d as Host } from './p-I15m-uFl.js';
2
- import { d as defineCustomElement$4 } from './p-Dws0e-v8.js';
3
- import { d as defineCustomElement$3 } from './p-B5fWr5oN.js';
4
- import { d as defineCustomElement$2 } from './p-DIQsWvTl.js';
2
+ import { d as defineCustomElement$4 } from './p-CrO4JStG.js';
3
+ import { d as defineCustomElement$3 } from './p-BFUh3kag.js';
4
+ import { d as defineCustomElement$2 } from './p-DqEp_ABX.js';
5
5
  import { d as defineCustomElement$1 } from './p-DWccNsRu.js';
6
6
 
7
7
  const ptcImageDownloadStripCss = ":host{display:block;position:relative;font-family:var(--ptc-font-secondary-latin)}:host .strip{position:absolute;bottom:0;backdrop-filter:blur(15.2px);background:rgb(255, 255, 255);background:rgba(255, 255, 255, 0.3);width:100%;padding:15px;box-sizing:border-box;text-align:right}:host .strip .dl-btn{width:54px;height:40px;background-image:linear-gradient(288deg, #74c34d, #00783e);border:1px solid #fff;color:#fff;cursor:pointer;display:flex;flex-direction:column;justify-content:center;margin-left:auto;align-items:center;text-decoration:none}:host .strip .dl-btn .dl-text{font-size:10px;text-transform:uppercase;font-weight:600;line-height:1.25;margin-bottom:1px;display:none}:host .strip .dl-btn:hover{box-shadow:0 3px 20px 0 #74c34d}:host .strip .dl-btn:hover .dl-text{display:block}:host .strip .dl-btn:focus-visible{transition:none;border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .strip .dl-btn img{max-height:18px;width:12px}";
@@ -24,9 +24,9 @@ const PtcImageDownloadStrip = /*@__PURE__*/ proxyCustomElement(class PtcImageDow
24
24
  */
25
25
  trackerId;
26
26
  render() {
27
- return (h(Host, { key: '67076e6c6156ecf54f693b0518d76f23700238ca' }, h("slot", { key: '97aa077e9ced27503d3580b65a9656200bafd306' }), h("div", { key: '9ed610dbabaf01c164d4f524e1985fd1ef59a8da', class: "strip mf-listen" }, h("a", { key: '8bd03aefe234c77cd00688f53b58e48fd25fe3f6', class: "dl-btn", href: "javascript:void()", onClick: () => {
27
+ return (h(Host, { key: '329e39f449d2c864448b41fa3b49085589189c43' }, h("slot", { key: '613ead6a170bf4c34c9458ed3b82e196d3a361c8' }), h("div", { key: '2293f4aae90df88fd60044325e4e5c8597cc4b83', class: "strip mf-listen" }, h("a", { key: '270e4a6a885a8678f8e3f971aefd731944ee1dc0', class: "dl-btn", href: "javascript:void()", onClick: () => {
28
28
  this.openModal();
29
- }, tabindex: "0" }, h("span", { key: '294ffc352b8329c2608886fe260ea66d24062b1b', class: "dl-text" }, "Download"), h("img", { key: 'a8e15fd07ce9ba15277766076468abe5ef32af30', src: "https://www.ptc.com/dist/ptc/images/download-arrow.svg", alt: "Down Arrow" }))), h("ptc-modal", { key: '387deb87603282deadab0fc9cc2052e6282d37e7', id: "strip-download-modal", show: false, size: "lg", fixed: true, "is-bio-modal": true }, h("ptc-title", { key: '9cc984041ff749ba292e5157c362e6721586c91f', type: "h2", "text-align": "center", "title-weight": "w-5", upperline: "no-upperline" }, "Thanks For Downloading"))));
29
+ }, tabindex: "0" }, h("span", { key: '3484e4d42382ca1d83955c370b4f9fc8f4b17543', class: "dl-text" }, "Download"), h("img", { key: '858d43c97350c043fd00811ff51159425b38daea', src: "https://www.ptc.com/dist/ptc/images/download-arrow.svg", alt: "Down Arrow" }))), h("ptc-modal", { key: '37b236e0c6c9e3efe150a9539c5c71e7efbb87a5', id: "strip-download-modal", show: false, size: "lg", fixed: true, "is-bio-modal": true }, h("ptc-title", { key: 'e4837f03ae7ad034dcf1fae82a25f0977e2e49f2', type: "h2", "text-align": "center", "title-weight": "w-5", upperline: "no-upperline" }, "Thanks For Downloading"))));
30
30
  }
31
31
  openModal() {
32
32
  let modal = this.el.shadowRoot.querySelector("#strip-download-modal");
@@ -77,6 +77,6 @@ function defineCustomElement() {
77
77
  defineCustomElement();
78
78
 
79
79
  export { PtcImageDownloadStrip as P, defineCustomElement as d };
80
- //# sourceMappingURL=p-Dy9aYfKt.js.map
80
+ //# sourceMappingURL=p-BRkdgVC0.js.map
81
81
 
82
- //# sourceMappingURL=p-Dy9aYfKt.js.map
82
+ //# sourceMappingURL=p-BRkdgVC0.js.map
@@ -1 +1 @@
1
- {"file":"p-Dy9aYfKt.js","mappings":";;;;;;AAAA,MAAM,wBAAwB,GAAG,49BAA49B;;MCOh/B,qBAAqB,iBAAAA,kBAAA,CAAA,MAAA,qBAAA,SAAAC,CAAA,CAAA;;;;;;;;;AAEjC;;AAEG;AACK,IAAA,WAAW;AACnB;;AAEG;AACK,IAAA,SAAS;IAEjB,MAAM,GAAA;QACL,QACC,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACJ,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,EACb,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,iBAAiB,EAAA,EAC3B,CACC,CAAA,GAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,QAAQ,EACd,IAAI,EAAC,mBAAmB,EACxB,OAAO,EAAE,MAAK;gBACb,IAAI,CAAC,SAAS,EAAE;aAChB,EACD,QAAQ,EAAC,GAAG,EAAA,EAEZ,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,SAAS,EAAgB,EAAA,UAAA,CAAA,EACrC,CACC,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,GAAG,EAAC,wDAAwD,EAC5D,GAAG,EAAC,YAAY,EACf,CAAA,CACC,CACC,EACN,CAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,EAAE,EAAC,sBAAsB,EACzB,IAAI,EAAE,KAAK,EACX,IAAI,EAAC,IAAI,EACT,KAAK,EAAE,IAAI,kBACG,IAAI,EAAA,EAElB,CAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,IAAI,EAAC,IAAI,EAAA,YAAA,EACE,QAAQ,EACN,cAAA,EAAA,KAAK,EAClB,SAAS,EAAC,cAAc,EAAA,EAAA,wBAAA,CAGb,CACD,CACN;;IAIT,SAAS,GAAA;AACR,QAAA,IAAI,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,uBAAuB,CAAC;AACrE,QAAA,KAAK,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC;QAClC,UAAU,CAAC,MAAK;AACf,YAAA,KAAK,CAAC,YAAY,CAAC,MAAM,EAAE,OAAO,CAAC;YACnC,MAAM,CAAC,IAAI,CAAC,CAAG,EAAA,IAAI,CAAC,WAAW,CAAE,CAAA,EAAE,OAAO,CAAC;SAC3C,EAAE,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/molecules/ptc-image-download-strip/ptc-image-download-strip.scss?tag=ptc-image-download-strip&encapsulation=shadow","src/components/molecules/ptc-image-download-strip/ptc-image-download-strip.tsx"],"sourcesContent":["@use 'mixins' as *;\r\n:host {\r\n\tdisplay: block;\r\n\tposition: relative;\r\n\tfont-family: var(--ptc-font-secondary-latin);\r\n\t.strip {\r\n\t\tposition: absolute;\r\n\t\tbottom: 0;\r\n\t\tbackdrop-filter: blur(15.2px);\r\n\t\tbackground: rgb(255, 255, 255);\r\n\t\tbackground: rgba(255, 255, 255, 0.3);\r\n\t\twidth: 100%;\r\n\t\tpadding: 15px;\r\n\t\tbox-sizing: border-box;\r\n\t\ttext-align: right;\r\n\t\t.dl-btn {\r\n\t\t\twidth: 54px;\r\n\t\t\theight: 40px;\r\n\t\t\tbackground-image: -o-linear-gradient(162deg, #74c34d, #00783e);\r\n\t\t\tbackground-image: linear-gradient(288deg, #74c34d, #00783e);\r\n\t\t\tborder: 1px solid #fff;\r\n\t\t\tcolor: #fff;\r\n\t\t\tcursor: pointer;\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-direction: column;\r\n\t\t\tjustify-content: center;\r\n\t\t\tmargin-left: auto;\r\n\t\t\talign-items: center;\r\n\t\t\ttext-decoration: none;\r\n\t\t\t.dl-text {\r\n\t\t\t\tfont-size: 10px;\r\n\t\t\t\ttext-transform: uppercase;\r\n\t\t\t\tfont-weight: 600;\r\n\t\t\t\tline-height: 1.25;\r\n\t\t\t\tmargin-bottom: 1px;\r\n\t\t\t\tdisplay: none;\r\n\t\t\t}\r\n\t\t\t&:hover {\r\n\t\t\t\tbox-shadow: 0 3px 20px 0 #74c34d;\r\n\t\t\t\t.dl-text {\r\n\t\t\t\t\tdisplay: block;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&:focus-visible {\r\n\t\t\t\ttransition: none;\r\n\t\t\t\t@include base-focus-state;\r\n\t\t\t}\r\n\r\n\t\t\timg {\r\n\t\t\t\tmax-height: 18px;\r\n\t\t\t\twidth: 12px;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n","import { Component, Host, h, Prop, Element } from \"@stencil/core\";\r\n\r\n@Component({\r\n\ttag: \"ptc-image-download-strip\",\r\n\tstyleUrl: \"ptc-image-download-strip.scss\",\r\n\tshadow: true,\r\n})\r\nexport class PtcImageDownloadStrip {\r\n\t@Element() el: HTMLElement;\r\n\t/**\r\n\t * News download url\r\n\t */\r\n\t@Prop() downloadUrl?: string;\r\n\t/**\r\n\t * tracker-id\r\n\t */\r\n\t@Prop() trackerId?: string;\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t<Host>\r\n\t\t\t\t<slot></slot>\r\n\t\t\t\t<div class=\"strip mf-listen\">\r\n\t\t\t\t\t<a\r\n\t\t\t\t\t\tclass=\"dl-btn\"\r\n\t\t\t\t\t\thref=\"javascript:void()\"\r\n\t\t\t\t\t\tonClick={() => {\r\n\t\t\t\t\t\t\tthis.openModal();\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t\ttabindex=\"0\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<span class=\"dl-text\">Download</span>\r\n\t\t\t\t\t\t<img\r\n\t\t\t\t\t\t\tsrc=\"https://www.ptc.com/dist/ptc/images/download-arrow.svg\"\r\n\t\t\t\t\t\t\talt=\"Down Arrow\"\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t</a>\r\n\t\t\t\t</div>\r\n\t\t\t\t<ptc-modal\r\n\t\t\t\t\tid=\"strip-download-modal\"\r\n\t\t\t\t\tshow={false}\r\n\t\t\t\t\tsize=\"lg\"\r\n\t\t\t\t\tfixed={true}\r\n\t\t\t\t\tis-bio-modal={true}\r\n\t\t\t\t>\r\n\t\t\t\t\t<ptc-title\r\n\t\t\t\t\t\ttype=\"h2\"\r\n\t\t\t\t\t\ttext-align=\"center\"\r\n\t\t\t\t\t\ttitle-weight=\"w-5\"\r\n\t\t\t\t\t\tupperline=\"no-upperline\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tThanks For Downloading\r\n\t\t\t\t\t</ptc-title>\r\n\t\t\t\t</ptc-modal>\r\n\t\t\t</Host>\r\n\t\t);\r\n\t}\r\n\r\n\topenModal() {\r\n\t\tlet modal = this.el.shadowRoot.querySelector(\"#strip-download-modal\");\r\n\t\tmodal.setAttribute(\"show\", \"true\");\r\n\t\tsetTimeout(() => {\r\n\t\t\tmodal.setAttribute(\"show\", \"false\");\r\n\t\t\twindow.open(`${this.downloadUrl}`, \"_self\");\r\n\t\t}, 1000);\r\n\t}\r\n}\r\n"],"version":3}
1
+ {"file":"p-BRkdgVC0.js","mappings":";;;;;;AAAA,MAAM,wBAAwB,GAAG,49BAA49B;;MCOh/B,qBAAqB,iBAAAA,kBAAA,CAAA,MAAA,qBAAA,SAAAC,CAAA,CAAA;;;;;;;;;AAEjC;;AAEG;AACK,IAAA,WAAW;AACnB;;AAEG;AACK,IAAA,SAAS;IAEjB,MAAM,GAAA;QACL,QACC,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACJ,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,EACb,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,iBAAiB,EAAA,EAC3B,CACC,CAAA,GAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,QAAQ,EACd,IAAI,EAAC,mBAAmB,EACxB,OAAO,EAAE,MAAK;gBACb,IAAI,CAAC,SAAS,EAAE;aAChB,EACD,QAAQ,EAAC,GAAG,EAAA,EAEZ,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,SAAS,EAAgB,EAAA,UAAA,CAAA,EACrC,CACC,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,GAAG,EAAC,wDAAwD,EAC5D,GAAG,EAAC,YAAY,EACf,CAAA,CACC,CACC,EACN,CAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,EAAE,EAAC,sBAAsB,EACzB,IAAI,EAAE,KAAK,EACX,IAAI,EAAC,IAAI,EACT,KAAK,EAAE,IAAI,kBACG,IAAI,EAAA,EAElB,CAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,IAAI,EAAC,IAAI,EAAA,YAAA,EACE,QAAQ,EACN,cAAA,EAAA,KAAK,EAClB,SAAS,EAAC,cAAc,EAAA,EAAA,wBAAA,CAGb,CACD,CACN;;IAIT,SAAS,GAAA;AACR,QAAA,IAAI,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,uBAAuB,CAAC;AACrE,QAAA,KAAK,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC;QAClC,UAAU,CAAC,MAAK;AACf,YAAA,KAAK,CAAC,YAAY,CAAC,MAAM,EAAE,OAAO,CAAC;YACnC,MAAM,CAAC,IAAI,CAAC,CAAG,EAAA,IAAI,CAAC,WAAW,CAAE,CAAA,EAAE,OAAO,CAAC;SAC3C,EAAE,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/molecules/ptc-image-download-strip/ptc-image-download-strip.scss?tag=ptc-image-download-strip&encapsulation=shadow","src/components/molecules/ptc-image-download-strip/ptc-image-download-strip.tsx"],"sourcesContent":["@use 'mixins' as *;\r\n:host {\r\n\tdisplay: block;\r\n\tposition: relative;\r\n\tfont-family: var(--ptc-font-secondary-latin);\r\n\t.strip {\r\n\t\tposition: absolute;\r\n\t\tbottom: 0;\r\n\t\tbackdrop-filter: blur(15.2px);\r\n\t\tbackground: rgb(255, 255, 255);\r\n\t\tbackground: rgba(255, 255, 255, 0.3);\r\n\t\twidth: 100%;\r\n\t\tpadding: 15px;\r\n\t\tbox-sizing: border-box;\r\n\t\ttext-align: right;\r\n\t\t.dl-btn {\r\n\t\t\twidth: 54px;\r\n\t\t\theight: 40px;\r\n\t\t\tbackground-image: -o-linear-gradient(162deg, #74c34d, #00783e);\r\n\t\t\tbackground-image: linear-gradient(288deg, #74c34d, #00783e);\r\n\t\t\tborder: 1px solid #fff;\r\n\t\t\tcolor: #fff;\r\n\t\t\tcursor: pointer;\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-direction: column;\r\n\t\t\tjustify-content: center;\r\n\t\t\tmargin-left: auto;\r\n\t\t\talign-items: center;\r\n\t\t\ttext-decoration: none;\r\n\t\t\t.dl-text {\r\n\t\t\t\tfont-size: 10px;\r\n\t\t\t\ttext-transform: uppercase;\r\n\t\t\t\tfont-weight: 600;\r\n\t\t\t\tline-height: 1.25;\r\n\t\t\t\tmargin-bottom: 1px;\r\n\t\t\t\tdisplay: none;\r\n\t\t\t}\r\n\t\t\t&:hover {\r\n\t\t\t\tbox-shadow: 0 3px 20px 0 #74c34d;\r\n\t\t\t\t.dl-text {\r\n\t\t\t\t\tdisplay: block;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&:focus-visible {\r\n\t\t\t\ttransition: none;\r\n\t\t\t\t@include base-focus-state;\r\n\t\t\t}\r\n\r\n\t\t\timg {\r\n\t\t\t\tmax-height: 18px;\r\n\t\t\t\twidth: 12px;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n","import { Component, Host, h, Prop, Element } from \"@stencil/core\";\r\n\r\n@Component({\r\n\ttag: \"ptc-image-download-strip\",\r\n\tstyleUrl: \"ptc-image-download-strip.scss\",\r\n\tshadow: true,\r\n})\r\nexport class PtcImageDownloadStrip {\r\n\t@Element() el: HTMLElement;\r\n\t/**\r\n\t * News download url\r\n\t */\r\n\t@Prop() downloadUrl?: string;\r\n\t/**\r\n\t * tracker-id\r\n\t */\r\n\t@Prop() trackerId?: string;\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t<Host>\r\n\t\t\t\t<slot></slot>\r\n\t\t\t\t<div class=\"strip mf-listen\">\r\n\t\t\t\t\t<a\r\n\t\t\t\t\t\tclass=\"dl-btn\"\r\n\t\t\t\t\t\thref=\"javascript:void()\"\r\n\t\t\t\t\t\tonClick={() => {\r\n\t\t\t\t\t\t\tthis.openModal();\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t\ttabindex=\"0\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<span class=\"dl-text\">Download</span>\r\n\t\t\t\t\t\t<img\r\n\t\t\t\t\t\t\tsrc=\"https://www.ptc.com/dist/ptc/images/download-arrow.svg\"\r\n\t\t\t\t\t\t\talt=\"Down Arrow\"\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t</a>\r\n\t\t\t\t</div>\r\n\t\t\t\t<ptc-modal\r\n\t\t\t\t\tid=\"strip-download-modal\"\r\n\t\t\t\t\tshow={false}\r\n\t\t\t\t\tsize=\"lg\"\r\n\t\t\t\t\tfixed={true}\r\n\t\t\t\t\tis-bio-modal={true}\r\n\t\t\t\t>\r\n\t\t\t\t\t<ptc-title\r\n\t\t\t\t\t\ttype=\"h2\"\r\n\t\t\t\t\t\ttext-align=\"center\"\r\n\t\t\t\t\t\ttitle-weight=\"w-5\"\r\n\t\t\t\t\t\tupperline=\"no-upperline\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tThanks For Downloading\r\n\t\t\t\t\t</ptc-title>\r\n\t\t\t\t</ptc-modal>\r\n\t\t\t</Host>\r\n\t\t);\r\n\t}\r\n\r\n\topenModal() {\r\n\t\tlet modal = this.el.shadowRoot.querySelector(\"#strip-download-modal\");\r\n\t\tmodal.setAttribute(\"show\", \"true\");\r\n\t\tsetTimeout(() => {\r\n\t\t\tmodal.setAttribute(\"show\", \"false\");\r\n\t\t\twindow.open(`${this.downloadUrl}`, \"_self\");\r\n\t\t}, 1000);\r\n\t}\r\n}\r\n"],"version":3}
@@ -28,7 +28,7 @@ const MaxWidthContainer = /*@__PURE__*/ proxyCustomElement(class MaxWidthContain
28
28
  }
29
29
  render() {
30
30
  const classMap = this.getCssClassMap();
31
- return (h(Host, { key: 'a3bcf7a544e69c6dc4c0a9c561dad746e1c88776', class: classMap }, this.styles && h("style", { key: '64c146027bcba5d22179375a194387e90ae6bc19' }, this.styles), h("slot", { key: '79b0a4ba34c10717bb7e080c883a7ce7546007a8' })));
31
+ return (h(Host, { key: 'a454075703a64018bac7a0ab5878f2f8c5c9668e', class: classMap }, this.styles && h("style", { key: '26d37696e92c8c2af9b4658b03574a83df763f52' }, this.styles), h("slot", { key: '7f054ad4a51b5c62cbe7c419c3181a7678d96c0a' })));
32
32
  }
33
33
  getCssClassMap() {
34
34
  return {
@@ -75,6 +75,6 @@ function defineCustomElement() {
75
75
  defineCustomElement();
76
76
 
77
77
  export { MaxWidthContainer as M, defineCustomElement as d };
78
- //# sourceMappingURL=p-sNBdP2gv.js.map
78
+ //# sourceMappingURL=p-BeRHdpb-.js.map
79
79
 
80
- //# sourceMappingURL=p-sNBdP2gv.js.map
80
+ //# sourceMappingURL=p-BeRHdpb-.js.map
@@ -1 +1 @@
1
- {"file":"p-sNBdP2gv.js","mappings":";;AAAA,MAAM,oBAAoB,GAAG,8HAA8H;;MCQ9I,iBAAiB,iBAAAA,kBAAA,CAAA,MAAA,iBAAA,SAAAC,CAAA,CAAA;;;;;;;;;AAErB,IAAA,SAAS;AACT,IAAA,QAAQ;IACR,UAAU,GAAW,GAAG;IACxB,YAAY,GAAgC,QAAQ;AAC5D;;AAEG;AACK,IAAA,MAAM;IAEd,gBAAgB,GAAA;QACf,IAAI,CAAC,YAAY,EAAE;AACnB,QAAA,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;IAEhE,oBAAoB,GAAA;QACnB,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC;;IAGxD,MAAM,GAAA;AACL,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,cAAc,EAAE;QAEtC,QACC,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,QAAQ,EAAA,EACnB,IAAI,CAAC,MAAM,IAAI,gEAAQ,IAAI,CAAC,MAAM,CAAS,EAC5C,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACF;;IAID,cAAc,GAAA;QACrB,OAAO;AACN,YAAA,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI;SACzB;;IAGF,YAAY,GAAA;;AAGX,QAAA,IAAI,IAAI,CAAC,EAAE,EAAE;YACZ,IAAI,MAAM,CAAC,UAAU,IAAI,IAAI,CAAC,UAAU,EAAE;AACzC,gBAAA,IAAI,IAAI,CAAC,SAAS,EAAE;AACnB,oBAAA,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAA,EAAG,IAAI,CAAC,SAAS,CAAA,CAAA,CAAG;;qBACvC;AACN,oBAAA,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAA,EAAG,IAAI,CAAC,QAAQ,CAAA,EAAA,CAAI;;;iBAExC;gBACN,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/utilities/max-width-container/max-width-container.css?tag=max-width-container&encapsulation=shadow","src/components/utilities/max-width-container/max-width-container.tsx"],"sourcesContent":[":host {\r\n display: block;\r\n}\r\n:host(.left){\r\n margin: auto auto auto 0;\r\n}\r\n:host(.right){\r\n margin: auto 0 auto auto;\r\n}\r\n:host(.center){\r\n margin: 0 auto;\r\n}","import { Component, h, Prop, Element, Host } from \"@stencil/core\";\r\nimport { CssClassMap } from \"../../../utils/interfaces\";\r\n\r\n@Component({\r\n\ttag: \"max-width-container\",\r\n\tstyleUrl: \"max-width-container.css\",\r\n\tshadow: true,\r\n})\r\nexport class MaxWidthContainer {\r\n\t@Element() el: HTMLElement;\r\n\t@Prop() maxWidthP?: number;\r\n\t@Prop() maxWidth: number;\r\n\t@Prop() breakpoint: number = 768;\r\n\t@Prop() contentAlign: \"left\" | \"center\" | \"right\" = \"center\";\r\n\t/**\r\n\t * (optional) Injected CSS Styles\r\n\t */\r\n\t@Prop() styles?: string;\r\n\r\n\tcomponentDidLoad() {\r\n\t\tthis.handleResize();\r\n\t\twindow.addEventListener(\"resize\", this.handleResize.bind(this));\r\n\t}\r\n\tdisconnectedCallback() {\r\n\t\twindow.removeEventListener(\"resize\", this.handleResize);\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst classMap = this.getCssClassMap();\r\n\r\n\t\treturn (\r\n\t\t\t<Host class={classMap}>\r\n\t\t\t\t{this.styles && <style>{this.styles}</style>}\r\n\t\t\t\t<slot />\r\n\t\t\t</Host>\r\n\t\t);\r\n\t}\r\n\r\n\tprivate getCssClassMap(): CssClassMap {\r\n\t\treturn {\r\n\t\t\t[this.contentAlign]: true,\r\n\t\t};\r\n\t}\r\n\r\n\thandleResize() {\r\n\t\t// const selectedContainer = this.el.querySelector('.max-width-container');\r\n\r\n\t\tif (this.el) {\r\n\t\t\tif (window.innerWidth >= this.breakpoint) {\r\n\t\t\t\tif (this.maxWidthP) {\r\n\t\t\t\t\tthis.el.style.maxWidth = `${this.maxWidthP}%`;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.el.style.maxWidth = `${this.maxWidth}px`;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tthis.el.style.maxWidth = \"initial\";\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n"],"version":3}
1
+ {"file":"p-BeRHdpb-.js","mappings":";;AAAA,MAAM,oBAAoB,GAAG,8HAA8H;;MCQ9I,iBAAiB,iBAAAA,kBAAA,CAAA,MAAA,iBAAA,SAAAC,CAAA,CAAA;;;;;;;;;AAErB,IAAA,SAAS;AACT,IAAA,QAAQ;IACR,UAAU,GAAW,GAAG;IACxB,YAAY,GAAgC,QAAQ;AAC5D;;AAEG;AACK,IAAA,MAAM;IAEd,gBAAgB,GAAA;QACf,IAAI,CAAC,YAAY,EAAE;AACnB,QAAA,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;IAEhE,oBAAoB,GAAA;QACnB,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC;;IAGxD,MAAM,GAAA;AACL,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,cAAc,EAAE;QAEtC,QACC,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,QAAQ,EAAA,EACnB,IAAI,CAAC,MAAM,IAAI,gEAAQ,IAAI,CAAC,MAAM,CAAS,EAC5C,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACF;;IAID,cAAc,GAAA;QACrB,OAAO;AACN,YAAA,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI;SACzB;;IAGF,YAAY,GAAA;;AAGX,QAAA,IAAI,IAAI,CAAC,EAAE,EAAE;YACZ,IAAI,MAAM,CAAC,UAAU,IAAI,IAAI,CAAC,UAAU,EAAE;AACzC,gBAAA,IAAI,IAAI,CAAC,SAAS,EAAE;AACnB,oBAAA,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAA,EAAG,IAAI,CAAC,SAAS,CAAA,CAAA,CAAG;;qBACvC;AACN,oBAAA,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAA,EAAG,IAAI,CAAC,QAAQ,CAAA,EAAA,CAAI;;;iBAExC;gBACN,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/utilities/max-width-container/max-width-container.css?tag=max-width-container&encapsulation=shadow","src/components/utilities/max-width-container/max-width-container.tsx"],"sourcesContent":[":host {\r\n display: block;\r\n}\r\n:host(.left){\r\n margin: auto auto auto 0;\r\n}\r\n:host(.right){\r\n margin: auto 0 auto auto;\r\n}\r\n:host(.center){\r\n margin: 0 auto;\r\n}","import { Component, h, Prop, Element, Host } from \"@stencil/core\";\r\nimport { CssClassMap } from \"../../../utils/interfaces\";\r\n\r\n@Component({\r\n\ttag: \"max-width-container\",\r\n\tstyleUrl: \"max-width-container.css\",\r\n\tshadow: true,\r\n})\r\nexport class MaxWidthContainer {\r\n\t@Element() el: HTMLElement;\r\n\t@Prop() maxWidthP?: number;\r\n\t@Prop() maxWidth: number;\r\n\t@Prop() breakpoint: number = 768;\r\n\t@Prop() contentAlign: \"left\" | \"center\" | \"right\" = \"center\";\r\n\t/**\r\n\t * (optional) Injected CSS Styles\r\n\t */\r\n\t@Prop() styles?: string;\r\n\r\n\tcomponentDidLoad() {\r\n\t\tthis.handleResize();\r\n\t\twindow.addEventListener(\"resize\", this.handleResize.bind(this));\r\n\t}\r\n\tdisconnectedCallback() {\r\n\t\twindow.removeEventListener(\"resize\", this.handleResize);\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst classMap = this.getCssClassMap();\r\n\r\n\t\treturn (\r\n\t\t\t<Host class={classMap}>\r\n\t\t\t\t{this.styles && <style>{this.styles}</style>}\r\n\t\t\t\t<slot />\r\n\t\t\t</Host>\r\n\t\t);\r\n\t}\r\n\r\n\tprivate getCssClassMap(): CssClassMap {\r\n\t\treturn {\r\n\t\t\t[this.contentAlign]: true,\r\n\t\t};\r\n\t}\r\n\r\n\thandleResize() {\r\n\t\t// const selectedContainer = this.el.querySelector('.max-width-container');\r\n\r\n\t\tif (this.el) {\r\n\t\t\tif (window.innerWidth >= this.breakpoint) {\r\n\t\t\t\tif (this.maxWidthP) {\r\n\t\t\t\t\tthis.el.style.maxWidth = `${this.maxWidthP}%`;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.el.style.maxWidth = `${this.maxWidth}px`;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tthis.el.style.maxWidth = \"initial\";\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n"],"version":3}
@@ -1,8 +1,8 @@
1
1
  import { p as proxyCustomElement, H, h, d as Host } from './p-I15m-uFl.js';
2
2
  import { d as defineCustomElement$5 } from './p-BuzuopkV.js';
3
- import { d as defineCustomElement$4 } from './p-Dws0e-v8.js';
4
- import { d as defineCustomElement$3 } from './p-B5fWr5oN.js';
5
- import { d as defineCustomElement$2 } from './p-DIQsWvTl.js';
3
+ import { d as defineCustomElement$4 } from './p-CrO4JStG.js';
4
+ import { d as defineCustomElement$3 } from './p-BFUh3kag.js';
5
+ import { d as defineCustomElement$2 } from './p-DqEp_ABX.js';
6
6
  import { d as defineCustomElement$1 } from './p-DWccNsRu.js';
7
7
 
8
8
  const ptcSocialShareCss = ":host(.inline-block){display:inline-block}:host(.block){display:block}:host(.inline){display:inline}:host(.flex){display:flex}:host(.ptc-social-share){cursor:pointer}:host(.ptc-social-share) .focus-state:focus-visible{transition:none;border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host(.ptc-social-share) .focus-state.focus-state-dark-background:focus-visible{padding:2px;border-radius:var(--ptc-border-radius-standard);border:2px solid rgb(255, 255, 255);outline:5px solid var(--keyboard-nav-outline);transition:none;text-decoration-line:none}@media only screen and (min-width: 1200px){:host(.ptc-social-m-left){margin-left:var(--ptc-element-spacing-04)}}";
@@ -53,7 +53,7 @@ const PtcSocialShare = /*@__PURE__*/ proxyCustomElement(class PtcSocialShare ext
53
53
  darkFocusState = false;
54
54
  render() {
55
55
  const classMap = this.getCssClassMap();
56
- return (h(Host, { key: '604d8fca66740410a415546dd4a4d5d6e68ee00c', class: classMap }, h("div", { key: 'af7ce5b47dc2c5068921925487d9feef640cfe02', onClick: () => this.share(), onMouseEnter: () => this.hoverToggle(), onMouseLeave: () => this.hoverToggle(), class: `focus-state mf-listen ${this.darkFocusState ? "focus-state-dark-background" : ""}`, tabindex: "0", onKeyDown: (event) => this.handleKeyDown(event), id: this.trackerId }, this.shareType == "mail" ? (h("icon-asset", { type: "ptc", size: this.iconSize, name: "plm-mail", ...(this.isHover
56
+ return (h(Host, { key: 'f7768192bb24a8f9bb445d31beb61ce7c6422385', class: classMap }, h("div", { key: '261f5d0e6f5a088fb50503340b5903b738d6d17f', onClick: () => this.share(), onMouseEnter: () => this.hoverToggle(), onMouseLeave: () => this.hoverToggle(), class: `focus-state mf-listen ${this.darkFocusState ? "focus-state-dark-background" : ""}`, tabindex: "0", onKeyDown: (event) => this.handleKeyDown(event), id: this.trackerId }, this.shareType == "mail" ? (h("icon-asset", { type: "ptc", size: this.iconSize, name: "plm-mail", ...(this.isHover
57
57
  ? { color: this.iconHoverColor }
58
58
  : { color: this.iconColor }) })) : null, this.shareType == "linkedin" ? (h("icon-asset", { type: "ptc", size: this.iconSize, name: "plm-linkedin", ...(this.isHover
59
59
  ? { color: this.iconHoverColor }
@@ -73,7 +73,7 @@ const PtcSocialShare = /*@__PURE__*/ proxyCustomElement(class PtcSocialShare ext
73
73
  ? { color: this.iconHoverColor }
74
74
  : { color: this.iconColor }) })) : null, this.shareType == "download" ? (h("icon-asset", { type: "ptc", size: this.iconSize, name: "download-arrow-news", color: "inherit", ...(this.isHover
75
75
  ? { color: this.iconHoverColor }
76
- : { color: this.iconColor }) })) : null), this.shareType == "download" && (h("ptc-modal", { key: '295ea776c8f456e28d7fc388d5f8209e26556173', id: "download-modal", show: false, size: "lg", fixed: true, "is-bio-modal": true }, h("ptc-title", { key: 'a5ff16c957a902b225a99b64950a3c461e0006ac', type: "h2", "text-align": "center", "title-weight": "w-5", upperline: "no-upperline" }, "Thanks For Downloading")))));
76
+ : { color: this.iconColor }) })) : null), this.shareType == "download" && (h("ptc-modal", { key: 'a626bdd9900e75ed1bddad202c2a0030bdee2bf4', id: "download-modal", show: false, size: "lg", fixed: true, "is-bio-modal": true }, h("ptc-title", { key: '11889eae491d0fe2eeb8cf17ffcafa198340b46a', type: "h2", "text-align": "center", "title-weight": "w-5", upperline: "no-upperline" }, "Thanks For Downloading")))));
77
77
  }
78
78
  handleKeyDown(event) {
79
79
  if (event.key === "Enter") {
@@ -184,6 +184,6 @@ function defineCustomElement() {
184
184
  defineCustomElement();
185
185
 
186
186
  export { PtcSocialShare as P, defineCustomElement as d };
187
- //# sourceMappingURL=p-BZmiyqIe.js.map
187
+ //# sourceMappingURL=p-BoQK-f42.js.map
188
188
 
189
- //# sourceMappingURL=p-BZmiyqIe.js.map
189
+ //# sourceMappingURL=p-BoQK-f42.js.map