@hotelcard/ui 0.0.13 → 0.0.16
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.
Potentially problematic release.
This version of @hotelcard/ui might be problematic. Click here for more details.
- package/README.md +121 -68
- package/dist/index.cjs +1510 -102
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +607 -17
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +857 -79
- package/dist/index.d.ts +857 -79
- package/dist/index.js +1488 -105
- package/dist/index.js.map +1 -1
- package/package.json +22 -11
package/dist/index.css
CHANGED
|
@@ -2570,7 +2570,7 @@
|
|
|
2570
2570
|
.hc-hotel-card__image-section {
|
|
2571
2571
|
position: relative;
|
|
2572
2572
|
width: 100%;
|
|
2573
|
-
height:
|
|
2573
|
+
height: 268.5px;
|
|
2574
2574
|
overflow: hidden;
|
|
2575
2575
|
}
|
|
2576
2576
|
.hc-hotel-card__image {
|
|
@@ -2630,7 +2630,6 @@
|
|
|
2630
2630
|
cursor: pointer;
|
|
2631
2631
|
transition: transform 0.2s ease;
|
|
2632
2632
|
padding: 8px;
|
|
2633
|
-
margin: -8px -8px 0 0;
|
|
2634
2633
|
}
|
|
2635
2634
|
.hc-hotel-card__favorite-button:hover {
|
|
2636
2635
|
transform: scale(1.1);
|
|
@@ -2658,15 +2657,18 @@
|
|
|
2658
2657
|
background-color: rgba(255, 255, 255, 0.8);
|
|
2659
2658
|
border: none;
|
|
2660
2659
|
border-radius: 50%;
|
|
2660
|
+
outline: 2px solid transparent;
|
|
2661
|
+
outline-offset: -2px;
|
|
2661
2662
|
display: flex;
|
|
2662
2663
|
align-items: center;
|
|
2663
2664
|
justify-content: center;
|
|
2664
2665
|
cursor: pointer;
|
|
2665
2666
|
z-index: 2;
|
|
2666
|
-
transition: background-color 0.2s ease;
|
|
2667
|
+
transition: background-color 0.2s ease, outline-color 0.2s ease;
|
|
2667
2668
|
}
|
|
2668
2669
|
.hc-hotel-card__nav-button:hover {
|
|
2669
2670
|
background-color: rgba(255, 255, 255, 0.95);
|
|
2671
|
+
outline-color: rgba(0, 0, 0, 0.1);
|
|
2670
2672
|
}
|
|
2671
2673
|
.hc-hotel-card__nav-button--left {
|
|
2672
2674
|
left: 12px;
|
|
@@ -2691,7 +2693,7 @@
|
|
|
2691
2693
|
transition: background-color 0.2s ease;
|
|
2692
2694
|
}
|
|
2693
2695
|
.hc-hotel-card__indicator-dot--active {
|
|
2694
|
-
background-color: white;
|
|
2696
|
+
background-color: var(--color-ink-base-white, #ffffff);
|
|
2695
2697
|
}
|
|
2696
2698
|
.hc-hotel-card__usp-banner {
|
|
2697
2699
|
width: 100%;
|
|
@@ -2705,15 +2707,13 @@
|
|
|
2705
2707
|
line-height: var(--text-label-tiny-line-height, 16px);
|
|
2706
2708
|
}
|
|
2707
2709
|
.hc-hotel-card__content {
|
|
2708
|
-
padding:
|
|
2710
|
+
padding: var(--size-rem-1-5, 24px);
|
|
2709
2711
|
display: flex;
|
|
2710
2712
|
flex-direction: column;
|
|
2711
|
-
gap: 2px;
|
|
2712
2713
|
}
|
|
2713
2714
|
.hc-hotel-card__header-section {
|
|
2714
2715
|
display: flex;
|
|
2715
2716
|
flex-direction: column;
|
|
2716
|
-
gap: 2px;
|
|
2717
2717
|
}
|
|
2718
2718
|
.hc-hotel-card__rating-section {
|
|
2719
2719
|
display: flex;
|
|
@@ -2726,9 +2726,7 @@
|
|
|
2726
2726
|
gap: 2px;
|
|
2727
2727
|
}
|
|
2728
2728
|
.hc-hotel-card__stars-indicator {
|
|
2729
|
-
|
|
2730
|
-
top: -4px;
|
|
2731
|
-
left: 2px;
|
|
2729
|
+
margin-left: 4px;
|
|
2732
2730
|
font-size: var(--text-label-tiny-font-size, 12px);
|
|
2733
2731
|
font-weight: var(--font-weight-medium, 500);
|
|
2734
2732
|
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
@@ -2759,8 +2757,9 @@
|
|
|
2759
2757
|
display: flex;
|
|
2760
2758
|
align-items: center;
|
|
2761
2759
|
justify-content: center;
|
|
2762
|
-
width: 32px;
|
|
2763
2760
|
height: 24px;
|
|
2761
|
+
min-width: 32px;
|
|
2762
|
+
padding: 4px 8px;
|
|
2764
2763
|
}
|
|
2765
2764
|
.hc-hotel-card__rating-badge-bg {
|
|
2766
2765
|
position: absolute;
|
|
@@ -2768,11 +2767,14 @@
|
|
|
2768
2767
|
left: 0;
|
|
2769
2768
|
width: 100%;
|
|
2770
2769
|
height: 100%;
|
|
2770
|
+
z-index: 1;
|
|
2771
2771
|
}
|
|
2772
2772
|
.hc-hotel-card__rating-number {
|
|
2773
2773
|
position: relative;
|
|
2774
|
+
top: -2px;
|
|
2774
2775
|
z-index: 2;
|
|
2775
|
-
color:
|
|
2776
|
+
color: var(--content-action-highlight-inverse-idle, #ffffff);
|
|
2777
|
+
text-align: center;
|
|
2776
2778
|
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
2777
2779
|
font-size: var(--text-label-tiny-font-size, 12px);
|
|
2778
2780
|
font-weight: var(--font-weight-medium, 500);
|
|
@@ -2785,12 +2787,13 @@
|
|
|
2785
2787
|
font-weight: var(--font-weight-medium, 500);
|
|
2786
2788
|
line-height: var(--text-label-large-line-height, 28px);
|
|
2787
2789
|
margin: 0;
|
|
2790
|
+
margin-bottom: 8px;
|
|
2788
2791
|
}
|
|
2789
2792
|
.hc-hotel-card__location-section {
|
|
2790
2793
|
display: flex;
|
|
2791
2794
|
align-items: center;
|
|
2792
2795
|
gap: 4px;
|
|
2793
|
-
margin-bottom:
|
|
2796
|
+
margin-bottom: var(--size-rem-1, 16px);
|
|
2794
2797
|
}
|
|
2795
2798
|
.hc-hotel-card__pin-icon {
|
|
2796
2799
|
width: 16px;
|
|
@@ -2805,11 +2808,15 @@
|
|
|
2805
2808
|
line-height: var(--text-label-tiny-line-height, 16px);
|
|
2806
2809
|
text-decoration: underline;
|
|
2807
2810
|
}
|
|
2811
|
+
.hc-hotel-card__benefits-and-pricing {
|
|
2812
|
+
display: flex;
|
|
2813
|
+
flex-direction: column;
|
|
2814
|
+
gap: 16px;
|
|
2815
|
+
}
|
|
2808
2816
|
.hc-hotel-card__benefits-section {
|
|
2809
2817
|
display: flex;
|
|
2810
2818
|
flex-direction: column;
|
|
2811
|
-
gap:
|
|
2812
|
-
margin-bottom: 8px;
|
|
2819
|
+
gap: var(--size-rem-0-5, 8px);
|
|
2813
2820
|
}
|
|
2814
2821
|
.hc-hotel-card__benefit {
|
|
2815
2822
|
display: flex;
|
|
@@ -2831,7 +2838,9 @@
|
|
|
2831
2838
|
.hc-hotel-card__pricing-section {
|
|
2832
2839
|
display: flex;
|
|
2833
2840
|
flex-direction: column;
|
|
2834
|
-
gap:
|
|
2841
|
+
gap: 4px;
|
|
2842
|
+
flex: 1;
|
|
2843
|
+
justify-content: flex-end;
|
|
2835
2844
|
}
|
|
2836
2845
|
.hc-hotel-card__price-label {
|
|
2837
2846
|
font-size: var(--text-label-tiny-font-size, 12px);
|
|
@@ -2841,6 +2850,9 @@
|
|
|
2841
2850
|
line-height: var(--text-label-tiny-line-height, 16px);
|
|
2842
2851
|
}
|
|
2843
2852
|
.hc-hotel-card__not-available {
|
|
2853
|
+
flex: 1;
|
|
2854
|
+
display: flex;
|
|
2855
|
+
align-items: center;
|
|
2844
2856
|
font-size: var(--text-label-small-font-size, 14px);
|
|
2845
2857
|
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
2846
2858
|
font-weight: var(--font-weight-medium, 500);
|
|
@@ -2852,7 +2864,6 @@
|
|
|
2852
2864
|
display: flex;
|
|
2853
2865
|
align-items: center;
|
|
2854
2866
|
gap: 8px;
|
|
2855
|
-
flex-wrap: wrap;
|
|
2856
2867
|
}
|
|
2857
2868
|
.hc-hotel-card__current-price {
|
|
2858
2869
|
color: var(--content-general-primary, #1F2937);
|
|
@@ -2882,4 +2893,583 @@
|
|
|
2882
2893
|
line-height: var(--text-label-small-line-height, 20px);
|
|
2883
2894
|
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
2884
2895
|
}
|
|
2896
|
+
@media (min-width: 1024px) {
|
|
2897
|
+
.hc-hotel-card {
|
|
2898
|
+
flex-direction: row;
|
|
2899
|
+
height: 274px;
|
|
2900
|
+
}
|
|
2901
|
+
.hc-hotel-card__usp-banner {
|
|
2902
|
+
display: none;
|
|
2903
|
+
}
|
|
2904
|
+
.hc-hotel-card__image-section {
|
|
2905
|
+
width: 365px;
|
|
2906
|
+
height: 274px;
|
|
2907
|
+
flex-shrink: 0;
|
|
2908
|
+
}
|
|
2909
|
+
.hc-hotel-card__content {
|
|
2910
|
+
flex: 1;
|
|
2911
|
+
padding: var(--size-rem-1-5, 24px);
|
|
2912
|
+
}
|
|
2913
|
+
.hc-hotel-card__benefits-and-pricing {
|
|
2914
|
+
flex-direction: row;
|
|
2915
|
+
justify-content: space-between;
|
|
2916
|
+
align-items: flex-end;
|
|
2917
|
+
margin-top: auto;
|
|
2918
|
+
}
|
|
2919
|
+
.hc-hotel-card__benefits-section {
|
|
2920
|
+
flex: 1;
|
|
2921
|
+
}
|
|
2922
|
+
.hc-hotel-card__pricing-section {
|
|
2923
|
+
flex: 1;
|
|
2924
|
+
align-items: flex-end;
|
|
2925
|
+
}
|
|
2926
|
+
.hc-hotel-card__price-label {
|
|
2927
|
+
text-align: right;
|
|
2928
|
+
}
|
|
2929
|
+
.hc-hotel-card__original-price {
|
|
2930
|
+
text-align: right;
|
|
2931
|
+
}
|
|
2932
|
+
.hc-hotel-card__price-container {
|
|
2933
|
+
justify-content: flex-end;
|
|
2934
|
+
}
|
|
2935
|
+
}
|
|
2936
|
+
|
|
2937
|
+
/* src/components/Filters/FilterCheckboxItem.module.css */
|
|
2938
|
+
.filterRow {
|
|
2939
|
+
display: flex;
|
|
2940
|
+
justify-content: space-between;
|
|
2941
|
+
align-items: center;
|
|
2942
|
+
padding: var(--size-rem-0-625, 10px) 0;
|
|
2943
|
+
background-color: var(--background-action-secondary-idle, #fff);
|
|
2944
|
+
cursor: pointer;
|
|
2945
|
+
user-select: none;
|
|
2946
|
+
transition: background-color 0.15s ease;
|
|
2947
|
+
border-radius: var(--radius-sm, 4px);
|
|
2948
|
+
position: relative;
|
|
2949
|
+
}
|
|
2950
|
+
.filterRow:hover:not(.filterRowDisabled) {
|
|
2951
|
+
background-color: var(--background-action-secondary-hover, #e5e7eb);
|
|
2952
|
+
}
|
|
2953
|
+
.filterRow:active:not(.filterRowDisabled) {
|
|
2954
|
+
background-color: var(--background-action-secondary-hover, #e5e7eb);
|
|
2955
|
+
}
|
|
2956
|
+
.filterRow:focus {
|
|
2957
|
+
background-color: var(--background-action-secondary-idle, #fff);
|
|
2958
|
+
box-shadow: 0 0 0 2px var(--misc-focus, #3474DA), 0 0 16px 4px var(--misc-focus, #3474DA);
|
|
2959
|
+
outline: none;
|
|
2960
|
+
z-index: 1;
|
|
2961
|
+
}
|
|
2962
|
+
.filterRowDisabled {
|
|
2963
|
+
cursor: not-allowed;
|
|
2964
|
+
}
|
|
2965
|
+
.checkboxLabel {
|
|
2966
|
+
display: flex;
|
|
2967
|
+
align-items: center;
|
|
2968
|
+
gap: var(--size-rem-0-5, 8px);
|
|
2969
|
+
flex: 1;
|
|
2970
|
+
}
|
|
2971
|
+
.checkboxButton {
|
|
2972
|
+
width: 24px;
|
|
2973
|
+
height: 24px;
|
|
2974
|
+
position: relative;
|
|
2975
|
+
overflow: hidden;
|
|
2976
|
+
flex-shrink: 0;
|
|
2977
|
+
}
|
|
2978
|
+
.checkbox {
|
|
2979
|
+
position: absolute;
|
|
2980
|
+
width: 1px;
|
|
2981
|
+
height: 1px;
|
|
2982
|
+
padding: 0;
|
|
2983
|
+
margin: -1px;
|
|
2984
|
+
overflow: hidden;
|
|
2985
|
+
clip: rect(0, 0, 0, 0);
|
|
2986
|
+
white-space: nowrap;
|
|
2987
|
+
border: 0;
|
|
2988
|
+
}
|
|
2989
|
+
.checkboxBox {
|
|
2990
|
+
position: absolute;
|
|
2991
|
+
top: 2px;
|
|
2992
|
+
left: 2px;
|
|
2993
|
+
display: flex;
|
|
2994
|
+
align-items: center;
|
|
2995
|
+
justify-content: center;
|
|
2996
|
+
width: 20px;
|
|
2997
|
+
height: 20px;
|
|
2998
|
+
background-color: var(--background-general-primary, #fff);
|
|
2999
|
+
border: 1px solid var(--border-general-tertiary, #d1d5db);
|
|
3000
|
+
border-radius: 4px;
|
|
3001
|
+
transition: all 0.15s ease;
|
|
3002
|
+
}
|
|
3003
|
+
.checkbox:checked + .checkboxBox {
|
|
3004
|
+
background-color: var(--background-action-highlight-idle, #3474DA);
|
|
3005
|
+
border-color: var(--background-action-highlight-idle, #3474DA);
|
|
3006
|
+
}
|
|
3007
|
+
.checkboxBoxDisabled {
|
|
3008
|
+
background-color: var(--background-action-disabled-idle, #f3f4f6);
|
|
3009
|
+
border-color: var(--border-action-disabled-idle, #e5e7eb);
|
|
3010
|
+
}
|
|
3011
|
+
.checkbox:checked + .checkboxBoxDisabled {
|
|
3012
|
+
background-color: var(--background-action-disabled-idle, #f3f4f6);
|
|
3013
|
+
border-color: var(--border-action-disabled-idle, #e5e7eb);
|
|
3014
|
+
}
|
|
3015
|
+
.checkIcon {
|
|
3016
|
+
width: 12px;
|
|
3017
|
+
height: 10px;
|
|
3018
|
+
color: var(--content-action-primary-inverse-idle, #fff);
|
|
3019
|
+
}
|
|
3020
|
+
.checkboxBoxDisabled .checkIcon {
|
|
3021
|
+
color: var(--content-action-disabled-idle, #9ca3af);
|
|
3022
|
+
}
|
|
3023
|
+
.filterLabel {
|
|
3024
|
+
color: var(--content-general-primary, #111827);
|
|
3025
|
+
font-family: var(--text-label-medium-font-family, inherit);
|
|
3026
|
+
font-size: var(--text-label-medium-font-size, 14px);
|
|
3027
|
+
font-style: normal;
|
|
3028
|
+
font-weight: 500;
|
|
3029
|
+
line-height: var(--text-label-medium-line-height, 1.5);
|
|
3030
|
+
}
|
|
3031
|
+
.filterLabelDisabled {
|
|
3032
|
+
color: var(--content-action-disabled-idle, #9ca3af);
|
|
3033
|
+
}
|
|
3034
|
+
.filterCount {
|
|
3035
|
+
color: var(--content-general-tertiary, #6b7280);
|
|
3036
|
+
font-family: var(--text-label-medium-font-family, inherit);
|
|
3037
|
+
font-size: var(--text-label-medium-font-size, 14px);
|
|
3038
|
+
font-style: normal;
|
|
3039
|
+
font-weight: 500;
|
|
3040
|
+
line-height: var(--text-label-medium-line-height, 1.5);
|
|
3041
|
+
}
|
|
3042
|
+
.filterCountDisabled {
|
|
3043
|
+
color: var(--content-action-disabled-idle, #9ca3af);
|
|
3044
|
+
}
|
|
3045
|
+
|
|
3046
|
+
/* src/components/Filters/CollapsibleFilterSection.module.css */
|
|
3047
|
+
.section {
|
|
3048
|
+
border-bottom: 1px solid var(--border-general-secondary, #e5e7eb);
|
|
3049
|
+
}
|
|
3050
|
+
.header {
|
|
3051
|
+
display: flex;
|
|
3052
|
+
justify-content: space-between;
|
|
3053
|
+
align-items: center;
|
|
3054
|
+
width: 100%;
|
|
3055
|
+
padding: var(--size-rem-1, 16px) 0;
|
|
3056
|
+
background: transparent;
|
|
3057
|
+
border: none;
|
|
3058
|
+
cursor: pointer;
|
|
3059
|
+
text-align: left;
|
|
3060
|
+
}
|
|
3061
|
+
.title {
|
|
3062
|
+
color: var(--content-general-primary, #111827);
|
|
3063
|
+
font-family: var(--text-heading-small-font-family, inherit);
|
|
3064
|
+
font-size: var(--text-heading-small-font-size, 16px);
|
|
3065
|
+
font-weight: 600;
|
|
3066
|
+
line-height: var(--text-heading-small-line-height, 1.5);
|
|
3067
|
+
}
|
|
3068
|
+
.chevron {
|
|
3069
|
+
width: 20px;
|
|
3070
|
+
height: 20px;
|
|
3071
|
+
color: var(--content-general-secondary, #6b7280);
|
|
3072
|
+
transition: transform 0.2s ease;
|
|
3073
|
+
transform: rotate(0deg);
|
|
3074
|
+
}
|
|
3075
|
+
.chevronExpanded {
|
|
3076
|
+
transform: rotate(180deg);
|
|
3077
|
+
}
|
|
3078
|
+
.content {
|
|
3079
|
+
max-height: 0;
|
|
3080
|
+
overflow: hidden;
|
|
3081
|
+
transition: max-height 0.3s ease;
|
|
3082
|
+
}
|
|
3083
|
+
.contentExpanded {
|
|
3084
|
+
max-height: 2000px;
|
|
3085
|
+
}
|
|
3086
|
+
.contentInner {
|
|
3087
|
+
padding-bottom: var(--size-rem-1, 16px);
|
|
3088
|
+
}
|
|
3089
|
+
.showAllButton {
|
|
3090
|
+
display: flex;
|
|
3091
|
+
align-items: center;
|
|
3092
|
+
gap: var(--size-rem-0-25, 4px);
|
|
3093
|
+
margin-top: var(--size-rem-0-5, 8px);
|
|
3094
|
+
padding: var(--size-rem-0-5, 8px) 0;
|
|
3095
|
+
background: transparent;
|
|
3096
|
+
border: none;
|
|
3097
|
+
cursor: pointer;
|
|
3098
|
+
color: var(--content-action-highlight-idle, #3474DA);
|
|
3099
|
+
font-family: var(--text-label-medium-font-family, inherit);
|
|
3100
|
+
font-size: var(--text-label-medium-font-size, 14px);
|
|
3101
|
+
font-weight: 500;
|
|
3102
|
+
line-height: var(--text-label-medium-line-height, 1.5);
|
|
3103
|
+
}
|
|
3104
|
+
.showAllButton:hover {
|
|
3105
|
+
color: var(--content-action-highlight-hover, #2563eb);
|
|
3106
|
+
}
|
|
3107
|
+
.showAllChevron {
|
|
3108
|
+
width: 16px;
|
|
3109
|
+
height: 16px;
|
|
3110
|
+
transition: transform 0.2s ease;
|
|
3111
|
+
transform: rotate(0deg);
|
|
3112
|
+
}
|
|
3113
|
+
.showAllChevronUp {
|
|
3114
|
+
transform: rotate(180deg);
|
|
3115
|
+
}
|
|
3116
|
+
|
|
3117
|
+
/* src/components/Filters/PriceRangeFilter.module.css */
|
|
3118
|
+
.priceRangeWrapper {
|
|
3119
|
+
display: flex;
|
|
3120
|
+
flex-direction: column;
|
|
3121
|
+
gap: var(--size-rem-1, 16px);
|
|
3122
|
+
}
|
|
3123
|
+
.priceInputs {
|
|
3124
|
+
display: flex;
|
|
3125
|
+
align-items: center;
|
|
3126
|
+
gap: var(--size-rem-0-5, 8px);
|
|
3127
|
+
}
|
|
3128
|
+
.priceInputWrapper {
|
|
3129
|
+
flex: 1;
|
|
3130
|
+
}
|
|
3131
|
+
.priceInput {
|
|
3132
|
+
width: 100%;
|
|
3133
|
+
padding: var(--size-rem-0-75, 12px);
|
|
3134
|
+
border: 1px solid var(--border-general-secondary, #e5e7eb);
|
|
3135
|
+
border-radius: var(--radius-md, 8px);
|
|
3136
|
+
background-color: var(--background-general-primary, #fff);
|
|
3137
|
+
color: var(--content-general-primary, #111827);
|
|
3138
|
+
font-family: var(--text-body-medium-font-family, inherit);
|
|
3139
|
+
font-size: var(--text-body-medium-font-size, 14px);
|
|
3140
|
+
line-height: var(--text-body-medium-line-height, 1.5);
|
|
3141
|
+
text-align: center;
|
|
3142
|
+
}
|
|
3143
|
+
.priceInput:focus {
|
|
3144
|
+
outline: none;
|
|
3145
|
+
border-color: var(--border-action-highlight-idle, #3474DA);
|
|
3146
|
+
box-shadow: 0 0 0 2px var(--misc-focus-light, rgba(52, 116, 218, 0.2));
|
|
3147
|
+
}
|
|
3148
|
+
.priceInputDivider {
|
|
3149
|
+
color: var(--content-general-tertiary, #6b7280);
|
|
3150
|
+
font-size: 14px;
|
|
3151
|
+
flex-shrink: 0;
|
|
3152
|
+
}
|
|
3153
|
+
.histogram {
|
|
3154
|
+
display: flex;
|
|
3155
|
+
align-items: flex-end;
|
|
3156
|
+
gap: 2px;
|
|
3157
|
+
height: 48px;
|
|
3158
|
+
padding: 0 12px;
|
|
3159
|
+
}
|
|
3160
|
+
.histogramBar {
|
|
3161
|
+
flex: 1;
|
|
3162
|
+
background-color: var(--background-action-secondary-idle, #e5e7eb);
|
|
3163
|
+
border-radius: 2px 2px 0 0;
|
|
3164
|
+
transition: background-color 0.15s ease;
|
|
3165
|
+
min-height: 4px;
|
|
3166
|
+
}
|
|
3167
|
+
.histogramBarActive {
|
|
3168
|
+
background-color: var(--background-action-highlight-idle, #3474DA);
|
|
3169
|
+
}
|
|
3170
|
+
.sliderContainer {
|
|
3171
|
+
position: relative;
|
|
3172
|
+
height: 24px;
|
|
3173
|
+
touch-action: none;
|
|
3174
|
+
}
|
|
3175
|
+
.sliderTrack {
|
|
3176
|
+
position: absolute;
|
|
3177
|
+
top: 50%;
|
|
3178
|
+
left: 12px;
|
|
3179
|
+
right: 12px;
|
|
3180
|
+
height: 4px;
|
|
3181
|
+
background-color: var(--background-action-secondary-idle, #e5e7eb);
|
|
3182
|
+
border-radius: 2px;
|
|
3183
|
+
transform: translateY(-50%);
|
|
3184
|
+
}
|
|
3185
|
+
.sliderActiveTrack {
|
|
3186
|
+
position: absolute;
|
|
3187
|
+
top: 50%;
|
|
3188
|
+
height: 4px;
|
|
3189
|
+
background-color: var(--background-action-highlight-idle, #3474DA);
|
|
3190
|
+
border-radius: 2px;
|
|
3191
|
+
transform: translateY(-50%);
|
|
3192
|
+
}
|
|
3193
|
+
.sliderHandle {
|
|
3194
|
+
position: absolute;
|
|
3195
|
+
top: 50%;
|
|
3196
|
+
width: 24px;
|
|
3197
|
+
height: 24px;
|
|
3198
|
+
background-color: var(--background-general-primary, #fff);
|
|
3199
|
+
border: 2px solid var(--border-action-highlight-idle, #3474DA);
|
|
3200
|
+
border-radius: 50%;
|
|
3201
|
+
transform: translate(-50%, -50%);
|
|
3202
|
+
cursor: grab;
|
|
3203
|
+
touch-action: none;
|
|
3204
|
+
transition: box-shadow 0.15s ease;
|
|
3205
|
+
z-index: 1;
|
|
3206
|
+
}
|
|
3207
|
+
.sliderHandle:hover {
|
|
3208
|
+
box-shadow: 0 0 0 4px var(--misc-focus-light, rgba(52, 116, 218, 0.2));
|
|
3209
|
+
}
|
|
3210
|
+
.sliderHandle:focus {
|
|
3211
|
+
outline: none;
|
|
3212
|
+
box-shadow: 0 0 0 4px var(--misc-focus-light, rgba(52, 116, 218, 0.2));
|
|
3213
|
+
}
|
|
3214
|
+
.sliderHandleActive {
|
|
3215
|
+
cursor: grabbing;
|
|
3216
|
+
box-shadow: 0 0 0 6px var(--misc-focus-light, rgba(52, 116, 218, 0.3));
|
|
3217
|
+
}
|
|
3218
|
+
|
|
3219
|
+
/* src/components/Filters/HotelCategoryFilter.module.css */
|
|
3220
|
+
.filterList {
|
|
3221
|
+
display: flex;
|
|
3222
|
+
flex-direction: column;
|
|
3223
|
+
}
|
|
3224
|
+
.starsContainer {
|
|
3225
|
+
display: flex;
|
|
3226
|
+
align-items: center;
|
|
3227
|
+
gap: 2px;
|
|
3228
|
+
}
|
|
3229
|
+
.starIcon {
|
|
3230
|
+
width: 16px;
|
|
3231
|
+
height: 16px;
|
|
3232
|
+
color: var(--content-general-primary, #111827);
|
|
3233
|
+
}
|
|
3234
|
+
.footer {
|
|
3235
|
+
margin-top: var(--size-rem-0-75, 12px);
|
|
3236
|
+
padding-top: var(--size-rem-0-75, 12px);
|
|
3237
|
+
border-top: 1px solid var(--border-general-secondary, #e5e7eb);
|
|
3238
|
+
}
|
|
3239
|
+
.footerText {
|
|
3240
|
+
color: var(--content-general-tertiary, #6b7280);
|
|
3241
|
+
font-family: var(--text-caption-font-family, inherit);
|
|
3242
|
+
font-size: var(--text-caption-font-size, 12px);
|
|
3243
|
+
font-style: normal;
|
|
3244
|
+
font-weight: 400;
|
|
3245
|
+
line-height: var(--text-caption-line-height, 1.5);
|
|
3246
|
+
}
|
|
3247
|
+
|
|
3248
|
+
/* src/components/Filters/ReviewsFilter.module.css */
|
|
3249
|
+
.filterList {
|
|
3250
|
+
display: flex;
|
|
3251
|
+
flex-direction: column;
|
|
3252
|
+
}
|
|
3253
|
+
.filterRange {
|
|
3254
|
+
color: var(--content-general-tertiary, #6b7280);
|
|
3255
|
+
font-weight: 400;
|
|
3256
|
+
}
|
|
3257
|
+
.footer {
|
|
3258
|
+
margin-top: var(--size-rem-0-75, 12px);
|
|
3259
|
+
padding-top: var(--size-rem-0-75, 12px);
|
|
3260
|
+
border-top: 1px solid var(--border-general-secondary, #e5e7eb);
|
|
3261
|
+
}
|
|
3262
|
+
.footerText {
|
|
3263
|
+
color: var(--content-general-tertiary, #6b7280);
|
|
3264
|
+
font-family: var(--text-caption-font-family, inherit);
|
|
3265
|
+
font-size: var(--text-caption-font-size, 12px);
|
|
3266
|
+
font-style: normal;
|
|
3267
|
+
font-weight: 400;
|
|
3268
|
+
line-height: var(--text-caption-line-height, 1.5);
|
|
3269
|
+
}
|
|
3270
|
+
|
|
3271
|
+
/* src/components/Filters/ExperienceFilter.module.css */
|
|
3272
|
+
.filterList {
|
|
3273
|
+
display: flex;
|
|
3274
|
+
flex-direction: column;
|
|
3275
|
+
}
|
|
3276
|
+
.showMoreBtn {
|
|
3277
|
+
display: flex;
|
|
3278
|
+
align-items: center;
|
|
3279
|
+
gap: var(--size-rem-0-25, 4px);
|
|
3280
|
+
margin-top: var(--size-rem-0-5, 8px);
|
|
3281
|
+
padding: var(--size-rem-0-5, 8px) 0;
|
|
3282
|
+
background: transparent;
|
|
3283
|
+
border: none;
|
|
3284
|
+
cursor: pointer;
|
|
3285
|
+
color: var(--content-action-highlight-idle, #3474DA);
|
|
3286
|
+
font-family: var(--text-label-medium-font-family, inherit);
|
|
3287
|
+
font-size: var(--text-label-medium-font-size, 14px);
|
|
3288
|
+
font-weight: 500;
|
|
3289
|
+
line-height: var(--text-label-medium-line-height, 1.5);
|
|
3290
|
+
}
|
|
3291
|
+
.showMoreBtn:hover {
|
|
3292
|
+
color: var(--content-action-highlight-hover, #2563eb);
|
|
3293
|
+
}
|
|
3294
|
+
.arrowIcon {
|
|
3295
|
+
display: flex;
|
|
3296
|
+
align-items: center;
|
|
3297
|
+
transition: transform 0.2s ease;
|
|
3298
|
+
}
|
|
3299
|
+
.arrowIcon svg {
|
|
3300
|
+
width: 20px;
|
|
3301
|
+
height: 20px;
|
|
3302
|
+
}
|
|
3303
|
+
.arrowUp {
|
|
3304
|
+
transform: rotate(180deg);
|
|
3305
|
+
}
|
|
3306
|
+
|
|
3307
|
+
/* src/components/Filters/RegionsFilter.module.css */
|
|
3308
|
+
.filterList {
|
|
3309
|
+
display: flex;
|
|
3310
|
+
flex-direction: column;
|
|
3311
|
+
gap: var(--size-rem-0-25, 4px);
|
|
3312
|
+
}
|
|
3313
|
+
.regionItem {
|
|
3314
|
+
display: flex;
|
|
3315
|
+
flex-direction: column;
|
|
3316
|
+
}
|
|
3317
|
+
.countryRow {
|
|
3318
|
+
display: flex;
|
|
3319
|
+
justify-content: space-between;
|
|
3320
|
+
align-items: center;
|
|
3321
|
+
height: 56px;
|
|
3322
|
+
padding: 14px var(--size-rem-0-75, 12px);
|
|
3323
|
+
background-color: var(--background-general-secondary-light, #f9fafb);
|
|
3324
|
+
border: 1px solid transparent;
|
|
3325
|
+
border-radius: var(--size-rem-0-75, 12px);
|
|
3326
|
+
cursor: pointer;
|
|
3327
|
+
user-select: none;
|
|
3328
|
+
transition: background-color 0.15s ease;
|
|
3329
|
+
gap: var(--size-rem-0-75, 12px);
|
|
3330
|
+
}
|
|
3331
|
+
.countryRowExpanded {
|
|
3332
|
+
border-radius: var(--size-rem-0-75, 12px);
|
|
3333
|
+
border: 1px solid var(--border-action-secondary-active, #d1d5db);
|
|
3334
|
+
background: var(--background-general-primary, #fff) !important;
|
|
3335
|
+
border-bottom: none;
|
|
3336
|
+
border-bottom-left-radius: 0;
|
|
3337
|
+
border-bottom-right-radius: 0;
|
|
3338
|
+
}
|
|
3339
|
+
.countryInfo {
|
|
3340
|
+
display: flex;
|
|
3341
|
+
align-items: center;
|
|
3342
|
+
flex: 1 1 0;
|
|
3343
|
+
justify-content: space-between;
|
|
3344
|
+
}
|
|
3345
|
+
.countryName {
|
|
3346
|
+
color: var(--content-general-primary, #111827);
|
|
3347
|
+
font-family: var(--text-label-large-font-family, inherit);
|
|
3348
|
+
font-size: var(--text-label-large-font-size, 16px);
|
|
3349
|
+
font-weight: var(--text-label-large-font-weight, 600);
|
|
3350
|
+
line-height: var(--text-label-large-line-height, 1.55);
|
|
3351
|
+
}
|
|
3352
|
+
.countBadge {
|
|
3353
|
+
display: inline-flex;
|
|
3354
|
+
align-items: center;
|
|
3355
|
+
justify-content: center;
|
|
3356
|
+
min-width: 24px;
|
|
3357
|
+
height: 24px;
|
|
3358
|
+
padding: 0 var(--size-rem-0-5, 8px);
|
|
3359
|
+
border-radius: 9999px;
|
|
3360
|
+
background: var(--background-general-secondary, #e5e7eb) !important;
|
|
3361
|
+
color: var(--content-general-primary, #111827);
|
|
3362
|
+
text-align: center;
|
|
3363
|
+
font-family: var(--text-label-medium-font-family, inherit);
|
|
3364
|
+
font-size: var(--text-label-medium-font-size, 14px);
|
|
3365
|
+
font-weight: 500;
|
|
3366
|
+
line-height: var(--text-label-medium-line-height, 1.5);
|
|
3367
|
+
white-space: nowrap;
|
|
3368
|
+
}
|
|
3369
|
+
.chevron {
|
|
3370
|
+
width: 20px;
|
|
3371
|
+
height: 20px;
|
|
3372
|
+
color: var(--content-general-tertiary, #6b7280);
|
|
3373
|
+
flex-shrink: 0;
|
|
3374
|
+
transition: transform 0.2s ease;
|
|
3375
|
+
}
|
|
3376
|
+
.chevronExpanded {
|
|
3377
|
+
transform: rotate(180deg);
|
|
3378
|
+
}
|
|
3379
|
+
.subRegions {
|
|
3380
|
+
display: flex;
|
|
3381
|
+
flex-direction: column;
|
|
3382
|
+
padding: 0 var(--size-rem-0-75, 12px) var(--size-rem-0-875, 14px) var(--size-rem-0-75, 12px);
|
|
3383
|
+
border-radius: var(--size-rem-0-75, 12px);
|
|
3384
|
+
border: 1px solid var(--border-action-secondary-active, #d1d5db);
|
|
3385
|
+
background: var(--background-general-primary, #fff);
|
|
3386
|
+
border-top: none;
|
|
3387
|
+
border-top-left-radius: 0;
|
|
3388
|
+
border-top-right-radius: 0;
|
|
3389
|
+
}
|
|
3390
|
+
.mobileSelectAllActions {
|
|
3391
|
+
display: flex;
|
|
3392
|
+
align-items: center;
|
|
3393
|
+
gap: var(--size-rem-1, 16px);
|
|
3394
|
+
height: 44px;
|
|
3395
|
+
padding: 0 var(--size-rem-0-75, 12px);
|
|
3396
|
+
border-top: none;
|
|
3397
|
+
border-bottom: none;
|
|
3398
|
+
border-right: 1px solid var(--border-action-secondary-active, #d1d5db);
|
|
3399
|
+
border-left: 1px solid var(--border-action-secondary-active, #d1d5db);
|
|
3400
|
+
background: var(--background-general-primary, #fff);
|
|
3401
|
+
}
|
|
3402
|
+
.selectAllBtn,
|
|
3403
|
+
.resetAllBtn {
|
|
3404
|
+
display: flex;
|
|
3405
|
+
align-items: center;
|
|
3406
|
+
justify-content: center;
|
|
3407
|
+
height: 100%;
|
|
3408
|
+
padding: 0;
|
|
3409
|
+
border: none;
|
|
3410
|
+
background: transparent;
|
|
3411
|
+
font-family: var(--text-label-medium-font-family, inherit);
|
|
3412
|
+
font-size: var(--text-label-medium-font-size, 14px);
|
|
3413
|
+
font-weight: 500;
|
|
3414
|
+
line-height: var(--text-label-medium-line-height, 1.5);
|
|
3415
|
+
text-decoration: underline;
|
|
3416
|
+
cursor: pointer;
|
|
3417
|
+
}
|
|
3418
|
+
.selectAllBtn {
|
|
3419
|
+
color: var(--content-action-link-idle, #3474DA);
|
|
3420
|
+
}
|
|
3421
|
+
.selectAllBtn:disabled {
|
|
3422
|
+
color: var(--content-action-disabled-idle, #9ca3af);
|
|
3423
|
+
cursor: not-allowed;
|
|
3424
|
+
opacity: 0.5;
|
|
3425
|
+
}
|
|
3426
|
+
.resetAllBtn {
|
|
3427
|
+
color: var(--content-action-disabled-idle, #6b7280);
|
|
3428
|
+
}
|
|
3429
|
+
.resetAllBtn:disabled {
|
|
3430
|
+
cursor: not-allowed;
|
|
3431
|
+
opacity: 0.5;
|
|
3432
|
+
}
|
|
3433
|
+
.selectAllBtn:focus-visible,
|
|
3434
|
+
.resetAllBtn:focus-visible {
|
|
3435
|
+
outline: 2px solid var(--misc-focus, #3474DA);
|
|
3436
|
+
outline-offset: 2px;
|
|
3437
|
+
border-radius: 2px;
|
|
3438
|
+
}
|
|
3439
|
+
|
|
3440
|
+
/* src/components/Filters/CheckboxFilter.module.css */
|
|
3441
|
+
.filterList {
|
|
3442
|
+
display: flex;
|
|
3443
|
+
flex-direction: column;
|
|
3444
|
+
}
|
|
3445
|
+
|
|
3446
|
+
/* src/components/Filters/SelectedFiltersRow.module.css */
|
|
3447
|
+
.container {
|
|
3448
|
+
padding: var(--size-rem-0-75, 12px) 0;
|
|
3449
|
+
border-bottom: 1px solid var(--border-general-secondary, #e5e7eb);
|
|
3450
|
+
}
|
|
3451
|
+
.chipsWrapper {
|
|
3452
|
+
display: flex;
|
|
3453
|
+
align-items: flex-start;
|
|
3454
|
+
gap: var(--size-rem-0-5, 8px);
|
|
3455
|
+
}
|
|
3456
|
+
.selectedText {
|
|
3457
|
+
margin: 0;
|
|
3458
|
+
padding-top: var(--size-rem-0-25, 4px);
|
|
3459
|
+
color: var(--content-general-secondary, #6b7280);
|
|
3460
|
+
font-family: var(--text-label-medium-font-family, inherit);
|
|
3461
|
+
font-size: var(--text-label-medium-font-size, 14px);
|
|
3462
|
+
font-weight: 500;
|
|
3463
|
+
line-height: var(--text-label-medium-line-height, 1.5);
|
|
3464
|
+
white-space: nowrap;
|
|
3465
|
+
}
|
|
3466
|
+
.chips {
|
|
3467
|
+
display: flex;
|
|
3468
|
+
flex-wrap: wrap;
|
|
3469
|
+
align-items: center;
|
|
3470
|
+
gap: var(--size-rem-0-5, 8px);
|
|
3471
|
+
}
|
|
3472
|
+
.clearAllBtn {
|
|
3473
|
+
margin-left: var(--size-rem-0-5, 8px);
|
|
3474
|
+
}
|
|
2885
3475
|
/*# sourceMappingURL=index.css.map */
|