@daryasidorovich/modsen-datepicker 1.0.18 → 1.0.20
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.cjs +6 -6
- package/dist/index.js +6 -6
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -6455,8 +6455,8 @@ const WeekDay = ({ firstDayOfWeek = 1, className = '', hideWeekends = false, })
|
|
|
6455
6455
|
}) }));
|
|
6456
6456
|
};
|
|
6457
6457
|
|
|
6458
|
-
var css$3 = ".
|
|
6459
|
-
var modules_efc4e723$3 = {"calendarGrid":"
|
|
6458
|
+
var css$3 = ".styles_module_calendarGrid__b44526fd {\n border-style: solid;\n border-width: 1px;\n}\n.theme-light .styles_module_calendarGrid__b44526fd {\n border-color: #e1e1e1;\n background-color: #ffffff;\n}\n.theme-dark .styles_module_calendarGrid__b44526fd {\n border-color: #aaaaaa;\n background-color: #333333;\n}\n.styles_module_calendarGrid__b44526fd {\n padding: 10px;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n gap: 2px;\n align-items: center;\n max-width: 262px;\n}";
|
|
6459
|
+
var modules_efc4e723$3 = {"calendarGrid":"styles_module_calendarGrid__b44526fd"};
|
|
6460
6460
|
n(css$3,{});
|
|
6461
6461
|
|
|
6462
6462
|
const BaseCalendar = ({ mode = MODES.MONTH, monthDate, firstDayOfWeek = 1, hideWeekends = false, ...props }) => {
|
|
@@ -6575,8 +6575,8 @@ function useValidate(selectedDate) {
|
|
|
6575
6575
|
};
|
|
6576
6576
|
}
|
|
6577
6577
|
|
|
6578
|
-
var css$2 = ".
|
|
6579
|
-
var modules_efc4e723$2 = {"datepicker":"
|
|
6578
|
+
var css$2 = ".styles_module_datepicker__392917ad {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 8px;\n max-width: 262px;\n}\n.theme-light .styles_module_datepicker__392917ad {\n background-color: #ffffff;\n}\n.theme-dark .styles_module_datepicker__392917ad {\n background-color: #333333;\n}";
|
|
6579
|
+
var modules_efc4e723$2 = {"datepicker":"styles_module_datepicker__392917ad"};
|
|
6580
6580
|
n(css$2,{});
|
|
6581
6581
|
|
|
6582
6582
|
const DatePicker = ({ selectedDate, monthDate = new Date(), onChange, ...props }) => {
|
|
@@ -6606,8 +6606,8 @@ const Clear = ({ onClick }) => {
|
|
|
6606
6606
|
return (jsxRuntime.jsx("button", { className: modules_efc4e723$1.clear, type: "button", onClick: onClick, children: "Clear" }));
|
|
6607
6607
|
};
|
|
6608
6608
|
|
|
6609
|
-
var css = ".
|
|
6610
|
-
var modules_efc4e723 = {"rangePicker":"
|
|
6609
|
+
var css = ".styles_module_rangePicker__bf693e64 {\n display: flex;\n flex-direction: column;\n padding: 8px;\n max-width: 262px;\n}\n.theme-light .styles_module_rangePicker__bf693e64 {\n background-color: #ffffff;\n}\n.theme-dark .styles_module_rangePicker__bf693e64 {\n background-color: #333333;\n}\n\n.styles_module_calendar__bf693e64 {\n margin-top: 15px;\n}\n\n.styles_module_inputs__bf693e64 {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}";
|
|
6610
|
+
var modules_efc4e723 = {"rangePicker":"styles_module_rangePicker__bf693e64","calendar":"styles_module_calendar__bf693e64","inputs":"styles_module_inputs__bf693e64"};
|
|
6611
6611
|
n(css,{});
|
|
6612
6612
|
|
|
6613
6613
|
const RangePicker = ({ rangeStart, rangeEnd, monthDate = new Date(), onChangeStart, onChangeEnd, ...props }) => {
|
package/dist/index.js
CHANGED
|
@@ -6432,8 +6432,8 @@ const WeekDay = ({ firstDayOfWeek = 1, className = '', hideWeekends = false, })
|
|
|
6432
6432
|
}) }));
|
|
6433
6433
|
};
|
|
6434
6434
|
|
|
6435
|
-
var css$3 = ".
|
|
6436
|
-
var modules_efc4e723$3 = {"calendarGrid":"
|
|
6435
|
+
var css$3 = ".styles_module_calendarGrid__b44526fd {\n border-style: solid;\n border-width: 1px;\n}\n.theme-light .styles_module_calendarGrid__b44526fd {\n border-color: #e1e1e1;\n background-color: #ffffff;\n}\n.theme-dark .styles_module_calendarGrid__b44526fd {\n border-color: #aaaaaa;\n background-color: #333333;\n}\n.styles_module_calendarGrid__b44526fd {\n padding: 10px;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n gap: 2px;\n align-items: center;\n max-width: 262px;\n}";
|
|
6436
|
+
var modules_efc4e723$3 = {"calendarGrid":"styles_module_calendarGrid__b44526fd"};
|
|
6437
6437
|
n(css$3,{});
|
|
6438
6438
|
|
|
6439
6439
|
const BaseCalendar = ({ mode = MODES.MONTH, monthDate, firstDayOfWeek = 1, hideWeekends = false, ...props }) => {
|
|
@@ -6552,8 +6552,8 @@ function useValidate(selectedDate) {
|
|
|
6552
6552
|
};
|
|
6553
6553
|
}
|
|
6554
6554
|
|
|
6555
|
-
var css$2 = ".
|
|
6556
|
-
var modules_efc4e723$2 = {"datepicker":"
|
|
6555
|
+
var css$2 = ".styles_module_datepicker__392917ad {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 8px;\n max-width: 262px;\n}\n.theme-light .styles_module_datepicker__392917ad {\n background-color: #ffffff;\n}\n.theme-dark .styles_module_datepicker__392917ad {\n background-color: #333333;\n}";
|
|
6556
|
+
var modules_efc4e723$2 = {"datepicker":"styles_module_datepicker__392917ad"};
|
|
6557
6557
|
n(css$2,{});
|
|
6558
6558
|
|
|
6559
6559
|
const DatePicker = ({ selectedDate, monthDate = new Date(), onChange, ...props }) => {
|
|
@@ -6583,8 +6583,8 @@ const Clear = ({ onClick }) => {
|
|
|
6583
6583
|
return (jsx("button", { className: modules_efc4e723$1.clear, type: "button", onClick: onClick, children: "Clear" }));
|
|
6584
6584
|
};
|
|
6585
6585
|
|
|
6586
|
-
var css = ".
|
|
6587
|
-
var modules_efc4e723 = {"rangePicker":"
|
|
6586
|
+
var css = ".styles_module_rangePicker__bf693e64 {\n display: flex;\n flex-direction: column;\n padding: 8px;\n max-width: 262px;\n}\n.theme-light .styles_module_rangePicker__bf693e64 {\n background-color: #ffffff;\n}\n.theme-dark .styles_module_rangePicker__bf693e64 {\n background-color: #333333;\n}\n\n.styles_module_calendar__bf693e64 {\n margin-top: 15px;\n}\n\n.styles_module_inputs__bf693e64 {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}";
|
|
6587
|
+
var modules_efc4e723 = {"rangePicker":"styles_module_rangePicker__bf693e64","calendar":"styles_module_calendar__bf693e64","inputs":"styles_module_inputs__bf693e64"};
|
|
6588
6588
|
n(css,{});
|
|
6589
6589
|
|
|
6590
6590
|
const RangePicker = ({ rangeStart, rangeEnd, monthDate = new Date(), onChangeStart, onChangeEnd, ...props }) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daryasidorovich/modsen-datepicker",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"vitest": "latest"
|
|
108
108
|
},
|
|
109
109
|
"dependencies": {
|
|
110
|
-
"
|
|
110
|
+
"@hookform/resolvers": "^5.9.1",
|
|
111
111
|
"tslib": "^2.8.1",
|
|
112
112
|
"zod": "^4.5.4"
|
|
113
113
|
},
|