@wizishop/angular-components 0.0.224 → 0.0.227

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.
@@ -1080,139 +1080,118 @@ $wac-subtitle-color: #7A87A1!default;
1080
1080
  }
1081
1081
  }
1082
1082
  }
1083
- }.block-with-checkbox {
1084
- width: 100%;
1085
- display: flex;
1086
- align-items: center;
1087
- background-color: $wac-white;
1088
- box-shadow: 0px 2px 6px #0000000D;
1083
+ }.wac-block {
1084
+ background-color: $white;
1085
+ @include padding(rem(30));
1086
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
1087
+ @include simple_transition();
1088
+ height: 100%;
1089
1089
  border-radius: 3px;
1090
- margin: 0 0 15px;
1091
- padding: 30px;
1092
- border: 2px solid transparent;
1093
- transition: .3s ease;
1094
- opacity: .45;
1095
- &.selected, &:not(.disabled):hover, &:not(.disabled):focus {
1096
- border-color: $wac-input-active-color;
1097
- opacity: 1!important;
1090
+
1091
+ @include media('<tablet') {
1092
+ @include padding(rem(20));
1098
1093
  }
1099
- &.firstWacRadioBLock:not(.disabled) {
1100
- opacity: 1!important;
1094
+
1095
+ &.no-padding {
1096
+ padding: 0;
1101
1097
  }
1102
- @include media('<tablet') {
1103
- padding: 20px;
1104
- flex-direction: column;
1105
- align-items: center;
1106
- justify-content: flex-start;
1098
+
1099
+ &.border-radius {
1100
+ border-radius: 5px;
1107
1101
  }
1108
- &__left {
1109
- width: 30px;
1110
- margin: 0 20px 0 0;
1111
- display: flex;
1112
- align-items: center;
1113
- cursor: pointer;
1114
- @include media('<tablet') {
1115
- margin: 0 0 20px;
1116
- }
1102
+
1103
+ &.sticky {
1104
+ position: sticky;
1105
+ top: 20px;
1117
1106
  }
1118
- &__center {
1119
- width: 100%;
1120
- cursor: pointer;
1107
+
1108
+ &.noFullHeight {
1109
+ height: auto;
1121
1110
  }
1122
- &:hover:not(.disabled), &:focus:not(.disabled) {
1123
- input + label {
1124
- &:before {
1125
- border-color: $wac-input-active-color !important;
1126
- }
1111
+
1112
+ &.stretch {
1113
+ display: flex;
1114
+ flex-wrap: wrap;
1115
+ .wac-block__content {
1116
+ display: flex;
1127
1117
  }
1128
1118
  }
1129
- }
1130
1119
 
1131
- .wac-radio-block {
1132
- width: 22px!important;
1133
- height: 22px;
1134
- input {
1135
- outline: 0 !important;
1136
- display: none;
1137
- & + label {
1138
- margin: 0 30px 0 0;
1139
- position: relative;
1140
- cursor: pointer;
1141
- display: block;
1142
- width: 22px;
1143
- height: 22px;
1144
- padding: 0!important;
1145
- &:before {
1146
- content: '';
1147
- display: block;
1148
- position: absolute;
1149
- width: 22px;
1150
- height: 22px;
1151
- border: 1px solid $wac-border-form;
1152
- border-radius: 23px;
1153
- top: 0;
1154
- left: 0;
1155
- }
1156
- &:after {
1157
- content: "";
1158
- display: block;
1159
- position: absolute;
1160
- width: 16px;
1161
- height: 16px;
1162
- border-radius: 23px;
1163
- background: $wac-input-active-color;
1164
- top: 50%;
1165
- left: 50%;
1166
- transform: translate(-50%, -50%);
1167
- opacity: 0;
1168
- }
1169
- &:before,
1170
- &:after {
1171
- outline: 0 !important;
1172
- }
1173
- &:hover,
1174
- &:focus {
1175
- &:before {
1176
- border-color: $wac-input-active-color !important;
1177
- }
1178
- }
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;
1129
+
1130
+ &.no-uppercase {
1131
+ text-transform: none;
1179
1132
  }
1180
- &:hover {
1181
- & + label {
1182
- color: $wac-input-radio-color-active-label;
1183
- &:before {
1184
- border-color: $wac-input-active-color !important;
1185
- }
1186
- }
1187
- &:not([disabled]) {
1188
- & + label {
1189
- &:before {
1190
- border-color: $wac-input-active-color !important;
1191
- }
1192
- }
1193
- }
1133
+
1134
+ &.is-simple {
1135
+ text-transform: none;
1136
+ font-weight: 500;
1194
1137
  }
1195
- &:checked + label {
1196
- color: $wac-input-radio-color-active-label;
1197
- &:before {
1198
- border-color: $wac-input-active-color!important;
1138
+ i {
1139
+ font-size: 16px;
1140
+ margin: 0 0 0 8px;
1141
+ &.success {
1142
+ color: $wac-green-color;
1199
1143
  }
1200
- &:after {
1201
- opacity: 1;
1144
+ &.warning {
1145
+ color: $wac-orange-color;
1146
+ }
1147
+ &.danger {
1148
+ color: $wac-primary-button;
1202
1149
  }
1203
1150
  }
1204
1151
  }
1205
1152
 
1206
-
1207
- .wac-radio__row {
1208
- min-width: 100%;
1209
- margin: 0;
1210
- height: 22px;
1153
+ &:hover {
1154
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
1211
1155
  }
1212
1156
 
1213
- label {
1214
- padding-left: 7px;
1215
- margin-right: 0;
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
+ }
1190
+ }
1191
+
1192
+ &:hover {
1193
+ box-shadow: none;
1194
+ }
1216
1195
  }
1217
1196
  }
1218
1197
  .wac-separator {
@@ -1288,8 +1267,21 @@ $wac-subtitle-color: #7A87A1!default;
1288
1267
  &:before {
1289
1268
  background-color: $wac-wizishop-blue;
1290
1269
  }
1270
+ &:hover, &:focus {
1271
+ .round {
1272
+ background-color: $wac-wizishop-blue;
1273
+ border-color: $wac-wizishop-blue;
1274
+ > span, > i {
1275
+ color: $wac-white;
1276
+ }
1277
+ }
1278
+ .name {
1279
+ color: $wac-wizishop-blue;
1280
+ }
1281
+ }
1291
1282
  }
1292
1283
 
1284
+
1293
1285
  &.current {
1294
1286
  &:before {
1295
1287
  height: 5px;
@@ -1339,18 +1331,6 @@ $wac-subtitle-color: #7A87A1!default;
1339
1331
  color: $wac-wizishop-blue;
1340
1332
  }
1341
1333
  }
1342
- &:hover:not(.valid), &:focus:not(.valid) {
1343
- .round {
1344
- background-color: $wac-wizishop-blue;
1345
- border-color: $wac-wizishop-blue;
1346
- > span, > i {
1347
- color: $wac-white;
1348
- }
1349
- }
1350
- .name {
1351
- color: $wac-wizishop-blue;
1352
- }
1353
- }
1354
1334
  }
1355
1335
  }
1356
1336
  .wac-settings {
@@ -7441,118 +7421,139 @@ div.wac-field-input-search {
7441
7421
  }
7442
7422
  }
7443
7423
  }
7444
- .wac-block {
7445
- background-color: $white;
7446
- @include padding(rem(30));
7447
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
7448
- @include simple_transition();
7449
- height: 100%;
7424
+ .block-with-checkbox {
7425
+ width: 100%;
7426
+ display: flex;
7427
+ align-items: center;
7428
+ background-color: $wac-white;
7429
+ box-shadow: 0px 2px 6px #0000000D;
7450
7430
  border-radius: 3px;
7451
-
7452
- @include media('<tablet') {
7453
- @include padding(rem(20));
7454
- }
7455
-
7456
- &.no-padding {
7457
- padding: 0;
7458
- }
7459
-
7460
- &.border-radius {
7461
- border-radius: 5px;
7431
+ margin: 0 0 15px;
7432
+ padding: 30px;
7433
+ border: 2px solid transparent;
7434
+ transition: .3s ease;
7435
+ opacity: .45;
7436
+ &.selected, &:not(.disabled):hover, &:not(.disabled):focus {
7437
+ border-color: $wac-input-active-color;
7438
+ opacity: 1!important;
7462
7439
  }
7463
-
7464
- &.sticky {
7465
- position: sticky;
7466
- top: 20px;
7440
+ &.firstWacRadioBLock:not(.disabled) {
7441
+ opacity: 1!important;
7467
7442
  }
7468
-
7469
- &.noFullHeight {
7470
- height: auto;
7443
+ @include media('<tablet') {
7444
+ padding: 20px;
7445
+ flex-direction: column;
7446
+ align-items: center;
7447
+ justify-content: flex-start;
7471
7448
  }
7472
-
7473
- &.stretch {
7449
+ &__left {
7450
+ width: 30px;
7451
+ margin: 0 20px 0 0;
7474
7452
  display: flex;
7475
- flex-wrap: wrap;
7476
- .wac-block__content {
7477
- display: flex;
7453
+ align-items: center;
7454
+ cursor: pointer;
7455
+ @include media('<tablet') {
7456
+ margin: 0 0 20px;
7478
7457
  }
7479
7458
  }
7480
-
7481
- /*************************/
7482
- /* Titre INTERNE au bloc */
7483
- /*************************/
7484
- &__title {
7485
- text-transform: none;
7486
- font-size: rem(16);
7487
- font-weight: 500;
7488
- margin-bottom: rem(20);
7489
- color: $wac-main-text;
7490
-
7491
- &.no-uppercase {
7492
- text-transform: none;
7459
+ &__center {
7460
+ width: 100%;
7461
+ cursor: pointer;
7462
+ }
7463
+ &:hover:not(.disabled), &:focus:not(.disabled) {
7464
+ input + label {
7465
+ &:before {
7466
+ border-color: $wac-input-active-color !important;
7467
+ }
7493
7468
  }
7469
+ }
7470
+ }
7494
7471
 
7495
- &.is-simple {
7496
- text-transform: none;
7497
- font-weight: 500;
7498
- }
7499
- i {
7500
- font-size: 16px;
7501
- margin: 0 0 0 8px;
7502
- &.success {
7503
- color: $wac-green-color;
7472
+ .wac-radio-block {
7473
+ width: 22px!important;
7474
+ height: 22px;
7475
+ input {
7476
+ outline: 0 !important;
7477
+ display: none;
7478
+ & + label {
7479
+ margin: 0 30px 0 0;
7480
+ position: relative;
7481
+ cursor: pointer;
7482
+ display: block;
7483
+ width: 22px;
7484
+ height: 22px;
7485
+ padding: 0!important;
7486
+ &:before {
7487
+ content: '';
7488
+ display: block;
7489
+ position: absolute;
7490
+ width: 22px;
7491
+ height: 22px;
7492
+ border: 1px solid $wac-border-form;
7493
+ border-radius: 23px;
7494
+ top: 0;
7495
+ left: 0;
7504
7496
  }
7505
- &.warning {
7506
- color: $wac-orange-color;
7497
+ &:after {
7498
+ content: "";
7499
+ display: block;
7500
+ position: absolute;
7501
+ width: 16px;
7502
+ height: 16px;
7503
+ border-radius: 23px;
7504
+ background: $wac-input-active-color;
7505
+ top: 50%;
7506
+ left: 50%;
7507
+ transform: translate(-50%, -50%);
7508
+ opacity: 0;
7507
7509
  }
7508
- &.danger {
7509
- color: $wac-primary-button;
7510
+ &:before,
7511
+ &:after {
7512
+ outline: 0 !important;
7513
+ }
7514
+ &:hover,
7515
+ &:focus {
7516
+ &:before {
7517
+ border-color: $wac-input-active-color !important;
7518
+ }
7510
7519
  }
7511
7520
  }
7512
- }
7513
-
7514
- &:hover {
7515
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
7516
- }
7517
-
7518
- /*************************/
7519
- /* Titre EXTERNE au bloc */
7520
- /*************************/
7521
- &__external {
7522
- padding: 0;
7523
- background: transparent;
7524
- box-shadow: none;
7525
- height: calc(100% - 60px);
7526
- transition: none;
7527
-
7528
- .wac-block__title {
7529
- font-size: 1.875rem;
7530
- margin-bottom: 1.5rem;
7531
- margin-left: 10px;
7532
- line-height: 1.5625rem;
7533
- margin-top: 0.625rem;
7534
- font-weight: 400;
7535
- color: $wac-block-color;
7536
- &.is-simple {
7537
- text-transform: none;
7538
- font-weight: 500;
7521
+ &:hover {
7522
+ & + label {
7523
+ color: $wac-input-radio-color-active-label;
7524
+ &:before {
7525
+ border-color: $wac-input-active-color !important;
7526
+ }
7527
+ }
7528
+ &:not([disabled]) {
7529
+ & + label {
7530
+ &:before {
7531
+ border-color: $wac-input-active-color !important;
7532
+ }
7533
+ }
7539
7534
  }
7540
7535
  }
7541
-
7542
- .wac-block__content {
7543
- background-color: $wac-block-color-background;
7544
- padding: 1.875rem;
7545
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.1);
7546
- transition: none;
7547
- height: 100%;
7548
- &:hover {
7549
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
7536
+ &:checked + label {
7537
+ color: $wac-input-radio-color-active-label;
7538
+ &:before {
7539
+ border-color: $wac-input-active-color!important;
7540
+ }
7541
+ &:after {
7542
+ opacity: 1;
7550
7543
  }
7551
7544
  }
7545
+ }
7552
7546
 
7553
- &:hover {
7554
- box-shadow: none;
7555
- }
7547
+
7548
+ .wac-radio__row {
7549
+ min-width: 100%;
7550
+ margin: 0;
7551
+ height: 22px;
7552
+ }
7553
+
7554
+ label {
7555
+ padding-left: 7px;
7556
+ margin-right: 0;
7556
7557
  }
7557
7558
  }
7558
7559
  .wac-pagination {
@@ -3573,7 +3573,7 @@
3573
3573
  PopinComponent.decorators = [
3574
3574
  { type: i0.Component, args: [{
3575
3575
  selector: 'wac-popin',
3576
- template: "<div class=\"wac-free\" *ngIf=\"visible\">\n <div class=\"wac-free__wrapper\" wzAutoHide (clickOutside)=\"closePopin()\">\n <a class=\"wac-free__wrapper__button-close\" (click)=\"closePopin()\">\n <i class=\"fas fa-times\"></i>\n </a>\n <div class=\"wac-free__wrapper__content\">\n <perfect-scrollbar [config]=\"{ suppressScrollX: true }\">\n <img [src]=\"imgSrc\" alt=\"barre admin\" />\n\n <h2 class=\"wac-popin__wrapper__title\" [innerHTML]=\"title\"></h2>\n\n <p class=\"wac-popin__wrapper__text\" [innerHTML]=\"content\"></p>\n </perfect-scrollbar>\n </div>\n <div class=\"wac-free__wrapper__buttons\">\n <div class=\"wac-free__wrapper__buttons__button\" *ngIf=\"okButtonLabel\">\n <wac-button [extraClasses]=\"'is-success'\" [label]=\"okButtonLabel\" hasLoader=\"true\" (click)=\"validatePopin()\"></wac-button>\n </div>\n <div class=\"wac-free__wrapper__buttons__button\" *ngIf=\"koButtonLabel\">\n <wac-button [extraClasses]=\"'is-danger is-outlined'\" [label]=\"koButtonLabel\" hasLoader=\"true\" (click)=\"refusePopin()\"></wac-button>\n </div>\n </div>\n </div>\n <div class=\"wac-free__background\" *ngIf=\"background\"></div>\n</div>\n"
3576
+ template: "<div class=\"wac-free\" *ngIf=\"visible\">\n <div class=\"wac-free__wrapper\" wzAutoHide (clickOutside)=\"closePopin()\">\n <a class=\"wac-free__wrapper__button-close\" (click)=\"closePopin()\">\n <i class=\"fas fa-times\"></i>\n </a>\n <div class=\"wac-free__wrapper__content\">\n <perfect-scrollbar [config]=\"{ suppressScrollX: true }\">\n <img *ngIf=\"imgSrc\" [src]=\"imgSrc\" alt=\"barre admin\" />\n\n <h2 class=\"wac-popin__wrapper__title\" [innerHTML]=\"title\"></h2>\n\n <p class=\"wac-popin__wrapper__text\" [innerHTML]=\"content\"></p>\n </perfect-scrollbar>\n </div>\n <div class=\"wac-free__wrapper__buttons\">\n <div class=\"wac-free__wrapper__buttons__button\" *ngIf=\"okButtonLabel\">\n <wac-button [extraClasses]=\"'is-success'\" [label]=\"okButtonLabel\" hasLoader=\"true\" (click)=\"validatePopin()\"></wac-button>\n </div>\n <div class=\"wac-free__wrapper__buttons__button\" *ngIf=\"koButtonLabel\">\n <wac-button [extraClasses]=\"'is-danger is-outlined'\" [label]=\"koButtonLabel\" hasLoader=\"true\" (click)=\"refusePopin()\"></wac-button>\n </div>\n </div>\n </div>\n <div class=\"wac-free__background\" *ngIf=\"background\"></div>\n</div>\n"
3577
3577
  },] }
3578
3578
  ];
3579
3579
  PopinComponent.ctorParameters = function () { return [