@daryasidorovich/modsen-datepicker 1.1.0 → 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.
@@ -1,4 +1,4 @@
1
- import { CalendarProps } from '@/components/Calendar/types';
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 = ".styles_module_datepicker__56a414ad {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 8px;\n width: 262px;\n}\n.theme-light .styles_module_datepicker__56a414ad {\n background-color: #ffffff;\n}\n.theme-dark .styles_module_datepicker__56a414ad {\n background-color: #333333;\n}";
6578
- var modules_efc4e723$2 = {"datepicker":"styles_module_datepicker__56a414ad"};
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 = ".styles_module_rangePicker__2a1e1dc4 {\n display: flex;\n flex-direction: column;\n padding: 8px;\n width: 262px;\n}\n.theme-light .styles_module_rangePicker__2a1e1dc4 {\n background-color: #ffffff;\n}\n.theme-dark .styles_module_rangePicker__2a1e1dc4 {\n background-color: #333333;\n}\n\n.styles_module_calendar__2a1e1dc4 {\n margin-top: 15px;\n}\n\n.styles_module_inputs__2a1e1dc4 {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}";
6609
- var modules_efc4e723 = {"rangePicker":"styles_module_rangePicker__2a1e1dc4","calendar":"styles_module_calendar__2a1e1dc4","inputs":"styles_module_inputs__2a1e1dc4"};
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 }) => {