@protacon/muster-booking-frontend 1.23.0 → 1.23.2

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.
@@ -2,6 +2,7 @@
2
2
  .summary-component-container {
3
3
  display: flex;
4
4
  justify-content: space-between;
5
+ padding-top: 4px;
5
6
  }
6
7
 
7
8
  .summary-component {
@@ -36,7 +37,7 @@ nav.disabled {
36
37
  margin: auto;
37
38
  }
38
39
 
39
- .icon {
40
+ .icon-booking {
40
41
  fill: white;
41
42
  }
42
43
 
@@ -68,8 +69,21 @@ nav.disabled {
68
69
  }
69
70
  }
70
71
 
71
- .nav-button {
72
- background: #B9BEC1;
72
+ .nav-button-booking {
73
+ display: inline-block;
74
+ font-weight: 400;
75
+ text-align: center;
76
+ vertical-align: middle;
77
+ -webkit-user-select: none;
78
+ -moz-user-select: none;
79
+ -ms-user-select: none;
80
+ user-select: none;
81
+ border: 1px solid transparent;
82
+ font-size: 1rem;
83
+ line-height: 1.5;
84
+ border-radius: .25rem;
85
+ transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
86
+ background-color: #B9BEC1;
73
87
  width: 24px;
74
88
  height: 24px;
75
89
  padding: 0px;
@@ -77,16 +91,16 @@ nav.disabled {
77
91
  color: white;
78
92
  }
79
93
 
80
- .summary-component nav.active .nav-button {
81
- background: #95C01F;
94
+ .summary-component nav.active .nav-button-booking {
95
+ background-color: #95C01F;
82
96
  }
83
97
 
84
- .nav-button:hover {
98
+ .nav-button-booking:hover {
85
99
  color: white;
86
100
  }
87
101
 
88
- .nav-button.disabled {
89
- background: #E3E3E3;
102
+ .nav-button-booking.disabled {
103
+ background-color: #E3E3E3;
90
104
  }
91
105
 
92
106
  .summary-component nav.active .nav-text {
@@ -161,7 +175,7 @@ button {
161
175
  border: none;
162
176
  }
163
177
 
164
- @media screen and (max-width: 424px) {
178
+ @media screen and (max-width: 991px) {
165
179
  .button-container {
166
180
  display: flex;
167
181
  justify-content: space-between;
@@ -172,8 +186,8 @@ button {
172
186
  height: 89px;
173
187
  border-top: #cccccc 1px solid;
174
188
  }
175
- .previous-button {
176
- display: none;
189
+ .previous-button-booking {
190
+ display: none !important;
177
191
  }
178
192
  .navigation-container {
179
193
  display: flex;
@@ -192,9 +206,8 @@ button {
192
206
  justify-content: space-between;
193
207
  }
194
208
 
195
- .vehicle-step-component .plate-input {
209
+ .vehicle-step-component .plate-input-booking {
196
210
  position: absolute;
197
- height: 100%;
198
211
  top: 0;
199
212
  left: 50px;
200
213
  right: 0px;
@@ -325,15 +338,7 @@ input[type="radio"]:checked::before {
325
338
  transform: translate(-50%, -50%);
326
339
  }
327
340
 
328
- input[type="checkbox"].form-check-input {
329
- margin-left: -3.25rem;
330
- }
331
-
332
- .form-check-input {
333
- margin-left: -2.25rem;
334
- }
335
-
336
- .vehicle-step-component .plate-input[readonly] {
341
+ .vehicle-step-component .plate-input-booking[readonly] {
337
342
  background-color: white;
338
343
  }
339
344
 
@@ -354,7 +359,7 @@ input[type="checkbox"].form-check-input {
354
359
  border: 1px solid #979797;
355
360
  }
356
361
 
357
- .vehicle-step-component .plate-input.is-invalid {
362
+ .vehicle-step-component .plate-input-booking.is-invalid {
358
363
  background: white;
359
364
  padding-right: 0;
360
365
  }
@@ -448,7 +453,7 @@ input[type="checkbox"].form-check-input {
448
453
  height: 66px;
449
454
  }
450
455
 
451
- .vehicle-step-component .plate-input {
456
+ .vehicle-step-component .plate-input-booking {
452
457
  left: 46px;
453
458
  width: calc(100% - 46px);
454
459
  font-size: 45px !important;
@@ -478,7 +483,7 @@ input[type="checkbox"].form-check-input {
478
483
  height: 50px;
479
484
  }
480
485
 
481
- .vehicle-step-component .plate-input {
486
+ .vehicle-step-component .plate-input-booking {
482
487
  left: 38px;
483
488
  width: calc(100% - 38px);
484
489
  font-size: 40px !important;
@@ -594,21 +599,25 @@ input[type="checkbox"] {
594
599
 
595
600
  /*For pagination component*/
596
601
  .page-link {
597
- color: #3A7203;
602
+ color: #3A7203 !important;
598
603
  }
599
604
 
600
605
  /*For pagination component*/
601
606
  .page-item.active .page-link {
602
607
  z-index: 1;
603
- color: #fff;
604
- background-color: #3A7203;
605
- border-color: #3A7203;
608
+ color: #fff !important;
609
+ background-color: #3A7203 !important;
610
+ border-color: #3A7203 !important;
606
611
  }
607
612
 
608
613
  .map-button {
609
614
  display: none;
610
615
  }
611
616
 
617
+ .map-button:focus {
618
+ box-shadow: none;
619
+ }
620
+
612
621
  @media screen and (max-width: 991px) {
613
622
  .row-container-left {
614
623
  width: 100%;
@@ -635,11 +644,11 @@ input[type="checkbox"] {
635
644
  .map-button {
636
645
  display: inline-block;
637
646
  background-color: #b9bec110;
638
- color: #ffffff;
639
647
  border-color: #b9bec110;
640
648
  color: #000000;
641
649
  width: 56px;
642
650
  height: 56px;
651
+ padding: 0;
643
652
  margin-left: 16px;
644
653
  }
645
654
  }
@@ -742,15 +751,15 @@ input[type="checkbox"] {
742
751
  }
743
752
 
744
753
  .dropdown-toggle::after {
745
- display: none;
754
+ display: none !important;
746
755
  }
747
756
 
748
757
  .sort-button {
749
- color: #95C01F;
758
+ color: #95C01F !important;
750
759
  height: auto;
751
760
  width: auto;
752
761
  padding: 5px;
753
- background: transparent;
762
+ background-color: transparent !important;
754
763
  border: none;
755
764
  margin: auto;
756
765
  margin-right: 2px;
@@ -758,12 +767,6 @@ input[type="checkbox"] {
758
767
  justify-content: space-between;
759
768
  }
760
769
 
761
- .sort-button:hover {
762
- background: #E3E3E3;
763
- color: #000000;
764
- border: none;
765
- }
766
-
767
770
  .sort-dropdown {
768
771
  height: 20px;
769
772
  margin: auto;
@@ -771,12 +774,6 @@ input[type="checkbox"] {
771
774
  margin-bottom: 24px;
772
775
  }
773
776
 
774
- .dropdown-toggle:active {
775
- background: #E3E3E3;
776
- color: #000000;
777
- border: none;
778
- }
779
-
780
777
  .slot {
781
778
  border: 2px solid #D8D8D8;
782
779
  border-radius: 2px;
@@ -933,6 +930,8 @@ input[type="checkbox"] {
933
930
  }
934
931
  .react-datepicker__day--selected {
935
932
  background-color: #95C01F;
933
+ padding: 0 !important;
934
+ width: 14% !important;
936
935
  }
937
936
  .react-datepicker__day--selected:hover {
938
937
  background-color: #3A7203;
@@ -1079,6 +1078,9 @@ input[type="checkbox"] {
1079
1078
  }
1080
1079
  }
1081
1080
 
1081
+ .finalize-step-component {
1082
+ font-family: Inter, sans-serif;
1083
+ }
1082
1084
 
1083
1085
  .finalize-step-component .invalid-feedback {
1084
1086
  display: block;
@@ -1090,6 +1092,9 @@ input[type="checkbox"] {
1090
1092
  padding-left: 4px;
1091
1093
  }
1092
1094
 
1095
+ .confirm-bookin-button {
1096
+ width: auto;
1097
+ }
1093
1098
  .summary-component .card-header {
1094
1099
  display: flex;
1095
1100
  justify-content: center;
@@ -1146,6 +1151,10 @@ input[type="checkbox"] {
1146
1151
  .summary-component .campaign-name {
1147
1152
  flex-flow: wrap;
1148
1153
  }
1154
+
1155
+ .edit-button {
1156
+ height: auto;
1157
+ }
1149
1158
  .confirmation-step-component .confirmation-step-confirm-icon {
1150
1159
  width: 38px;
1151
1160
  height: 38px;
@@ -1178,7 +1187,7 @@ input[type="checkbox"] {
1178
1187
 
1179
1188
 
1180
1189
  .insurance {
1181
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
1190
+ font-family: Inter, sans-serif;
1182
1191
  font-size: 18px;
1183
1192
  line-height: 1.5;
1184
1193
  max-width: 440px;
@@ -1217,14 +1226,155 @@ input[type="checkbox"] {
1217
1226
  font-weight: 700;
1218
1227
  }
1219
1228
 
1229
+ .cancel-booking-button {
1230
+ width: auto;
1231
+ }
1232
+
1220
1233
  @media screen and (max-width: 767px) {
1221
1234
  .modify-reservation-component .title {
1222
1235
  font-size: 1.5rem;
1223
1236
  }
1224
1237
  }
1238
+ body {
1239
+ background: white;
1240
+ font-size: 16px;
1241
+ font-family: Inter, sans-serif;
1242
+ }
1243
+
1244
+ @font-face {
1245
+ font-display: block;
1246
+ font-family: Azbuka W01 Bold;
1247
+ src: url(/fonts/azbuka.eot);
1248
+ src: url(/fonts/azbuka.eot?#iefix) format("embedded-opentype"),
1249
+ url(/fonts/azbuka.woff2) format("woff2"),
1250
+ url(/fonts/azbuka.woff) format("woff"),
1251
+ url(/fonts/azbuka.ttf) format("truetype"),
1252
+ url("/fonts/azbuka.woff#Azbuka W01 Bold") format("svg");
1253
+ }
1254
+
1255
+ .full-width-input {
1256
+ width: 100% !important;
1257
+ }
1258
+
1259
+ .booking-component h5 {
1260
+ color: #b1b1b1;
1261
+ font-family: Azbuka W01 Bold, "sans-serif";
1262
+ font-size: 18px;
1263
+ }
1264
+
1265
+ .grey {
1266
+ color: #b1b1b1;
1267
+ letter-spacing: 1px;
1268
+ }
1269
+
1270
+ .booking-component h2 {
1271
+ font-family: Azbuka W01 Bold,"sans-serif";
1272
+ font-size: 33px;
1273
+ }
1274
+
1275
+ .booking-component .plate-input-booking {
1276
+ font-family: Azbuka W01 Bold, "sans-serif";
1277
+ font-size: 50px;
1278
+ letter-spacing: 2px;
1279
+ text-align: center;
1280
+ height: 100%;
1281
+ }
1282
+
1283
+ .summary-component {
1284
+ font-family: Azbuka W01 Bold, "sans-serif";
1285
+ }
1286
+
1287
+ .time-step-component h4 {
1288
+ color: #b1b1b1;
1289
+ font-family: Azbuka W01 Bold,"sans-serif";
1290
+ font-size: 18px;
1291
+ text-transform: uppercase;
1292
+ }
1293
+
1294
+ .title {
1295
+ margin-top: .5rem;
1296
+ }
1297
+
1298
+ .form-check-input-booking {
1299
+ position: absolute;
1300
+ margin-top: .3rem;
1301
+ margin-left: -2.25rem
1302
+ }
1303
+
1304
+ .btn-booking {
1305
+ display: inline-block;
1306
+ font-weight: 400;
1307
+ text-align: center;
1308
+ vertical-align: middle;
1309
+ -webkit-user-select: none;
1310
+ -moz-user-select: none;
1311
+ -ms-user-select: none;
1312
+ user-select: none;
1313
+ background-color: transparent;
1314
+ border: 1px solid transparent;
1315
+ padding: .375rem .75rem;
1316
+ font-size: 1rem;
1317
+ line-height: 1.5;
1318
+ border-radius: .25rem;
1319
+ transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out
1320
+ }
1321
+
1322
+ .btn-booking:disabled, .btn-booking:disabled:hover{
1323
+ background-color: #E3E3E3 !important;
1324
+ color: #495057 !important;
1325
+ border: none;
1326
+ }
1327
+
1328
+ .input-group-booking>.custom-file,.input-group-booking>.custom-select,.input-group-booking>.form-control-booking,.input-group-booking>.form-control-plaintext {
1329
+ position: relative;
1330
+ -ms-flex: 1 1 auto;
1331
+ flex: 1 1 auto;
1332
+ width: 1%;
1333
+ min-width: 0;
1334
+ margin-bottom: 0
1335
+ }
1336
+
1337
+ .form-control-booking {
1338
+ display: flex;
1339
+ width: auto;
1340
+ height: 56px;
1341
+ border-radius: 5px;
1342
+ padding: .375rem .75rem;
1343
+ font-size: 1rem;
1344
+ font-weight: 400;
1345
+ line-height: 1.5;
1346
+ color: #495057;
1347
+ background-color: #fff;
1348
+ background-clip: padding-box;
1349
+ border: 1px solid #ced4da;
1350
+ transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
1351
+ }
1352
+
1353
+ .campaing-code {
1354
+ border-radius: 5px 0 0 5px;
1355
+ }
1356
+
1357
+ .is-invalid {
1358
+ border-color: #dc3545;
1359
+ }
1360
+
1361
+ .input-group-booking {
1362
+ position: relative;
1363
+ display: flex;
1364
+ flex-wrap: wrap;
1365
+ align-items: stretch;
1366
+ width: 100%;
1367
+ flex: 1 1 auto;
1368
+ }
1369
+
1370
+ input[type="checkbox"].form-check-input-booking {
1371
+ margin-left: -3.25rem;
1372
+ }
1373
+
1225
1374
  .booking-component {
1226
1375
  width: 100%;
1227
1376
  height: auto;
1377
+ max-height: calc(100vh - 180px);;
1228
1378
  display: flex;
1229
1379
  overflow: hidden;
1230
1380
  flex-direction: column;
@@ -1238,10 +1388,10 @@ input[type="checkbox"] {
1238
1388
  width: 100%;
1239
1389
  }
1240
1390
 
1241
- .btn-apply {
1391
+ .btn-apply-booking {
1242
1392
  background: #8AC100;
1243
1393
  border: none;
1244
- border-radius: 7px;
1394
+ border-radius: 0 5px 5px 0;
1245
1395
  color: #ffffff;
1246
1396
  font-weight: 700;
1247
1397
  font-size: 16px;
@@ -1265,15 +1415,9 @@ input[type="checkbox"] {
1265
1415
  justify-content: space-between;
1266
1416
  margin-top: 16px;
1267
1417
  padding: 16px;
1268
- width: 100%;
1269
1418
  height: 89px;
1270
1419
  }
1271
1420
 
1272
- .form-control{
1273
- height: 56px;
1274
- border-radius: 5px;
1275
- }
1276
-
1277
1421
  ::-webkit-scrollbar {
1278
1422
  width: 16px;
1279
1423
  }
@@ -1308,6 +1452,7 @@ input[type="checkbox"] {
1308
1452
  }
1309
1453
 
1310
1454
  .booking-component {
1455
+ max-height: none;
1311
1456
  height: calc(100vh - 97px);
1312
1457
  }
1313
1458
 
@@ -1326,4 +1471,3 @@ input[type="checkbox"] {
1326
1471
  }
1327
1472
  }
1328
1473
 
1329
-
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "Muster by Pinja",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "/dist/index.bundle.js",
7
- "version": "1.23.0",
7
+ "version": "1.23.2",
8
8
  "scripts": {
9
9
  "start": "webpack-dev-server",
10
10
  "build": "cross-env NODE_ENV=production OUTPUT=library webpack --progress",