@social-mail/social-mail-client 1.2.529 → 1.2.530
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/public/store/Store.pack.js +66 -12
- package/dist/public/store/Store.pack.js.map +1 -1
- package/dist/public/store/Store.pack.min.js +58 -10
- package/dist/public/store/Store.pack.min.js.map +1 -1
- package/dist/public/store/StoreItemDetailView.d.ts.map +1 -1
- package/dist/public/store/StoreItemDetailView.js +63 -9
- package/dist/public/store/StoreItemDetailView.js.map +1 -1
- package/dist/public/store/StoreItemListView.js +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/public/store/StoreItemDetailView.tsx +57 -9
- package/src/public/store/StoreItemListView.tsx +3 -3
|
@@ -20492,20 +20492,20 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
20492
20492
|
storeID = parseInt(storeID, 36);
|
|
20493
20493
|
itemID = parseInt(itemID, 36);
|
|
20494
20494
|
css = styled.css`
|
|
20495
|
-
|
|
20496
20495
|
margin: 10px;
|
|
20497
|
-
|
|
20498
20496
|
display: flex;
|
|
20499
20497
|
gap: 10px;
|
|
20500
20498
|
position: relative;
|
|
20501
20499
|
flex-wrap: wrap;
|
|
20502
|
-
|
|
20503
20500
|
& > h2 {
|
|
20504
20501
|
flex: 1 1 100%;
|
|
20505
20502
|
}
|
|
20506
20503
|
|
|
20507
|
-
&
|
|
20504
|
+
& .title {
|
|
20505
|
+
padding-left: 5px;
|
|
20506
|
+
}
|
|
20508
20507
|
|
|
20508
|
+
& > .product {
|
|
20509
20509
|
width: 100%;
|
|
20510
20510
|
display: grid;
|
|
20511
20511
|
grid-template-columns: 4fr 1fr;
|
|
@@ -20515,12 +20515,10 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
20515
20515
|
|
|
20516
20516
|
grid-row: 1;
|
|
20517
20517
|
grid-column: 1;
|
|
20518
|
-
|
|
20519
20518
|
margin: 10px;
|
|
20520
20519
|
padding: 10px;
|
|
20521
20520
|
border-radius: 5px;
|
|
20522
20521
|
box-shadow: 0 0 10px 2px gray;
|
|
20523
|
-
|
|
20524
20522
|
display: inline-grid;
|
|
20525
20523
|
grid-template-columns: auto 1fr;
|
|
20526
20524
|
grid-template-rows: 1fr;
|
|
@@ -20560,7 +20558,57 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
20560
20558
|
& > .offers {
|
|
20561
20559
|
grid-row: 1;
|
|
20562
20560
|
grid-column: 2;
|
|
20561
|
+
box-shadow: 0 0 10px 2px gray;
|
|
20562
|
+
border-radius: 5px;
|
|
20563
|
+
margin: 10px;
|
|
20564
|
+
padding: 10px;
|
|
20565
|
+
|
|
20566
|
+
.price {
|
|
20567
|
+
text-align: center;
|
|
20568
|
+
font-weight: 700;
|
|
20569
|
+
font-size: var(--font-xs);
|
|
20570
|
+
text-align: center;
|
|
20571
|
+
|
|
20572
|
+
}
|
|
20573
|
+
|
|
20574
|
+
& > .buy {
|
|
20575
|
+
display: inline-flex;
|
|
20576
|
+
-webkit-box-align: center;
|
|
20577
|
+
align-items: center;
|
|
20578
|
+
-webkit-box-pack: center;
|
|
20579
|
+
justify-content: center;
|
|
20580
|
+
position: relative;
|
|
20581
|
+
box-sizing: border-box;
|
|
20582
|
+
-webkit-tap-highlight-color: transparent;
|
|
20583
|
+
cursor: pointer;
|
|
20584
|
+
user-select: none;
|
|
20585
|
+
vertical-align: middle;
|
|
20586
|
+
appearance: none;
|
|
20587
|
+
line-height: 1.75;
|
|
20588
|
+
text-transform: uppercase;
|
|
20589
|
+
min-width: 64px;
|
|
20590
|
+
width: 100%;
|
|
20591
|
+
font-weight: bold;
|
|
20592
|
+
font-size: 14px;
|
|
20593
|
+
font-family: Mulish, sans-serif;
|
|
20594
|
+
background-color: var(--button-background, #ff6733);
|
|
20595
|
+
color: var(--button-text, #FFFFFF);
|
|
20596
|
+
outline: 0px;
|
|
20597
|
+
border-width: 0px;
|
|
20598
|
+
border-style: initial;
|
|
20599
|
+
border-color: initial;
|
|
20600
|
+
border-image: initial;
|
|
20601
|
+
margin: 0px;
|
|
20602
|
+
text-decoration: none;
|
|
20603
|
+
padding: 6px 16px;
|
|
20604
|
+
border-radius: 4px;
|
|
20605
|
+
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), color 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
20606
|
+
|
|
20607
|
+
}
|
|
20608
|
+
|
|
20609
|
+
|
|
20563
20610
|
}
|
|
20611
|
+
|
|
20564
20612
|
}
|
|
20565
20613
|
|
|
20566
20614
|
@media (max-width: 800px) {
|
|
@@ -20633,7 +20681,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
20633
20681
|
this.renderer = XNode.create("div", {
|
|
20634
20682
|
class: css,
|
|
20635
20683
|
images: Bind.oneWay(() => this.getFiles(this.model, this.selectedVariant, this.selectedSize))
|
|
20636
|
-
}, XNode.create("h2",
|
|
20684
|
+
}, XNode.create("h2", {
|
|
20685
|
+
class: "title"
|
|
20686
|
+
}, this.model.name), XNode.create("section", {
|
|
20637
20687
|
class: "product"
|
|
20638
20688
|
}, XNode.create("section", {
|
|
20639
20689
|
class: "photos"
|
|
@@ -20656,9 +20706,13 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
20656
20706
|
"data-layout": "vertical-flex"
|
|
20657
20707
|
}, offerHtml && XNode.create("section", {
|
|
20658
20708
|
innerHTML: offerHtml
|
|
20659
|
-
}), XNode.create("p", null, this.model.description), XNode.create("p",
|
|
20709
|
+
}), XNode.create("p", null, this.model.description), XNode.create("p", {
|
|
20710
|
+
class: "price"
|
|
20711
|
+
}, XNode.create("label", {
|
|
20660
20712
|
text: formatPrice(price)
|
|
20661
|
-
})), XNode.create("button",
|
|
20713
|
+
})), XNode.create("button", {
|
|
20714
|
+
class: "buy"
|
|
20715
|
+
}, "Buy"), ((_f = this.model.sizes) === null || _f === void 0 ? void 0 : _f.length) && XNode.create(ToggleButtonBar, {
|
|
20662
20716
|
items: this.model.sizes,
|
|
20663
20717
|
selectedItem: Bind.twoWaysImmediate(() => this.selectedSize),
|
|
20664
20718
|
itemRenderer: x => XNode.create("div", {
|
|
@@ -20934,9 +20988,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
20934
20988
|
execute: function () {
|
|
20935
20989
|
styled.css`
|
|
20936
20990
|
|
|
20937
|
-
display:grid;
|
|
20938
|
-
grid-template-rows: auto 1fr auto;
|
|
20939
|
-
background-color: var(--hover-color);
|
|
20991
|
+
display:grid;
|
|
20992
|
+
grid-template-rows: auto 1fr auto;
|
|
20993
|
+
background-color: var(--hover-color);
|
|
20940
20994
|
|
|
20941
20995
|
& > header {
|
|
20942
20996
|
grid-row:1;
|