@ptcwebops/ptcw-design 1.5.3 → 1.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +50 -0
  2. package/dist/cjs/{bundle-jumbotron-example_14.cjs.entry.js → icon-asset_16.cjs.entry.js} +416 -405
  3. package/dist/cjs/interfaces-0ecd8027.js +15 -0
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/max-width-container_3.cjs.entry.js +236 -0
  6. package/dist/cjs/ptc-jumbotron.cjs.entry.js +135 -0
  7. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  8. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +2 -1
  9. package/dist/cjs/ptcw-design.cjs.js +1 -1
  10. package/dist/collection/collection-manifest.json +7 -0
  11. package/dist/collection/components/list-item/list-item.css +15 -0
  12. package/dist/collection/components/list-item/list-item.js +2 -2
  13. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +30 -0
  14. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +61 -0
  15. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +33 -12
  16. package/dist/collection/components/ptc-picture/ptc-picture.css +7 -1
  17. package/dist/collection/components/ptc-picture/ptc-picture.js +20 -0
  18. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +33 -12
  19. package/dist/collection/components/ptc-product-card/ptc-product-card.css +61 -0
  20. package/dist/collection/components/ptc-product-card/ptc-product-card.js +179 -0
  21. package/dist/collection/components/ptc-product-category/ptc-product-category.css +4 -0
  22. package/dist/collection/components/ptc-product-category/ptc-product-category.js +60 -0
  23. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +79 -0
  24. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +185 -0
  25. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +11 -0
  26. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +96 -0
  27. package/dist/collection/components/ptc-product-list/ptc-product-list.css +23 -0
  28. package/dist/collection/components/ptc-product-list/ptc-product-list.js +171 -0
  29. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +150 -0
  30. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +237 -0
  31. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +2 -1
  32. package/dist/collection/components/ptc-title/ptc-title.css +8 -0
  33. package/dist/collection/components/ptc-title/ptc-title.js +2 -2
  34. package/dist/collection/components/ptc-tooltip/ptc-tooltip.css +9 -0
  35. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +21 -1
  36. package/dist/custom-elements/index.d.ts +42 -0
  37. package/dist/custom-elements/index.js +456 -11
  38. package/dist/esm/bundle-jumbotron-example.entry.js +46 -0
  39. package/dist/esm/{bundle-jumbotron-example_14.entry.js → icon-asset_16.entry.js} +409 -400
  40. package/dist/esm/interfaces-c1c73092.js +12 -0
  41. package/dist/esm/loader.js +1 -1
  42. package/dist/esm/max-width-container_3.entry.js +230 -0
  43. package/dist/esm/ptc-jumbotron.entry.js +131 -0
  44. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  45. package/dist/esm/ptc-text-copy-with-background.entry.js +2 -1
  46. package/dist/esm/ptcw-design.js +1 -1
  47. package/dist/ptcw-design/p-50e52c88.js +1 -0
  48. package/dist/ptcw-design/p-6927c111.entry.js +1 -0
  49. package/dist/ptcw-design/p-73ea7065.entry.js +1 -0
  50. package/dist/ptcw-design/p-9379f3b6.entry.js +1 -0
  51. package/dist/ptcw-design/p-a0ead888.entry.js +1 -0
  52. package/dist/ptcw-design/{p-face0c41.entry.js → p-e2c96087.entry.js} +1 -1
  53. package/dist/ptcw-design/p-f9129612.entry.js +1 -0
  54. package/dist/ptcw-design/ptcw-design.css +2 -2
  55. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  56. package/dist/types/components/list-item/list-item.d.ts +1 -1
  57. package/dist/types/components/ptc-back-to-top/ptc-back-to-top.d.ts +9 -0
  58. package/dist/types/components/ptc-picture/ptc-picture.d.ts +4 -0
  59. package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +39 -0
  60. package/dist/types/components/ptc-product-category/ptc-product-category.d.ts +5 -0
  61. package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +18 -0
  62. package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +23 -0
  63. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +17 -0
  64. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +30 -0
  65. package/dist/types/components/ptc-title/ptc-title.d.ts +1 -1
  66. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +4 -0
  67. package/dist/types/components.d.ts +229 -4
  68. package/package.json +1 -1
  69. package/readme.md +1 -1
  70. package/dist/ptcw-design/p-81bd0113.entry.js +0 -1
  71. package/dist/ptcw-design/p-df275994.entry.js +0 -1
@@ -0,0 +1,50 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-88135a6b.js');
6
+
7
+ const bundleJumbotronExampleCss = ":host{display:block}";
8
+
9
+ const BundleJumbotronExample = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.jumbotron = 'light';
13
+ this.isIframe = false;
14
+ }
15
+ render() {
16
+ let $pngSrc;
17
+ let $gifSrc;
18
+ let $bgVideoSrc;
19
+ let $bgSrc;
20
+ let $popupVideo;
21
+ //replace dummy data
22
+ if (this.jumbotron === 'light' || this.jumbotron === 'dark') {
23
+ $bgSrc =
24
+ 'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80';
25
+ }
26
+ else if (this.jumbotron === 'dark-video' || this.jumbotron === 'light-video') {
27
+ //$bgVideoSrc = "https://www.ptc.com/-/media/Videos/wind-turbine.mp4";
28
+ // if is iframe use src from iframe
29
+ $bgVideoSrc = 'https://player.vimeo.com/video/749261406?h=5e6a60ffc5&muted=1&autoplay=1&loop=1&transparent=0&background=1&app_id=122963%22&controls=0';
30
+ }
31
+ else if (this.jumbotron === 'png') {
32
+ $pngSrc =
33
+ 'https://images.unsplash.com/photo-1676883343977-5f8ecc36856c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2NzgyMjcxNDU&ixlib=rb-4.0.3&q=80&w=400';
34
+ }
35
+ else if (this.jumbotron === 'gif') {
36
+ $gifSrc = 'https://media.giphy.com/media/TDQkojbHj3wTS/giphy.gif';
37
+ }
38
+ //Optional: set $popupVideo
39
+ //$popupVideo = "https://www.youtube.com/embed/w0mJCtK9sDY";
40
+ return (index.h(index.Host, null, index.h("ptc-jumbotron", Object.assign({ "jumbotron-type": this.jumbotron }, (!!$pngSrc && { pngSrc: $pngSrc }), (!!$gifSrc && { gifSrc: $gifSrc }), (!!$bgVideoSrc && { bgVideoSrc: $bgVideoSrc }), (!!$bgSrc && { bgSrc: $bgSrc }), (!!$popupVideo ), { "sub-title": "totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo." // bind sub title data (multi-line)
41
+ ,
42
+ "is-iframe": this.isIframe }), index.h("ptc-breadcrumb", Object.assign({ slot: "breadcrumb" }, (this.jumbotron === 'dark' || this.jumbotron == 'dark-video' ? { color: 'white' } : { color: 'primary-gray' }), (this.jumbotron === 'text' ? { position: 'center' } : {})), index.h("list-item", Object.assign({ "list-type": "breadcrumb", "link-href": "https://www.ptc.com/contact-us" }, (this.jumbotron === 'dark' || this.jumbotron == 'dark-video' ? { color: 'light-gray' } : { color: 'primary-gray' })), "PLM Video Hub"), index.h("list-item", Object.assign({ "list-type": "breadcrumb" }, (this.jumbotron === 'dark' || this.jumbotron == 'dark-video' ? { color: 'light-gray' } : { color: 'primary-gray' })), "Current Page")), index.h("ptc-title", { slot: "main-title", type: "h1", upperline: "no-upperline", "title-size": "xxxx-large", "title-height": "densest", "title-weight": "w-8", "title-margin": "margin-flush", "text-align": "left" // if type=text, text-align=center, otherwise left
43
+ ,
44
+ "title-color": "gray" //if dark, dark-video then "gray-1"
45
+ }, index.h("ptc-tooltip", { "text-lines": "3", description: "Sed ut perspiciatis unde omnis iste natus", position: "right" })), index.h("ptc-button", { slot: "j-cta", type: "link", color: "ptc-primary", "link-href": "https://www.ptc.com", target: "_blank" }, "Lorem ipsum dolor sit amet"), index.h("ptc-button", { slot: "j-cta", type: "link", color: "ptc-secondary", "link-href": "https://www.ptc.com", target: "_blank" }, "Lorem ipsum"))));
46
+ }
47
+ };
48
+ BundleJumbotronExample.style = bundleJumbotronExampleCss;
49
+
50
+ exports.bundle_jumbotron_example = BundleJumbotronExample;