@aaravpos/appointment-booking-plugin 3.0.2 → 3.0.4

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
@@ -945,7 +945,7 @@
945
945
  }
946
946
  .aaravpos-sidebar {
947
947
  flex-direction: column;
948
- background: var(--surface-bg, #ffffff);
948
+ background: var(--surface-bg, #FFFFFF);
949
949
  border: 1px solid rgba(0, 0, 0, 0.1);
950
950
  padding: 16px 16px 14px;
951
951
  overflow: hidden;
@@ -961,12 +961,11 @@
961
961
  border-radius: 8px;
962
962
  display: flex;
963
963
  }
964
- .aaravpos-layout-wrapper.with-sidebar .aaravpos-sidebar {
964
+ .aaravpos-sidebar.open {
965
965
  transform: translateX(0);
966
966
  }
967
967
  .aaravpos-sidebar-mobile {
968
968
  position: fixed;
969
- z-index: 999;
970
969
  inset: 0;
971
970
  height: 100vh;
972
971
  background: #ffffff;
@@ -974,13 +973,12 @@
974
973
  display: flex;
975
974
  flex-direction: column;
976
975
  animation: aaravposFadeIn 0.25s ease;
976
+ z-index: 9999;
977
977
  }
978
978
  .aaravpos-sidebar-mobile-content {
979
979
  flex: 1;
980
- position: fixed;
981
- inset: 0;
982
- padding: 16px;
983
980
  overflow-y: auto;
981
+ padding: 16px;
984
982
  }
985
983
  .aaravpos-outlet-divider {
986
984
  width: 56px;
@@ -1168,7 +1166,7 @@
1168
1166
  display: flex;
1169
1167
  align-items: center;
1170
1168
  font-size: 20px;
1171
- margin-right: 8px;
1169
+ margin-right: 4px;
1172
1170
  cursor: pointer;
1173
1171
  border: none;
1174
1172
  background: transparent;
@@ -1381,6 +1379,31 @@
1381
1379
  .aaravpos-supercategory-btn.active .aaravpos-supercategory-count {
1382
1380
  color: #fff;
1383
1381
  }
1382
+ .aaravpos-subcategory-btn {
1383
+ min-width: fit-content;
1384
+ padding: 6px;
1385
+ border: 1px solid rgba(0, 0, 0, 0.3);
1386
+ background: #ffffff;
1387
+ text-align: left;
1388
+ cursor: pointer;
1389
+ transition: all 0.3s ease;
1390
+ font-size: 12px;
1391
+ border-radius: 4px;
1392
+ }
1393
+ .aaravpos-subcategory-btn:hover {
1394
+ border-color: rgba(0, 0, 0, 0.5);
1395
+ }
1396
+ .aaravpos-subcategory-btn.active {
1397
+ border: 1px solid var(--app-bg);
1398
+ background: var(--app-bg);
1399
+ @supports (color: color-mix(in lab, red, red)) {
1400
+ background: color-mix(in srgb, var(--app-bg) 10%, transparent);
1401
+ }
1402
+ color: var(--app-bg);
1403
+ }
1404
+ .aaravpos-subcategory-btn.active .aaravpos-subcategory-count {
1405
+ color: #fff;
1406
+ }
1384
1407
  .aaravpos-supercategory-title {
1385
1408
  margin-top: 0px;
1386
1409
  font-size: 14px;
@@ -1710,7 +1733,7 @@
1710
1733
  height: calc(100dvh - 250px);
1711
1734
  }
1712
1735
  .aaravpos-pro-order-list-single {
1713
- height: calc(100dvh - 215px);
1736
+ height: calc(100dvh - 210px);
1714
1737
  }
1715
1738
  .aaravpos-order-item {
1716
1739
  display: flex;
@@ -3057,9 +3080,9 @@
3057
3080
  }
3058
3081
  .arravpos-scroll-area {
3059
3082
  overflow-y: auto;
3060
- padding-bottom: 80px;
3083
+ padding-bottom: 30px;
3061
3084
  scrollbar-width: none;
3062
- max-height: 362px;
3085
+ max-height: 440px;
3063
3086
  position: relative;
3064
3087
  }
3065
3088
  .arravpos-scroll-area::-webkit-scrollbar {
@@ -3413,7 +3436,7 @@
3413
3436
  margin-top: 14px;
3414
3437
  }
3415
3438
  .aaravpos-mobile-step-label {
3416
- font-size: 14px;
3439
+ font-size: 18px;
3417
3440
  }
3418
3441
  .aaravpos-outlet-card-title {
3419
3442
  font-size: 16px;
@@ -3597,7 +3620,7 @@
3597
3620
  .aaravpos-sidebar-close-btn {
3598
3621
  display: none;
3599
3622
  }
3600
- .aaravpos-layout-wrapper.with-sidebar {
3623
+ .aaravpos-layout-wrapper {
3601
3624
  grid-template-columns: minmax(0, 1fr) 360px;
3602
3625
  }
3603
3626
  }
@@ -3658,6 +3681,9 @@
3658
3681
  flex-direction: column;
3659
3682
  margin-bottom: 10px;
3660
3683
  }
3684
+ .aaravpos-barber-sidebar {
3685
+ display: none;
3686
+ }
3661
3687
  .arravpos-booking-grid {
3662
3688
  flex-direction: column;
3663
3689
  gap: 20px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aaravpos/appointment-booking-plugin",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
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",