lizaui 12.0.5 → 12.0.7
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/components/travel-calendar/calendar-travel-form.d.ts +11 -0
- package/dist/components/travel-calendar/calendar-travel-form.d.ts.map +1 -1
- package/dist/components/travel-calendar/hook/use-calendar-pricing.d.ts +8 -2
- package/dist/components/travel-calendar/hook/use-calendar-pricing.d.ts.map +1 -1
- package/dist/lizaui.css +111 -60
- package/dist/travel-calendar/index.cjs.js +345 -266
- package/dist/travel-calendar/index.cjs.js.map +1 -1
- package/dist/travel-calendar/index.es.js +345 -266
- package/dist/travel-calendar/index.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { DateObject, CalendarProps } from 'react-multi-date-picker';
|
|
|
3
3
|
import { CalendarFormatInput } from './calendar-format';
|
|
4
4
|
import { TravelPrice } from './hook/use-calendar-pricing';
|
|
5
5
|
import { CalendarLang } from './locale';
|
|
6
|
+
export type TravelCalendarRadius = "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "input";
|
|
6
7
|
interface Props extends CalendarProps {
|
|
7
8
|
name: string;
|
|
8
9
|
style?: CSSProperties;
|
|
@@ -33,6 +34,16 @@ interface Props extends CalendarProps {
|
|
|
33
34
|
/** Fecha mínima seleccionable, ej. "2026-02-28 06:47:00". Hacia atrás se deshabilitan. null/undefined = sin límite. */
|
|
34
35
|
minSelectableDate?: string | null;
|
|
35
36
|
showActionsButtons?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Resalta en verde el precio más bajo de cada mes (solo si el mes tiene precios distintos).
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
highlightLowestPrice?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Radio de las esquinas del popover del calendario.
|
|
44
|
+
* @default "md"
|
|
45
|
+
*/
|
|
46
|
+
radius?: TravelCalendarRadius;
|
|
36
47
|
readOnly?: boolean;
|
|
37
48
|
disabled?: boolean;
|
|
38
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-travel-form.d.ts","sourceRoot":"","sources":["../../../src/components/travel-calendar/calendar-travel-form.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE7E,OAAO,EAAY,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"calendar-travel-form.d.ts","sourceRoot":"","sources":["../../../src/components/travel-calendar/calendar-travel-form.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE7E,OAAO,EAAY,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAKnF,OAAO,EAA2B,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGtF,OAAO,EAAsB,KAAK,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAEnF,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7D,OAAO,wBAAwB,CAAC;AAEhC,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,OAAO,CAAC;AAaxF,UAAU,KAAM,SAAQ,aAAa;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,KAAK,EAAE,UAAU,GAAG,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,CAAC,aAAa,EAAE,UAAU,GAAG,UAAU,EAAE,GAAG,IAAI,KAAK,IAAI,CAAC;IACzE,iBAAiB,CAAC,EAAE,CAAC,aAAa,EAAE,UAAU,KAAK,IAAI,CAAC;IACxD,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IACvC,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACzC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qBAAqB,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC;IACjE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B;;;;OAIG;IACH,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,uHAAuH;IACvH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;OAGG;IACH,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,kBAAkB,wGA2L9B,CAAC"}
|
|
@@ -14,6 +14,8 @@ interface UseCalendarPricingProps {
|
|
|
14
14
|
minSelectableDate: string | null;
|
|
15
15
|
/** Los precios se están consultando: los días no se pueden elegir y el precio se muestra como skeleton. */
|
|
16
16
|
loading: boolean;
|
|
17
|
+
/** Resalta en verde el precio más bajo de cada mes. */
|
|
18
|
+
highlightLowestPrice: boolean;
|
|
17
19
|
normalizedFormat: CalendarFormat;
|
|
18
20
|
lang: CalendarLang;
|
|
19
21
|
}
|
|
@@ -27,7 +29,7 @@ interface UseCalendarPricingProps {
|
|
|
27
29
|
* fijo), cargue o no, tenga precio o no: así la llegada de los precios no mueve
|
|
28
30
|
* nada (sin layout shift).
|
|
29
31
|
*/
|
|
30
|
-
export declare function useCalendarPricing({ travelPrices, minSelectableDate, loading, normalizedFormat, lang }: UseCalendarPricingProps): {
|
|
32
|
+
export declare function useCalendarPricing({ travelPrices, minSelectableDate, loading, highlightLowestPrice, normalizedFormat, lang, }: UseCalendarPricingProps): {
|
|
31
33
|
enabledDatesSet: Set<string>;
|
|
32
34
|
isRestricted: boolean;
|
|
33
35
|
isEmpty: boolean;
|
|
@@ -35,9 +37,13 @@ export declare function useCalendarPricing({ travelPrices, minSelectableDate, lo
|
|
|
35
37
|
isDateKeyAllowed: (key: string) => boolean;
|
|
36
38
|
isDateKeySelectable: (key: string) => boolean;
|
|
37
39
|
mapDays: ({ date, today, selectedDate, isSameDate }: any) => {
|
|
40
|
+
children: import("react").JSX.Element;
|
|
41
|
+
"aria-label": any;
|
|
38
42
|
disabled: boolean;
|
|
39
|
-
|
|
43
|
+
} | {
|
|
40
44
|
children: import("react").JSX.Element;
|
|
45
|
+
title: any;
|
|
46
|
+
disabled: boolean;
|
|
41
47
|
};
|
|
42
48
|
};
|
|
43
49
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-calendar-pricing.d.ts","sourceRoot":"","sources":["../../../../src/components/travel-calendar/hook/use-calendar-pricing.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,MAAM,WAAW,WAAW;IAC3B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,uBAAuB;IAChC;;;OAGG;IACH,YAAY,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC;IACxC,0FAA0F;IAC1F,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,2GAA2G;IAC3G,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,cAAc,CAAC;IACjC,IAAI,EAAE,YAAY,CAAC;CACnB;AAOD;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,
|
|
1
|
+
{"version":3,"file":"use-calendar-pricing.d.ts","sourceRoot":"","sources":["../../../../src/components/travel-calendar/hook/use-calendar-pricing.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,MAAM,WAAW,WAAW;IAC3B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,uBAAuB;IAChC;;;OAGG;IACH,YAAY,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC;IACxC,0FAA0F;IAC1F,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,2GAA2G;IAC3G,OAAO,EAAE,OAAO,CAAC;IACjB,uDAAuD;IACvD,oBAAoB,EAAE,OAAO,CAAC;IAC9B,gBAAgB,EAAE,cAAc,CAAC;IACjC,IAAI,EAAE,YAAY,CAAC;CACnB;AAOD;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,EAClC,YAAY,EACZ,iBAAiB,EACjB,OAAO,EACP,oBAAoB,EACpB,gBAAgB,EAChB,IAAI,GACJ,EAAE,uBAAuB;;;;;4BA8DlB,MAAM;+BAUiC,MAAM;yDAOP,GAAG;;;;;;;;;EAwDhD"}
|
package/dist/lizaui.css
CHANGED
|
@@ -2475,12 +2475,13 @@
|
|
|
2475
2475
|
|
|
2476
2476
|
:root {
|
|
2477
2477
|
--tc-day-size: 45px;
|
|
2478
|
-
--tc-font-size-number:
|
|
2479
|
-
--tc-font-size-price:
|
|
2478
|
+
--tc-font-size-number: 13px;
|
|
2479
|
+
--tc-font-size-price: 10px;
|
|
2480
2480
|
/* Alto fijo del hueco de precio: igual con precio, sin precio o cargando (evita layout shift). */
|
|
2481
2481
|
--tc-price-height: 10px;
|
|
2482
|
-
--tc-color-price: #
|
|
2482
|
+
--tc-color-price: var(--color-default-500, #6b7280);
|
|
2483
2483
|
--tc-color-price-empty: #9ca3af;
|
|
2484
|
+
--tc-color-price-lowest: var(--color-success-600, #16a34a);
|
|
2484
2485
|
--tc-bg-selected: rgba(59, 130, 246, 0.2);
|
|
2485
2486
|
--tc-radius: 50%;
|
|
2486
2487
|
--tc-transition: 120ms ease-in-out;
|
|
@@ -2543,60 +2544,68 @@
|
|
|
2543
2544
|
outline: 2px solid currentColor;
|
|
2544
2545
|
}
|
|
2545
2546
|
}
|
|
2547
|
+
.react-multi-date-picker-travel-calendar-popover {
|
|
2548
|
+
/* ------------------------------------------------------------ cabeceras */
|
|
2549
|
+
/* Solo el estilo del texto: la posición del título y de las flechas no cambia. */
|
|
2550
|
+
}
|
|
2546
2551
|
.react-multi-date-picker-travel-calendar-popover .rmdp-header-values {
|
|
2547
|
-
|
|
2552
|
+
font-size: 14px;
|
|
2553
|
+
font-weight: 600;
|
|
2554
|
+
color: var(--color-foreground, #11181c) !important;
|
|
2555
|
+
/* La librería separa cada parte con padding-left: 5px; el espacio del separador basta ("Junio 2026"). */
|
|
2556
|
+
}
|
|
2557
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-header-values span {
|
|
2558
|
+
padding: 0 !important;
|
|
2548
2559
|
}
|
|
2549
2560
|
.react-multi-date-picker-travel-calendar-popover .rmdp-week-day {
|
|
2561
|
+
font-size: 12px !important;
|
|
2550
2562
|
font-weight: 500 !important;
|
|
2551
2563
|
color: var(--color-default-500) !important;
|
|
2552
2564
|
}
|
|
2565
|
+
.react-multi-date-picker-travel-calendar-popover {
|
|
2566
|
+
/* ------------------------------------------------------------------ días */
|
|
2567
|
+
}
|
|
2568
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-day,
|
|
2569
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-week-day {
|
|
2570
|
+
width: var(--tc-day-size) !important;
|
|
2571
|
+
height: var(--tc-day-size) !important;
|
|
2572
|
+
min-height: var(--tc-day-size) !important;
|
|
2573
|
+
max-width: var(--tc-day-size) !important;
|
|
2574
|
+
}
|
|
2575
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-day span {
|
|
2576
|
+
position: relative !important;
|
|
2577
|
+
left: 0;
|
|
2578
|
+
right: 0;
|
|
2579
|
+
top: 0;
|
|
2580
|
+
}
|
|
2553
2581
|
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day {
|
|
2554
2582
|
position: relative;
|
|
2555
2583
|
display: flex;
|
|
2556
2584
|
flex-direction: column;
|
|
2557
2585
|
align-items: center !important;
|
|
2558
2586
|
justify-content: center !important;
|
|
2587
|
+
gap: 2px;
|
|
2559
2588
|
width: var(--tc-day-size);
|
|
2560
2589
|
height: var(--tc-day-size);
|
|
2561
|
-
font-size: 12px;
|
|
2562
2590
|
line-height: 1;
|
|
2563
2591
|
user-select: none;
|
|
2564
2592
|
border-radius: var(--tc-radius) !important;
|
|
2565
|
-
transition: background-color var(--tc-transition), color var(--tc-transition),
|
|
2566
|
-
}
|
|
2567
|
-
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day--active {
|
|
2568
|
-
cursor: pointer;
|
|
2569
|
-
}
|
|
2570
|
-
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day--active:hover {
|
|
2571
|
-
background-color: transparent !important;
|
|
2572
|
-
}
|
|
2573
|
-
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day--disabled {
|
|
2574
|
-
opacity: 0.6;
|
|
2575
|
-
cursor: not-allowed;
|
|
2576
|
-
}
|
|
2577
|
-
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day--disabled span {
|
|
2578
|
-
text-decoration: line-through !important;
|
|
2579
|
-
}
|
|
2580
|
-
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day--selected {
|
|
2581
|
-
background: var(--tc-bg-selected);
|
|
2582
|
-
font-weight: 600;
|
|
2583
|
-
}
|
|
2584
|
-
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day--today {
|
|
2585
|
-
box-shadow: 0 0 0 1px var(--color-primary);
|
|
2593
|
+
transition: background-color var(--tc-transition), color var(--tc-transition), opacity var(--tc-transition);
|
|
2586
2594
|
}
|
|
2587
2595
|
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day__number {
|
|
2588
2596
|
font-size: var(--tc-font-size-number) !important;
|
|
2597
|
+
font-weight: 600 !important;
|
|
2589
2598
|
color: var(--color-default-900) !important;
|
|
2590
|
-
font-
|
|
2591
|
-
margin-bottom: 2px;
|
|
2599
|
+
font-variant-numeric: tabular-nums;
|
|
2592
2600
|
}
|
|
2593
2601
|
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day__price {
|
|
2594
2602
|
display: block;
|
|
2595
2603
|
height: var(--tc-price-height);
|
|
2596
2604
|
line-height: var(--tc-price-height);
|
|
2597
2605
|
font-size: var(--tc-font-size-price) !important;
|
|
2598
|
-
color: var(--tc-color-price) !important;
|
|
2599
2606
|
font-weight: 500;
|
|
2607
|
+
color: var(--tc-color-price) !important;
|
|
2608
|
+
font-variant-numeric: tabular-nums;
|
|
2600
2609
|
white-space: nowrap;
|
|
2601
2610
|
}
|
|
2602
2611
|
.react-multi-date-picker-travel-calendar-popover {
|
|
@@ -2605,6 +2614,16 @@
|
|
|
2605
2614
|
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day__price:not(.travel-calendar-day__price--loading, .travel-calendar-day__price--empty) {
|
|
2606
2615
|
animation: tc-price-in 180ms ease-out;
|
|
2607
2616
|
}
|
|
2617
|
+
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day__price--empty {
|
|
2618
|
+
color: var(--tc-color-price-empty);
|
|
2619
|
+
}
|
|
2620
|
+
.react-multi-date-picker-travel-calendar-popover {
|
|
2621
|
+
/* Precio más bajo del mes (solo cuando el mes tiene precios distintos). */
|
|
2622
|
+
}
|
|
2623
|
+
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day__price--lowest {
|
|
2624
|
+
color: var(--tc-color-price-lowest) !important;
|
|
2625
|
+
font-weight: 700;
|
|
2626
|
+
}
|
|
2608
2627
|
.react-multi-date-picker-travel-calendar-popover {
|
|
2609
2628
|
/* Skeleton del precio mientras se consulta la API. */
|
|
2610
2629
|
}
|
|
@@ -2616,66 +2635,98 @@
|
|
|
2616
2635
|
background-color: var(--color-default-200);
|
|
2617
2636
|
animation: tc-skeleton-pulse 1.2s ease-in-out infinite;
|
|
2618
2637
|
}
|
|
2638
|
+
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day--active {
|
|
2639
|
+
cursor: pointer;
|
|
2640
|
+
}
|
|
2619
2641
|
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day--loading {
|
|
2620
2642
|
cursor: progress;
|
|
2621
2643
|
}
|
|
2622
|
-
.react-multi-date-picker-travel-calendar-popover {
|
|
2623
|
-
/* Mientras carga no se tacha ni se atenúa: todavía no sabemos si el día tiene salida. */
|
|
2624
|
-
}
|
|
2625
2644
|
.react-multi-date-picker-travel-calendar-popover .rmdp-day.rmdp-disabled:has(.travel-calendar-day--loading) {
|
|
2626
2645
|
cursor: progress;
|
|
2627
2646
|
}
|
|
2628
|
-
.react-multi-date-picker-travel-calendar-popover
|
|
2629
|
-
|
|
2630
|
-
width: var(--tc-day-size) !important;
|
|
2631
|
-
height: var(--tc-day-size) !important;
|
|
2632
|
-
min-height: var(--tc-day-size) !important;
|
|
2633
|
-
max-width: var(--tc-day-size) !important;
|
|
2647
|
+
.react-multi-date-picker-travel-calendar-popover {
|
|
2648
|
+
/* Sin salida: solo atenuado, sin tachar (son la mayoría y el tachado tapaba los días con precio). */
|
|
2634
2649
|
}
|
|
2635
|
-
.react-multi-date-picker-travel-calendar-popover .
|
|
2636
|
-
|
|
2637
|
-
left: 0;
|
|
2638
|
-
right: 0;
|
|
2639
|
-
top: 0;
|
|
2650
|
+
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day--disabled {
|
|
2651
|
+
cursor: not-allowed;
|
|
2640
2652
|
}
|
|
2641
|
-
.react-multi-date-picker-travel-calendar-popover .travel-calendar-
|
|
2642
|
-
color: var(--
|
|
2653
|
+
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day--disabled .travel-calendar-day__number {
|
|
2654
|
+
color: var(--color-default-300) !important;
|
|
2655
|
+
font-weight: 500 !important;
|
|
2656
|
+
}
|
|
2657
|
+
.react-multi-date-picker-travel-calendar-popover {
|
|
2658
|
+
/* Antes de la fecha mínima: aquí sí se tacha, porque no es "sin salida" sino "no permitido". */
|
|
2659
|
+
}
|
|
2660
|
+
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day--before-min .travel-calendar-day__number {
|
|
2661
|
+
text-decoration: line-through;
|
|
2643
2662
|
}
|
|
2644
2663
|
.react-multi-date-picker-travel-calendar-popover {
|
|
2645
|
-
/*
|
|
2664
|
+
/*
|
|
2665
|
+
* Días del otro mes (showOtherDays): referencia visual, sin precio ni selección (en doble vista se duplicaban).
|
|
2666
|
+
* Se usa la clase de la librería porque es correcta por mes; el `currentMonth` de mapDays es siempre el primero.
|
|
2667
|
+
*/
|
|
2668
|
+
}
|
|
2669
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-day.rmdp-deactive {
|
|
2670
|
+
pointer-events: none;
|
|
2671
|
+
}
|
|
2672
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-day.rmdp-deactive .travel-calendar-day__number {
|
|
2673
|
+
color: var(--color-default-300) !important;
|
|
2674
|
+
font-weight: 400 !important;
|
|
2675
|
+
text-decoration: none;
|
|
2646
2676
|
}
|
|
2647
|
-
.react-multi-date-picker-travel-calendar-popover .
|
|
2648
|
-
|
|
2677
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-day.rmdp-deactive .travel-calendar-day__price {
|
|
2678
|
+
visibility: hidden;
|
|
2679
|
+
}
|
|
2680
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-day.rmdp-deactive span,
|
|
2681
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-day.rmdp-deactive.rmdp-selected span,
|
|
2682
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-day.rmdp-deactive.rmdp-today span {
|
|
2683
|
+
background-color: transparent !important;
|
|
2684
|
+
box-shadow: none !important;
|
|
2649
2685
|
}
|
|
2650
2686
|
.react-multi-date-picker-travel-calendar-popover {
|
|
2651
2687
|
/* Accesibilidad: foco navegable si se usa keyboard nav de librería */
|
|
2652
2688
|
}
|
|
2653
2689
|
.react-multi-date-picker-travel-calendar-popover .travel-calendar-day:focus-visible {
|
|
2654
|
-
outline: 2px solid
|
|
2690
|
+
outline: 2px solid var(--color-primary);
|
|
2655
2691
|
outline-offset: 2px;
|
|
2656
2692
|
}
|
|
2657
|
-
.react-multi-date-picker-travel-calendar-popover
|
|
2693
|
+
.react-multi-date-picker-travel-calendar-popover {
|
|
2694
|
+
/*
|
|
2695
|
+
* Hoy: fondo suave y número en primario, como HeroUI (sin aro). Si hoy no tiene salida, solo el número.
|
|
2696
|
+
* El número usa la clase propia: la librería no marca `rmdp-today` en un día deshabilitado.
|
|
2697
|
+
*/
|
|
2698
|
+
}
|
|
2699
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-day:not(.rmdp-deactive) .travel-calendar-day--today .travel-calendar-day__number {
|
|
2700
|
+
color: var(--color-primary) !important;
|
|
2701
|
+
}
|
|
2702
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-day.rmdp-today:not(.rmdp-disabled, .rmdp-deactive) span {
|
|
2703
|
+
background-color: var(--color-primary-100) !important;
|
|
2704
|
+
}
|
|
2705
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-day.rmdp-today.rmdp-disabled:not(.rmdp-deactive) span {
|
|
2706
|
+
background-color: transparent !important;
|
|
2707
|
+
}
|
|
2708
|
+
.react-multi-date-picker-travel-calendar-popover {
|
|
2709
|
+
/* Seleccionado */
|
|
2710
|
+
}
|
|
2711
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-day.rmdp-selected:not(.rmdp-deactive) span:not(.highlight) {
|
|
2658
2712
|
background-color: var(--color-primary) !important;
|
|
2659
2713
|
color: #fff !important;
|
|
2660
2714
|
box-shadow: none !important;
|
|
2661
2715
|
}
|
|
2662
|
-
.react-multi-date-picker-travel-calendar-popover .rmdp-day.rmdp-selected span:not(.highlight) .travel-calendar-
|
|
2716
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-day.rmdp-selected:not(.rmdp-deactive) span:not(.highlight) .travel-calendar-day__number {
|
|
2663
2717
|
color: #fff !important;
|
|
2664
2718
|
}
|
|
2719
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-day.rmdp-selected:not(.rmdp-deactive) span:not(.highlight) .travel-calendar-day__price {
|
|
2720
|
+
color: rgba(255, 255, 255, 0.85) !important;
|
|
2721
|
+
}
|
|
2665
2722
|
@media (hover: hover) {
|
|
2666
|
-
.react-multi-date-picker-travel-calendar-popover .rmdp-day:not(.rmdp-disabled, .rmdp-day-hidden) span:hover {
|
|
2723
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-day:not(.rmdp-disabled, .rmdp-day-hidden, .rmdp-selected) span:hover {
|
|
2667
2724
|
background-color: var(--color-primary-100) !important;
|
|
2668
|
-
color: var(--color-primary-500) !important;
|
|
2669
2725
|
}
|
|
2670
|
-
.react-multi-date-picker-travel-calendar-popover .
|
|
2671
|
-
|
|
2672
|
-
color: var(--color-primary-500) !important;
|
|
2726
|
+
.react-multi-date-picker-travel-calendar-popover .rmdp-day:not(.rmdp-disabled, .rmdp-day-hidden, .rmdp-selected) span:hover .travel-calendar-day__number {
|
|
2727
|
+
color: var(--color-primary) !important;
|
|
2673
2728
|
}
|
|
2674
2729
|
}
|
|
2675
|
-
.react-multi-date-picker-travel-calendar-popover .rmdp-day.rmdp-today span {
|
|
2676
|
-
background-color: var(--color-primary-100) !important;
|
|
2677
|
-
color: var(--color-primary-500) !important;
|
|
2678
|
-
}
|
|
2679
2730
|
|
|
2680
2731
|
@keyframes tc-skeleton-pulse {
|
|
2681
2732
|
0%, 100% {
|