@aaravpos/appointment-booking-plugin 2.0.4 → 2.0.6

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
@@ -809,7 +809,7 @@
809
809
  overflow: hidden;
810
810
  }
811
811
  .aaravpos-text-bold {
812
- font-weight: 800;
812
+ font-weight: 600;
813
813
  color: #000;
814
814
  }
815
815
  .aaravpos-tab-enabled {
@@ -897,7 +897,7 @@
897
897
  .aaravpos-layout-content {
898
898
  flex: 1;
899
899
  position: relative;
900
- height: 700px;
900
+ max-height: 700px;
901
901
  }
902
902
  .aaravpos-layout-page {
903
903
  height: 700px;
@@ -1009,22 +1009,6 @@
1009
1009
  justify-content: center;
1010
1010
  pointer-events: none;
1011
1011
  }
1012
- .aaravpos-search-input {
1013
- width: 100%;
1014
- height: 32px;
1015
- border-radius: 6px;
1016
- border: 1px solid #d1d5db;
1017
- background: #ffffff;
1018
- padding-left: 40px;
1019
- padding-right: 80px;
1020
- font-size: 14px;
1021
- outline: none;
1022
- transition: all 0.3s ease;
1023
- box-sizing: border-box;
1024
- }
1025
- .aaravpos-search-input:focus {
1026
- border-color: #9ca3af;
1027
- }
1028
1012
  .aaravpos-search-actions {
1029
1013
  position: absolute;
1030
1014
  right: 12px;
@@ -1051,7 +1035,7 @@
1051
1035
  .aaravpos-outlet-list-wrapper {
1052
1036
  padding-top: 8px;
1053
1037
  padding-bottom: 8px;
1054
- max-height: 570px;
1038
+ height: 610px;
1055
1039
  overflow: auto;
1056
1040
  scrollbar-width: none;
1057
1041
  }
@@ -1212,6 +1196,7 @@
1212
1196
  background: #ffffff;
1213
1197
  cursor: pointer;
1214
1198
  outline: none;
1199
+ flex-shrink: 0;
1215
1200
  border-radius: 100%;
1216
1201
  overflow: hidden;
1217
1202
  }
@@ -1245,7 +1230,8 @@
1245
1230
  }
1246
1231
  .aaravpos-step-btn.disabled {
1247
1232
  cursor: not-allowed;
1248
- opacity: 0.4;
1233
+ opacity: 0.5;
1234
+ pointer-events: none;
1249
1235
  }
1250
1236
  .aaravpos-step-btn.active {
1251
1237
  border-bottom-color: var(--btn-bg);
@@ -1263,6 +1249,11 @@
1263
1249
  .aaravpos-step-icon.inactive {
1264
1250
  color: var(--btn-bg-hover);
1265
1251
  }
1252
+ .aaravpos-navbar-form {
1253
+ display: flex;
1254
+ flex-direction: row;
1255
+ justify-content: space-between;
1256
+ }
1266
1257
  .aaravpos-page-title {
1267
1258
  font-size: 22px;
1268
1259
  font-weight: 900;
@@ -1374,6 +1365,7 @@
1374
1365
  cursor: pointer;
1375
1366
  transition: all 0.3s ease;
1376
1367
  font-size: 14px;
1368
+ border-radius: 4px;
1377
1369
  }
1378
1370
  .aaravpos-supercategory-btn:hover {
1379
1371
  border-color: rgba(0, 0, 0, 0.5);
@@ -1403,10 +1395,10 @@
1403
1395
  }
1404
1396
  .aaravpos-services-wrapper {
1405
1397
  overflow-y: auto;
1406
- padding-bottom: 75px;
1398
+ padding-bottom: 30px;
1407
1399
  scrollbar-width: none;
1408
1400
  -ms-overflow-style: none;
1409
- height: 318px;
1401
+ height: 418px;
1410
1402
  }
1411
1403
  .aaravpos-services-wrapper::-webkit-scrollbar {
1412
1404
  display: none;
@@ -1981,7 +1973,7 @@
1981
1973
  .aaravpos-date-modal-overlay {
1982
1974
  position: fixed;
1983
1975
  inset: 0;
1984
- z-index: 200;
1976
+ z-index: 1026;
1985
1977
  display: flex;
1986
1978
  align-items: center;
1987
1979
  justify-content: center;
@@ -2008,7 +2000,7 @@
2008
2000
  display: flex;
2009
2001
  align-items: center;
2010
2002
  justify-content: space-between;
2011
- padding: 16px;
2003
+ padding: 10px 16px;
2012
2004
  background: var(--canvas-bg);
2013
2005
  border-bottom: 1px solid var(--border-color);
2014
2006
  }
@@ -2038,7 +2030,7 @@
2038
2030
  }
2039
2031
  .aaravpos-date-modal-body {
2040
2032
  overflow-y: auto;
2041
- padding: 10px 28px 20px 28px;
2033
+ padding: 10px 15px 15px 15px;
2042
2034
  }
2043
2035
  .aaravpos-date-nav {
2044
2036
  display: flex;
@@ -2078,7 +2070,8 @@
2078
2070
  color: var(--text-muted);
2079
2071
  }
2080
2072
  .aaravpos-calendar-day {
2081
- min-height: 34px;
2073
+ height: 34px;
2074
+ width: 34px;
2082
2075
  display: flex;
2083
2076
  align-items: center;
2084
2077
  justify-content: center;
@@ -2227,9 +2220,9 @@
2227
2220
  }
2228
2221
  .arravpos-details-scroll {
2229
2222
  overflow-y: auto;
2230
- padding-bottom: 80px;
2223
+ padding-bottom: 30px;
2231
2224
  scrollbar-width: none;
2232
- height: 515px;
2225
+ height: 565px;
2233
2226
  }
2234
2227
  .arravpos-details-scroll::-webkit-scrollbar {
2235
2228
  display: none;
@@ -2295,6 +2288,7 @@
2295
2288
  right: 10px;
2296
2289
  top: 50%;
2297
2290
  transform: translateY(-50%);
2291
+ z-index: 999;
2298
2292
  }
2299
2293
  .arravpos-loader {
2300
2294
  width: 16px;
@@ -2353,8 +2347,8 @@
2353
2347
  .arravpos-booking-scroll {
2354
2348
  overflow-y: auto;
2355
2349
  scrollbar-width: none;
2356
- height: 470px;
2357
- padding-bottom: 25px;
2350
+ height: 495px;
2351
+ padding-bottom: 15px;
2358
2352
  }
2359
2353
  .arravpos-booking-scroll::-webkit-scrollbar {
2360
2354
  display: none;
@@ -2418,7 +2412,7 @@
2418
2412
  .arravpos-success-wrapper {
2419
2413
  overflow-y: auto;
2420
2414
  scrollbar-width: none;
2421
- height: 580px;
2415
+ height: 700px;
2422
2416
  }
2423
2417
  .arravpos-success-wrapper::-webkit-scrollbar {
2424
2418
  display: none;
@@ -2426,7 +2420,7 @@
2426
2420
  .arravpos-success-motion {
2427
2421
  display: flex;
2428
2422
  flex-direction: column;
2429
- height: 580px;
2423
+ height: 668px;
2430
2424
  align-items: center;
2431
2425
  justify-content: center;
2432
2426
  background: var(--canvas);
@@ -2469,7 +2463,7 @@
2469
2463
  margin-bottom: 10px;
2470
2464
  padding: 10px;
2471
2465
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
2472
- height: 320px;
2466
+ height: 400px;
2473
2467
  overflow-x: scroll;
2474
2468
  scrollbar-width: none;
2475
2469
  -ms-overflow-style: none;
@@ -3048,7 +3042,8 @@
3048
3042
  overflow-y: auto;
3049
3043
  padding-bottom: 80px;
3050
3044
  scrollbar-width: none;
3051
- height: 362px;
3045
+ max-height: 362px;
3046
+ position: relative;
3052
3047
  }
3053
3048
  .arravpos-scroll-area::-webkit-scrollbar {
3054
3049
  display: none;
@@ -3154,10 +3149,10 @@
3154
3149
  }
3155
3150
  .aaravpos-staff-wrapper {
3156
3151
  overflow-y: auto;
3157
- padding-bottom: 80px;
3152
+ padding-bottom: 40px;
3158
3153
  scrollbar-width: none;
3159
3154
  -ms-overflow-style: none;
3160
- height: 504px;
3155
+ height: 540px;
3161
3156
  }
3162
3157
  .aaravpos-staff-wrapper::-webkit-scrollbar {
3163
3158
  display: none;
@@ -3248,7 +3243,7 @@
3248
3243
  display: flex;
3249
3244
  align-items: center;
3250
3245
  justify-content: center;
3251
- height: 100vh;
3246
+ height: 700px;
3252
3247
  }
3253
3248
  .aaravpos-loading-text {
3254
3249
  font-size: 14px;
@@ -3259,7 +3254,7 @@
3259
3254
  flex-direction: column;
3260
3255
  align-items: center;
3261
3256
  justify-content: center;
3262
- height: 100vh;
3257
+ height: 700px;
3263
3258
  padding: 20px;
3264
3259
  text-align: center;
3265
3260
  }
@@ -3297,7 +3292,7 @@
3297
3292
  display: flex;
3298
3293
  align-items: center;
3299
3294
  justify-content: center;
3300
- height: 580px;
3295
+ height: 610px;
3301
3296
  }
3302
3297
  .aaravpos-loader {
3303
3298
  width: 24px;
@@ -3333,14 +3328,7 @@
3333
3328
  }
3334
3329
  .aaravpos-date-modal {
3335
3330
  height: fit-content;
3336
- border-top-left-radius: 18px;
3337
- border-top-right-radius: 18px;
3338
- border-bottom-left-radius: 0;
3339
- border-bottom-right-radius: 0;
3340
- }
3341
- .aaravpos-date-modal-header {
3342
- padding-left: 16px;
3343
- padding-right: 16px;
3331
+ border-radius: 12px;
3344
3332
  }
3345
3333
  .aaravpos-date-modal-title {
3346
3334
  font-size: 18px;
@@ -3348,9 +3336,6 @@
3348
3336
  .aaravpos-calendar-grid {
3349
3337
  gap: 8px;
3350
3338
  }
3351
- .aaravpos-calendar-day {
3352
- min-height: 40px;
3353
- }
3354
3339
  .arravpos-date-nav-btn svg {
3355
3340
  width: 18px;
3356
3341
  height: 18px;
@@ -3398,9 +3383,6 @@
3398
3383
  line-clamp: 2;
3399
3384
  -webkit-box-orient: vertical;
3400
3385
  }
3401
- .aaravpos-sidebar {
3402
- display: none;
3403
- }
3404
3386
  .aaravpos-page-title {
3405
3387
  font-size: 16px;
3406
3388
  }
@@ -3416,9 +3398,6 @@
3416
3398
  .aaravpos-mobile-step-label {
3417
3399
  font-size: 14px;
3418
3400
  }
3419
- .aaravpos-btn {
3420
- display: block;
3421
- }
3422
3401
  .aaravpos-outlet-card-title {
3423
3402
  font-size: 16px;
3424
3403
  }
@@ -3456,9 +3435,6 @@
3456
3435
  .aaravpos-services-wrapper.standalone {
3457
3436
  height: calc(100dvh - 300px);
3458
3437
  }
3459
- .aaravpos-sidebar {
3460
- display: flex;
3461
- }
3462
3438
  .aaravpos-mobile-button {
3463
3439
  display: none;
3464
3440
  }
@@ -3485,7 +3461,7 @@
3485
3461
  }
3486
3462
  @media (max-width: 480px) {
3487
3463
  .arravpos-date-nav-btn {
3488
- width: 30px;
3464
+ width: 23px;
3489
3465
  padding: 6px;
3490
3466
  }
3491
3467
  .arravpos-date-nav-btn svg {
@@ -3496,10 +3472,14 @@
3496
3472
  gap: 4px;
3497
3473
  }
3498
3474
  .arravpos-date-card {
3499
- min-width: 26px;
3500
- min-height: 40px;
3475
+ min-width: 24px;
3476
+ min-height: 38px;
3501
3477
  padding: 8px 4px;
3502
3478
  }
3479
+ .arravpos-calendar-btn {
3480
+ margin-left: 2px;
3481
+ padding: 6px;
3482
+ }
3503
3483
  .arravpos-date-week {
3504
3484
  font-size: 8px;
3505
3485
  margin-bottom: 3px;
@@ -3549,6 +3529,29 @@
3549
3529
  .arravpos-appointment-date-text {
3550
3530
  font-size: 13px;
3551
3531
  }
3532
+ .aaravpos-date-modal {
3533
+ width: 290px;
3534
+ }
3535
+ .aaravpos-calendar-day {
3536
+ height: 24px;
3537
+ width: 24px;
3538
+ }
3539
+ }
3540
+ @media (min-width: 991px) {
3541
+ .aaravpos-sidebar {
3542
+ display: block;
3543
+ }
3544
+ .aaravpos-layout-wrapper.with-sidebar {
3545
+ grid-template-columns: minmax(0, 1fr) 360px;
3546
+ }
3547
+ }
3548
+ @media (max-width: 991px) {
3549
+ .aaravpos-sidebar {
3550
+ display: none;
3551
+ }
3552
+ .aaravpos-btn {
3553
+ display: block;
3554
+ }
3552
3555
  }
3553
3556
  @media (min-width: 1024px) {
3554
3557
  .arravpos-date-strip {
@@ -3593,11 +3596,12 @@
3593
3596
  .arravpos-details-scroll {
3594
3597
  padding-bottom: 16px;
3595
3598
  }
3596
- .aaravpos-layout-wrapper.with-sidebar {
3597
- grid-template-columns: minmax(0, 1fr) 360px;
3598
- }
3599
3599
  }
3600
3600
  @media (max-width: 1024px) {
3601
+ .aaravpos-navbar-form {
3602
+ flex-direction: column;
3603
+ margin-bottom: 10px;
3604
+ }
3601
3605
  .arravpos-booking-grid {
3602
3606
  flex-direction: column;
3603
3607
  gap: 20px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aaravpos/appointment-booking-plugin",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
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",