@wizishop/angular-components 0.0.223 → 0.0.224

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,31 +1080,139 @@ $wac-subtitle-color: #7A87A1!default;
1080
1080
  }
1081
1081
  }
1082
1082
  }
1083
- }.wac-back {
1084
- width: 40px;
1085
- height: 40px;
1086
-
1087
- &__wrapper {
1088
- @include flexbox();
1089
- @include justify-content(center);
1090
- @include align-items(center);
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;
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;
1098
+ }
1099
+ &.firstWacRadioBLock:not(.disabled) {
1100
+ opacity: 1!important;
1101
+ }
1102
+ @include media('<tablet') {
1103
+ padding: 20px;
1104
+ flex-direction: column;
1105
+ align-items: center;
1106
+ justify-content: flex-start;
1107
+ }
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
+ }
1117
+ }
1118
+ &__center {
1091
1119
  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;
1097
-
1098
- i {
1099
- color: $wac-second-color;
1100
- font-size: 11px;
1101
- line-height: 14px;
1120
+ cursor: pointer;
1121
+ }
1122
+ &:hover:not(.disabled), &:focus:not(.disabled) {
1123
+ input + label {
1124
+ &:before {
1125
+ border-color: $wac-input-active-color !important;
1126
+ }
1102
1127
  }
1128
+ }
1129
+ }
1103
1130
 
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
+ }
1179
+ }
1104
1180
  &:hover {
1105
- border-color: $wac-back-border-hover;
1106
- transition: border-color 0.3s ease-in-out;
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
+ }
1107
1194
  }
1195
+ &:checked + label {
1196
+ color: $wac-input-radio-color-active-label;
1197
+ &:before {
1198
+ border-color: $wac-input-active-color!important;
1199
+ }
1200
+ &:after {
1201
+ opacity: 1;
1202
+ }
1203
+ }
1204
+ }
1205
+
1206
+
1207
+ .wac-radio__row {
1208
+ min-width: 100%;
1209
+ margin: 0;
1210
+ height: 22px;
1211
+ }
1212
+
1213
+ label {
1214
+ padding-left: 7px;
1215
+ margin-right: 0;
1108
1216
  }
1109
1217
  }
1110
1218
  .wac-separator {
@@ -1129,6 +1237,24 @@ $wac-subtitle-color: #7A87A1!default;
1129
1237
  &:not(.no-responsive) {
1130
1238
  max-width: 100%;
1131
1239
  overflow: hidden;
1240
+ .wac-breadcrumbs {
1241
+ &__wrapper {
1242
+ @include media('<tablet') {
1243
+ width: auto;
1244
+ overflow-x: scroll;
1245
+ }
1246
+ }
1247
+ &__item {
1248
+ @include media('<tablet') {
1249
+ width: auto;
1250
+ min-width: unset;
1251
+ max-width: unset;
1252
+ .name {
1253
+ white-space: nowrap;
1254
+ }
1255
+ }
1256
+ }
1257
+ }
1132
1258
  }
1133
1259
  }
1134
1260
 
@@ -1136,13 +1262,6 @@ $wac-subtitle-color: #7A87A1!default;
1136
1262
  width: 100%;
1137
1263
  display: flex;
1138
1264
  align-items: center;
1139
-
1140
- @include media('<tablet') {
1141
- :not(.no-responsive) & {
1142
- width: auto;
1143
- overflow-x: scroll;
1144
- }
1145
- }
1146
1265
  }
1147
1266
 
1148
1267
  &__item {
@@ -1176,16 +1295,6 @@ $wac-subtitle-color: #7A87A1!default;
1176
1295
  height: 5px;
1177
1296
  }
1178
1297
  }
1179
- @include media('<tablet') {
1180
- :not(.no-responsive) & {
1181
- width: auto;
1182
- min-width: unset;
1183
- max-width: unset;
1184
- .name {
1185
- white-space: nowrap;
1186
- }
1187
- }
1188
- }
1189
1298
  .round {
1190
1299
  min-width: 30px;
1191
1300
  height: 30px;
@@ -4015,117 +4124,30 @@ span.wac-tooltip {
4015
4124
  }
4016
4125
  }
4017
4126
  }
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;
4025
-
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;
4127
+ .wac-back {
4128
+ width: 40px;
4129
+ height: 40px;
4064
4130
 
4065
- &.no-uppercase {
4066
- text-transform: none;
4067
- }
4131
+ &__wrapper {
4132
+ @include flexbox();
4133
+ @include justify-content(center);
4134
+ @include align-items(center);
4135
+ width: 100%;
4136
+ height: 100%;
4137
+ border-radius: 3px;
4138
+ border: 1px solid $wac-border-light;
4139
+ background-color: transparent;
4140
+ transition: border-color 0.3s ease-in-out;
4068
4141
 
4069
- &.is-simple {
4070
- text-transform: none;
4071
- font-weight: 500;
4072
- }
4073
4142
  i {
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
- }
4143
+ color: $wac-second-color;
4144
+ font-size: 11px;
4145
+ line-height: 14px;
4125
4146
  }
4126
4147
 
4127
4148
  &:hover {
4128
- box-shadow: none;
4149
+ border-color: $wac-back-border-hover;
4150
+ transition: border-color 0.3s ease-in-out;
4129
4151
  }
4130
4152
  }
4131
4153
  }
@@ -7419,139 +7441,118 @@ div.wac-field-input-search {
7419
7441
  }
7420
7442
  }
7421
7443
  }
7422
- .block-with-checkbox {
7423
- width: 100%;
7424
- display: flex;
7425
- align-items: center;
7426
- background-color: $wac-white;
7427
- box-shadow: 0px 2px 6px #0000000D;
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%;
7428
7450
  border-radius: 3px;
7429
- margin: 0 0 15px;
7430
- padding: 30px;
7431
- border: 2px solid transparent;
7432
- transition: .3s ease;
7433
- opacity: .45;
7434
- &.selected, &:not(.disabled):hover, &:not(.disabled):focus {
7435
- border-color: $wac-input-active-color;
7436
- opacity: 1!important;
7451
+
7452
+ @include media('<tablet') {
7453
+ @include padding(rem(20));
7437
7454
  }
7438
- &.firstWacRadioBLock:not(.disabled) {
7439
- opacity: 1!important;
7455
+
7456
+ &.no-padding {
7457
+ padding: 0;
7440
7458
  }
7441
- @include media('<tablet') {
7442
- padding: 20px;
7443
- flex-direction: column;
7444
- align-items: center;
7445
- justify-content: flex-start;
7459
+
7460
+ &.border-radius {
7461
+ border-radius: 5px;
7446
7462
  }
7447
- &__left {
7448
- width: 30px;
7449
- margin: 0 20px 0 0;
7450
- display: flex;
7451
- align-items: center;
7452
- cursor: pointer;
7453
- @include media('<tablet') {
7454
- margin: 0 0 20px;
7455
- }
7463
+
7464
+ &.sticky {
7465
+ position: sticky;
7466
+ top: 20px;
7456
7467
  }
7457
- &__center {
7458
- width: 100%;
7459
- cursor: pointer;
7468
+
7469
+ &.noFullHeight {
7470
+ height: auto;
7460
7471
  }
7461
- &:hover:not(.disabled), &:focus:not(.disabled) {
7462
- input + label {
7463
- &:before {
7464
- border-color: $wac-input-active-color !important;
7465
- }
7472
+
7473
+ &.stretch {
7474
+ display: flex;
7475
+ flex-wrap: wrap;
7476
+ .wac-block__content {
7477
+ display: flex;
7466
7478
  }
7467
7479
  }
7468
- }
7469
7480
 
7470
- .wac-radio-block {
7471
- width: 22px!important;
7472
- height: 22px;
7473
- input {
7474
- outline: 0 !important;
7475
- display: none;
7476
- & + label {
7477
- margin: 0 30px 0 0;
7478
- position: relative;
7479
- cursor: pointer;
7480
- display: block;
7481
- width: 22px;
7482
- height: 22px;
7483
- padding: 0!important;
7484
- &:before {
7485
- content: '';
7486
- display: block;
7487
- position: absolute;
7488
- width: 22px;
7489
- height: 22px;
7490
- border: 1px solid $wac-border-form;
7491
- border-radius: 23px;
7492
- top: 0;
7493
- left: 0;
7494
- }
7495
- &:after {
7496
- content: "";
7497
- display: block;
7498
- position: absolute;
7499
- width: 16px;
7500
- height: 16px;
7501
- border-radius: 23px;
7502
- background: $wac-input-active-color;
7503
- top: 50%;
7504
- left: 50%;
7505
- transform: translate(-50%, -50%);
7506
- opacity: 0;
7507
- }
7508
- &:before,
7509
- &:after {
7510
- outline: 0 !important;
7511
- }
7512
- &:hover,
7513
- &:focus {
7514
- &:before {
7515
- border-color: $wac-input-active-color !important;
7516
- }
7517
- }
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;
7518
7493
  }
7519
- &:hover {
7520
- & + label {
7521
- color: $wac-input-radio-color-active-label;
7522
- &:before {
7523
- border-color: $wac-input-active-color !important;
7524
- }
7525
- }
7526
- &:not([disabled]) {
7527
- & + label {
7528
- &:before {
7529
- border-color: $wac-input-active-color !important;
7530
- }
7531
- }
7532
- }
7494
+
7495
+ &.is-simple {
7496
+ text-transform: none;
7497
+ font-weight: 500;
7533
7498
  }
7534
- &:checked + label {
7535
- color: $wac-input-radio-color-active-label;
7536
- &:before {
7537
- border-color: $wac-input-active-color!important;
7499
+ i {
7500
+ font-size: 16px;
7501
+ margin: 0 0 0 8px;
7502
+ &.success {
7503
+ color: $wac-green-color;
7538
7504
  }
7539
- &:after {
7540
- opacity: 1;
7505
+ &.warning {
7506
+ color: $wac-orange-color;
7507
+ }
7508
+ &.danger {
7509
+ color: $wac-primary-button;
7541
7510
  }
7542
7511
  }
7543
7512
  }
7544
7513
 
7545
-
7546
- .wac-radio__row {
7547
- min-width: 100%;
7548
- margin: 0;
7549
- height: 22px;
7514
+ &:hover {
7515
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
7550
7516
  }
7551
7517
 
7552
- label {
7553
- padding-left: 7px;
7554
- margin-right: 0;
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;
7539
+ }
7540
+ }
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);
7550
+ }
7551
+ }
7552
+
7553
+ &:hover {
7554
+ box-shadow: none;
7555
+ }
7555
7556
  }
7556
7557
  }
7557
7558
  .wac-pagination {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizishop/angular-components",
3
- "version": "0.0.223",
3
+ "version": "0.0.224",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^11.2.12",
6
6
  "@angular/core": "^11.2.12",