arengibook 2.4.35 → 2.4.36
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/index.js +7 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12767,7 +12767,7 @@ function styleInject(css, ref) {
|
|
|
12767
12767
|
}
|
|
12768
12768
|
}
|
|
12769
12769
|
|
|
12770
|
-
var css_248z = ".datepicker-fullwidth {\n width: 100%;\n}\n\n.datepicker-fullwidth > .p-calendar {\n width: 100%;\n}\n\n.datepickerbook .p-datepicker-calendar th {\n text-align: center !important;\n}\n\n\n\n";
|
|
12770
|
+
var css_248z = ".datepicker-fullwidth {\n width: 100%;\n}\n\n.datepicker-fullwidth > .p-calendar {\n width: 100%;\n}\n\n.datepickerbook .p-datepicker-calendar th {\n text-align: center !important;\n}\n\n/* Neutralise les styles hérités */\n.datepickerbook table,\n.datepickerbook tbody,\n.datepickerbook tr,\n.datepickerbook td,\n.datepickerbook th {\n background-color: unset !important;\n color: inherit !important;\n border: none;\n}\n\n/* Restaure les couleurs par défaut de PrimeReact */\n.datepickerbook .p-datepicker {\n background-color: #fff !important;\n color: #333 !important;\n border-radius: 6px;\n box-shadow: 0 0 8px rgba(0,0,0,0.1);\n}\n\n/* Corrige l’affichage des jours */\n.datepickerbook .p-datepicker-calendar td {\n text-align: center;\n background-color: transparent !important;\n color: #333;\n}\n\n/* Corrige les jours sélectionnés ou actifs */\n.datepickerbook .p-datepicker-calendar td.p-highlight {\n background-color: #6366f1 !important;\n color: #fff !important;\n}\n\n/* En-tête du calendrier */\n.datepickerbook .p-datepicker-calendar th {\n text-align: center !important;\n color: #000;\n}\n\n\n";
|
|
12771
12771
|
styleInject(css_248z);
|
|
12772
12772
|
|
|
12773
12773
|
var _excluded$3 = ["value", "onChange", "placeholder", "dateFormat", "view", "invalid", "errorMessage", "disabled", "locale", "showTime", "showIcon", "icon", "iconBgButton", "iconPos", "name", "id", "fullWidth", "inputProps"];
|
|
@@ -12853,6 +12853,12 @@ var DatePicker = function DatePicker(_ref) {
|
|
|
12853
12853
|
value: newDate
|
|
12854
12854
|
});
|
|
12855
12855
|
}
|
|
12856
|
+
if (inputRef.current) {
|
|
12857
|
+
var event = new Event('datePickerChange', {
|
|
12858
|
+
bubbles: true
|
|
12859
|
+
});
|
|
12860
|
+
inputRef.current.dispatchEvent(event);
|
|
12861
|
+
}
|
|
12856
12862
|
};
|
|
12857
12863
|
useEffect(function () {
|
|
12858
12864
|
if (inputRef.current) {
|