@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.
- package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +50 -0
- package/dist/cjs/{bundle-jumbotron-example_14.cjs.entry.js → icon-asset_16.cjs.entry.js} +416 -405
- package/dist/cjs/interfaces-0ecd8027.js +15 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/max-width-container_3.cjs.entry.js +236 -0
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +135 -0
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +2 -1
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +7 -0
- package/dist/collection/components/list-item/list-item.css +15 -0
- package/dist/collection/components/list-item/list-item.js +2 -2
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +30 -0
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +61 -0
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +33 -12
- package/dist/collection/components/ptc-picture/ptc-picture.css +7 -1
- package/dist/collection/components/ptc-picture/ptc-picture.js +20 -0
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +33 -12
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +61 -0
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +179 -0
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +4 -0
- package/dist/collection/components/ptc-product-category/ptc-product-category.js +60 -0
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +79 -0
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +185 -0
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +11 -0
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +96 -0
- package/dist/collection/components/ptc-product-list/ptc-product-list.css +23 -0
- package/dist/collection/components/ptc-product-list/ptc-product-list.js +171 -0
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +150 -0
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +237 -0
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +2 -1
- package/dist/collection/components/ptc-title/ptc-title.css +8 -0
- package/dist/collection/components/ptc-title/ptc-title.js +2 -2
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.css +9 -0
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +21 -1
- package/dist/custom-elements/index.d.ts +42 -0
- package/dist/custom-elements/index.js +456 -11
- package/dist/esm/bundle-jumbotron-example.entry.js +46 -0
- package/dist/esm/{bundle-jumbotron-example_14.entry.js → icon-asset_16.entry.js} +409 -400
- package/dist/esm/interfaces-c1c73092.js +12 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/max-width-container_3.entry.js +230 -0
- package/dist/esm/ptc-jumbotron.entry.js +131 -0
- package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
- package/dist/esm/ptc-text-copy-with-background.entry.js +2 -1
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/ptcw-design/p-50e52c88.js +1 -0
- package/dist/ptcw-design/p-6927c111.entry.js +1 -0
- package/dist/ptcw-design/p-73ea7065.entry.js +1 -0
- package/dist/ptcw-design/p-9379f3b6.entry.js +1 -0
- package/dist/ptcw-design/p-a0ead888.entry.js +1 -0
- package/dist/ptcw-design/{p-face0c41.entry.js → p-e2c96087.entry.js} +1 -1
- package/dist/ptcw-design/p-f9129612.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/list-item/list-item.d.ts +1 -1
- package/dist/types/components/ptc-back-to-top/ptc-back-to-top.d.ts +9 -0
- package/dist/types/components/ptc-picture/ptc-picture.d.ts +4 -0
- package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +39 -0
- package/dist/types/components/ptc-product-category/ptc-product-category.d.ts +5 -0
- package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +18 -0
- package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +23 -0
- package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +17 -0
- package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +30 -0
- package/dist/types/components/ptc-title/ptc-title.d.ts +1 -1
- package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +4 -0
- package/dist/types/components.d.ts +229 -4
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/ptcw-design/p-81bd0113.entry.js +0 -1
- 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;
|