@producteca/producteca-ui-kit 1.76.1 → 1.76.3
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.
|
@@ -60553,6 +60553,7 @@ function getState(open) {
|
|
|
60553
60553
|
return open ? "open" : "closed";
|
|
60554
60554
|
}
|
|
60555
60555
|
var Root2 = Popover2;
|
|
60556
|
+
var Anchor2 = PopoverAnchor;
|
|
60556
60557
|
var Trigger = PopoverTrigger;
|
|
60557
60558
|
var Portal2 = PopoverPortal;
|
|
60558
60559
|
var Content2 = PopoverContent;
|
|
@@ -65362,7 +65363,7 @@ const DateRangePickerInput = (props) => {
|
|
|
65362
65363
|
),
|
|
65363
65364
|
children: [
|
|
65364
65365
|
/* @__PURE__ */ jsxs(Root2, { open: isOpen && !disabled2, onOpenChange: setIsOpen, children: [
|
|
65365
|
-
/* @__PURE__ */ jsxs("div", { className: styles$v["input-wrapper"], children: [
|
|
65366
|
+
/* @__PURE__ */ jsx$1(Anchor2, { asChild: true, children: /* @__PURE__ */ jsxs("div", { className: styles$v["input-wrapper"], children: [
|
|
65366
65367
|
/* @__PURE__ */ jsx$1(Trigger, { asChild: true, children: /* @__PURE__ */ jsx$1(
|
|
65367
65368
|
"input",
|
|
65368
65369
|
{
|
|
@@ -65385,7 +65386,7 @@ const DateRangePickerInput = (props) => {
|
|
|
65385
65386
|
onClear: handleClear
|
|
65386
65387
|
}
|
|
65387
65388
|
)
|
|
65388
|
-
] }),
|
|
65389
|
+
] }) }),
|
|
65389
65390
|
/* @__PURE__ */ jsx$1(Portal2, { children: /* @__PURE__ */ jsx$1(
|
|
65390
65391
|
Content2,
|
|
65391
65392
|
{
|
|
@@ -67670,6 +67671,9 @@ const Image = ({
|
|
|
67670
67671
|
showBorder = true
|
|
67671
67672
|
}) => {
|
|
67672
67673
|
const [hasError2, setHasError] = useState(false);
|
|
67674
|
+
useEffect(() => {
|
|
67675
|
+
setHasError(false);
|
|
67676
|
+
}, [src]);
|
|
67673
67677
|
const handleImageError = () => {
|
|
67674
67678
|
setHasError(true);
|
|
67675
67679
|
};
|