@wizishop/angular-components 0.0.147 → 0.0.148

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.
@@ -1545,89 +1545,6 @@ $wac-subtitle-color: #7A87A1!default;
1545
1545
  }
1546
1546
  }
1547
1547
  }
1548
- .wac-card-price {
1549
- width: 100%;
1550
- padding: 50px;
1551
- border-radius: 3px;
1552
- background-color: $wac-white;
1553
- display: flex;
1554
- flex-direction: column;
1555
-
1556
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
1557
-
1558
- &:hover {
1559
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
1560
- }
1561
-
1562
- @include media('<desktop') {
1563
- padding: 30px;
1564
- }
1565
-
1566
- @include media('<tablet') {
1567
- padding: 20px;
1568
- }
1569
-
1570
- > strong {
1571
- font-size: rem(30);
1572
- text-align: center;
1573
- display: block;
1574
- width: 100%;
1575
- font-weight: 600;
1576
- margin: 0 0 -5px;
1577
- }
1578
-
1579
- > p {
1580
- font-size: rem(20);
1581
- text-transform: uppercase;
1582
- margin: 0 0 30px;
1583
- text-align: center;
1584
- display: block;
1585
- width: 100%;
1586
- font-weight: 600;
1587
- }
1588
-
1589
- .price {
1590
- display: flex;
1591
- align-items: flex-end;
1592
- width: 100%;
1593
- justify-content: center;
1594
- position: relative;
1595
- color: $wac-tag-success;
1596
- margin: 0 0 5px;
1597
-
1598
- .amount {
1599
- font-size: rem(50);
1600
- font-weight: 600;
1601
- margin: 0 5px 0 0;
1602
- position: relative;
1603
- line-height: 1;
1604
- span {
1605
- position: absolute;
1606
- top: 5px;
1607
- left: 100%;
1608
- margin: 0 0 0 3px;
1609
- display: block;
1610
- font-size: rem(20);
1611
- }
1612
- }
1613
-
1614
- .month {
1615
- font-size: rem(20);
1616
- margin: 0;
1617
- font-weight: 500;
1618
- line-height: 1;
1619
- transform: translateY(-5px);
1620
- }
1621
- }
1622
-
1623
- .subtitle {
1624
- font-size: rem(12);
1625
- color: $wac-subtitle-color;
1626
- margin: 0 0 30px;
1627
- text-align: center;
1628
- font-style: italic;
1629
- }
1630
- }
1631
1548
  .wac-calendar {
1632
1549
  position: relative;
1633
1550
  margin: 0 0 20px;
@@ -2173,6 +2090,93 @@ $wac-subtitle-color: #7A87A1!default;
2173
2090
  .datetimepicker .datetimepicker-footer {
2174
2091
  display: none;
2175
2092
  }
2093
+ .wac-card-price {
2094
+ width: 100%;
2095
+ padding: 50px;
2096
+ border-radius: 3px;
2097
+ background-color: $wac-white;
2098
+ display: flex;
2099
+ flex-direction: column;
2100
+
2101
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
2102
+
2103
+ &:hover {
2104
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
2105
+ }
2106
+
2107
+ @include media('<desktop') {
2108
+ padding: 30px;
2109
+ }
2110
+
2111
+ @include media('<tablet') {
2112
+ padding: 20px;
2113
+ }
2114
+
2115
+ .cta {
2116
+ height: 40px;
2117
+ }
2118
+
2119
+ > strong {
2120
+ font-size: rem(30);
2121
+ text-align: center;
2122
+ display: block;
2123
+ width: 100%;
2124
+ font-weight: 600;
2125
+ margin: 0 0 -5px;
2126
+ }
2127
+
2128
+ > p {
2129
+ font-size: rem(20);
2130
+ text-transform: uppercase;
2131
+ margin: 0 0 30px;
2132
+ text-align: center;
2133
+ display: block;
2134
+ width: 100%;
2135
+ font-weight: 600;
2136
+ }
2137
+
2138
+ .price {
2139
+ display: flex;
2140
+ align-items: flex-end;
2141
+ width: 100%;
2142
+ justify-content: center;
2143
+ position: relative;
2144
+ color: $wac-tag-success;
2145
+ margin: 0 0 5px;
2146
+
2147
+ .amount {
2148
+ font-size: rem(50);
2149
+ font-weight: 600;
2150
+ margin: 0 5px 0 0;
2151
+ position: relative;
2152
+ line-height: 1;
2153
+ span {
2154
+ position: absolute;
2155
+ top: 5px;
2156
+ left: 100%;
2157
+ margin: 0 0 0 3px;
2158
+ display: block;
2159
+ font-size: rem(20);
2160
+ }
2161
+ }
2162
+
2163
+ .month {
2164
+ font-size: rem(20);
2165
+ margin: 0;
2166
+ font-weight: 500;
2167
+ line-height: 1;
2168
+ transform: translateY(-5px);
2169
+ }
2170
+ }
2171
+
2172
+ .subtitle {
2173
+ font-size: rem(12);
2174
+ color: $wac-subtitle-color;
2175
+ margin: 0 0 30px;
2176
+ text-align: center;
2177
+ font-style: italic;
2178
+ }
2179
+ }
2176
2180
  .wac-field-checkbox {
2177
2181
  &.disable-wt {
2178
2182
  .wac-field-checkbox__row {
@@ -4240,6 +4240,7 @@
4240
4240
  this.disabled = false;
4241
4241
  this.btnTextcolor = '#ffffff';
4242
4242
  this.extraClasses = 'is-success';
4243
+ this.hideButton = false;
4243
4244
  this.click = new i0.EventEmitter();
4244
4245
  }
4245
4246
  CardPriceComponent.prototype.ngOnInit = function () {
@@ -4252,7 +4253,7 @@
4252
4253
  CardPriceComponent.decorators = [
4253
4254
  { type: i0.Component, args: [{
4254
4255
  selector: 'wac-card-price',
4255
- template: "<div class=\"wac-card-price\">\n <strong>{{amount}}</strong>\n <p>{{title}}</p>\n <div class=\"price\">\n <span class=\"amount\">{{price}} <span>{{currency}}</span></span><span class=\"month\">{{priceWording}}</span>\n </div>\n <div class=\"subtitle\">{{subtitle}}</div>\n <div class=\"cta\">\n <wac-button [label]=\"btnLabel\" [extraClasses]=\"extraClasses\" (click)=\"triggerClick()\" [disabled]=\"disabled\" [textcolor]=\"btnTextcolor\"></wac-button>\n </div>\n</div>\n"
4256
+ template: "<div class=\"wac-card-price\">\n <strong>{{amount}}</strong>\n <p>{{title}}</p>\n <div class=\"price\">\n <span class=\"amount\">{{price}} <span>{{currency}}</span></span><span class=\"month\">{{priceWording}}</span>\n </div>\n <div class=\"subtitle\">{{subtitle}}</div>\n <div class=\"cta\">\n <wac-button [label]=\"btnLabel\" [extraClasses]=\"extraClasses\" (click)=\"triggerClick()\" [disabled]=\"disabled\" [textcolor]=\"btnTextcolor\" *ngIf=\"!hideButton\"></wac-button>\n </div>\n</div>\n"
4256
4257
  },] }
4257
4258
  ];
4258
4259
  CardPriceComponent.ctorParameters = function () { return []; };
@@ -4267,6 +4268,7 @@
4267
4268
  disabled: [{ type: i0.Input }],
4268
4269
  btnTextcolor: [{ type: i0.Input }],
4269
4270
  extraClasses: [{ type: i0.Input }],
4271
+ hideButton: [{ type: i0.Input }],
4270
4272
  click: [{ type: i0.Output }]
4271
4273
  };
4272
4274