@ptcwebops/ptcw-design 6.4.31-beta → 6.4.33-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/buying-option-cards-slider.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ptc-blue-pill-announcement-bar.cjs.entry.js +6 -2
- package/dist/cjs/ptc-card_2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-store-card-list.cjs.entry.js +2 -7
- package/dist/cjs/ptc-store-card.cjs.entry.js +1 -1
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.css +16 -11
- package/dist/collection/components/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.css +4 -2
- package/dist/collection/components/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.js +29 -1
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +18 -6
- package/dist/collection/components/ptc-store-card/ptc-store-card.css +1 -1
- package/dist/collection/components/ptc-store-card-list/ptc-store-card-list.css +86 -13
- package/dist/collection/components/ptc-store-card-list/ptc-store-card-list.js +1 -6
- package/dist/custom-elements/index.js +13 -14
- package/dist/esm/buying-option-cards-slider.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ptc-blue-pill-announcement-bar.entry.js +6 -2
- package/dist/esm/ptc-card_2.entry.js +1 -1
- package/dist/esm/ptc-store-card-list.entry.js +2 -7
- package/dist/esm/ptc-store-card.entry.js +1 -1
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/ptcw-design/p-1a47d0fe.entry.js +1 -0
- package/dist/ptcw-design/{p-2e1c6701.entry.js → p-9050ab76.entry.js} +1 -1
- package/dist/ptcw-design/p-9e8e2835.entry.js +1 -0
- package/dist/ptcw-design/p-efe8563a.entry.js +1 -0
- package/dist/ptcw-design/{p-b8c38d83.entry.js → p-fd269576.entry.js} +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 +1 -0
- package/dist/types/components.d.ts +2 -0
- package/package.json +101 -101
- package/readme.md +23 -23
- package/dist/ptcw-design/p-73650c8e.entry.js +0 -1
- package/dist/ptcw-design/p-87e4c337.entry.js +0 -1
- package/dist/ptcw-design/p-d1ff12d2.entry.js +0 -1
package/dist/collection/components/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.css
CHANGED
|
@@ -71,8 +71,6 @@ ptc-footer {
|
|
|
71
71
|
border-radius: 30px;
|
|
72
72
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
73
73
|
background: var(--blue-7-base-color, #197bc0);
|
|
74
|
-
/* Drop Shadow (X-Large) */
|
|
75
|
-
box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.24);
|
|
76
74
|
color: var(--color-white);
|
|
77
75
|
font-family: var(--ptc-font-latin);
|
|
78
76
|
font-size: var(--ptc-font-size-x-small);
|
|
@@ -83,6 +81,10 @@ ptc-footer {
|
|
|
83
81
|
:host .blue-pill-announcement-bar-wrapper svg {
|
|
84
82
|
min-width: 16px;
|
|
85
83
|
}
|
|
84
|
+
:host .blue-pill-announcement-bar-wrapper.has-shadow {
|
|
85
|
+
/* Drop Shadow (X-Large) */
|
|
86
|
+
box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.24);
|
|
87
|
+
}
|
|
86
88
|
:host ::slotted(p) {
|
|
87
89
|
margin-bottom: 0 !important;
|
|
88
90
|
color: var(--color-white) !important;
|
package/dist/collection/components/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.js
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class PtcBluePillAnnouncementBar {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.isBoxShadow = false;
|
|
5
|
+
}
|
|
3
6
|
render() {
|
|
4
|
-
return (h(Host, null, h("div", { class:
|
|
7
|
+
return (h(Host, null, h("div", { class: {
|
|
8
|
+
"blue-pill-announcement-bar-wrapper": true,
|
|
9
|
+
"has-shadow": this.isBoxShadow,
|
|
10
|
+
} }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("g", { "clip-path": "url(#clip0_96_14879)" }, h("path", { d: "M8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0ZM8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1Z", fill: "white" }), h("rect", { x: "7.5", y: "6.5", width: "1", height: "6", fill: "white", stroke: "white" }), h("circle", { cx: "8", cy: "4", r: "0.5", fill: "white", stroke: "white" })), h("defs", null, h("clipPath", { id: "clip0_96_14879" }, h("rect", { width: "16", height: "16", fill: "white" })))), h("div", null, h("slot", null)))));
|
|
5
11
|
}
|
|
6
12
|
static get is() { return "ptc-blue-pill-announcement-bar"; }
|
|
7
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -15,4 +21,26 @@ export class PtcBluePillAnnouncementBar {
|
|
|
15
21
|
"$": ["ptc-blue-pill-announcement-bar.css"]
|
|
16
22
|
};
|
|
17
23
|
}
|
|
24
|
+
static get properties() {
|
|
25
|
+
return {
|
|
26
|
+
"isBoxShadow": {
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"mutable": false,
|
|
29
|
+
"complexType": {
|
|
30
|
+
"original": "boolean",
|
|
31
|
+
"resolved": "boolean",
|
|
32
|
+
"references": {}
|
|
33
|
+
},
|
|
34
|
+
"required": false,
|
|
35
|
+
"optional": false,
|
|
36
|
+
"docs": {
|
|
37
|
+
"tags": [],
|
|
38
|
+
"text": ""
|
|
39
|
+
},
|
|
40
|
+
"attribute": "is-box-shadow",
|
|
41
|
+
"reflect": false,
|
|
42
|
+
"defaultValue": "false"
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
}
|
|
18
46
|
}
|
|
@@ -3599,16 +3599,13 @@ ptc-footer {
|
|
|
3599
3599
|
margin: 0 5px;
|
|
3600
3600
|
}
|
|
3601
3601
|
|
|
3602
|
-
.preloader-store-detail-page .jumbotron {
|
|
3603
|
-
margin-bottom: 48px;
|
|
3604
|
-
}
|
|
3605
3602
|
.preloader-store-detail-page .jumbotron .jumbotron-bg {
|
|
3606
|
-
height:
|
|
3603
|
+
height: 228px;
|
|
3607
3604
|
background-color: var(--color-gray-03);
|
|
3608
3605
|
position: relative;
|
|
3609
3606
|
}
|
|
3610
3607
|
.preloader-store-detail-page .div-body {
|
|
3611
|
-
top: -
|
|
3608
|
+
top: -53px;
|
|
3612
3609
|
position: relative;
|
|
3613
3610
|
}
|
|
3614
3611
|
@media only screen and (min-width: 768px) {
|
|
@@ -3616,6 +3613,16 @@ ptc-footer {
|
|
|
3616
3613
|
text-align: -webkit-center;
|
|
3617
3614
|
}
|
|
3618
3615
|
}
|
|
3616
|
+
@media only screen and (min-width: 480px) {
|
|
3617
|
+
.preloader-store-detail-page .div-body {
|
|
3618
|
+
top: -95px;
|
|
3619
|
+
}
|
|
3620
|
+
}
|
|
3621
|
+
@media only screen and (min-width: 992px) {
|
|
3622
|
+
.preloader-store-detail-page .div-body {
|
|
3623
|
+
top: -116px;
|
|
3624
|
+
}
|
|
3625
|
+
}
|
|
3619
3626
|
.preloader-store-detail-page .div-body .div-grid-block {
|
|
3620
3627
|
position: relative;
|
|
3621
3628
|
z-index: 3;
|
|
@@ -3680,12 +3687,17 @@ ptc-footer {
|
|
|
3680
3687
|
}
|
|
3681
3688
|
.preloader-store-detail-page .div-content {
|
|
3682
3689
|
top: -172px;
|
|
3683
|
-
margin-top:
|
|
3690
|
+
margin-top: 180px;
|
|
3684
3691
|
position: relative;
|
|
3685
3692
|
border-radius: 4px;
|
|
3686
3693
|
background: #fff;
|
|
3687
3694
|
padding: 40px;
|
|
3688
3695
|
}
|
|
3696
|
+
@media only screen and (min-width: 480px) {
|
|
3697
|
+
.preloader-store-detail-page .div-content {
|
|
3698
|
+
margin-top: 128px;
|
|
3699
|
+
}
|
|
3700
|
+
}
|
|
3689
3701
|
.preloader-store-detail-page .div-content .border-line {
|
|
3690
3702
|
margin: 40px 10px;
|
|
3691
3703
|
border: 1px solid var(--color-gray-02);
|
|
@@ -998,6 +998,10 @@ ptc-store-card-list {
|
|
|
998
998
|
display: block;
|
|
999
999
|
position: relative;
|
|
1000
1000
|
overflow: hidden;
|
|
1001
|
+
padding-left: 24px;
|
|
1002
|
+
padding-right: 24px;
|
|
1003
|
+
margin-left: -24px;
|
|
1004
|
+
margin-right: -24px;
|
|
1001
1005
|
}
|
|
1002
1006
|
@media only screen and (min-width: 768px) {
|
|
1003
1007
|
ptc-store-card-list {
|
|
@@ -1061,18 +1065,18 @@ ptc-store-card-list .swiper-container {
|
|
|
1061
1065
|
ptc-store-card-list .swiper-slide {
|
|
1062
1066
|
height: auto;
|
|
1063
1067
|
display: flex;
|
|
1064
|
-
|
|
1068
|
+
width: 288px;
|
|
1065
1069
|
}
|
|
1066
1070
|
@media only screen and (min-width: 768px) {
|
|
1067
1071
|
ptc-store-card-list .swiper-slide {
|
|
1072
|
+
width: 100%;
|
|
1068
1073
|
max-width: 100%;
|
|
1069
1074
|
}
|
|
1070
1075
|
}
|
|
1071
1076
|
ptc-store-card-list .swiper-scrollbar.swiper-scrollbar-horizontal {
|
|
1072
1077
|
position: absolute;
|
|
1073
1078
|
left: 50%;
|
|
1074
|
-
|
|
1075
|
-
transform: translateX(-50%);
|
|
1079
|
+
transform: translate(-50%, -13px);
|
|
1076
1080
|
z-index: 50;
|
|
1077
1081
|
width: 161px;
|
|
1078
1082
|
height: 8px;
|
|
@@ -1083,22 +1087,77 @@ ptc-store-card-list .swiper-scrollbar-drag {
|
|
|
1083
1087
|
height: 8px;
|
|
1084
1088
|
border-radius: 999px;
|
|
1085
1089
|
background: var(--color-gray-10);
|
|
1090
|
+
transform: translateX(-16px);
|
|
1091
|
+
}
|
|
1092
|
+
ptc-store-card-list .swiper-button-prev:after,
|
|
1093
|
+
ptc-store-card-list .swiper-button-next:after {
|
|
1094
|
+
content: none;
|
|
1095
|
+
}
|
|
1096
|
+
ptc-store-card-list .swiper-button-prev img,
|
|
1097
|
+
ptc-store-card-list .swiper-button-next img {
|
|
1098
|
+
background-color: #ffffff;
|
|
1086
1099
|
}
|
|
1087
1100
|
ptc-store-card-list .swiper-button-prev,
|
|
1088
|
-
ptc-store-card-list .swiper-button-next {
|
|
1101
|
+
ptc-store-card-list .swiper-rtl .swiper-button-next {
|
|
1089
1102
|
top: auto;
|
|
1090
|
-
bottom:
|
|
1103
|
+
bottom: 0px;
|
|
1104
|
+
left: auto;
|
|
1105
|
+
right: calc(50% + 116.5px);
|
|
1091
1106
|
height: 40px;
|
|
1092
1107
|
width: 40px;
|
|
1093
1108
|
border-radius: 4px;
|
|
1094
1109
|
}
|
|
1095
|
-
ptc-store-card-list .swiper-button-prev::after,
|
|
1096
|
-
ptc-store-card-list .swiper-button-next::after {
|
|
1097
|
-
content: none;
|
|
1098
|
-
}
|
|
1099
1110
|
ptc-store-card-list .swiper-button-prev:hover,
|
|
1100
|
-
ptc-store-card-list .swiper-button-next:hover {
|
|
1111
|
+
ptc-store-card-list .swiper-rtl .swiper-button-next:hover {
|
|
1112
|
+
outline: none;
|
|
1113
|
+
outline-offset: 0;
|
|
1114
|
+
text-decoration: none;
|
|
1115
|
+
background-color: #e4e7e9;
|
|
1116
|
+
transition: var(--ptc-transition-slow) linear;
|
|
1117
|
+
}
|
|
1118
|
+
ptc-store-card-list .swiper-button-prev:focus, ptc-store-card-list .swiper-button-prev:active,
|
|
1119
|
+
ptc-store-card-list .swiper-rtl .swiper-button-next:focus,
|
|
1120
|
+
ptc-store-card-list .swiper-rtl .swiper-button-next:active {
|
|
1121
|
+
outline: none;
|
|
1122
|
+
outline-offset: 0;
|
|
1123
|
+
text-decoration: none;
|
|
1124
|
+
background-color: #bec6ca;
|
|
1125
|
+
}
|
|
1126
|
+
ptc-store-card-list .swiper-button-prev svg,
|
|
1127
|
+
ptc-store-card-list .swiper-rtl .swiper-button-next svg {
|
|
1128
|
+
height: 14px;
|
|
1129
|
+
width: 9px;
|
|
1130
|
+
}
|
|
1131
|
+
ptc-store-card-list .swiper-button-next,
|
|
1132
|
+
ptc-store-card-list .swiper-rtl .swiper-button-prev {
|
|
1133
|
+
top: auto;
|
|
1134
|
+
bottom: 0px;
|
|
1135
|
+
right: auto;
|
|
1136
|
+
left: calc(50% + 116.5px);
|
|
1137
|
+
height: 40px;
|
|
1138
|
+
width: 40px;
|
|
1139
|
+
border-radius: 4px;
|
|
1140
|
+
}
|
|
1141
|
+
ptc-store-card-list .swiper-button-next:hover,
|
|
1142
|
+
ptc-store-card-list .swiper-rtl .swiper-button-prev:hover {
|
|
1143
|
+
outline: none;
|
|
1144
|
+
outline-offset: 0;
|
|
1145
|
+
text-decoration: none;
|
|
1101
1146
|
background-color: #e4e7e9;
|
|
1147
|
+
transition: var(--ptc-transition-slow) linear;
|
|
1148
|
+
}
|
|
1149
|
+
ptc-store-card-list .swiper-button-next:focus, ptc-store-card-list .swiper-button-next:active,
|
|
1150
|
+
ptc-store-card-list .swiper-rtl .swiper-button-prev:focus,
|
|
1151
|
+
ptc-store-card-list .swiper-rtl .swiper-button-prev:active {
|
|
1152
|
+
outline: none;
|
|
1153
|
+
outline-offset: 0;
|
|
1154
|
+
text-decoration: none;
|
|
1155
|
+
background-color: #bec6ca;
|
|
1156
|
+
}
|
|
1157
|
+
ptc-store-card-list .swiper-button-next svg,
|
|
1158
|
+
ptc-store-card-list .swiper-rtl .swiper-button-prev svg {
|
|
1159
|
+
height: 14px;
|
|
1160
|
+
width: 9px;
|
|
1102
1161
|
}
|
|
1103
1162
|
@media only screen and (min-width: 768px) {
|
|
1104
1163
|
ptc-store-card-list .swiper-wrapper {
|
|
@@ -1133,8 +1192,14 @@ ptc-store-card-list .swiper-button-next {
|
|
|
1133
1192
|
}
|
|
1134
1193
|
.store-modal-card .store-modal-content {
|
|
1135
1194
|
padding: 48px 24px 48px 24px;
|
|
1195
|
+
position: relative;
|
|
1136
1196
|
}
|
|
1137
|
-
|
|
1197
|
+
.store-modal-card .store-modal-content .store-modal-close-icon {
|
|
1198
|
+
position: absolute;
|
|
1199
|
+
top: 0;
|
|
1200
|
+
right: 0;
|
|
1201
|
+
}
|
|
1202
|
+
@media only screen and (min-width: 768px) {
|
|
1138
1203
|
.store-modal-card .store-modal-content {
|
|
1139
1204
|
padding: 32px 48px 48px 48px;
|
|
1140
1205
|
}
|
|
@@ -1160,9 +1225,9 @@ ptc-store-card-list .swiper-button-next {
|
|
|
1160
1225
|
.store-modal-card .store-modal-footer {
|
|
1161
1226
|
padding: 8px 24px 24px 24px;
|
|
1162
1227
|
}
|
|
1163
|
-
@media only screen and (min-width:
|
|
1228
|
+
@media only screen and (min-width: 768px) {
|
|
1164
1229
|
.store-modal-card .store-modal-footer {
|
|
1165
|
-
padding: 8px
|
|
1230
|
+
padding: 8px 48px 24px 48px;
|
|
1166
1231
|
}
|
|
1167
1232
|
}
|
|
1168
1233
|
.store-modal-card .store-modal-footer-buttons {
|
|
@@ -1170,4 +1235,12 @@ ptc-store-card-list .swiper-button-next {
|
|
|
1170
1235
|
flex-wrap: wrap;
|
|
1171
1236
|
gap: 16px;
|
|
1172
1237
|
justify-content: center;
|
|
1238
|
+
}
|
|
1239
|
+
.store-modal-card .store-modal-footer-buttons ptc-button {
|
|
1240
|
+
width: 100%;
|
|
1241
|
+
}
|
|
1242
|
+
@media only screen and (min-width: 768px) {
|
|
1243
|
+
.store-modal-card .store-modal-footer-buttons ptc-button {
|
|
1244
|
+
width: auto;
|
|
1245
|
+
}
|
|
1173
1246
|
}
|
|
@@ -57,7 +57,7 @@ export class PtcStoreCardList {
|
|
|
57
57
|
if (swiperContainer) {
|
|
58
58
|
this.swiperInstance = new Swiper(swiperContainer, {
|
|
59
59
|
modules: [Navigation, Scrollbar, Pagination],
|
|
60
|
-
slidesPerView:
|
|
60
|
+
slidesPerView: "auto",
|
|
61
61
|
spaceBetween: 24,
|
|
62
62
|
scrollbar: {
|
|
63
63
|
el: this.swiperScrollbarRef,
|
|
@@ -67,11 +67,6 @@ export class PtcStoreCardList {
|
|
|
67
67
|
nextEl: this.swiperButtonNextRef,
|
|
68
68
|
prevEl: this.swiperButtonPrevRef,
|
|
69
69
|
},
|
|
70
|
-
breakpoints: {
|
|
71
|
-
480: {
|
|
72
|
-
slidesPerView: 1.3,
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
70
|
});
|
|
76
71
|
}
|
|
77
72
|
}
|