@protacon/muster-booking-frontend 2.2.1 → 2.4.0

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.
@@ -699,7 +699,7 @@ button {
699
699
  width: 150px;
700
700
  color: #ffffff;
701
701
  font-weight: 700;
702
- font-size: 16px;
702
+ font-size: 16px !important;
703
703
  line-height: 24px;
704
704
  padding: 16px;
705
705
  }
@@ -708,8 +708,8 @@ button {
708
708
  width: auto;
709
709
  }
710
710
 
711
- .next-button:disabled {
712
- background: #e3e3e3;
711
+ .btn-primary.next-button:disabled {
712
+ background: #e3e3e3 !important;
713
713
  color: #000000;
714
714
  border: none;
715
715
  }
@@ -750,6 +750,10 @@ button {
750
750
  margin: 0;
751
751
  }
752
752
 
753
+ .list-load-error {
754
+ color: #b00020;
755
+ }
756
+
753
757
  .station-list a {
754
758
  display: flex;
755
759
  }
@@ -787,6 +791,7 @@ button {
787
791
  .row-container-left-body {
788
792
  display: flex;
789
793
  flex-direction: column;
794
+ position: relative;
790
795
  height: auto;
791
796
  }
792
797
 
@@ -795,6 +800,7 @@ button {
795
800
  width: 50%;
796
801
  height: 557px;
797
802
  padding-left: 32px;
803
+ position: relative;
798
804
  }
799
805
 
800
806
  .station-step-component .geocode-input-group button {
@@ -885,6 +891,23 @@ input[type='checkbox'] {
885
891
  }
886
892
  }
887
893
 
894
+ .loading-overlay {
895
+ width: 100%;
896
+ height: 100%;
897
+ position: absolute;
898
+ inset: 0;
899
+ display: flex;
900
+ align-items: center;
901
+ justify-content: center;
902
+ background-color: #fff;
903
+ }
904
+
905
+ .loading-overlay-inline {
906
+ height: 96px;
907
+ position: static;
908
+ inset: auto;
909
+ }
910
+
888
911
  .time-step-component {
889
912
  width: 100%;
890
913
  height: 100%;
@@ -893,6 +916,10 @@ input[type='checkbox'] {
893
916
  overflow: hidden;
894
917
  }
895
918
 
919
+ .list-load-error {
920
+ color: #b00020;
921
+ }
922
+
896
923
  .search-time-slot {
897
924
  width: auto;
898
925
  }
@@ -1210,6 +1237,16 @@ input[type='checkbox'] {
1210
1237
  border-radius: 4px;
1211
1238
  }
1212
1239
 
1240
+ .react-datepicker__day--disabled .day-with-price {
1241
+ opacity: 0.45;
1242
+ color: #767676;
1243
+ cursor: default;
1244
+ }
1245
+
1246
+ .react-datepicker__day--disabled .price-text {
1247
+ color: inherit;
1248
+ }
1249
+
1213
1250
  .date-text {
1214
1251
  font-weight: 700;
1215
1252
  font-size: 16px;
@@ -1228,6 +1265,7 @@ input[type='checkbox'] {
1228
1265
  .row-container-right-prices {
1229
1266
  display: flex;
1230
1267
  flex-direction: column;
1268
+ position: relative;
1231
1269
  width: 50%;
1232
1270
  height: 100%;
1233
1271
  padding-left: 32px;
@@ -1420,6 +1458,12 @@ input[type='checkbox'] {
1420
1458
  height: auto;
1421
1459
  }
1422
1460
 
1461
+ .summary-component-button-container {
1462
+ display: flex;
1463
+ width: 100%;
1464
+ gap: 8px;
1465
+ }
1466
+
1423
1467
  .confirmation-step-component .confirmation-step-confirm-icon {
1424
1468
  width: 38px;
1425
1469
  height: 38px;
@@ -1556,14 +1600,35 @@ input[type='checkbox'] {
1556
1600
  }
1557
1601
  }
1558
1602
 
1603
+ .modify-reservation-component {
1604
+ max-width: 100%;
1605
+ margin-left: auto;
1606
+ margin-right: auto;
1607
+ }
1608
+
1559
1609
  .modify-reservation-component .invalid-feedback {
1560
1610
  display: block;
1561
1611
  font-size: 16px;
1562
1612
  font-weight: 700;
1563
1613
  }
1564
1614
 
1565
- .cancel-booking-button {
1566
- width: auto;
1615
+ .modify-reservation-button-container {
1616
+ display: flex;
1617
+ width: 100%;
1618
+ gap: 8px;
1619
+ }
1620
+
1621
+ .modify-back-button,
1622
+ .modify-edit-button {
1623
+ flex: 1;
1624
+ }
1625
+
1626
+ .modify-back-button {
1627
+ max-width: 150px;
1628
+ }
1629
+
1630
+ .modify-reservation-component .summary-component .list-group-flush > .list-group-item {
1631
+ border-width: 1px;
1567
1632
  }
1568
1633
 
1569
1634
  @media screen and (max-width: 767px) {
@@ -1759,6 +1824,7 @@ input[type='checkbox'].form-check-input-booking {
1759
1824
  overflow-y: auto;
1760
1825
  width: 100%;
1761
1826
  height: 825px;
1827
+ position: relative;
1762
1828
  }
1763
1829
 
1764
1830
  .button-container {
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": "2.2.1",
7
+ "version": "2.4.0",
8
8
  "scripts": {
9
9
  "start": "webpack-dev-server",
10
10
  "build": "cross-env NODE_ENV=production OUTPUT=library webpack --progress",