@daryasidorovich/modsen-datepicker 1.1.3 → 1.1.5

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.
@@ -2,17 +2,17 @@ export declare const DATE_MASK: {
2
2
  readonly mask: "dd/mm/yyyy";
3
3
  readonly blocks: {
4
4
  readonly dd: {
5
- readonly mask: any;
5
+ readonly mask: typeof import("imask").MaskedRange;
6
6
  readonly from: 1;
7
7
  readonly to: 31;
8
8
  };
9
9
  readonly mm: {
10
- readonly mask: any;
10
+ readonly mask: typeof import("imask").MaskedRange;
11
11
  readonly from: 1;
12
12
  readonly to: 12;
13
13
  };
14
14
  readonly yyyy: {
15
- readonly mask: any;
15
+ readonly mask: typeof import("imask").MaskedRange;
16
16
  readonly from: 1900;
17
17
  readonly to: 2100;
18
18
  };
@@ -4,8 +4,8 @@ export declare function useValidate(selectedDate: Date | undefined): {
4
4
  handleDateValidation: (value: string, startDate?: Date) => Date | undefined;
5
5
  handleClearInput: () => void;
6
6
  handleDateSelect: (date?: Date) => void;
7
- ref: any;
8
- value: any;
9
- setValue: any;
7
+ ref: import("react").MutableRefObject<import("imask").InputMaskElement | null>;
8
+ value: string;
9
+ setValue: import("react").Dispatch<string>;
10
10
  error: string;
11
11
  };
package/dist/index.cjs CHANGED
@@ -6335,8 +6335,8 @@ const useTooltip = () => {
6335
6335
  return { tooltip, handleDayMouseEnter, handleDayMouseLeave };
6336
6336
  };
6337
6337
 
6338
- var css$6 = ".theme-light .styles_module_tooltip__ac28d9b8 {\n background-color: #e1e1e1;\n}\n.theme-dark .styles_module_tooltip__ac28d9b8 {\n background-color: #aaaaaa;\n}\n.styles_module_tooltip__ac28d9b8 {\n border-radius: 8px;\n padding: 2px 8px;\n position: absolute;\n}";
6339
- var modules_efc4e723$6 = {"tooltip":"styles_module_tooltip__ac28d9b8"};
6338
+ var css$6 = ".theme-light .styles_module_tooltip__9854e35d {\n background-color: #e1e1e1;\n}\n.theme-dark .styles_module_tooltip__9854e35d {\n background-color: #aaaaaa;\n}\n.styles_module_tooltip__9854e35d {\n border-radius: 8px;\n padding: 2px 8px;\n position: fixed;\n}";
6339
+ var modules_efc4e723$6 = {"tooltip":"styles_module_tooltip__9854e35d"};
6340
6340
  n$1(css$6,{});
6341
6341
 
6342
6342
  const Tooltip = ({ isVisible, text, x, y }) => {
package/dist/index.js CHANGED
@@ -6312,8 +6312,8 @@ const useTooltip = () => {
6312
6312
  return { tooltip, handleDayMouseEnter, handleDayMouseLeave };
6313
6313
  };
6314
6314
 
6315
- var css$6 = ".theme-light .styles_module_tooltip__ac28d9b8 {\n background-color: #e1e1e1;\n}\n.theme-dark .styles_module_tooltip__ac28d9b8 {\n background-color: #aaaaaa;\n}\n.styles_module_tooltip__ac28d9b8 {\n border-radius: 8px;\n padding: 2px 8px;\n position: absolute;\n}";
6316
- var modules_efc4e723$6 = {"tooltip":"styles_module_tooltip__ac28d9b8"};
6315
+ var css$6 = ".theme-light .styles_module_tooltip__9854e35d {\n background-color: #e1e1e1;\n}\n.theme-dark .styles_module_tooltip__9854e35d {\n background-color: #aaaaaa;\n}\n.styles_module_tooltip__9854e35d {\n border-radius: 8px;\n padding: 2px 8px;\n position: fixed;\n}";
6316
+ var modules_efc4e723$6 = {"tooltip":"styles_module_tooltip__9854e35d"};
6317
6317
  n$1(css$6,{});
6318
6318
 
6319
6319
  const Tooltip = ({ isVisible, text, x, y }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daryasidorovich/modsen-datepicker",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",