@daryasidorovich/modsen-datepicker 1.1.4 → 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.
- 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
package/dist/index.cjs
CHANGED
|
@@ -6312,8 +6312,8 @@ const useTooltip = () => {
|
|
|
6312
6312
|
const handleDayMouseEnter = (e) => {
|
|
6313
6313
|
const rect = e.currentTarget.getBoundingClientRect();
|
|
6314
6314
|
const coords = {
|
|
6315
|
-
x: rect.right - 5
|
|
6316
|
-
y: rect.top - 10
|
|
6315
|
+
x: rect.right - 5,
|
|
6316
|
+
y: rect.top - 10,
|
|
6317
6317
|
};
|
|
6318
6318
|
if (timeoutRef.current) {
|
|
6319
6319
|
clearTimeout(timeoutRef.current);
|
|
@@ -6335,8 +6335,8 @@ const useTooltip = () => {
|
|
|
6335
6335
|
return { tooltip, handleDayMouseEnter, handleDayMouseLeave };
|
|
6336
6336
|
};
|
|
6337
6337
|
|
|
6338
|
-
var css$6 = ".theme-light .
|
|
6339
|
-
var modules_efc4e723$6 = {"tooltip":"
|
|
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 }) => {
|