@aaravpos/appointment-booking-plugin 2.0.3 → 2.0.5

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
@@ -805,6 +805,13 @@
805
805
  .arravpos-m0 {
806
806
  margin: 0px !important;
807
807
  }
808
+ .aaravpos-overflow-hidden {
809
+ overflow: hidden;
810
+ }
811
+ .aaravpos-text-bold {
812
+ font-weight: 600;
813
+ color: #000;
814
+ }
808
815
  .aaravpos-tab-enabled {
809
816
  cursor: pointer;
810
817
  }
@@ -819,7 +826,7 @@
819
826
  width: 100%;
820
827
  box-sizing: border-box;
821
828
  margin: 0 auto;
822
- height: 580px;
829
+ max-height: 700px;
823
830
  }
824
831
  .aaravpos-margin-top-20 {
825
832
  margin-top: 20px;
@@ -831,12 +838,8 @@
831
838
  margin-top: auto;
832
839
  }
833
840
  .aaravpos-btn {
834
- position: relative;
835
- display: inline-flex;
836
- align-items: center;
837
- justify-content: center;
838
841
  gap: 8px;
839
- padding: 12px 32px;
842
+ padding: 8px 16px;
840
843
  border: none;
841
844
  background: var(--btn-bg, #000);
842
845
  color: var(--btn-text, #fff);
@@ -846,7 +849,17 @@
846
849
  letter-spacing: 1.5px;
847
850
  cursor: pointer;
848
851
  transition: all 0.2s ease;
849
- border-radius: 20px;
852
+ border-radius: 6px;
853
+ position: absolute;
854
+ bottom: 12px;
855
+ z-index: 50;
856
+ display: flex;
857
+ align-items: center;
858
+ justify-content: center;
859
+ left: 50%;
860
+ transform: translateX(-50%);
861
+ width: max-content;
862
+ display: none;
850
863
  }
851
864
  .aaravpos-btn:hover {
852
865
  background: var(--btn-bg-hover, #222);
@@ -874,7 +887,7 @@
874
887
  padding: 9px 8px !important;
875
888
  }
876
889
  .aaravpos-layout {
877
- height: 580px;
890
+ max-height: 700px;
878
891
  display: flex;
879
892
  flex-direction: column;
880
893
  background: var(--canvas, #ffffff);
@@ -884,10 +897,10 @@
884
897
  .aaravpos-layout-content {
885
898
  flex: 1;
886
899
  position: relative;
887
- height: 580px;
900
+ max-height: 700px;
888
901
  }
889
902
  .aaravpos-layout-page {
890
- height: 580px;
903
+ max-height: 700px;
891
904
  }
892
905
  .aaravpos-title {
893
906
  font-size: 22px;
@@ -902,7 +915,7 @@
902
915
  .aaravpos-main-layout {
903
916
  display: flex;
904
917
  flex-direction: column;
905
- height: 580px;
918
+ max-height: 700px;
906
919
  }
907
920
  .aaravpos-layout-wrapper {
908
921
  flex: 1;
@@ -914,12 +927,11 @@
914
927
  .aaravpos-main-content {
915
928
  padding: 16px;
916
929
  position: relative;
917
- height: 550px;
918
930
  min-width: 0;
919
931
  }
920
932
  .aaravpos-mobile-button {
921
933
  position: absolute;
922
- bottom: 10px;
934
+ bottom: 12px;
923
935
  left: 0;
924
936
  right: 0;
925
937
  z-index: 50;
@@ -928,27 +940,6 @@
928
940
  align-items: center;
929
941
  justify-content: center;
930
942
  }
931
- .aaravpos-view-order-btn {
932
- padding: 12px 34px;
933
- font-size: 14px;
934
- border-radius: 999px;
935
- background: var(--btn-bg);
936
- color: #ffffff;
937
- border: none;
938
- font-family: var(--font-dm-sans);
939
- font-weight: 700;
940
- letter-spacing: 1.5px;
941
- text-transform: uppercase;
942
- cursor: pointer;
943
- transition: all 0.2s ease;
944
- }
945
- .aaravpos-view-order-btn:hover {
946
- opacity: 0.9;
947
- }
948
- .aaravpos-view-order-btn:disabled {
949
- background: #cccccc;
950
- cursor: not-allowed;
951
- }
952
943
  .aaravpos-sidebar {
953
944
  flex-direction: column;
954
945
  background: var(--surface-bg, #ffffff);
@@ -1018,22 +1009,6 @@
1018
1009
  justify-content: center;
1019
1010
  pointer-events: none;
1020
1011
  }
1021
- .aaravpos-search-input {
1022
- width: 100%;
1023
- height: 32px;
1024
- border-radius: 6px;
1025
- border: 1px solid #d1d5db;
1026
- background: #ffffff;
1027
- padding-left: 40px;
1028
- padding-right: 80px;
1029
- font-size: 14px;
1030
- outline: none;
1031
- transition: all 0.3s ease;
1032
- box-sizing: border-box;
1033
- }
1034
- .aaravpos-search-input:focus {
1035
- border-color: #9ca3af;
1036
- }
1037
1012
  .aaravpos-search-actions {
1038
1013
  position: absolute;
1039
1014
  right: 12px;
@@ -1060,7 +1035,7 @@
1060
1035
  .aaravpos-outlet-list-wrapper {
1061
1036
  padding-top: 8px;
1062
1037
  padding-bottom: 8px;
1063
- max-height: 485px;
1038
+ max-height: 570px;
1064
1039
  overflow: auto;
1065
1040
  scrollbar-width: none;
1066
1041
  }
@@ -1071,6 +1046,7 @@
1071
1046
  display: grid;
1072
1047
  grid-template-columns: 1fr;
1073
1048
  gap: 16px;
1049
+ padding-bottom: 50px;
1074
1050
  }
1075
1051
  .aaravpos-empty-state {
1076
1052
  display: flex;
@@ -1271,6 +1247,11 @@
1271
1247
  .aaravpos-step-icon.inactive {
1272
1248
  color: var(--btn-bg-hover);
1273
1249
  }
1250
+ .aaravpos-navbar-form {
1251
+ display: flex;
1252
+ flex-direction: row;
1253
+ justify-content: space-between;
1254
+ }
1274
1255
  .aaravpos-page-title {
1275
1256
  font-size: 22px;
1276
1257
  font-weight: 900;
@@ -1382,6 +1363,7 @@
1382
1363
  cursor: pointer;
1383
1364
  transition: all 0.3s ease;
1384
1365
  font-size: 14px;
1366
+ border-radius: 4px;
1385
1367
  }
1386
1368
  .aaravpos-supercategory-btn:hover {
1387
1369
  border-color: rgba(0, 0, 0, 0.5);
@@ -1411,10 +1393,10 @@
1411
1393
  }
1412
1394
  .aaravpos-services-wrapper {
1413
1395
  overflow-y: auto;
1414
- padding-bottom: 80px;
1396
+ padding-bottom: 75px;
1415
1397
  scrollbar-width: none;
1416
1398
  -ms-overflow-style: none;
1417
- height: 240px;
1399
+ max-height: 318px;
1418
1400
  }
1419
1401
  .aaravpos-services-wrapper::-webkit-scrollbar {
1420
1402
  display: none;
@@ -1564,7 +1546,7 @@
1564
1546
  left: -100%;
1565
1547
  width: 100%;
1566
1548
  height: 100%;
1567
- background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
1549
+ background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.5), transparent );
1568
1550
  animation: aaravpos-shimmer 1.2s infinite;
1569
1551
  }
1570
1552
  .aaravpos-available-badge {
@@ -1797,6 +1779,7 @@
1797
1779
  letter-spacing: 1.5px;
1798
1780
  cursor: pointer;
1799
1781
  transition: all 0.2s ease;
1782
+ border-radius: 6px;
1800
1783
  }
1801
1784
  .aaravpos-common-btn:hover {
1802
1785
  background: var(--btn-bg-hover);
@@ -1988,7 +1971,7 @@
1988
1971
  .aaravpos-date-modal-overlay {
1989
1972
  position: fixed;
1990
1973
  inset: 0;
1991
- z-index: 200;
1974
+ z-index: 1026;
1992
1975
  display: flex;
1993
1976
  align-items: center;
1994
1977
  justify-content: center;
@@ -2015,7 +1998,7 @@
2015
1998
  display: flex;
2016
1999
  align-items: center;
2017
2000
  justify-content: space-between;
2018
- padding: 16px;
2001
+ padding: 10px 16px;
2019
2002
  background: var(--canvas-bg);
2020
2003
  border-bottom: 1px solid var(--border-color);
2021
2004
  }
@@ -2045,7 +2028,7 @@
2045
2028
  }
2046
2029
  .aaravpos-date-modal-body {
2047
2030
  overflow-y: auto;
2048
- padding: 10px 28px 20px 28px;
2031
+ padding: 10px 15px 15px 15px;
2049
2032
  }
2050
2033
  .aaravpos-date-nav {
2051
2034
  display: flex;
@@ -2085,7 +2068,8 @@
2085
2068
  color: var(--text-muted);
2086
2069
  }
2087
2070
  .aaravpos-calendar-day {
2088
- min-height: 34px;
2071
+ height: 34px;
2072
+ width: 34px;
2089
2073
  display: flex;
2090
2074
  align-items: center;
2091
2075
  justify-content: center;
@@ -2175,7 +2159,7 @@
2175
2159
  left: -100%;
2176
2160
  width: 100%;
2177
2161
  height: 100%;
2178
- background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
2162
+ background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.5), transparent );
2179
2163
  animation: aaravposShimmer 1.2s infinite;
2180
2164
  }
2181
2165
  .aaravpos-spinner-wrapper {
@@ -2211,10 +2195,11 @@
2211
2195
  flex-direction: column;
2212
2196
  align-items: center;
2213
2197
  justify-content: center;
2214
- padding: 64px 24px;
2198
+ padding: 24px;
2215
2199
  text-align: center;
2216
2200
  border: 1px dashed rgba(0, 0, 0, 0.2);
2217
2201
  border-radius: 8px;
2202
+ height: 160px;
2218
2203
  }
2219
2204
  .aaravpos-empty-services-title {
2220
2205
  margin-bottom: 8px;
@@ -2235,7 +2220,7 @@
2235
2220
  overflow-y: auto;
2236
2221
  padding-bottom: 80px;
2237
2222
  scrollbar-width: none;
2238
- height: 415px;
2223
+ max-height: 515px;
2239
2224
  }
2240
2225
  .arravpos-details-scroll::-webkit-scrollbar {
2241
2226
  display: none;
@@ -2301,6 +2286,7 @@
2301
2286
  right: 10px;
2302
2287
  top: 50%;
2303
2288
  transform: translateY(-50%);
2289
+ z-index: 999;
2304
2290
  }
2305
2291
  .arravpos-loader {
2306
2292
  width: 16px;
@@ -2359,7 +2345,8 @@
2359
2345
  .arravpos-booking-scroll {
2360
2346
  overflow-y: auto;
2361
2347
  scrollbar-width: none;
2362
- height: 325px;
2348
+ max-height: 470px;
2349
+ padding-bottom: 25px;
2363
2350
  }
2364
2351
  .arravpos-booking-scroll::-webkit-scrollbar {
2365
2352
  display: none;
@@ -2431,7 +2418,7 @@
2431
2418
  .arravpos-success-motion {
2432
2419
  display: flex;
2433
2420
  flex-direction: column;
2434
- height: 580px;
2421
+ max-height: 580px;
2435
2422
  align-items: center;
2436
2423
  justify-content: center;
2437
2424
  background: var(--canvas);
@@ -3053,7 +3040,8 @@
3053
3040
  overflow-y: auto;
3054
3041
  padding-bottom: 80px;
3055
3042
  scrollbar-width: none;
3056
- height: 290px;
3043
+ max-height: 362px;
3044
+ position: relative;
3057
3045
  }
3058
3046
  .arravpos-scroll-area::-webkit-scrollbar {
3059
3047
  display: none;
@@ -3162,7 +3150,7 @@
3162
3150
  padding-bottom: 80px;
3163
3151
  scrollbar-width: none;
3164
3152
  -ms-overflow-style: none;
3165
- height: 350px;
3153
+ max-height: 504px;
3166
3154
  }
3167
3155
  .aaravpos-staff-wrapper::-webkit-scrollbar {
3168
3156
  display: none;
@@ -3253,7 +3241,7 @@
3253
3241
  display: flex;
3254
3242
  align-items: center;
3255
3243
  justify-content: center;
3256
- height: 100vh;
3244
+ height: 600px;
3257
3245
  }
3258
3246
  .aaravpos-loading-text {
3259
3247
  font-size: 14px;
@@ -3264,7 +3252,7 @@
3264
3252
  flex-direction: column;
3265
3253
  align-items: center;
3266
3254
  justify-content: center;
3267
- height: 100vh;
3255
+ height: 600px;
3268
3256
  padding: 20px;
3269
3257
  text-align: center;
3270
3258
  }
@@ -3302,11 +3290,11 @@
3302
3290
  display: flex;
3303
3291
  align-items: center;
3304
3292
  justify-content: center;
3305
- height: 580px;
3293
+ min-height: 580px;
3306
3294
  }
3307
3295
  .aaravpos-loader {
3308
- width: 36px;
3309
- height: 36px;
3296
+ width: 24px;
3297
+ height: 24px;
3310
3298
  border: 4px solid #e5e5e5;
3311
3299
  border-top-color: var(--btn-bg);
3312
3300
  border-radius: 50%;
@@ -3338,14 +3326,7 @@
3338
3326
  }
3339
3327
  .aaravpos-date-modal {
3340
3328
  height: fit-content;
3341
- border-top-left-radius: 18px;
3342
- border-top-right-radius: 18px;
3343
- border-bottom-left-radius: 0;
3344
- border-bottom-right-radius: 0;
3345
- }
3346
- .aaravpos-date-modal-header {
3347
- padding-left: 16px;
3348
- padding-right: 16px;
3329
+ border-radius: 12px;
3349
3330
  }
3350
3331
  .aaravpos-date-modal-title {
3351
3332
  font-size: 18px;
@@ -3353,9 +3334,6 @@
3353
3334
  .aaravpos-calendar-grid {
3354
3335
  gap: 8px;
3355
3336
  }
3356
- .aaravpos-calendar-day {
3357
- min-height: 40px;
3358
- }
3359
3337
  .arravpos-date-nav-btn svg {
3360
3338
  width: 18px;
3361
3339
  height: 18px;
@@ -3380,9 +3358,6 @@
3380
3358
  padding: 14px;
3381
3359
  font-size: 13px;
3382
3360
  }
3383
- .arravpos-booking-scroll {
3384
- height: calc(100dvh - 200px);
3385
- }
3386
3361
  .arravpos-calendar-btn {
3387
3362
  font-size: 12px;
3388
3363
  }
@@ -3409,6 +3384,33 @@
3409
3384
  .aaravpos-sidebar {
3410
3385
  display: none;
3411
3386
  }
3387
+ .aaravpos-page-title {
3388
+ font-size: 16px;
3389
+ }
3390
+ .aaravpos-topbar {
3391
+ gap: 10px;
3392
+ }
3393
+ .aaravpos-btn-content {
3394
+ gap: 4px;
3395
+ }
3396
+ .aaravpos-margin-top-20 {
3397
+ margin-top: 14px;
3398
+ }
3399
+ .aaravpos-mobile-step-label {
3400
+ font-size: 14px;
3401
+ }
3402
+ .aaravpos-btn {
3403
+ display: block;
3404
+ }
3405
+ .aaravpos-outlet-card-title {
3406
+ font-size: 16px;
3407
+ }
3408
+ .aaravpos-title {
3409
+ font-size: 18px;
3410
+ }
3411
+ .aaravpos-outlet-grid {
3412
+ gap: 10px;
3413
+ }
3412
3414
  }
3413
3415
  @media (min-width: 768px) {
3414
3416
  .arravpos-section-label {
@@ -3448,10 +3450,10 @@
3448
3450
  padding-right: 24px;
3449
3451
  }
3450
3452
  .aaravpos-order-list {
3451
- height: calc(100dvh - 235px);
3453
+ height: calc(100dvh - 225px);
3452
3454
  }
3453
3455
  .aaravpos-pro-order-list {
3454
- height: calc(100dvh - 265px);
3456
+ height: calc(100dvh - 250px);
3455
3457
  }
3456
3458
  .aaravpos-sidebar-close-btn {
3457
3459
  display: none;
@@ -3466,7 +3468,7 @@
3466
3468
  }
3467
3469
  @media (max-width: 480px) {
3468
3470
  .arravpos-date-nav-btn {
3469
- width: 30px;
3471
+ width: 23px;
3470
3472
  padding: 6px;
3471
3473
  }
3472
3474
  .arravpos-date-nav-btn svg {
@@ -3477,10 +3479,14 @@
3477
3479
  gap: 4px;
3478
3480
  }
3479
3481
  .arravpos-date-card {
3480
- min-width: 26px;
3481
- min-height: 40px;
3482
+ min-width: 24px;
3483
+ min-height: 38px;
3482
3484
  padding: 8px 4px;
3483
3485
  }
3486
+ .arravpos-calendar-btn {
3487
+ margin-left: 2px;
3488
+ padding: 6px;
3489
+ }
3484
3490
  .arravpos-date-week {
3485
3491
  font-size: 8px;
3486
3492
  margin-bottom: 3px;
@@ -3530,6 +3536,13 @@
3530
3536
  .arravpos-appointment-date-text {
3531
3537
  font-size: 13px;
3532
3538
  }
3539
+ .aaravpos-date-modal {
3540
+ width: 290px;
3541
+ }
3542
+ .aaravpos-calendar-day {
3543
+ height: 24px;
3544
+ width: 24px;
3545
+ }
3533
3546
  }
3534
3547
  @media (min-width: 1024px) {
3535
3548
  .arravpos-date-strip {
@@ -3579,6 +3592,10 @@
3579
3592
  }
3580
3593
  }
3581
3594
  @media (max-width: 1024px) {
3595
+ .aaravpos-navbar-form {
3596
+ flex-direction: column;
3597
+ margin-bottom: 10px;
3598
+ }
3582
3599
  .arravpos-booking-grid {
3583
3600
  flex-direction: column;
3584
3601
  gap: 20px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aaravpos/appointment-booking-plugin",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
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",
@@ -65,7 +65,6 @@
65
65
  "dependencies": {
66
66
  "@reduxjs/toolkit": "2.11.2",
67
67
  "@tailwindcss/postcss": "4.2.4",
68
- "framer-motion": "12.38.0",
69
68
  "libphonenumber-js": "1.13.1",
70
69
  "lodash": "4.18.1",
71
70
  "lucide-react": "1.14.0",