@optifye/dashboard-core 6.11.31 → 6.11.32
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.js +2 -7
- package/dist/index.mjs +2 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39582,13 +39582,8 @@ var TimePickerDropdown = ({
|
|
|
39582
39582
|
}, [disabled, hasValue, onChange]);
|
|
39583
39583
|
const handleContainerClick = React142.useCallback(() => {
|
|
39584
39584
|
if (disabled) return;
|
|
39585
|
-
|
|
39586
|
-
|
|
39587
|
-
if (!hasValue) {
|
|
39588
|
-
onChange(to24h(12, 0, "AM"));
|
|
39589
|
-
}
|
|
39590
|
-
}
|
|
39591
|
-
}, [disabled, activeSegment, hasValue, onChange]);
|
|
39585
|
+
togglePopover();
|
|
39586
|
+
}, [disabled, togglePopover]);
|
|
39592
39587
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `relative ${className}`, ref: containerRef, children: [
|
|
39593
39588
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
39594
39589
|
"div",
|
package/dist/index.mjs
CHANGED
|
@@ -39553,13 +39553,8 @@ var TimePickerDropdown = ({
|
|
|
39553
39553
|
}, [disabled, hasValue, onChange]);
|
|
39554
39554
|
const handleContainerClick = useCallback(() => {
|
|
39555
39555
|
if (disabled) return;
|
|
39556
|
-
|
|
39557
|
-
|
|
39558
|
-
if (!hasValue) {
|
|
39559
|
-
onChange(to24h(12, 0, "AM"));
|
|
39560
|
-
}
|
|
39561
|
-
}
|
|
39562
|
-
}, [disabled, activeSegment, hasValue, onChange]);
|
|
39556
|
+
togglePopover();
|
|
39557
|
+
}, [disabled, togglePopover]);
|
|
39563
39558
|
return /* @__PURE__ */ jsxs("div", { className: `relative ${className}`, ref: containerRef, children: [
|
|
39564
39559
|
/* @__PURE__ */ jsxs(
|
|
39565
39560
|
"div",
|