@ptcwebops/ptcw-design 6.4.28-beta → 6.4.29-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/icon-asset_17.cjs.entry.js +3 -3
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-blue-pill-announcement-bar.cjs.entry.js +19 -0
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +11 -4
- package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
- package/dist/cjs/ptc-overlay.cjs.entry.js +1 -1
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
- package/dist/cjs/ptc-store-card-list.cjs.entry.js +110 -0
- package/dist/cjs/ptc-store-card.cjs.entry.js +24 -0
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
- package/dist/cjs/ptc-white-paper.cjs.entry.js +1 -1
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +4 -0
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +4 -0
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +4 -0
- package/dist/collection/components/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.css +93 -0
- package/dist/collection/components/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.js +18 -0
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +4 -0
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +4 -0
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +4 -0
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +4 -0
- package/dist/collection/components/ptc-modal/ptc-modal.css +10 -0
- package/dist/collection/components/ptc-modal/ptc-modal.js +46 -3
- package/dist/collection/components/ptc-overlay/ptc-overlay.css +4 -0
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +1 -1
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +4 -0
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +4 -0
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +4 -0
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +4 -0
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +4 -0
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +4 -0
- package/dist/collection/components/ptc-store-card/ptc-store-card.css +100 -0
- package/dist/collection/components/ptc-store-card/ptc-store-card.js +25 -0
- package/dist/collection/components/ptc-store-card-list/ptc-store-card-list.css +1167 -0
- package/dist/collection/components/ptc-store-card-list/ptc-store-card-list.js +108 -0
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +4 -0
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +4 -0
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +4 -0
- package/dist/collection/stories/BluePillAnnouncementBar.stories.js +19 -0
- package/dist/collection/stories/organisms/ptc/E Store Build Product/preview.stories.js +13 -2
- package/dist/collection/stories/organisms/ptc/E Store Creo Extension/preview.stories.js +798 -0
- package/dist/custom-elements/index.d.ts +18 -0
- package/dist/custom-elements/index.js +171 -24
- package/dist/esm/featured-list.entry.js +1 -1
- package/dist/esm/icon-asset_17.entry.js +3 -3
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +1 -1
- package/dist/esm/ptc-blue-pill-announcement-bar.entry.js +15 -0
- package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
- package/dist/esm/ptc-close-icon_2.entry.js +11 -4
- package/dist/esm/ptc-featured-list.entry.js +1 -1
- package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
- package/dist/esm/ptc-jumbotron.entry.js +1 -1
- package/dist/esm/ptc-overlay.entry.js +1 -1
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-readmore-char.entry.js +1 -1
- package/dist/esm/ptc-readmore-v3.entry.js +1 -1
- package/dist/esm/ptc-store-card-list.entry.js +106 -0
- package/dist/esm/ptc-store-card.entry.js +20 -0
- package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
- package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +1 -1
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/ptcw-design/{p-41cec14d.entry.js → p-0dac6766.entry.js} +1 -1
- package/dist/ptcw-design/{p-784c16ce.entry.js → p-1149e673.entry.js} +1 -1
- package/dist/ptcw-design/{p-4619f5a6.entry.js → p-1e4d0bb7.entry.js} +1 -1
- package/dist/ptcw-design/{p-138b2434.entry.js → p-20dfd7bd.entry.js} +1 -1
- package/dist/ptcw-design/{p-4c4a64bb.entry.js → p-27cd474f.entry.js} +1 -1
- package/dist/ptcw-design/p-2e1c6701.entry.js +1 -0
- package/dist/ptcw-design/p-4fd2afc0.entry.js +1 -0
- package/dist/ptcw-design/{p-a668ad65.entry.js → p-6481e853.entry.js} +1 -1
- package/dist/ptcw-design/{p-20f04b2a.entry.js → p-6cfb5642.entry.js} +1 -1
- package/dist/ptcw-design/{p-8e24e586.entry.js → p-769954c9.entry.js} +1 -1
- package/dist/ptcw-design/{p-c137315d.entry.js → p-828edda6.entry.js} +1 -1
- package/dist/ptcw-design/p-93b75e12.entry.js +1 -0
- package/dist/ptcw-design/p-af46854e.entry.js +1 -0
- package/dist/ptcw-design/{p-e076d2ba.entry.js → p-b0fb4c93.entry.js} +1 -1
- package/dist/ptcw-design/p-b880fb62.entry.js +1 -0
- package/dist/ptcw-design/{p-3ef5c51f.entry.js → p-bdbf2c61.entry.js} +1 -1
- package/dist/ptcw-design/{p-d0013567.entry.js → p-ce39cff2.entry.js} +1 -1
- package/dist/ptcw-design/{p-0aa52a96.entry.js → p-d4dcba82.entry.js} +1 -1
- package/dist/ptcw-design/{p-ca63a0c9.entry.js → p-fe445a4a.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.css +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.d.ts +3 -0
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +8 -0
- package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +1 -1
- package/dist/types/components/ptc-store-card/ptc-store-card.d.ts +6 -0
- package/dist/types/components/ptc-store-card-list/ptc-store-card-list.d.ts +18 -0
- package/dist/types/components.d.ts +57 -0
- package/package.json +1 -1
- package/readme.md +3 -3
- package/dist/ptcw-design/p-5d6f17e3.entry.js +0 -1
- package/dist/ptcw-design/p-efd6ee3b.entry.js +0 -1
|
@@ -32,6 +32,8 @@ export class PtcModal {
|
|
|
32
32
|
this.rounded = false;
|
|
33
33
|
this.hideContainer = false;
|
|
34
34
|
this.showHeaderFooter = false;
|
|
35
|
+
this.hideHeader = false;
|
|
36
|
+
this.modernScrollbar = false;
|
|
35
37
|
this.overlayHeight = undefined;
|
|
36
38
|
this.borderRadius = "standard";
|
|
37
39
|
this.isBioModal = false;
|
|
@@ -281,13 +283,18 @@ export class PtcModal {
|
|
|
281
283
|
]
|
|
282
284
|
: null, this.showHeaderFooter
|
|
283
285
|
? [
|
|
284
|
-
h("div", { class: "modal-header" }, h("slot", { name: "header" }), closebtn),
|
|
285
|
-
|
|
286
|
+
!this.hideHeader && (h("div", { class: "modal-header" }, h("slot", { name: "header" }), closebtn)),
|
|
287
|
+
this.hideHeader && closebtn,
|
|
288
|
+
h("div", { class: `modal-body ${this.modernScrollbar
|
|
289
|
+
? "modern-scrollbar"
|
|
290
|
+
: ""}`, onScroll: () => this.handleScroll() }, content),
|
|
286
291
|
h("div", { class: "modal-footer" }, h("slot", { name: "footer" })),
|
|
287
292
|
]
|
|
288
293
|
: [
|
|
289
294
|
closebtn,
|
|
290
|
-
h("div", { class:
|
|
295
|
+
h("div", { class: `modal-body ${this.modernScrollbar
|
|
296
|
+
? "modern-scrollbar"
|
|
297
|
+
: ""}` }, content),
|
|
291
298
|
], this.modalType === "event-listing" &&
|
|
292
299
|
this.bottomCloseBtn
|
|
293
300
|
? [bottomCloseBtnEle]
|
|
@@ -530,6 +537,42 @@ export class PtcModal {
|
|
|
530
537
|
"reflect": false,
|
|
531
538
|
"defaultValue": "false"
|
|
532
539
|
},
|
|
540
|
+
"hideHeader": {
|
|
541
|
+
"type": "boolean",
|
|
542
|
+
"mutable": true,
|
|
543
|
+
"complexType": {
|
|
544
|
+
"original": "boolean",
|
|
545
|
+
"resolved": "boolean",
|
|
546
|
+
"references": {}
|
|
547
|
+
},
|
|
548
|
+
"required": false,
|
|
549
|
+
"optional": true,
|
|
550
|
+
"docs": {
|
|
551
|
+
"tags": [],
|
|
552
|
+
"text": "Sets if popup should hide header"
|
|
553
|
+
},
|
|
554
|
+
"attribute": "hide-header",
|
|
555
|
+
"reflect": false,
|
|
556
|
+
"defaultValue": "false"
|
|
557
|
+
},
|
|
558
|
+
"modernScrollbar": {
|
|
559
|
+
"type": "boolean",
|
|
560
|
+
"mutable": false,
|
|
561
|
+
"complexType": {
|
|
562
|
+
"original": "boolean",
|
|
563
|
+
"resolved": "boolean",
|
|
564
|
+
"references": {}
|
|
565
|
+
},
|
|
566
|
+
"required": false,
|
|
567
|
+
"optional": true,
|
|
568
|
+
"docs": {
|
|
569
|
+
"tags": [],
|
|
570
|
+
"text": "Use modern scrollbar styling for the modal body."
|
|
571
|
+
},
|
|
572
|
+
"attribute": "modern-scrollbar",
|
|
573
|
+
"reflect": false,
|
|
574
|
+
"defaultValue": "false"
|
|
575
|
+
},
|
|
533
576
|
"borderRadius": {
|
|
534
577
|
"type": "string",
|
|
535
578
|
"mutable": true,
|
|
@@ -169,6 +169,10 @@ ptc-footer {
|
|
|
169
169
|
background: linear-gradient(180deg, transparent 0%, transparent 100%);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
+
:host(.white-bottom) {
|
|
173
|
+
background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, #fff 100%);
|
|
174
|
+
}
|
|
175
|
+
|
|
172
176
|
:host(.radius-standard) {
|
|
173
177
|
border-radius: var(--ptc-border-radius-standard);
|
|
174
178
|
}
|
|
@@ -38,7 +38,7 @@ export class PtcOverlay {
|
|
|
38
38
|
"type": "string",
|
|
39
39
|
"mutable": false,
|
|
40
40
|
"complexType": {
|
|
41
|
-
"original": "| \"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| string",
|
|
41
|
+
"original": "| \"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",
|
|
42
42
|
"resolved": "string",
|
|
43
43
|
"references": {}
|
|
44
44
|
},
|
|
@@ -5730,6 +5730,10 @@ ptc-modal inline-form a,
|
|
|
5730
5730
|
outline: 5px solid var(--keyboard-nav-outline);
|
|
5731
5731
|
}
|
|
5732
5732
|
|
|
5733
|
+
.white-links a {
|
|
5734
|
+
color: var(--color-white) !important;
|
|
5735
|
+
}
|
|
5736
|
+
|
|
5733
5737
|
.ptc-link {
|
|
5734
5738
|
color: var(--color-gray-10);
|
|
5735
5739
|
text-decoration: underline;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
h1,
|
|
2
|
+
h2,
|
|
3
|
+
h3,
|
|
4
|
+
h4,
|
|
5
|
+
h5,
|
|
6
|
+
h6,
|
|
7
|
+
p,
|
|
8
|
+
ul,
|
|
9
|
+
li,
|
|
10
|
+
ptc-subnav,
|
|
11
|
+
ptc-tab-list,
|
|
12
|
+
ptc-link,
|
|
13
|
+
ptc-square-card,
|
|
14
|
+
.hyphenate-text,
|
|
15
|
+
ptc-footer {
|
|
16
|
+
word-break: break-word;
|
|
17
|
+
hyphens: manual;
|
|
18
|
+
-webkit-hyphens: manual;
|
|
19
|
+
-moz-hyphens: manual;
|
|
20
|
+
-ms-hyphens: manual;
|
|
21
|
+
}
|
|
22
|
+
@supports (hyphenate-limit-chars: 12 3 3) {
|
|
23
|
+
h1,
|
|
24
|
+
h2,
|
|
25
|
+
h3,
|
|
26
|
+
h4,
|
|
27
|
+
h5,
|
|
28
|
+
h6,
|
|
29
|
+
p,
|
|
30
|
+
ul,
|
|
31
|
+
li,
|
|
32
|
+
ptc-subnav,
|
|
33
|
+
ptc-tab-list,
|
|
34
|
+
ptc-link,
|
|
35
|
+
ptc-square-card,
|
|
36
|
+
.hyphenate-text,
|
|
37
|
+
ptc-footer {
|
|
38
|
+
hyphens: auto;
|
|
39
|
+
-webkit-hyphenate-limit-before: 3;
|
|
40
|
+
/* For Safari */
|
|
41
|
+
-webkit-hyphenate-limit-after: 3;
|
|
42
|
+
/* For Safari */
|
|
43
|
+
hyphenate-limit-chars: 12 3 3;
|
|
44
|
+
hyphenate-limit-lines: 2;
|
|
45
|
+
hyphenate-limit-last: always;
|
|
46
|
+
hyphenate-limit-zone: 6%;
|
|
47
|
+
-webkit-hyphens: auto;
|
|
48
|
+
-webkit-hyphenate-limit-before: 3;
|
|
49
|
+
-webkit-hyphenate-limit-after: 3;
|
|
50
|
+
-webkit-hyphenate-limit-chars: 12 3 3;
|
|
51
|
+
-webkit-hyphenate-limit-lines: 2;
|
|
52
|
+
-moz-hyphens: auto;
|
|
53
|
+
-moz-hyphenate-limit-chars: 12 3 3;
|
|
54
|
+
-moz-hyphenate-limit-lines: 2;
|
|
55
|
+
-ms-hyphens: auto;
|
|
56
|
+
-ms-hyphenate-limit-chars: 12 3 3;
|
|
57
|
+
-ms-hyphenate-limit-lines: 2;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
:host {
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-direction: column;
|
|
64
|
+
background-color: var(--color-white);
|
|
65
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
66
|
+
/* Drop Shadow (X-Small) */
|
|
67
|
+
box-shadow: var(--ptc-shadow-x-small);
|
|
68
|
+
height: 100%;
|
|
69
|
+
}
|
|
70
|
+
:host .image-container {
|
|
71
|
+
height: 120px;
|
|
72
|
+
position: relative;
|
|
73
|
+
}
|
|
74
|
+
:host .content-container {
|
|
75
|
+
padding: 16px;
|
|
76
|
+
color: var(--color-gray-10);
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
flex: 1;
|
|
80
|
+
/* Paragraph Small */
|
|
81
|
+
font-size: var(--ptc-font-size-x-small);
|
|
82
|
+
font-weight: var(--ptc-font-weight-regular);
|
|
83
|
+
line-height: var(--ptc-line-height-p);
|
|
84
|
+
}
|
|
85
|
+
:host ::slotted(.store-card-logo) {
|
|
86
|
+
display: block;
|
|
87
|
+
max-height: 24px;
|
|
88
|
+
margin-bottom: 8px;
|
|
89
|
+
}
|
|
90
|
+
:host ::slotted(h4) {
|
|
91
|
+
margin: 0 0 var(--ptc-element-spacing-02) 0 !important;
|
|
92
|
+
}
|
|
93
|
+
:host ::slotted(a.store-card-title) {
|
|
94
|
+
display: block;
|
|
95
|
+
color: var(--color-gray-10);
|
|
96
|
+
}
|
|
97
|
+
:host ::slotted(p) {
|
|
98
|
+
margin-bottom: 0 !important;
|
|
99
|
+
font-size: var(--ptc-font-size-x-small) !important;
|
|
100
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
export class PtcStoreCard {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.hasTopImage = false;
|
|
5
|
+
}
|
|
6
|
+
componentWillLoad() {
|
|
7
|
+
this.hasTopImage = !!this.el.querySelector('[slot="top-image"]');
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, null, this.hasTopImage && (h("div", { class: "image-container" }, h("slot", { name: "top-image" }))), h("div", { class: "content-container" }, h("slot", null))));
|
|
11
|
+
}
|
|
12
|
+
static get is() { return "ptc-store-card"; }
|
|
13
|
+
static get encapsulation() { return "shadow"; }
|
|
14
|
+
static get originalStyleUrls() {
|
|
15
|
+
return {
|
|
16
|
+
"$": ["ptc-store-card.scss"]
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
static get styleUrls() {
|
|
20
|
+
return {
|
|
21
|
+
"$": ["ptc-store-card.css"]
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
static get elementRef() { return "el"; }
|
|
25
|
+
}
|