@aaravpos/appointment-booking-plugin 2.0.2 → 2.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/README.md +100 -0
- package/dist/index.cjs +33 -41
- package/dist/index.js +5380 -10486
- package/dist/styles.css +66 -47
- package/package.json +8 -5
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: 800;
|
|
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:
|
|
829
|
+
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:
|
|
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:
|
|
852
|
+
border-radius: 6px;
|
|
853
|
+
position: absolute;
|
|
854
|
+
bottom: 15px;
|
|
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:
|
|
890
|
+
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:
|
|
900
|
+
height: 700px;
|
|
888
901
|
}
|
|
889
902
|
.aaravpos-layout-page {
|
|
890
|
-
height:
|
|
903
|
+
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:
|
|
918
|
+
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:
|
|
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);
|
|
@@ -1060,7 +1051,7 @@
|
|
|
1060
1051
|
.aaravpos-outlet-list-wrapper {
|
|
1061
1052
|
padding-top: 8px;
|
|
1062
1053
|
padding-bottom: 8px;
|
|
1063
|
-
max-height:
|
|
1054
|
+
max-height: 570px;
|
|
1064
1055
|
overflow: auto;
|
|
1065
1056
|
scrollbar-width: none;
|
|
1066
1057
|
}
|
|
@@ -1071,6 +1062,7 @@
|
|
|
1071
1062
|
display: grid;
|
|
1072
1063
|
grid-template-columns: 1fr;
|
|
1073
1064
|
gap: 16px;
|
|
1065
|
+
padding-bottom: 50px;
|
|
1074
1066
|
}
|
|
1075
1067
|
.aaravpos-empty-state {
|
|
1076
1068
|
display: flex;
|
|
@@ -1411,10 +1403,10 @@
|
|
|
1411
1403
|
}
|
|
1412
1404
|
.aaravpos-services-wrapper {
|
|
1413
1405
|
overflow-y: auto;
|
|
1414
|
-
padding-bottom:
|
|
1406
|
+
padding-bottom: 75px;
|
|
1415
1407
|
scrollbar-width: none;
|
|
1416
1408
|
-ms-overflow-style: none;
|
|
1417
|
-
height:
|
|
1409
|
+
height: 318px;
|
|
1418
1410
|
}
|
|
1419
1411
|
.aaravpos-services-wrapper::-webkit-scrollbar {
|
|
1420
1412
|
display: none;
|
|
@@ -1797,6 +1789,7 @@
|
|
|
1797
1789
|
letter-spacing: 1.5px;
|
|
1798
1790
|
cursor: pointer;
|
|
1799
1791
|
transition: all 0.2s ease;
|
|
1792
|
+
border-radius: 6px;
|
|
1800
1793
|
}
|
|
1801
1794
|
.aaravpos-common-btn:hover {
|
|
1802
1795
|
background: var(--btn-bg-hover);
|
|
@@ -2211,10 +2204,11 @@
|
|
|
2211
2204
|
flex-direction: column;
|
|
2212
2205
|
align-items: center;
|
|
2213
2206
|
justify-content: center;
|
|
2214
|
-
padding:
|
|
2207
|
+
padding: 24px;
|
|
2215
2208
|
text-align: center;
|
|
2216
2209
|
border: 1px dashed rgba(0, 0, 0, 0.2);
|
|
2217
2210
|
border-radius: 8px;
|
|
2211
|
+
height: 160px;
|
|
2218
2212
|
}
|
|
2219
2213
|
.aaravpos-empty-services-title {
|
|
2220
2214
|
margin-bottom: 8px;
|
|
@@ -2235,7 +2229,7 @@
|
|
|
2235
2229
|
overflow-y: auto;
|
|
2236
2230
|
padding-bottom: 80px;
|
|
2237
2231
|
scrollbar-width: none;
|
|
2238
|
-
height:
|
|
2232
|
+
height: 515px;
|
|
2239
2233
|
}
|
|
2240
2234
|
.arravpos-details-scroll::-webkit-scrollbar {
|
|
2241
2235
|
display: none;
|
|
@@ -2359,7 +2353,8 @@
|
|
|
2359
2353
|
.arravpos-booking-scroll {
|
|
2360
2354
|
overflow-y: auto;
|
|
2361
2355
|
scrollbar-width: none;
|
|
2362
|
-
height:
|
|
2356
|
+
height: 470px;
|
|
2357
|
+
padding-bottom: 25px;
|
|
2363
2358
|
}
|
|
2364
2359
|
.arravpos-booking-scroll::-webkit-scrollbar {
|
|
2365
2360
|
display: none;
|
|
@@ -3053,7 +3048,7 @@
|
|
|
3053
3048
|
overflow-y: auto;
|
|
3054
3049
|
padding-bottom: 80px;
|
|
3055
3050
|
scrollbar-width: none;
|
|
3056
|
-
height:
|
|
3051
|
+
height: 362px;
|
|
3057
3052
|
}
|
|
3058
3053
|
.arravpos-scroll-area::-webkit-scrollbar {
|
|
3059
3054
|
display: none;
|
|
@@ -3162,7 +3157,7 @@
|
|
|
3162
3157
|
padding-bottom: 80px;
|
|
3163
3158
|
scrollbar-width: none;
|
|
3164
3159
|
-ms-overflow-style: none;
|
|
3165
|
-
height:
|
|
3160
|
+
height: 504px;
|
|
3166
3161
|
}
|
|
3167
3162
|
.aaravpos-staff-wrapper::-webkit-scrollbar {
|
|
3168
3163
|
display: none;
|
|
@@ -3305,8 +3300,8 @@
|
|
|
3305
3300
|
height: 580px;
|
|
3306
3301
|
}
|
|
3307
3302
|
.aaravpos-loader {
|
|
3308
|
-
width:
|
|
3309
|
-
height:
|
|
3303
|
+
width: 24px;
|
|
3304
|
+
height: 24px;
|
|
3310
3305
|
border: 4px solid #e5e5e5;
|
|
3311
3306
|
border-top-color: var(--btn-bg);
|
|
3312
3307
|
border-radius: 50%;
|
|
@@ -3380,9 +3375,6 @@
|
|
|
3380
3375
|
padding: 14px;
|
|
3381
3376
|
font-size: 13px;
|
|
3382
3377
|
}
|
|
3383
|
-
.arravpos-booking-scroll {
|
|
3384
|
-
height: calc(100dvh - 200px);
|
|
3385
|
-
}
|
|
3386
3378
|
.arravpos-calendar-btn {
|
|
3387
3379
|
font-size: 12px;
|
|
3388
3380
|
}
|
|
@@ -3409,6 +3401,33 @@
|
|
|
3409
3401
|
.aaravpos-sidebar {
|
|
3410
3402
|
display: none;
|
|
3411
3403
|
}
|
|
3404
|
+
.aaravpos-page-title {
|
|
3405
|
+
font-size: 16px;
|
|
3406
|
+
}
|
|
3407
|
+
.aaravpos-topbar {
|
|
3408
|
+
gap: 10px;
|
|
3409
|
+
}
|
|
3410
|
+
.aaravpos-btn-content {
|
|
3411
|
+
gap: 4px;
|
|
3412
|
+
}
|
|
3413
|
+
.aaravpos-margin-top-20 {
|
|
3414
|
+
margin-top: 14px;
|
|
3415
|
+
}
|
|
3416
|
+
.aaravpos-mobile-step-label {
|
|
3417
|
+
font-size: 14px;
|
|
3418
|
+
}
|
|
3419
|
+
.aaravpos-btn {
|
|
3420
|
+
display: block;
|
|
3421
|
+
}
|
|
3422
|
+
.aaravpos-outlet-card-title {
|
|
3423
|
+
font-size: 16px;
|
|
3424
|
+
}
|
|
3425
|
+
.aaravpos-title {
|
|
3426
|
+
font-size: 18px;
|
|
3427
|
+
}
|
|
3428
|
+
.aaravpos-outlet-grid {
|
|
3429
|
+
gap: 10px;
|
|
3430
|
+
}
|
|
3412
3431
|
}
|
|
3413
3432
|
@media (min-width: 768px) {
|
|
3414
3433
|
.arravpos-section-label {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aaravpos/appointment-booking-plugin",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.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",
|
|
@@ -30,13 +30,17 @@
|
|
|
30
30
|
},
|
|
31
31
|
"keywords": [
|
|
32
32
|
"react",
|
|
33
|
-
"
|
|
33
|
+
"appointment",
|
|
34
34
|
"tailwindcss",
|
|
35
35
|
"typescript",
|
|
36
|
-
"
|
|
36
|
+
"plugin",
|
|
37
|
+
"booking"
|
|
37
38
|
],
|
|
38
39
|
"author": "Aaravpos",
|
|
39
|
-
"license": "
|
|
40
|
+
"license": "MIT",
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"access": "public"
|
|
43
|
+
},
|
|
40
44
|
"devDependencies": {
|
|
41
45
|
"@tailwindcss/vite": "^4.2.4",
|
|
42
46
|
"@types/lodash": "4.17.24",
|
|
@@ -61,7 +65,6 @@
|
|
|
61
65
|
"dependencies": {
|
|
62
66
|
"@reduxjs/toolkit": "2.11.2",
|
|
63
67
|
"@tailwindcss/postcss": "4.2.4",
|
|
64
|
-
"framer-motion": "12.38.0",
|
|
65
68
|
"libphonenumber-js": "1.13.1",
|
|
66
69
|
"lodash": "4.18.1",
|
|
67
70
|
"lucide-react": "1.14.0",
|