@wizishop/angular-components 0.0.221 → 0.0.223
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/angular-components.scss +138 -132
- package/bundles/wizishop-angular-components.umd.js +4 -2
- package/bundles/wizishop-angular-components.umd.js.map +1 -1
- package/bundles/wizishop-angular-components.umd.min.js +1 -1
- package/bundles/wizishop-angular-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/block-with-checkbox/block-with-checkbox.component.js +2 -2
- package/esm2015/lib/components/breadcrumbs/breadcrumbs.component.js +4 -2
- package/fesm2015/wizishop-angular-components.js +4 -2
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +1 -0
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.223.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.221.tgz +0 -0
package/angular-components.scss
CHANGED
|
@@ -1080,117 +1080,30 @@ $wac-subtitle-color: #7A87A1!default;
|
|
|
1080
1080
|
}
|
|
1081
1081
|
}
|
|
1082
1082
|
}
|
|
1083
|
-
}.wac-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
|
|
1087
|
-
@include simple_transition();
|
|
1088
|
-
height: 100%;
|
|
1089
|
-
border-radius: 3px;
|
|
1090
|
-
|
|
1091
|
-
@include media('<tablet') {
|
|
1092
|
-
@include padding(rem(20));
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
&.no-padding {
|
|
1096
|
-
padding: 0;
|
|
1097
|
-
}
|
|
1098
|
-
|
|
1099
|
-
&.border-radius {
|
|
1100
|
-
border-radius: 5px;
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
&.sticky {
|
|
1104
|
-
position: sticky;
|
|
1105
|
-
top: 20px;
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
&.noFullHeight {
|
|
1109
|
-
height: auto;
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
|
-
&.stretch {
|
|
1113
|
-
display: flex;
|
|
1114
|
-
flex-wrap: wrap;
|
|
1115
|
-
.wac-block__content {
|
|
1116
|
-
display: flex;
|
|
1117
|
-
}
|
|
1118
|
-
}
|
|
1119
|
-
|
|
1120
|
-
/*************************/
|
|
1121
|
-
/* Titre INTERNE au bloc */
|
|
1122
|
-
/*************************/
|
|
1123
|
-
&__title {
|
|
1124
|
-
text-transform: none;
|
|
1125
|
-
font-size: rem(16);
|
|
1126
|
-
font-weight: 500;
|
|
1127
|
-
margin-bottom: rem(20);
|
|
1128
|
-
color: $wac-main-text;
|
|
1083
|
+
}.wac-back {
|
|
1084
|
+
width: 40px;
|
|
1085
|
+
height: 40px;
|
|
1129
1086
|
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1087
|
+
&__wrapper {
|
|
1088
|
+
@include flexbox();
|
|
1089
|
+
@include justify-content(center);
|
|
1090
|
+
@include align-items(center);
|
|
1091
|
+
width: 100%;
|
|
1092
|
+
height: 100%;
|
|
1093
|
+
border-radius: 3px;
|
|
1094
|
+
border: 1px solid $wac-border-light;
|
|
1095
|
+
background-color: transparent;
|
|
1096
|
+
transition: border-color 0.3s ease-in-out;
|
|
1133
1097
|
|
|
1134
|
-
&.is-simple {
|
|
1135
|
-
text-transform: none;
|
|
1136
|
-
font-weight: 500;
|
|
1137
|
-
}
|
|
1138
1098
|
i {
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
color: $wac-green-color;
|
|
1143
|
-
}
|
|
1144
|
-
&.warning {
|
|
1145
|
-
color: $wac-orange-color;
|
|
1146
|
-
}
|
|
1147
|
-
&.danger {
|
|
1148
|
-
color: $wac-primary-button;
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1152
|
-
|
|
1153
|
-
&:hover {
|
|
1154
|
-
box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
/*************************/
|
|
1158
|
-
/* Titre EXTERNE au bloc */
|
|
1159
|
-
/*************************/
|
|
1160
|
-
&__external {
|
|
1161
|
-
padding: 0;
|
|
1162
|
-
background: transparent;
|
|
1163
|
-
box-shadow: none;
|
|
1164
|
-
height: calc(100% - 60px);
|
|
1165
|
-
transition: none;
|
|
1166
|
-
|
|
1167
|
-
.wac-block__title {
|
|
1168
|
-
font-size: 1.875rem;
|
|
1169
|
-
margin-bottom: 1.5rem;
|
|
1170
|
-
margin-left: 10px;
|
|
1171
|
-
line-height: 1.5625rem;
|
|
1172
|
-
margin-top: 0.625rem;
|
|
1173
|
-
font-weight: 400;
|
|
1174
|
-
color: $wac-block-color;
|
|
1175
|
-
&.is-simple {
|
|
1176
|
-
text-transform: none;
|
|
1177
|
-
font-weight: 500;
|
|
1178
|
-
}
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
.wac-block__content {
|
|
1182
|
-
background-color: $wac-block-color-background;
|
|
1183
|
-
padding: 1.875rem;
|
|
1184
|
-
box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.1);
|
|
1185
|
-
transition: none;
|
|
1186
|
-
height: 100%;
|
|
1187
|
-
&:hover {
|
|
1188
|
-
box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
|
|
1189
|
-
}
|
|
1099
|
+
color: $wac-second-color;
|
|
1100
|
+
font-size: 11px;
|
|
1101
|
+
line-height: 14px;
|
|
1190
1102
|
}
|
|
1191
1103
|
|
|
1192
1104
|
&:hover {
|
|
1193
|
-
|
|
1105
|
+
border-color: $wac-back-border-hover;
|
|
1106
|
+
transition: border-color 0.3s ease-in-out;
|
|
1194
1107
|
}
|
|
1195
1108
|
}
|
|
1196
1109
|
}
|
|
@@ -1213,8 +1126,10 @@ $wac-subtitle-color: #7A87A1!default;
|
|
|
1213
1126
|
border-radius: 3px;
|
|
1214
1127
|
|
|
1215
1128
|
@include media('<tablet') {
|
|
1216
|
-
|
|
1217
|
-
|
|
1129
|
+
&:not(.no-responsive) {
|
|
1130
|
+
max-width: 100%;
|
|
1131
|
+
overflow: hidden;
|
|
1132
|
+
}
|
|
1218
1133
|
}
|
|
1219
1134
|
|
|
1220
1135
|
&__wrapper {
|
|
@@ -1223,8 +1138,10 @@ $wac-subtitle-color: #7A87A1!default;
|
|
|
1223
1138
|
align-items: center;
|
|
1224
1139
|
|
|
1225
1140
|
@include media('<tablet') {
|
|
1226
|
-
|
|
1227
|
-
|
|
1141
|
+
:not(.no-responsive) & {
|
|
1142
|
+
width: auto;
|
|
1143
|
+
overflow-x: scroll;
|
|
1144
|
+
}
|
|
1228
1145
|
}
|
|
1229
1146
|
}
|
|
1230
1147
|
|
|
@@ -1260,11 +1177,13 @@ $wac-subtitle-color: #7A87A1!default;
|
|
|
1260
1177
|
}
|
|
1261
1178
|
}
|
|
1262
1179
|
@include media('<tablet') {
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1180
|
+
:not(.no-responsive) & {
|
|
1181
|
+
width: auto;
|
|
1182
|
+
min-width: unset;
|
|
1183
|
+
max-width: unset;
|
|
1184
|
+
.name {
|
|
1185
|
+
white-space: nowrap;
|
|
1186
|
+
}
|
|
1268
1187
|
}
|
|
1269
1188
|
}
|
|
1270
1189
|
.round {
|
|
@@ -4096,30 +4015,117 @@ span.wac-tooltip {
|
|
|
4096
4015
|
}
|
|
4097
4016
|
}
|
|
4098
4017
|
}
|
|
4099
|
-
.wac-
|
|
4100
|
-
|
|
4101
|
-
|
|
4018
|
+
.wac-block {
|
|
4019
|
+
background-color: $white;
|
|
4020
|
+
@include padding(rem(30));
|
|
4021
|
+
box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
|
|
4022
|
+
@include simple_transition();
|
|
4023
|
+
height: 100%;
|
|
4024
|
+
border-radius: 3px;
|
|
4102
4025
|
|
|
4103
|
-
|
|
4104
|
-
@include
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4026
|
+
@include media('<tablet') {
|
|
4027
|
+
@include padding(rem(20));
|
|
4028
|
+
}
|
|
4029
|
+
|
|
4030
|
+
&.no-padding {
|
|
4031
|
+
padding: 0;
|
|
4032
|
+
}
|
|
4033
|
+
|
|
4034
|
+
&.border-radius {
|
|
4035
|
+
border-radius: 5px;
|
|
4036
|
+
}
|
|
4037
|
+
|
|
4038
|
+
&.sticky {
|
|
4039
|
+
position: sticky;
|
|
4040
|
+
top: 20px;
|
|
4041
|
+
}
|
|
4042
|
+
|
|
4043
|
+
&.noFullHeight {
|
|
4044
|
+
height: auto;
|
|
4045
|
+
}
|
|
4046
|
+
|
|
4047
|
+
&.stretch {
|
|
4048
|
+
display: flex;
|
|
4049
|
+
flex-wrap: wrap;
|
|
4050
|
+
.wac-block__content {
|
|
4051
|
+
display: flex;
|
|
4052
|
+
}
|
|
4053
|
+
}
|
|
4054
|
+
|
|
4055
|
+
/*************************/
|
|
4056
|
+
/* Titre INTERNE au bloc */
|
|
4057
|
+
/*************************/
|
|
4058
|
+
&__title {
|
|
4059
|
+
text-transform: none;
|
|
4060
|
+
font-size: rem(16);
|
|
4061
|
+
font-weight: 500;
|
|
4062
|
+
margin-bottom: rem(20);
|
|
4063
|
+
color: $wac-main-text;
|
|
4064
|
+
|
|
4065
|
+
&.no-uppercase {
|
|
4066
|
+
text-transform: none;
|
|
4067
|
+
}
|
|
4113
4068
|
|
|
4069
|
+
&.is-simple {
|
|
4070
|
+
text-transform: none;
|
|
4071
|
+
font-weight: 500;
|
|
4072
|
+
}
|
|
4114
4073
|
i {
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4074
|
+
font-size: 16px;
|
|
4075
|
+
margin: 0 0 0 8px;
|
|
4076
|
+
&.success {
|
|
4077
|
+
color: $wac-green-color;
|
|
4078
|
+
}
|
|
4079
|
+
&.warning {
|
|
4080
|
+
color: $wac-orange-color;
|
|
4081
|
+
}
|
|
4082
|
+
&.danger {
|
|
4083
|
+
color: $wac-primary-button;
|
|
4084
|
+
}
|
|
4085
|
+
}
|
|
4086
|
+
}
|
|
4087
|
+
|
|
4088
|
+
&:hover {
|
|
4089
|
+
box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
|
|
4090
|
+
}
|
|
4091
|
+
|
|
4092
|
+
/*************************/
|
|
4093
|
+
/* Titre EXTERNE au bloc */
|
|
4094
|
+
/*************************/
|
|
4095
|
+
&__external {
|
|
4096
|
+
padding: 0;
|
|
4097
|
+
background: transparent;
|
|
4098
|
+
box-shadow: none;
|
|
4099
|
+
height: calc(100% - 60px);
|
|
4100
|
+
transition: none;
|
|
4101
|
+
|
|
4102
|
+
.wac-block__title {
|
|
4103
|
+
font-size: 1.875rem;
|
|
4104
|
+
margin-bottom: 1.5rem;
|
|
4105
|
+
margin-left: 10px;
|
|
4106
|
+
line-height: 1.5625rem;
|
|
4107
|
+
margin-top: 0.625rem;
|
|
4108
|
+
font-weight: 400;
|
|
4109
|
+
color: $wac-block-color;
|
|
4110
|
+
&.is-simple {
|
|
4111
|
+
text-transform: none;
|
|
4112
|
+
font-weight: 500;
|
|
4113
|
+
}
|
|
4114
|
+
}
|
|
4115
|
+
|
|
4116
|
+
.wac-block__content {
|
|
4117
|
+
background-color: $wac-block-color-background;
|
|
4118
|
+
padding: 1.875rem;
|
|
4119
|
+
box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.1);
|
|
4120
|
+
transition: none;
|
|
4121
|
+
height: 100%;
|
|
4122
|
+
&:hover {
|
|
4123
|
+
box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
|
|
4124
|
+
}
|
|
4118
4125
|
}
|
|
4119
4126
|
|
|
4120
4127
|
&:hover {
|
|
4121
|
-
|
|
4122
|
-
transition: border-color 0.3s ease-in-out;
|
|
4128
|
+
box-shadow: none;
|
|
4123
4129
|
}
|
|
4124
4130
|
}
|
|
4125
4131
|
}
|
|
@@ -4244,6 +4244,7 @@
|
|
|
4244
4244
|
|
|
4245
4245
|
var BreadcrumbsComponent = /** @class */ (function () {
|
|
4246
4246
|
function BreadcrumbsComponent() {
|
|
4247
|
+
this.noResponsive = false;
|
|
4247
4248
|
this.index = 0;
|
|
4248
4249
|
this.indexChange = new i0.EventEmitter();
|
|
4249
4250
|
}
|
|
@@ -4258,12 +4259,13 @@
|
|
|
4258
4259
|
BreadcrumbsComponent.decorators = [
|
|
4259
4260
|
{ type: i0.Component, args: [{
|
|
4260
4261
|
selector: 'wac-breadcrumbs',
|
|
4261
|
-
template: "<div class=\"wac-breadcrumbs\">\n <div class=\"wac-breadcrumbs__wrapper\">\n <div class=\"wac-breadcrumbs__item\" *ngFor=\"let b of breadcrumbs; let i = index;\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\" (click)=\"valueChanged(i)\">\n <div class=\"round\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\"><span *ngIf=\"!b.valid\"><span *ngIf=\"i < 9\">0</span>{{ i + 1 }}</span><i class=\"fas fa-check\" *ngIf=\"b.valid\"></i></div>\n <div class=\"name\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\">{{ b.name }}</div>\n </div>\n </div>\n</div>\n"
|
|
4262
|
+
template: "<div class=\"wac-breadcrumbs\" [ngClass]=\"{'no-responsive': noResponsive}\">\n <div class=\"wac-breadcrumbs__wrapper\">\n <div class=\"wac-breadcrumbs__item\" *ngFor=\"let b of breadcrumbs; let i = index;\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\" (click)=\"valueChanged(i)\">\n <div class=\"round\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\"><span *ngIf=\"!b.valid\"><span *ngIf=\"i < 9\">0</span>{{ i + 1 }}</span><i class=\"fas fa-check\" *ngIf=\"b.valid\"></i></div>\n <div class=\"name\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\">{{ b.name }}</div>\n </div>\n </div>\n</div>\n"
|
|
4262
4263
|
},] }
|
|
4263
4264
|
];
|
|
4264
4265
|
BreadcrumbsComponent.ctorParameters = function () { return []; };
|
|
4265
4266
|
BreadcrumbsComponent.propDecorators = {
|
|
4266
4267
|
breadcrumbs: [{ type: i0.Input }],
|
|
4268
|
+
noResponsive: [{ type: i0.Input }],
|
|
4267
4269
|
indexChange: [{ type: i0.Output }]
|
|
4268
4270
|
};
|
|
4269
4271
|
|
|
@@ -4366,7 +4368,7 @@
|
|
|
4366
4368
|
BlockWithCheckboxComponent.decorators = [
|
|
4367
4369
|
{ type: i0.Component, args: [{
|
|
4368
4370
|
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"
|
|
4371
|
+
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
4372
|
},] }
|
|
4371
4373
|
];
|
|
4372
4374
|
BlockWithCheckboxComponent.ctorParameters = function () { return []; };
|