@aaravpos/appointment-booking-plugin 1.0.7 → 2.0.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.
package/dist/styles.css CHANGED
@@ -814,11 +814,12 @@
814
814
  pointer-events: none;
815
815
  }
816
816
  .arravpos-container {
817
- background-color: #fafaf8;
817
+ background-color: #fff;
818
818
  padding: 16px;
819
819
  width: 100%;
820
820
  box-sizing: border-box;
821
821
  margin: 0 auto;
822
+ height: 580px;
822
823
  }
823
824
  .aaravpos-margin-top-20 {
824
825
  margin-top: 20px;
@@ -873,7 +874,7 @@
873
874
  padding: 9px 8px !important;
874
875
  }
875
876
  .aaravpos-layout {
876
- height: 440px;
877
+ height: 580px;
877
878
  display: flex;
878
879
  flex-direction: column;
879
880
  background: var(--canvas, #ffffff);
@@ -883,10 +884,10 @@
883
884
  .aaravpos-layout-content {
884
885
  flex: 1;
885
886
  position: relative;
886
- height: 440px;
887
+ height: 580px;
887
888
  }
888
889
  .aaravpos-layout-page {
889
- height: 440px;
890
+ height: 580px;
890
891
  }
891
892
  .aaravpos-title {
892
893
  font-size: 22px;
@@ -901,7 +902,7 @@
901
902
  .aaravpos-main-layout {
902
903
  display: flex;
903
904
  flex-direction: column;
904
- height: 440px;
905
+ height: 580px;
905
906
  }
906
907
  .aaravpos-layout-wrapper {
907
908
  flex: 1;
@@ -913,10 +914,11 @@
913
914
  .aaravpos-main-content {
914
915
  padding: 16px;
915
916
  position: relative;
916
- height: 440px;
917
+ height: 550px;
918
+ min-width: 0;
917
919
  }
918
920
  .aaravpos-mobile-button {
919
- position: fixed;
921
+ position: absolute;
920
922
  bottom: 20px;
921
923
  left: 0;
922
924
  right: 0;
@@ -957,13 +959,17 @@
957
959
  top: 10px;
958
960
  right: 10px;
959
961
  bottom: 10px;
960
- width: 300px;
962
+ width: 315px;
963
+ transform: translateX(360px);
961
964
  transition: transform 0.3s ease;
962
965
  background: #fff;
963
966
  z-index: 1024;
964
967
  border-radius: 8px;
965
968
  display: flex;
966
969
  }
970
+ .aaravpos-layout-wrapper.with-sidebar .aaravpos-sidebar {
971
+ transform: translateX(0);
972
+ }
967
973
  .aaravpos-sidebar-mobile {
968
974
  position: fixed;
969
975
  z-index: 999;
@@ -1054,7 +1060,7 @@
1054
1060
  .aaravpos-outlet-list-wrapper {
1055
1061
  padding-top: 8px;
1056
1062
  padding-bottom: 8px;
1057
- max-height: 440px;
1063
+ max-height: 485px;
1058
1064
  overflow: auto;
1059
1065
  scrollbar-width: none;
1060
1066
  }
@@ -1279,7 +1285,7 @@
1279
1285
  .aaravpos-sub-title {
1280
1286
  font-size: 14px;
1281
1287
  color: rgba(0, 0, 0, 0.6);
1282
- margin-bottom: 8px;
1288
+ margin-bottom: 10px;
1283
1289
  line-height: 1.5;
1284
1290
  margin-top: 0px;
1285
1291
  }
@@ -1408,7 +1414,7 @@
1408
1414
  padding-bottom: 80px;
1409
1415
  scrollbar-width: none;
1410
1416
  -ms-overflow-style: none;
1411
- height: 120px;
1417
+ height: 240px;
1412
1418
  }
1413
1419
  .aaravpos-services-wrapper::-webkit-scrollbar {
1414
1420
  display: none;
@@ -1662,6 +1668,9 @@
1662
1668
  letter-spacing: -0.5px;
1663
1669
  margin-bottom: 0px;
1664
1670
  margin-top: 0px;
1671
+ display: flex;
1672
+ justify-content: space-between;
1673
+ align-items: center;
1665
1674
  }
1666
1675
  .aaravpos-order-subtitle {
1667
1676
  font-size: 12px;
@@ -1965,7 +1974,7 @@
1965
1974
  .aaravpos-sidebar-close-btn {
1966
1975
  display: block;
1967
1976
  width: auto;
1968
- padding: 8px;
1977
+ padding: 2px 6px;
1969
1978
  border: none;
1970
1979
  border-radius: 6px;
1971
1980
  background: transparent;
@@ -2226,6 +2235,7 @@
2226
2235
  overflow-y: auto;
2227
2236
  padding-bottom: 80px;
2228
2237
  scrollbar-width: none;
2238
+ height: 415px;
2229
2239
  }
2230
2240
  .arravpos-details-scroll::-webkit-scrollbar {
2231
2241
  display: none;
@@ -2310,7 +2320,8 @@
2310
2320
  gap: 12px;
2311
2321
  padding: 12px;
2312
2322
  border-radius: 4px;
2313
- margin-bottom: 8px;
2323
+ margin-bottom: 4px;
2324
+ border: 1px solid #e5e7eb;
2314
2325
  }
2315
2326
  .arravpos-outlet-logo {
2316
2327
  width: 40px;
@@ -2346,9 +2357,9 @@
2346
2357
  word-break: break-word;
2347
2358
  }
2348
2359
  .arravpos-booking-scroll {
2349
- height: calc(100dvh - 285px);
2350
2360
  overflow-y: auto;
2351
2361
  scrollbar-width: none;
2362
+ height: 325px;
2352
2363
  }
2353
2364
  .arravpos-booking-scroll::-webkit-scrollbar {
2354
2365
  display: none;
@@ -2410,9 +2421,9 @@
2410
2421
  color: #111827;
2411
2422
  }
2412
2423
  .arravpos-success-wrapper {
2413
- height: calc(100dvh - 5px);
2414
2424
  overflow-y: auto;
2415
2425
  scrollbar-width: none;
2426
+ height: 580px;
2416
2427
  }
2417
2428
  .arravpos-success-wrapper::-webkit-scrollbar {
2418
2429
  display: none;
@@ -2420,6 +2431,7 @@
2420
2431
  .arravpos-success-motion {
2421
2432
  display: flex;
2422
2433
  flex-direction: column;
2434
+ height: 580px;
2423
2435
  align-items: center;
2424
2436
  justify-content: center;
2425
2437
  background: var(--canvas);
@@ -2462,7 +2474,7 @@
2462
2474
  margin-bottom: 10px;
2463
2475
  padding: 10px;
2464
2476
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
2465
- height: 190px;
2477
+ height: 320px;
2466
2478
  overflow-x: scroll;
2467
2479
  scrollbar-width: none;
2468
2480
  -ms-overflow-style: none;
@@ -2597,7 +2609,7 @@
2597
2609
  align-items: center;
2598
2610
  justify-content: center;
2599
2611
  background-color: rgba(0, 0, 0, 0.4);
2600
- z-index: 1020;
2612
+ z-index: 1025;
2601
2613
  padding: 16px;
2602
2614
  }
2603
2615
  .arravpos-payment-form {
@@ -2701,7 +2713,7 @@
2701
2713
  .arravpos-consent-overlay {
2702
2714
  position: fixed;
2703
2715
  inset: 0;
2704
- z-index: 1024;
2716
+ z-index: 1025;
2705
2717
  display: flex;
2706
2718
  align-items: center;
2707
2719
  justify-content: center;
@@ -3041,7 +3053,7 @@
3041
3053
  overflow-y: auto;
3042
3054
  padding-bottom: 80px;
3043
3055
  scrollbar-width: none;
3044
- height: 120px;
3056
+ height: 290px;
3045
3057
  }
3046
3058
  .arravpos-scroll-area::-webkit-scrollbar {
3047
3059
  display: none;
@@ -3150,7 +3162,7 @@
3150
3162
  padding-bottom: 80px;
3151
3163
  scrollbar-width: none;
3152
3164
  -ms-overflow-style: none;
3153
- height: 120px;
3165
+ height: 350px;
3154
3166
  }
3155
3167
  .aaravpos-staff-wrapper::-webkit-scrollbar {
3156
3168
  display: none;
@@ -3411,9 +3423,6 @@
3411
3423
  .aaravpos-services-wrapper.standalone {
3412
3424
  height: calc(100dvh - 300px);
3413
3425
  }
3414
- .aaravpos-layout-wrapper {
3415
- grid-template-columns: minmax(0, 1fr) 350px;
3416
- }
3417
3426
  .aaravpos-sidebar {
3418
3427
  display: flex;
3419
3428
  }
@@ -3430,9 +3439,6 @@
3430
3439
  .aaravpos-pro-order-list {
3431
3440
  height: calc(100dvh - 245px);
3432
3441
  }
3433
- .aaravpos-staff-wrapper {
3434
- height: calc(100dvh - 200px);
3435
- }
3436
3442
  .aaravpos-sidebar-close-btn {
3437
3443
  display: none;
3438
3444
  }
@@ -3551,12 +3557,12 @@
3551
3557
  align-items: flex-end;
3552
3558
  gap: 32px;
3553
3559
  }
3554
- .aaravpos-layout-wrapper {
3555
- grid-template-columns: minmax(0, 1fr) 360px;
3556
- }
3557
3560
  .arravpos-details-scroll {
3558
3561
  padding-bottom: 16px;
3559
3562
  }
3563
+ .aaravpos-layout-wrapper.with-sidebar {
3564
+ grid-template-columns: minmax(0, 1fr) 360px;
3565
+ }
3560
3566
  }
3561
3567
  @media (max-width: 1024px) {
3562
3568
  .arravpos-booking-grid {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aaravpos/appointment-booking-plugin",
3
- "version": "1.0.7",
3
+ "version": "2.0.0",
4
4
  "description": "A React component library built with Tailwind CSS v4 and TypeScript",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.33.0",