@ptcwebops/ptcw-design 2.0.4 → 2.0.6
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/{icon-asset_5.cjs.entry.js → fl-tab-content_11.cjs.entry.js} +485 -41
- package/dist/cjs/list-item.cjs.entry.js +33 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/max-width-container.cjs.entry.js +48 -0
- package/dist/cjs/{ptc-jumbotron.cjs.entry.js → ptc-breadcrumb_2.cjs.entry.js} +24 -0
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +1 -1
- package/dist/cjs/ptc-slit-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.css +11 -0
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +61 -0
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.css +16 -0
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +105 -0
- package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.css +27 -0
- package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +61 -0
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +188 -0
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +123 -0
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +1 -1
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +1 -1
- package/dist/custom-elements/index.d.ts +24 -0
- package/dist/custom-elements/index.js +166 -4
- package/dist/esm/bundle-example.entry.js +1 -1
- package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/dynamic-box-bundle.entry.js +1 -1
- package/dist/esm/{icon-asset_5.entry.js → fl-tab-content_11.entry.js} +479 -41
- package/dist/esm/{index-8e63c32d.js → index-4afc9d28.js} +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/list-item.entry.js +29 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/lottie-player.entry.js +1 -1
- package/dist/esm/max-width-container.entry.js +44 -0
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-accordion.entry.js +1 -1
- package/dist/esm/ptc-announcement.entry.js +1 -1
- package/dist/esm/ptc-back-to-top.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +1 -1
- package/dist/esm/{ptc-jumbotron.entry.js → ptc-breadcrumb_2.entry.js} +25 -2
- package/dist/esm/ptc-card-bottom_3.entry.js +1 -1
- package/dist/esm/ptc-card-content.entry.js +1 -1
- package/dist/esm/ptc-card.entry.js +1 -1
- package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
- package/dist/esm/ptc-checkbox.entry.js +1 -1
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-container.entry.js +1 -1
- package/dist/esm/ptc-date.entry.js +1 -1
- package/dist/esm/ptc-dropdown.entry.js +1 -1
- package/dist/esm/ptc-dynamic-card.entry.js +1 -1
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
- package/dist/esm/ptc-filter-tag.entry.js +1 -1
- package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
- package/dist/esm/ptc-hero.entry.js +1 -1
- package/dist/esm/ptc-icon-component.entry.js +1 -1
- package/dist/esm/ptc-icon-list.entry.js +1 -1
- package/dist/esm/ptc-icon-minimize.entry.js +1 -1
- package/dist/esm/ptc-image-download-strip.entry.js +1 -1
- package/dist/esm/ptc-link.entry.js +1 -1
- package/dist/esm/ptc-list.entry.js +1 -1
- package/dist/esm/ptc-lottie.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +1 -1
- package/dist/esm/ptc-minimized-nav.entry.js +2 -2
- package/dist/esm/ptc-mobile-select.entry.js +1 -1
- package/dist/esm/ptc-modal.entry.js +1 -1
- package/dist/esm/ptc-nav-card.entry.js +1 -1
- package/dist/esm/ptc-nav-link.entry.js +1 -1
- package/dist/esm/ptc-nav-pills.entry.js +1 -1
- package/dist/esm/ptc-nav-slider.entry.js +1 -1
- package/dist/esm/ptc-nav-submenu.entry.js +1 -1
- package/dist/esm/ptc-news.entry.js +1 -1
- package/dist/esm/ptc-overlay.entry.js +1 -1
- package/dist/esm/ptc-pagenation.entry.js +1 -1
- package/dist/esm/ptc-picture.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +1 -1
- package/dist/esm/ptc-pricing-block.entry.js +1 -1
- package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
- package/dist/esm/ptc-product-card.entry.js +1 -1
- package/dist/esm/ptc-product-category.entry.js +1 -1
- package/dist/esm/ptc-product-dropdown.entry.js +1 -1
- package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
- package/dist/esm/ptc-product-list.entry.js +1 -1
- package/dist/esm/ptc-product-sidebar.entry.js +1 -1
- package/dist/esm/ptc-progress-bar.entry.js +1 -1
- package/dist/esm/ptc-quote.entry.js +1 -1
- package/dist/esm/ptc-readmore-char.entry.js +1 -1
- package/dist/esm/ptc-readmore.entry.js +1 -1
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-search-field.entry.js +1 -1
- package/dist/esm/ptc-shopping-cart.entry.js +1 -1
- package/dist/esm/ptc-slit-card.entry.js +2 -2
- package/dist/esm/ptc-social-share.entry.js +1 -1
- package/dist/esm/ptc-spacer.entry.js +34 -0
- package/dist/esm/ptc-span.entry.js +1 -1
- package/dist/esm/ptc-sticky-icons.entry.js +1 -1
- package/dist/esm/ptc-sticky-section.entry.js +1 -1
- package/dist/esm/ptc-sticky-title.entry.js +1 -1
- package/dist/esm/ptc-subnav-card.entry.js +1 -1
- package/dist/esm/ptc-subnav.entry.js +1 -1
- package/dist/esm/ptc-svg-btn.entry.js +1 -1
- package/dist/esm/ptc-tab-list.entry.js +1 -1
- package/dist/esm/ptc-tab.entry.js +1 -1
- package/dist/esm/ptc-tabs.entry.js +1 -1
- package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
- package/dist/esm/ptc-two-column-media.entry.js +1 -1
- package/dist/esm/ptcw-design.js +3 -3
- package/dist/esm/sequential-bundle-example.entry.js +1 -1
- package/dist/esm/sequential-bundle.entry.js +1 -1
- package/dist/esm/tab-content.entry.js +1 -1
- package/dist/esm/tab-header.entry.js +1 -1
- package/dist/ptcw-design/{p-49b5abe9.entry.js → p-009f76ac.entry.js} +1 -1
- package/dist/ptcw-design/{p-4983e571.entry.js → p-00b2c937.entry.js} +1 -1
- package/dist/ptcw-design/{p-847d85ba.entry.js → p-033330d3.entry.js} +1 -1
- package/dist/ptcw-design/{p-73ea7065.entry.js → p-04549d19.entry.js} +1 -1
- package/dist/ptcw-design/{p-54ca3d2a.entry.js → p-046d0d0c.entry.js} +1 -1
- package/dist/ptcw-design/{p-8030db10.entry.js → p-07059441.entry.js} +1 -1
- package/dist/ptcw-design/p-07b6676a.entry.js +1 -0
- package/dist/ptcw-design/{p-d49d8875.entry.js → p-08f17ab6.entry.js} +1 -1
- package/dist/ptcw-design/{p-462567d1.entry.js → p-08f40716.entry.js} +1 -1
- package/dist/ptcw-design/{p-8c6b069b.entry.js → p-09a6b0a7.entry.js} +1 -1
- package/dist/ptcw-design/{p-366528df.entry.js → p-10555016.entry.js} +1 -1
- package/dist/ptcw-design/{p-3cf1f951.entry.js → p-1905e99d.entry.js} +1 -1
- package/dist/ptcw-design/{p-4702f4e4.entry.js → p-1a346da4.entry.js} +1 -1
- package/dist/ptcw-design/{p-cd55eba0.entry.js → p-1aaaefc2.entry.js} +1 -1
- package/dist/ptcw-design/{p-1cf0240f.entry.js → p-20500bc0.entry.js} +1 -1
- package/dist/ptcw-design/{p-4f465dd3.entry.js → p-2a959ce3.entry.js} +1 -1
- package/dist/ptcw-design/{p-b922e3a5.entry.js → p-2ac4eb02.entry.js} +1 -1
- package/dist/ptcw-design/p-2d666a05.entry.js +1 -0
- package/dist/ptcw-design/{p-ba3372d4.entry.js → p-35b3d9a8.entry.js} +1 -1
- package/dist/ptcw-design/{p-cdff68d4.entry.js → p-372a6bb1.entry.js} +1 -1
- package/dist/ptcw-design/{p-3bb54c51.entry.js → p-42424ba0.entry.js} +1 -1
- package/dist/ptcw-design/{p-2d69f408.entry.js → p-47ee06af.entry.js} +1 -1
- package/dist/ptcw-design/{p-250b3ea1.entry.js → p-4947eb0a.entry.js} +1 -1
- package/dist/ptcw-design/{p-5e0dd0fe.entry.js → p-4be56588.entry.js} +1 -1
- package/dist/ptcw-design/{p-46afd828.entry.js → p-4f93dac7.entry.js} +1 -1
- package/dist/ptcw-design/p-5854b9b4.entry.js +1 -0
- package/dist/ptcw-design/{p-a7961cf6.entry.js → p-5c9d254c.entry.js} +1 -1
- package/dist/ptcw-design/{p-469482ba.entry.js → p-64691ccb.entry.js} +1 -1
- package/dist/ptcw-design/{p-2b079e72.entry.js → p-66a25008.entry.js} +1 -1
- package/dist/ptcw-design/{p-77d49d3d.entry.js → p-68543211.entry.js} +1 -1
- package/dist/ptcw-design/{p-d7d6eff1.entry.js → p-6a0b0d0e.entry.js} +1 -1
- package/dist/ptcw-design/{p-8a1c2577.entry.js → p-6acd380a.entry.js} +1 -1
- package/dist/ptcw-design/{p-938eb938.entry.js → p-7097ec55.entry.js} +1 -1
- package/dist/ptcw-design/{p-3f6b95bb.entry.js → p-743dae02.entry.js} +1 -1
- package/dist/ptcw-design/p-7650e042.entry.js +1 -0
- package/dist/ptcw-design/{p-e66e3791.entry.js → p-7698cc75.entry.js} +1 -1
- package/dist/ptcw-design/{p-fa58bf5f.entry.js → p-77d3b816.entry.js} +1 -1
- package/dist/ptcw-design/p-799bbd3a.entry.js +1 -0
- package/dist/ptcw-design/{p-399345bb.entry.js → p-7e978dd7.entry.js} +1 -1
- package/dist/ptcw-design/{p-bb3ce5f2.entry.js → p-8116452c.entry.js} +1 -1
- package/dist/ptcw-design/{p-af3a4142.entry.js → p-87ccd549.entry.js} +1 -1
- package/dist/ptcw-design/{p-a6a343a7.entry.js → p-8c212875.entry.js} +1 -1
- package/dist/ptcw-design/{p-9a5ee2d5.entry.js → p-90143d7c.entry.js} +1 -1
- package/dist/ptcw-design/{p-dedaf951.entry.js → p-908b08d5.entry.js} +1 -1
- package/dist/ptcw-design/{p-2181c8c7.entry.js → p-9805a542.entry.js} +1 -1
- package/dist/ptcw-design/{p-c3b7c168.entry.js → p-9bbfeec6.entry.js} +1 -1
- package/dist/ptcw-design/{p-63c06667.js → p-9dd25c18.js} +1 -1
- package/dist/ptcw-design/{p-4e80cc93.entry.js → p-a1f30323.entry.js} +1 -1
- package/dist/ptcw-design/{p-fe0928c0.entry.js → p-a49ba579.entry.js} +1 -1
- package/dist/ptcw-design/{p-e865c958.entry.js → p-a4c49997.entry.js} +1 -1
- package/dist/ptcw-design/{p-57fa9836.entry.js → p-a532ea92.entry.js} +1 -1
- package/dist/ptcw-design/{p-b9bbe5d9.entry.js → p-a6014d9a.entry.js} +1 -1
- package/dist/ptcw-design/p-a6ebedfd.entry.js +1 -0
- package/dist/ptcw-design/{p-34f2f815.entry.js → p-a7eb1503.entry.js} +1 -1
- package/dist/ptcw-design/{p-d7232d12.entry.js → p-a924d029.entry.js} +1 -1
- package/dist/ptcw-design/p-ab2a2d1a.entry.js +1 -0
- package/dist/ptcw-design/{p-40adeccf.entry.js → p-ad924207.entry.js} +1 -1
- package/dist/ptcw-design/{p-51bfb258.entry.js → p-b2afe3a3.entry.js} +1 -1
- package/dist/ptcw-design/{p-26880c78.entry.js → p-b64cd689.entry.js} +1 -1
- package/dist/ptcw-design/{p-55d298f5.entry.js → p-b73ea53a.entry.js} +1 -1
- package/dist/ptcw-design/{p-b99f5093.entry.js → p-bdfd42d2.entry.js} +1 -1
- package/dist/ptcw-design/{p-4783fc15.entry.js → p-c05218ed.entry.js} +1 -1
- package/dist/ptcw-design/{p-cd6b8c27.entry.js → p-c1d75020.entry.js} +1 -1
- package/dist/ptcw-design/{p-12780f09.entry.js → p-c326164f.entry.js} +1 -1
- package/dist/ptcw-design/{p-4977dc6d.entry.js → p-c43f4e1a.entry.js} +1 -1
- package/dist/ptcw-design/{p-574680c3.entry.js → p-c83efab5.entry.js} +1 -1
- package/dist/ptcw-design/p-c852499f.entry.js +1 -0
- package/dist/ptcw-design/{p-a24ecd75.entry.js → p-c9342bd2.entry.js} +1 -1
- package/dist/ptcw-design/{p-69dd7c50.entry.js → p-c9ded71b.entry.js} +1 -1
- package/dist/ptcw-design/{p-dd6501a8.entry.js → p-cff0b2b0.entry.js} +1 -1
- package/dist/ptcw-design/{p-5e08dc82.entry.js → p-d7e11aad.entry.js} +1 -1
- package/dist/ptcw-design/{p-97587e57.entry.js → p-d94d1fa5.entry.js} +1 -1
- package/dist/ptcw-design/p-da15fae5.entry.js +1 -0
- package/dist/ptcw-design/{p-0f9b2495.entry.js → p-dc64e2d4.entry.js} +1 -1
- package/dist/ptcw-design/{p-fb4779ce.entry.js → p-ddf7819e.entry.js} +1 -1
- package/dist/ptcw-design/{p-08658fa3.entry.js → p-dea73da3.entry.js} +1 -1
- package/dist/ptcw-design/{p-59058faa.entry.js → p-deed8ef6.entry.js} +1 -1
- package/dist/ptcw-design/{p-c7bd4d99.entry.js → p-e282af3d.entry.js} +1 -1
- package/dist/ptcw-design/{p-c5fadad0.entry.js → p-e2be8313.entry.js} +1 -1
- package/dist/ptcw-design/{p-af3d5be7.entry.js → p-e329399d.entry.js} +1 -1
- package/dist/ptcw-design/{p-e6fa27fb.entry.js → p-e8127819.entry.js} +1 -1
- package/dist/ptcw-design/p-edc34ad7.entry.js +1 -0
- package/dist/ptcw-design/{p-eed3687b.entry.js → p-effa1f41.entry.js} +1 -1
- package/dist/ptcw-design/{p-a944a3be.entry.js → p-f4479b50.entry.js} +1 -1
- package/dist/ptcw-design/{p-49dc9b68.entry.js → p-f927e1f9.entry.js} +1 -1
- package/dist/ptcw-design/{p-2318d652.entry.js → p-fbf6f66c.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/ptc-featured-list/fl-tab-content/fl-tab-content.d.ts +5 -0
- package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +10 -0
- package/dist/types/components/ptc-featured-list/fl-tab-image/fl-tab-image.d.ts +5 -0
- package/dist/types/components/ptc-featured-list/ptc-featured-list.d.ts +11 -0
- package/dist/types/components.d.ts +71 -0
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/max-width-container_3.cjs.entry.js +0 -237
- package/dist/cjs/ptc-para_2.cjs.entry.js +0 -94
- package/dist/cjs/ptc-tooltip.cjs.entry.js +0 -106
- package/dist/esm/max-width-container_3.entry.js +0 -231
- package/dist/esm/ptc-para_2.entry.js +0 -89
- package/dist/esm/ptc-tooltip.entry.js +0 -102
- package/dist/ptcw-design/p-1b7841bd.entry.js +0 -1
- package/dist/ptcw-design/p-362c38ff.entry.js +0 -1
- package/dist/ptcw-design/p-718d6ae8.entry.js +0 -1
- package/dist/ptcw-design/p-ba213813.entry.js +0 -1
- package/dist/ptcw-design/p-baabdb8a.entry.js +0 -1
- package/dist/ptcw-design/p-e2b29e4b.entry.js +0 -1
- package/dist/ptcw-design/p-e93dcf82.entry.js +0 -1
- package/dist/ptcw-design/p-f041f6e7.entry.js +0 -1
- package/dist/ptcw-design/p-f74283c6.entry.js +0 -1
- package/dist/ptcw-design/p-f8fa5a02.entry.js +0 -1
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Host, h } from '@stencil/core';
|
|
2
|
+
export class FlTabContent {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.name = undefined;
|
|
5
|
+
this.selected = false;
|
|
6
|
+
}
|
|
7
|
+
render() {
|
|
8
|
+
return (h(Host, { class: `featured-content ${this.selected ? 'selected' : ''}` }, h("div", { class: "fl-content-wrap" }, h("slot", null))));
|
|
9
|
+
}
|
|
10
|
+
static get is() { return "fl-tab-content"; }
|
|
11
|
+
static get encapsulation() { return "shadow"; }
|
|
12
|
+
static get originalStyleUrls() {
|
|
13
|
+
return {
|
|
14
|
+
"$": ["fl-tab-content.scss"]
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
static get styleUrls() {
|
|
18
|
+
return {
|
|
19
|
+
"$": ["fl-tab-content.css"]
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
static get properties() {
|
|
23
|
+
return {
|
|
24
|
+
"name": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"mutable": false,
|
|
27
|
+
"complexType": {
|
|
28
|
+
"original": "string",
|
|
29
|
+
"resolved": "string",
|
|
30
|
+
"references": {}
|
|
31
|
+
},
|
|
32
|
+
"required": false,
|
|
33
|
+
"optional": false,
|
|
34
|
+
"docs": {
|
|
35
|
+
"tags": [],
|
|
36
|
+
"text": ""
|
|
37
|
+
},
|
|
38
|
+
"attribute": "name",
|
|
39
|
+
"reflect": false
|
|
40
|
+
},
|
|
41
|
+
"selected": {
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"mutable": false,
|
|
44
|
+
"complexType": {
|
|
45
|
+
"original": "boolean",
|
|
46
|
+
"resolved": "boolean",
|
|
47
|
+
"references": {}
|
|
48
|
+
},
|
|
49
|
+
"required": false,
|
|
50
|
+
"optional": false,
|
|
51
|
+
"docs": {
|
|
52
|
+
"tags": [],
|
|
53
|
+
"text": ""
|
|
54
|
+
},
|
|
55
|
+
"attribute": "selected",
|
|
56
|
+
"reflect": false,
|
|
57
|
+
"defaultValue": "false"
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
:host p {
|
|
5
|
+
color: var(--color-gray-10);
|
|
6
|
+
font-size: var(--ptc-font-size-medium);
|
|
7
|
+
font-weight: var(--ptc-font-weight-bold);
|
|
8
|
+
line-height: var(--ptc-line-height-densest);
|
|
9
|
+
margin: 0;
|
|
10
|
+
padding: 0;
|
|
11
|
+
}
|
|
12
|
+
@media only screen and (min-width: 992px) {
|
|
13
|
+
:host p {
|
|
14
|
+
font-size: var(--ptc-font-size-small);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Host, h } from '@stencil/core';
|
|
2
|
+
export class FlTabHeader {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.tabTitle = undefined;
|
|
5
|
+
this.name = undefined;
|
|
6
|
+
this.selected = false;
|
|
7
|
+
}
|
|
8
|
+
handleClick(event) {
|
|
9
|
+
this.flTabClicked.emit({
|
|
10
|
+
'sender': this,
|
|
11
|
+
'event': event,
|
|
12
|
+
'name': this.name
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
return (h(Host, { class: `fl-header ${this.selected ? 'selected' : ''}`, onClick: this.handleClick.bind(this) }, h("slot", null), h("p", null, this.tabTitle)));
|
|
17
|
+
}
|
|
18
|
+
static get is() { return "fl-tab-header"; }
|
|
19
|
+
static get encapsulation() { return "shadow"; }
|
|
20
|
+
static get originalStyleUrls() {
|
|
21
|
+
return {
|
|
22
|
+
"$": ["fl-tab-header.scss"]
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
static get styleUrls() {
|
|
26
|
+
return {
|
|
27
|
+
"$": ["fl-tab-header.css"]
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
static get properties() {
|
|
31
|
+
return {
|
|
32
|
+
"tabTitle": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"mutable": false,
|
|
35
|
+
"complexType": {
|
|
36
|
+
"original": "string",
|
|
37
|
+
"resolved": "string",
|
|
38
|
+
"references": {}
|
|
39
|
+
},
|
|
40
|
+
"required": false,
|
|
41
|
+
"optional": false,
|
|
42
|
+
"docs": {
|
|
43
|
+
"tags": [],
|
|
44
|
+
"text": ""
|
|
45
|
+
},
|
|
46
|
+
"attribute": "tab-title",
|
|
47
|
+
"reflect": false
|
|
48
|
+
},
|
|
49
|
+
"name": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"mutable": false,
|
|
52
|
+
"complexType": {
|
|
53
|
+
"original": "string",
|
|
54
|
+
"resolved": "string",
|
|
55
|
+
"references": {}
|
|
56
|
+
},
|
|
57
|
+
"required": false,
|
|
58
|
+
"optional": false,
|
|
59
|
+
"docs": {
|
|
60
|
+
"tags": [],
|
|
61
|
+
"text": ""
|
|
62
|
+
},
|
|
63
|
+
"attribute": "name",
|
|
64
|
+
"reflect": false
|
|
65
|
+
},
|
|
66
|
+
"selected": {
|
|
67
|
+
"type": "boolean",
|
|
68
|
+
"mutable": false,
|
|
69
|
+
"complexType": {
|
|
70
|
+
"original": "boolean",
|
|
71
|
+
"resolved": "boolean",
|
|
72
|
+
"references": {}
|
|
73
|
+
},
|
|
74
|
+
"required": false,
|
|
75
|
+
"optional": false,
|
|
76
|
+
"docs": {
|
|
77
|
+
"tags": [],
|
|
78
|
+
"text": ""
|
|
79
|
+
},
|
|
80
|
+
"attribute": "selected",
|
|
81
|
+
"reflect": false,
|
|
82
|
+
"defaultValue": "false"
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
static get events() {
|
|
87
|
+
return [{
|
|
88
|
+
"method": "flTabClicked",
|
|
89
|
+
"name": "flTabClicked",
|
|
90
|
+
"bubbles": true,
|
|
91
|
+
"cancelable": true,
|
|
92
|
+
"composed": true,
|
|
93
|
+
"docs": {
|
|
94
|
+
"tags": [],
|
|
95
|
+
"text": ""
|
|
96
|
+
},
|
|
97
|
+
"complexType": {
|
|
98
|
+
"original": "any",
|
|
99
|
+
"resolved": "any",
|
|
100
|
+
"references": {}
|
|
101
|
+
}
|
|
102
|
+
}];
|
|
103
|
+
}
|
|
104
|
+
static get elementRef() { return "el"; }
|
|
105
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: none;
|
|
3
|
+
height: 240px;
|
|
4
|
+
}
|
|
5
|
+
@media only screen and (min-width: 480px) {
|
|
6
|
+
:host {
|
|
7
|
+
height: 320px;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
@media only screen and (min-width: 768px) {
|
|
11
|
+
:host {
|
|
12
|
+
height: 450px;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@media only screen and (min-width: 992px) {
|
|
16
|
+
:host {
|
|
17
|
+
height: 500px;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:host(.init-active) {
|
|
22
|
+
display: block;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:host(.selected) {
|
|
26
|
+
display: block;
|
|
27
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Host, h } from '@stencil/core';
|
|
2
|
+
export class FlTabImage {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.name = undefined;
|
|
5
|
+
this.selected = false;
|
|
6
|
+
}
|
|
7
|
+
render() {
|
|
8
|
+
return (h(Host, { class: `featured-img ${this.selected ? 'selected' : ''}` }, h("slot", null)));
|
|
9
|
+
}
|
|
10
|
+
static get is() { return "fl-tab-image"; }
|
|
11
|
+
static get encapsulation() { return "shadow"; }
|
|
12
|
+
static get originalStyleUrls() {
|
|
13
|
+
return {
|
|
14
|
+
"$": ["fl-tab-image.scss"]
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
static get styleUrls() {
|
|
18
|
+
return {
|
|
19
|
+
"$": ["fl-tab-image.css"]
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
static get properties() {
|
|
23
|
+
return {
|
|
24
|
+
"name": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"mutable": false,
|
|
27
|
+
"complexType": {
|
|
28
|
+
"original": "string",
|
|
29
|
+
"resolved": "string",
|
|
30
|
+
"references": {}
|
|
31
|
+
},
|
|
32
|
+
"required": false,
|
|
33
|
+
"optional": false,
|
|
34
|
+
"docs": {
|
|
35
|
+
"tags": [],
|
|
36
|
+
"text": ""
|
|
37
|
+
},
|
|
38
|
+
"attribute": "name",
|
|
39
|
+
"reflect": false
|
|
40
|
+
},
|
|
41
|
+
"selected": {
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"mutable": false,
|
|
44
|
+
"complexType": {
|
|
45
|
+
"original": "boolean",
|
|
46
|
+
"resolved": "boolean",
|
|
47
|
+
"references": {}
|
|
48
|
+
},
|
|
49
|
+
"required": false,
|
|
50
|
+
"optional": false,
|
|
51
|
+
"docs": {
|
|
52
|
+
"tags": [],
|
|
53
|
+
"text": ""
|
|
54
|
+
},
|
|
55
|
+
"attribute": "selected",
|
|
56
|
+
"reflect": false,
|
|
57
|
+
"defaultValue": "false"
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
a {
|
|
2
|
+
font-family: var(--ptc-font-latin);
|
|
3
|
+
font-style: var(--ptc-font-style-normal);
|
|
4
|
+
text-decoration-line: underline;
|
|
5
|
+
color: var(--color-blue-07);
|
|
6
|
+
transition: color var(--ptc-transition-medium) var(--ptc-ease-out);
|
|
7
|
+
font-weight: var(--ptc-font-weight-bold);
|
|
8
|
+
}
|
|
9
|
+
a:visited {
|
|
10
|
+
color: var(--color-blue-10);
|
|
11
|
+
}
|
|
12
|
+
a:active, a:visited:active {
|
|
13
|
+
color: var(--color-blue-09);
|
|
14
|
+
}
|
|
15
|
+
a:hover, a:visited:hover {
|
|
16
|
+
color: var(--color-blue-08);
|
|
17
|
+
}
|
|
18
|
+
a.disabled {
|
|
19
|
+
color: var(--color-gray-04) !important;
|
|
20
|
+
cursor: not-allowed;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.light-links a, .light-links a.light-link, .background-grey-10 a, .background-grey-10 a.light-link, .background-plm-grey a, .background-plm-grey a.light-link {
|
|
24
|
+
color: var(--color-blue-04);
|
|
25
|
+
}
|
|
26
|
+
.light-links a:visited, .light-links a.light-link:visited, .background-grey-10 a:visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:visited, .background-plm-grey a.light-link:visited {
|
|
27
|
+
color: var(--color-blue-06);
|
|
28
|
+
}
|
|
29
|
+
.light-links a:active, .light-links a:visited:active, .light-links a.light-link:active, .light-links a.light-link:visited:active, .background-grey-10 a:active, .background-grey-10 a:visited:active, .background-grey-10 a.light-link:active, .background-grey-10 a.light-link:visited:active, .background-plm-grey a:active, .background-plm-grey a:visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
|
|
30
|
+
color: var(--color-blue-07);
|
|
31
|
+
}
|
|
32
|
+
.light-links a:hover, .light-links a:visited:hover, .light-links a.light-link:hover, .light-links a.light-link:visited:hover, .background-grey-10 a:hover, .background-grey-10 a:visited:hover, .background-grey-10 a.light-link:hover, .background-grey-10 a.light-link:visited:hover, .background-plm-grey a:hover, .background-plm-grey a:visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
|
|
33
|
+
color: var(--color-blue-05);
|
|
34
|
+
}
|
|
35
|
+
.light-links a.disabled, .light-links a.light-link.disabled, .background-grey-10 a.disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a.disabled, .background-plm-grey a.light-link.disabled {
|
|
36
|
+
color: var(--color-gray-04) !important;
|
|
37
|
+
cursor: not-allowed;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.ptc-link {
|
|
41
|
+
color: var(--color-gray-10);
|
|
42
|
+
text-decoration: underline;
|
|
43
|
+
text-decoration-thickness: 2px;
|
|
44
|
+
text-decoration-color: var(--color-green-06);
|
|
45
|
+
text-underline-offset: 5px;
|
|
46
|
+
transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);
|
|
47
|
+
}
|
|
48
|
+
.ptc-link:hover {
|
|
49
|
+
color: var(--color-green-06);
|
|
50
|
+
}
|
|
51
|
+
.ptc-link:visited {
|
|
52
|
+
color: var(--color-gray-10);
|
|
53
|
+
}
|
|
54
|
+
.ptc-link:active, .ptc-link:visited:active {
|
|
55
|
+
color: var(--color-green-06);
|
|
56
|
+
}
|
|
57
|
+
.ptc-link:hover, .ptc-link:visited:hover {
|
|
58
|
+
color: var(--color-green-06);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ptc-link-dark {
|
|
62
|
+
color: var(--color-white);
|
|
63
|
+
text-decoration: underline;
|
|
64
|
+
text-decoration-thickness: 2px;
|
|
65
|
+
text-decoration-color: var(--color-green-06);
|
|
66
|
+
text-underline-offset: 5px;
|
|
67
|
+
transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);
|
|
68
|
+
}
|
|
69
|
+
.ptc-link-dark:hover {
|
|
70
|
+
color: var(--color-green-06);
|
|
71
|
+
}
|
|
72
|
+
.ptc-link-dark:visited {
|
|
73
|
+
color: var(--color-white);
|
|
74
|
+
}
|
|
75
|
+
.ptc-link-dark:active, .ptc-link-dark:visited:active {
|
|
76
|
+
color: var(--color-green-06);
|
|
77
|
+
}
|
|
78
|
+
.ptc-link-dark:hover, .ptc-link-dark:visited:hover {
|
|
79
|
+
color: var(--color-green-06);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
:host {
|
|
83
|
+
display: block;
|
|
84
|
+
box-sizing: border-box;
|
|
85
|
+
}
|
|
86
|
+
:host ptc-background-video {
|
|
87
|
+
height: 240px;
|
|
88
|
+
}
|
|
89
|
+
@media only screen and (min-width: 480px) {
|
|
90
|
+
:host ptc-background-video {
|
|
91
|
+
height: 320px;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
@media only screen and (min-width: 768px) {
|
|
95
|
+
:host ptc-background-video {
|
|
96
|
+
height: 450px;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
@media only screen and (min-width: 992px) {
|
|
100
|
+
:host ptc-background-video {
|
|
101
|
+
height: 500px;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
:host .fl-header {
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
}
|
|
107
|
+
:host .non-mobile-wrapper {
|
|
108
|
+
box-sizing: border-box;
|
|
109
|
+
}
|
|
110
|
+
@media only screen and (min-width: 992px) {
|
|
111
|
+
:host .non-mobile-wrapper {
|
|
112
|
+
max-width: 1078px;
|
|
113
|
+
margin: -75px auto 0 auto;
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
width: 100%;
|
|
117
|
+
background: var(--color-white);
|
|
118
|
+
box-shadow: var(--ptc-shadow-small);
|
|
119
|
+
padding: 24px 32px;
|
|
120
|
+
z-index: 1;
|
|
121
|
+
position: relative;
|
|
122
|
+
min-height: 350px;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
@media only screen and (min-width: 992px) {
|
|
126
|
+
:host .non-mobile-wrapper .header-list-wrap {
|
|
127
|
+
padding-right: 16px;
|
|
128
|
+
margin-right: 64px;
|
|
129
|
+
min-width: 270px;
|
|
130
|
+
max-width: 270px;
|
|
131
|
+
box-sizing: border-box;
|
|
132
|
+
display: flex;
|
|
133
|
+
flex-direction: column;
|
|
134
|
+
align-items: baseline;
|
|
135
|
+
}
|
|
136
|
+
:host .non-mobile-wrapper .header-list-wrap::after {
|
|
137
|
+
content: "";
|
|
138
|
+
width: 1px;
|
|
139
|
+
height: calc(100% - 48px);
|
|
140
|
+
background-color: var(--color-gray-05);
|
|
141
|
+
position: absolute;
|
|
142
|
+
left: 297px;
|
|
143
|
+
top: 24px;
|
|
144
|
+
bottom: 24px;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
@media only screen and (min-width: 992px) {
|
|
148
|
+
:host .non-mobile-wrapper .content-wrap {
|
|
149
|
+
padding-right: 72px;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
:host .non-mobile-wrapper .fl-header {
|
|
153
|
+
border-radius: 4px;
|
|
154
|
+
margin: 12px 0;
|
|
155
|
+
padding: 4px 8px;
|
|
156
|
+
}
|
|
157
|
+
:host .non-mobile-wrapper .fl-header:hover {
|
|
158
|
+
background-color: var(--color-gray-02);
|
|
159
|
+
}
|
|
160
|
+
:host .non-mobile-wrapper .fl-header.selected, :host .non-mobile-wrapper .fl-header.init-active {
|
|
161
|
+
background-color: var(--color-gray-03);
|
|
162
|
+
}
|
|
163
|
+
:host .mobile-wrapper .acc-item {
|
|
164
|
+
border-bottom: 1px solid var(--color-gray-03);
|
|
165
|
+
padding: 14px 30px;
|
|
166
|
+
}
|
|
167
|
+
:host .mobile-wrapper .acc-item fl-tab-header {
|
|
168
|
+
padding-left: 34px;
|
|
169
|
+
position: relative;
|
|
170
|
+
}
|
|
171
|
+
:host .mobile-wrapper .acc-item fl-tab-header::before {
|
|
172
|
+
content: "";
|
|
173
|
+
display: inline-block;
|
|
174
|
+
width: 16px;
|
|
175
|
+
height: 16px;
|
|
176
|
+
background-image: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(%23clip0_91_790)"><path d="M15.9001 6.29998H9.7001V0.0999756H6.3001V6.29998H0.100098V9.69998H6.3001V15.9H9.7001V9.69998H15.9001V6.29998Z" fill="%23006E09"/></g><defs><clipPath id="clip0_91_790"><rect width="16" height="16" fill="white"/></clipPath></defs></svg>');
|
|
177
|
+
vertical-align: middle;
|
|
178
|
+
position: absolute;
|
|
179
|
+
left: 0;
|
|
180
|
+
top: 4.5px;
|
|
181
|
+
}
|
|
182
|
+
:host .mobile-wrapper .acc-item fl-tab-header.selected::before, :host .mobile-wrapper .acc-item fl-tab-header.init-active::before {
|
|
183
|
+
background-image: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(%23clip0_113_741)"><path d="M0 7.05566V10.8637H13.913V7.05566H0Z" fill="%23323B42"/></g><defs><clipPath id="clip0_113_741"><rect width="13.913" height="17.92" fill="white"/></clipPath></defs></svg>');
|
|
184
|
+
}
|
|
185
|
+
:host .mobile-wrapper .acc-item fl-tab-content {
|
|
186
|
+
padding-left: 34px;
|
|
187
|
+
padding-bottom: 18px;
|
|
188
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { Host, h } from '@stencil/core';
|
|
2
|
+
export class PtcFeaturedList {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.isMobile = undefined;
|
|
5
|
+
this.selectedTabGloble = 'tab-01';
|
|
6
|
+
}
|
|
7
|
+
handleResize() {
|
|
8
|
+
this.isMobile = window.innerWidth < 992;
|
|
9
|
+
this.holdTabOnResize(this.selectedTabGloble);
|
|
10
|
+
}
|
|
11
|
+
componentWillLoad() {
|
|
12
|
+
this.isMobile = window.innerWidth < 992;
|
|
13
|
+
}
|
|
14
|
+
handleflTabClicked(event) {
|
|
15
|
+
this.selectedTabGloble = event.detail.name;
|
|
16
|
+
this.selectTab(this.selectedTabGloble);
|
|
17
|
+
}
|
|
18
|
+
holdTabOnResize(name) {
|
|
19
|
+
const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
|
|
20
|
+
contentBlocks.forEach(content => {
|
|
21
|
+
if (content.classList.contains("init-active")) {
|
|
22
|
+
content.classList.remove("init-active");
|
|
23
|
+
}
|
|
24
|
+
content.selected = content.name === name;
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
selectTab(name) {
|
|
28
|
+
const featuredImages = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-image`);
|
|
29
|
+
const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
|
|
30
|
+
const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
|
|
31
|
+
featuredImages.forEach(image => {
|
|
32
|
+
if (image.classList.contains("init-active")) {
|
|
33
|
+
image.classList.remove("init-active");
|
|
34
|
+
}
|
|
35
|
+
image.selected = image.name === name;
|
|
36
|
+
});
|
|
37
|
+
contentBlocks.forEach(content => {
|
|
38
|
+
if (this.isMobile) {
|
|
39
|
+
if (content.name === name) {
|
|
40
|
+
if (content.classList.contains("init-active")) {
|
|
41
|
+
content.selected = false;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
content.selected = !content.selected;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
content.selected = false;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
content.selected = content.name === name;
|
|
53
|
+
}
|
|
54
|
+
if (content.classList.contains("init-active")) {
|
|
55
|
+
content.classList.remove("init-active");
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
headerBlocks.forEach(header => {
|
|
59
|
+
if (this.isMobile) {
|
|
60
|
+
if (header.name === name) {
|
|
61
|
+
if (header.classList.contains("init-active")) {
|
|
62
|
+
header.selected = false;
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
header.selected = !header.selected;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
header.selected = false;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
header.selected = header.name === name;
|
|
74
|
+
}
|
|
75
|
+
if (header.classList.contains("init-active")) {
|
|
76
|
+
header.classList.remove("init-active");
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
render() {
|
|
81
|
+
return (h(Host, null, h("div", { class: "featured-image-wrap" }, h("fl-tab-image", { name: "tab-01", class: "init-active" }, h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" })), h("fl-tab-image", { name: "tab-02" }, h("ptc-background-video", { overlay: false, "play-button-title": "Play", "pause-button-title": "Pause", "video-src": "https://www.ptc.com/en/www.ptc.com//-/media/Videos/BRAND-FILM-CAR-SECTION-short-1mb.mp4", "poster-src": "https://www.ptc.com/-/media/Images/new-org/misc/W232501-LWX23-Hero-Banner-Video-FINAL-jebyrne-110922-screenshot.jpg" })), h("fl-tab-image", { name: "tab-03" }, h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "https://www.ptc.com/-/media/Images/new-org/1366x542/CIMC-1366x542.jpg?h=542&w=1366&la=en&hash=56AE14F73CFB62C24276D08E556B0949" })), h("fl-tab-image", { name: "tab-04" }, h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "https://www.ptc.com/-/media/Images/new-org/1366x542/ThingWorx_IIOT_CaterpillarCS_Img_1366x542.jpg?h=542&w=1366&la=en&hash=627ED00C1F58E3677A06F50C0F3009D6" }))), this.isMobile ? (
|
|
82
|
+
// Code for mobile only
|
|
83
|
+
h("div", { class: "mobile-wrapper" }, h("div", { class: 'acc-item' }, h("fl-tab-header", { name: "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), h("fl-tab-content", { name: "tab-01", class: "init-active" }, h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense"))), h("div", { class: 'acc-item' }, h("fl-tab-header", { name: "tab-02", "tab-title": "Automotive" }), h("fl-tab-content", { name: "tab-02" }, h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense"))), h("div", { class: 'acc-item' }, h("fl-tab-header", { name: "tab-03", "tab-title": "Electronics & High-Tech" }), h("fl-tab-content", { name: "tab-03" }, h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense"))), h("div", { class: 'acc-item' }, h("fl-tab-header", { name: "tab-04", "tab-title": "Retail & Consumer Products" }), h("fl-tab-content", { name: "tab-04" }, h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense")))))
|
|
84
|
+
:
|
|
85
|
+
(
|
|
86
|
+
// Code for Desktop only
|
|
87
|
+
h("div", { class: "non-mobile-wrapper" }, h("div", { class: "header-list-wrap" }, h("fl-tab-header", { name: "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), h("fl-tab-header", { name: "tab-02", "tab-title": "Automotive" }), h("fl-tab-header", { name: "tab-03", "tab-title": "Electronics & High-Tech" }), h("fl-tab-header", { name: "tab-04", "tab-title": "Retail & Consumer Products" })), h("div", { class: "content-wrap" }, h("fl-tab-content", { name: "tab-01", class: "init-active" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Aerospace & Defense"), h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense")), h("fl-tab-content", { name: "tab-02" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Automotive"), h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense")), h("fl-tab-content", { name: "tab-03" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Electronics & High-Tech"), h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Deliver the future of transportation and mobility and gain competitive advantage. Explore automotive solutions for OEMs and suppliers so your team can help drive the future of transportation."), h("a", { href: '#' }, "See More about Aerospace & Defense")), h("fl-tab-content", { name: "tab-04" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Retail & Consumer Products"), h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Navigate supply chain disruption while maximizing revenue growth and sustainability. Explore how PTC\u2019s digital solutions can accelerate product innovation, supply chain collaboration, and more."), h("a", { href: '#' }, "See More about Aerospace & Defense")))))));
|
|
88
|
+
}
|
|
89
|
+
static get is() { return "ptc-featured-list"; }
|
|
90
|
+
static get encapsulation() { return "shadow"; }
|
|
91
|
+
static get originalStyleUrls() {
|
|
92
|
+
return {
|
|
93
|
+
"$": ["ptc-featured-list.scss"]
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
static get styleUrls() {
|
|
97
|
+
return {
|
|
98
|
+
"$": ["ptc-featured-list.css"]
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
static get states() {
|
|
102
|
+
return {
|
|
103
|
+
"isMobile": {},
|
|
104
|
+
"selectedTabGloble": {}
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
static get elementRef() { return "hostElement"; }
|
|
108
|
+
static get listeners() {
|
|
109
|
+
return [{
|
|
110
|
+
"name": "resize",
|
|
111
|
+
"method": "handleResize",
|
|
112
|
+
"target": "window",
|
|
113
|
+
"capture": false,
|
|
114
|
+
"passive": true
|
|
115
|
+
}, {
|
|
116
|
+
"name": "flTabClicked",
|
|
117
|
+
"method": "handleflTabClicked",
|
|
118
|
+
"target": "document",
|
|
119
|
+
"capture": false,
|
|
120
|
+
"passive": false
|
|
121
|
+
}];
|
|
122
|
+
}
|
|
123
|
+
}
|
|
@@ -7,7 +7,7 @@ export class PtcMinimizedNav {
|
|
|
7
7
|
this.navType = 'minimized-header';
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, null,
|
|
10
|
+
return (h(Host, null, this.navType == 'minimized-header' ? (h("div", { class: "minimized-header" }, h("div", { class: "header" }, h("div", { class: "temp-container" }, h("a", { class: "mini-navbar-logo", href: this.linkUrl }, h("img", { src: this.imgSrc, alt: this.imgAlt })))))) : null, this.navType == 'minimized-footer' ? (h("div", { class: "ptc-min-footer mini-footer" }, h("div", { class: "min-footer-copyright-wrapper" }, h("ul", { class: "min-footer-nav-list min-footer-copyright-list" }, h("slot", null))))) : null));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "ptc-minimized-nav"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class PtcSlitCard {
|
|
|
18
18
|
]
|
|
19
19
|
: null, !!this.content
|
|
20
20
|
? [
|
|
21
|
-
h("div", { class: "card-body" }, h("ptc-para", { "font-size": "xx-small", "font-weight": "w-6", "para-margin": "margin-flush", "para-style": "main", "para-line-h": "line-height-dense" },
|
|
21
|
+
h("div", { class: "card-body" }, h("ptc-para", { "font-size": "xx-small", "font-weight": "w-6", "para-margin": "margin-flush", "para-style": "main", "para-line-h": "line-height-dense" }, this.content))
|
|
22
22
|
]
|
|
23
23
|
: null)));
|
|
24
24
|
}
|
|
@@ -26,6 +26,24 @@ export const DynamicBoxBundle: {
|
|
|
26
26
|
new (): DynamicBoxBundle;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
+
interface FlTabContent extends Components.FlTabContent, HTMLElement {}
|
|
30
|
+
export const FlTabContent: {
|
|
31
|
+
prototype: FlTabContent;
|
|
32
|
+
new (): FlTabContent;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
interface FlTabHeader extends Components.FlTabHeader, HTMLElement {}
|
|
36
|
+
export const FlTabHeader: {
|
|
37
|
+
prototype: FlTabHeader;
|
|
38
|
+
new (): FlTabHeader;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
interface FlTabImage extends Components.FlTabImage, HTMLElement {}
|
|
42
|
+
export const FlTabImage: {
|
|
43
|
+
prototype: FlTabImage;
|
|
44
|
+
new (): FlTabImage;
|
|
45
|
+
};
|
|
46
|
+
|
|
29
47
|
interface IconAsset extends Components.IconAsset, HTMLElement {}
|
|
30
48
|
export const IconAsset: {
|
|
31
49
|
prototype: IconAsset;
|
|
@@ -176,6 +194,12 @@ export const PtcEllipsisDropdown: {
|
|
|
176
194
|
new (): PtcEllipsisDropdown;
|
|
177
195
|
};
|
|
178
196
|
|
|
197
|
+
interface PtcFeaturedList extends Components.PtcFeaturedList, HTMLElement {}
|
|
198
|
+
export const PtcFeaturedList: {
|
|
199
|
+
prototype: PtcFeaturedList;
|
|
200
|
+
new (): PtcFeaturedList;
|
|
201
|
+
};
|
|
202
|
+
|
|
179
203
|
interface PtcFilterTag extends Components.PtcFilterTag, HTMLElement {}
|
|
180
204
|
export const PtcFilterTag: {
|
|
181
205
|
prototype: PtcFilterTag;
|