@daryasidorovich/modsen-datepicker 1.0.27 → 1.1.1
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/hooks/useCalendar.d.ts +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CalendarProps } from '@/components/
|
|
1
|
+
import { CalendarProps } from '@/components/CalendarGrid/types';
|
|
2
2
|
import { CalendarService } from '@/services/calendarService';
|
|
3
3
|
export declare function useCalendar(props: CalendarProps): {
|
|
4
4
|
calendar: CalendarService;
|
package/dist/index.cjs
CHANGED
|
@@ -6574,8 +6574,8 @@ function useValidate(selectedDate) {
|
|
|
6574
6574
|
};
|
|
6575
6575
|
}
|
|
6576
6576
|
|
|
6577
|
-
var css$2 = ".
|
|
6578
|
-
var modules_efc4e723$2 = {"datepicker":"
|
|
6577
|
+
var css$2 = ".styles_module_datepicker__c99d29d4 {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 8px;\n width: fit-content;\n}\n.theme-light .styles_module_datepicker__c99d29d4 {\n background-color: #ffffff;\n}\n.theme-dark .styles_module_datepicker__c99d29d4 {\n background-color: #333333;\n}";
|
|
6578
|
+
var modules_efc4e723$2 = {"datepicker":"styles_module_datepicker__c99d29d4"};
|
|
6579
6579
|
n$1(css$2,{});
|
|
6580
6580
|
|
|
6581
6581
|
const DatePicker = ({ selectedDate, monthDate = new Date(), onChange, ...props }) => {
|
|
@@ -6605,8 +6605,8 @@ const Clear = ({ onClick }) => {
|
|
|
6605
6605
|
return (jsxRuntime.jsx("button", { className: modules_efc4e723$1.clear, type: "button", onClick: onClick, children: "Clear" }));
|
|
6606
6606
|
};
|
|
6607
6607
|
|
|
6608
|
-
var css = ".
|
|
6609
|
-
var modules_efc4e723 = {"rangePicker":"
|
|
6608
|
+
var css = ".styles_module_rangePicker__1a42aac7 {\n display: flex;\n flex-direction: column;\n padding: 8px;\n width: fit-content;\n}\n.theme-light .styles_module_rangePicker__1a42aac7 {\n background-color: #ffffff;\n}\n.theme-dark .styles_module_rangePicker__1a42aac7 {\n background-color: #333333;\n}\n\n.styles_module_calendar__1a42aac7 {\n margin-top: 15px;\n}\n\n.styles_module_inputs__1a42aac7 {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}";
|
|
6609
|
+
var modules_efc4e723 = {"rangePicker":"styles_module_rangePicker__1a42aac7","calendar":"styles_module_calendar__1a42aac7","inputs":"styles_module_inputs__1a42aac7"};
|
|
6610
6610
|
n$1(css,{});
|
|
6611
6611
|
|
|
6612
6612
|
const RangePicker = ({ rangeStart, rangeEnd, monthDate = new Date(), onChangeStart, onChangeEnd, ...props }) => {
|