@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.js
CHANGED
|
@@ -6289,8 +6289,8 @@ const useTooltip = () => {
|
|
|
6289
6289
|
const handleDayMouseEnter = (e) => {
|
|
6290
6290
|
const rect = e.currentTarget.getBoundingClientRect();
|
|
6291
6291
|
const coords = {
|
|
6292
|
-
x: rect.right - 5
|
|
6293
|
-
y: rect.top - 10
|
|
6292
|
+
x: rect.right - 5,
|
|
6293
|
+
y: rect.top - 10,
|
|
6294
6294
|
};
|
|
6295
6295
|
if (timeoutRef.current) {
|
|
6296
6296
|
clearTimeout(timeoutRef.current);
|
|
@@ -6312,8 +6312,8 @@ const useTooltip = () => {
|
|
|
6312
6312
|
return { tooltip, handleDayMouseEnter, handleDayMouseLeave };
|
|
6313
6313
|
};
|
|
6314
6314
|
|
|
6315
|
-
var css$6 = ".theme-light .
|
|
6316
|
-
var modules_efc4e723$6 = {"tooltip":"
|
|
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 }) => {
|