@wizishop/angular-components 0.0.220 → 0.0.222

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.
@@ -1941,174 +1941,115 @@ $wac-subtitle-color: #7A87A1!default;
1941
1941
  }
1942
1942
 
1943
1943
  }
1944
- .wac-field-checkbox {
1945
- &.disable-wt {
1946
- .wac-field-checkbox__row {
1947
- display: flex;
1948
- width: 100%;
1949
- }
1950
- .is-checkradio[type='checkbox'] {
1951
- & + label {
1952
- white-space: normal;
1953
- line-height: 1.4;
1954
- padding: 0;
1955
- > span {
1956
- margin: 0 0 0 30px;
1957
- transform: translateY(-4px);
1958
- }
1959
- }
1960
- }
1944
+ .wac-card-price {
1945
+ width: 100%;
1946
+ padding: 30px;
1947
+ border-radius: 3px;
1948
+ background-color: $wac-white;
1949
+ display: flex;
1950
+ flex-direction: column;
1951
+ border: 1px solid $wac-white;
1952
+
1953
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
1954
+
1955
+ &.selected {
1956
+ border: 1px solid $wac-tag-success;
1961
1957
  }
1962
- &__row {
1963
- position: relative;
1964
- min-width: 100%;
1965
- margin: 0;
1958
+
1959
+ &:hover {
1960
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
1966
1961
  }
1967
- &--nowrap {
1968
- display: inline-block;
1969
- width: auto;
1970
- min-width: 0;
1971
- margin: 0 10px 10px 0;
1972
- .field {
1973
- &__row {
1974
- width: auto;
1975
- display: inline-block;
1976
- margin: 0;
1977
- }
1978
- }
1962
+
1963
+ @include media('<desktop') {
1964
+ padding: 30px;
1979
1965
  }
1980
1966
 
1981
- input[type='text'] {
1982
- height: 40px;
1983
- max-height: 40px;
1984
- padding: 0 20px;
1985
- line-height: 40px;
1986
- border: 1px solid $wac-border-form;
1987
- border-radius: 3px;
1988
- margin: 15px 0 10px !important;
1989
- font-size: rem(14) !important;
1990
- color: $wac-main-text;
1991
- &:focus {
1992
- border-color: $wac-wizishop-blue !important;
1993
- box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
1994
- &::-webkit-input-placeholder {
1995
- /* Chrome/Opera/Safari */
1996
- opacity: 0;
1997
- }
1998
- &::-moz-placeholder {
1999
- /* Firefox 19+ */
2000
- opacity: 0;
2001
- }
2002
- &:-ms-input-placeholder {
2003
- /* IE 10+ */
2004
- opacity: 0;
2005
- }
2006
- &:-moz-placeholder {
2007
- /* Firefox 18- */
2008
- opacity: 0;
2009
- }
2010
- }
1967
+ @include media('<tablet') {
1968
+ padding: 20px;
2011
1969
  }
2012
- &.alone {
2013
- .is-checkradio[type='checkbox'] {
2014
- & + label {
2015
- padding-left: 9px;
2016
- margin-right: 0px;
2017
1970
 
2018
- &:before {
2019
- border-width: 1px;
2020
- width: 16px;
2021
- height: 16px;
2022
- border-radius: 2px;
2023
- }
2024
- }
2025
- &:checked + label {
2026
- &:after {
2027
- top: 7px;
2028
- transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
2029
- }
2030
- }
2031
- }
1971
+ .cta {
1972
+ min-height: 40px;
2032
1973
  }
2033
1974
 
2034
- .is-checkradio[type='checkbox'] {
2035
- outline: 0 !important;
2036
- top: 0;
2037
- & + label {
2038
- font-size: rem(14);
2039
- line-height: 0;
2040
- color: $wac-input-radio-color-label;
2041
- white-space: nowrap;
2042
- padding: 0 8px;
2043
- margin-right: 0;
2044
- outline: 0 !important;
2045
- &:before {
2046
- width: 16px;
2047
- height: 16px;
2048
- border: 1px solid $wac-border-color;
2049
- top: 0;
2050
- transition: all 0.3s ease-in-out;
2051
- }
2052
- &:after {
2053
- top: 2.3px !important;
2054
- left: 3px !important;
2055
- width: 10px;
2056
- height: 12px;
2057
- border: none !important;
2058
- background: transparent
2059
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='check' viewBox='0 0 512 512' class='svg-inline--fa fa-check fa-w-16 fa-5x'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")
2060
- center center / 8px 8px no-repeat;
2061
- transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
2062
- transition: all 0.3s ease-in-out;
2063
- }
1975
+ > strong {
1976
+ font-size: rem(40);
1977
+ line-height: rem(47);
1978
+ text-align: center;
1979
+ display: block;
1980
+ width: 100%;
1981
+ font-weight: 600;
1982
+ margin: 0 0 -5px;
1983
+ }
1984
+
1985
+ > p {
1986
+ font-size: rem(20);
1987
+ text-transform: uppercase;
1988
+ margin: 0 0 20px;
1989
+ text-align: center;
1990
+ display: block;
1991
+ width: 100%;
1992
+ font-weight: 600;
1993
+ }
1994
+
1995
+ .price {
1996
+ display: flex;
1997
+ align-items: flex-end;
1998
+ width: 100%;
1999
+ justify-content: center;
2000
+ position: relative;
2001
+ color: $wac-tag-success;
2002
+ margin: 0 0 5px;
2003
+
2004
+ .amount {
2005
+ font-size: rem(50);
2006
+ font-weight: 600;
2007
+ margin: 0 5px 0 0;
2008
+ position: relative;
2009
+ line-height: 1;
2064
2010
  span {
2065
- margin: 0 0 0 rem(16);
2066
- display: inline-block;
2067
- }
2068
- &:hover,
2069
- &:focus {
2070
- &:before {
2071
- border-color: $wac-input-active-color !important;
2072
- }
2073
- }
2074
- &:before,
2075
- &:after {
2076
- outline: 0 !important;
2011
+ position: absolute;
2012
+ top: 5px;
2013
+ left: 100%;
2014
+ margin: 0 0 0 3px;
2015
+ display: block;
2016
+ font-size: rem(20);
2077
2017
  }
2078
2018
  }
2079
- &:hover {
2080
- & + label {
2081
- color: $wac-input-radio-color-active-label;
2082
- &:before {
2083
- border-color: $wac-input-active-color !important;
2084
- }
2085
- &:after {
2086
- border-color: $wac-white !important;
2087
- }
2088
- }
2089
- &:not([disabled]) {
2090
- & + label {
2091
- &:before {
2092
- border-color: $wac-input-active-color !important;
2093
- }
2094
- }
2095
- }
2019
+
2020
+ .month {
2021
+ font-size: rem(20);
2022
+ margin: 0;
2023
+ font-weight: 500;
2024
+ line-height: 1;
2025
+ transform: translateY(-5px);
2096
2026
  }
2097
- &:checked + label {
2098
- color: $wac-input-radio-color-active-label;
2099
- &:before {
2100
- border: 1px solid $wac-input-active-color;
2101
- background-color: $wac-input-active-color;
2102
- transition: all 0.3s ease-in-out;
2103
- }
2104
- &:after {
2105
- left: 7px;
2106
- top: 8px;
2107
- transition: all 0.3s ease-in-out;
2108
- }
2027
+ }
2028
+
2029
+ .subtitle, .package-subtitle {
2030
+ font-size: rem(12);
2031
+ color: $wac-subtitle-color;
2032
+ margin: 0 0 30px;
2033
+ text-align: center;
2034
+ font-style: italic;
2035
+ }
2036
+
2037
+ .subtitle {
2038
+ &:last-child {
2039
+ margin: 0;
2109
2040
  }
2110
2041
  }
2111
2042
 
2043
+ .package-subtitle {
2044
+ margin: 10px 0 30px;
2045
+ }
2046
+
2047
+ .link-bottom {
2048
+ margin: 0;
2049
+ display: flex;
2050
+ justify-content: center;
2051
+ width: 100%;
2052
+ }
2112
2053
  }
2113
2054
  .wac-state {
2114
2055
  width: 12px;
@@ -2178,6 +2119,7 @@ $wac-subtitle-color: #7A87A1!default;
2178
2119
  }
2179
2120
  &__text {
2180
2121
  width: 100%;
2122
+ max-width: calc(100% - 150px);
2181
2123
  &__count {
2182
2124
  margin: 10px 0 0;
2183
2125
  width: 100%;
@@ -6148,115 +6090,174 @@ h4.wac-h4 {
6148
6090
  color: $wac-second-color;
6149
6091
  }
6150
6092
  }
6151
- .wac-card-price {
6152
- width: 100%;
6153
- padding: 30px;
6154
- border-radius: 3px;
6155
- background-color: $wac-white;
6156
- display: flex;
6157
- flex-direction: column;
6158
- border: 1px solid $wac-white;
6159
-
6160
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
6161
-
6162
- &.selected {
6163
- border: 1px solid $wac-tag-success;
6164
- }
6165
-
6166
- &:hover {
6167
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
6168
- }
6169
-
6170
- @include media('<desktop') {
6171
- padding: 30px;
6093
+ .wac-field-checkbox {
6094
+ &.disable-wt {
6095
+ .wac-field-checkbox__row {
6096
+ display: flex;
6097
+ width: 100%;
6098
+ }
6099
+ .is-checkradio[type='checkbox'] {
6100
+ & + label {
6101
+ white-space: normal;
6102
+ line-height: 1.4;
6103
+ padding: 0;
6104
+ > span {
6105
+ margin: 0 0 0 30px;
6106
+ transform: translateY(-4px);
6107
+ }
6108
+ }
6109
+ }
6172
6110
  }
6173
-
6174
- @include media('<tablet') {
6175
- padding: 20px;
6111
+ &__row {
6112
+ position: relative;
6113
+ min-width: 100%;
6114
+ margin: 0;
6176
6115
  }
6177
-
6178
- .cta {
6179
- min-height: 40px;
6116
+ &--nowrap {
6117
+ display: inline-block;
6118
+ width: auto;
6119
+ min-width: 0;
6120
+ margin: 0 10px 10px 0;
6121
+ .field {
6122
+ &__row {
6123
+ width: auto;
6124
+ display: inline-block;
6125
+ margin: 0;
6126
+ }
6127
+ }
6180
6128
  }
6181
6129
 
6182
- > strong {
6183
- font-size: rem(40);
6184
- line-height: rem(47);
6185
- text-align: center;
6186
- display: block;
6187
- width: 100%;
6188
- font-weight: 600;
6189
- margin: 0 0 -5px;
6130
+ input[type='text'] {
6131
+ height: 40px;
6132
+ max-height: 40px;
6133
+ padding: 0 20px;
6134
+ line-height: 40px;
6135
+ border: 1px solid $wac-border-form;
6136
+ border-radius: 3px;
6137
+ margin: 15px 0 10px !important;
6138
+ font-size: rem(14) !important;
6139
+ color: $wac-main-text;
6140
+ &:focus {
6141
+ border-color: $wac-wizishop-blue !important;
6142
+ box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
6143
+ &::-webkit-input-placeholder {
6144
+ /* Chrome/Opera/Safari */
6145
+ opacity: 0;
6146
+ }
6147
+ &::-moz-placeholder {
6148
+ /* Firefox 19+ */
6149
+ opacity: 0;
6150
+ }
6151
+ &:-ms-input-placeholder {
6152
+ /* IE 10+ */
6153
+ opacity: 0;
6154
+ }
6155
+ &:-moz-placeholder {
6156
+ /* Firefox 18- */
6157
+ opacity: 0;
6158
+ }
6159
+ }
6190
6160
  }
6161
+ &.alone {
6162
+ .is-checkradio[type='checkbox'] {
6163
+ & + label {
6164
+ padding-left: 9px;
6165
+ margin-right: 0px;
6191
6166
 
6192
- > p {
6193
- font-size: rem(20);
6194
- text-transform: uppercase;
6195
- margin: 0 0 20px;
6196
- text-align: center;
6197
- display: block;
6198
- width: 100%;
6199
- font-weight: 600;
6167
+ &:before {
6168
+ border-width: 1px;
6169
+ width: 16px;
6170
+ height: 16px;
6171
+ border-radius: 2px;
6172
+ }
6173
+ }
6174
+ &:checked + label {
6175
+ &:after {
6176
+ top: 7px;
6177
+ transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
6178
+ }
6179
+ }
6180
+ }
6200
6181
  }
6201
6182
 
6202
- .price {
6203
- display: flex;
6204
- align-items: flex-end;
6205
- width: 100%;
6206
- justify-content: center;
6207
- position: relative;
6208
- color: $wac-tag-success;
6209
- margin: 0 0 5px;
6210
-
6211
- .amount {
6212
- font-size: rem(50);
6213
- font-weight: 600;
6214
- margin: 0 5px 0 0;
6215
- position: relative;
6216
- line-height: 1;
6183
+ .is-checkradio[type='checkbox'] {
6184
+ outline: 0 !important;
6185
+ top: 0;
6186
+ & + label {
6187
+ font-size: rem(14);
6188
+ line-height: 0;
6189
+ color: $wac-input-radio-color-label;
6190
+ white-space: nowrap;
6191
+ padding: 0 8px;
6192
+ margin-right: 0;
6193
+ outline: 0 !important;
6194
+ &:before {
6195
+ width: 16px;
6196
+ height: 16px;
6197
+ border: 1px solid $wac-border-color;
6198
+ top: 0;
6199
+ transition: all 0.3s ease-in-out;
6200
+ }
6201
+ &:after {
6202
+ top: 2.3px !important;
6203
+ left: 3px !important;
6204
+ width: 10px;
6205
+ height: 12px;
6206
+ border: none !important;
6207
+ background: transparent
6208
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='check' viewBox='0 0 512 512' class='svg-inline--fa fa-check fa-w-16 fa-5x'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")
6209
+ center center / 8px 8px no-repeat;
6210
+ transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
6211
+ transition: all 0.3s ease-in-out;
6212
+ }
6217
6213
  span {
6218
- position: absolute;
6219
- top: 5px;
6220
- left: 100%;
6221
- margin: 0 0 0 3px;
6222
- display: block;
6223
- font-size: rem(20);
6214
+ margin: 0 0 0 rem(16);
6215
+ display: inline-block;
6216
+ }
6217
+ &:hover,
6218
+ &:focus {
6219
+ &:before {
6220
+ border-color: $wac-input-active-color !important;
6221
+ }
6222
+ }
6223
+ &:before,
6224
+ &:after {
6225
+ outline: 0 !important;
6224
6226
  }
6225
6227
  }
6226
-
6227
- .month {
6228
- font-size: rem(20);
6229
- margin: 0;
6230
- font-weight: 500;
6231
- line-height: 1;
6232
- transform: translateY(-5px);
6228
+ &:hover {
6229
+ & + label {
6230
+ color: $wac-input-radio-color-active-label;
6231
+ &:before {
6232
+ border-color: $wac-input-active-color !important;
6233
+ }
6234
+ &:after {
6235
+ border-color: $wac-white !important;
6236
+ }
6237
+ }
6238
+ &:not([disabled]) {
6239
+ & + label {
6240
+ &:before {
6241
+ border-color: $wac-input-active-color !important;
6242
+ }
6243
+ }
6244
+ }
6233
6245
  }
6234
- }
6235
-
6236
- .subtitle, .package-subtitle {
6237
- font-size: rem(12);
6238
- color: $wac-subtitle-color;
6239
- margin: 0 0 30px;
6240
- text-align: center;
6241
- font-style: italic;
6242
- }
6243
-
6244
- .subtitle {
6245
- &:last-child {
6246
- margin: 0;
6246
+ &:checked + label {
6247
+ color: $wac-input-radio-color-active-label;
6248
+ &:before {
6249
+ border: 1px solid $wac-input-active-color;
6250
+ background-color: $wac-input-active-color;
6251
+ transition: all 0.3s ease-in-out;
6252
+ }
6253
+ &:after {
6254
+ left: 7px;
6255
+ top: 8px;
6256
+ transition: all 0.3s ease-in-out;
6257
+ }
6247
6258
  }
6248
6259
  }
6249
6260
 
6250
- .package-subtitle {
6251
- margin: 10px 0 30px;
6252
- }
6253
-
6254
- .link-bottom {
6255
- margin: 0;
6256
- display: flex;
6257
- justify-content: center;
6258
- width: 100%;
6259
- }
6260
6261
  }
6261
6262
  .wac-filters {
6262
6263
  width: 100%;
@@ -4366,7 +4366,7 @@
4366
4366
  BlockWithCheckboxComponent.decorators = [
4367
4367
  { type: i0.Component, args: [{
4368
4368
  selector: 'wac-block-with-checkbox',
4369
- template: "<div class=\"block-with-checkbox\" (click)=\"disabled ? $event.preventDefault() : ''\" [ngClass]=\"{'selected': inputRadioA.checked || selected, 'firstWacRadioBLock': isFirst, 'disabled': disabled}\" [style.opacity]=\"opacity\" (mouseover)=\"removeFirstClass()\">\n <div class=\"block-with-checkbox__left\" (click)=\"inputRadioA.click()\">\n <div class=\"wac-radio-block\">\n <div class=\"wac-radio__row\">\n <input #inputRadioA [name]=\"nameRadio\" type=\"radio\" [checked]=\"selected\" [value]=\"selected\" (change)=\"eventSelected($event)\" [id]=\"randomLabelName\">\n <label [for]=\"randomLabelName\"></label>\n </div>\n </div>\n </div>\n <div class=\"block-with-checkbox__center\" (click)=\"inputRadioA.click()\">\n <ng-content></ng-content>\n </div>\n</div>\n"
4369
+ template: "<div class=\"block-with-checkbox\" (click)=\"disabled ? $event.preventDefault() : ''\" [ngClass]=\"{'selected': inputRadioA.checked || selected, 'firstWacRadioBLock': isFirst, 'disabled': disabled}\" [style.opacity]=\"opacity\" (mouseover)=\"removeFirstClass()\">\n <div class=\"block-with-checkbox__left\" (click)=\"inputRadioA.click()\">\n <div class=\"wac-radio-block\">\n <div class=\"wac-radio__row\">\n <input #inputRadioA [name]=\"nameRadio\" type=\"radio\" [checked]=\"selected\" [value]=\"selected\" (change)=\"eventSelected($event)\" [id]=\"randomLabelName\">\n <label [for]=\"randomLabelName\"></label>\n </div>\n </div>\n </div>\n <div class=\"block-with-checkbox__center\" (click)=\"$event.target['className'] !== 'wac-link' ? inputRadioA.click() : ''\">\n <ng-content></ng-content>\n </div>\n</div>\n"
4370
4370
  },] }
4371
4371
  ];
4372
4372
  BlockWithCheckboxComponent.ctorParameters = function () { return []; };