@overmap-ai/forms 1.0.32-react-flow-david-fixes.14 → 1.0.32-react-flow-david-fixes.15
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/forms.js +3 -3
- package/dist/forms.umd.cjs +3 -3
- package/package.json +1 -1
package/dist/forms.js
CHANGED
|
@@ -3127,9 +3127,9 @@ const DateInput = memo((props) => {
|
|
|
3127
3127
|
const handleClosePopover = useCallback(
|
|
3128
3128
|
(open) => {
|
|
3129
3129
|
setPopoverOpen(open);
|
|
3130
|
-
if (!open) onBlur(
|
|
3130
|
+
if (!open) onBlur(value);
|
|
3131
3131
|
},
|
|
3132
|
-
[
|
|
3132
|
+
[onBlur, value]
|
|
3133
3133
|
);
|
|
3134
3134
|
return /* @__PURE__ */ jsx(InputWithLabelAndHelpText, { helpText: computedHelpText, severity, children: /* @__PURE__ */ jsx(
|
|
3135
3135
|
InputWithLabel,
|
|
@@ -32230,7 +32230,7 @@ const ImageCard = memo(
|
|
|
32230
32230
|
ref: forwardedRef,
|
|
32231
32231
|
...rest,
|
|
32232
32232
|
children: [
|
|
32233
|
-
!file && !error && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx(Spinner, {}) }),
|
|
32233
|
+
!file && !error && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 grow flex items-center justify-center", children: /* @__PURE__ */ jsx(Spinner, {}) }),
|
|
32234
32234
|
!!file && !error && /* @__PURE__ */ jsx(Card, { className: "flex max-w-full grow items-center !p-0 justify-center overflow-hidden bg-clip-padding", children: /* @__PURE__ */ jsx(
|
|
32235
32235
|
"img",
|
|
32236
32236
|
{
|
package/dist/forms.umd.cjs
CHANGED
|
@@ -3129,9 +3129,9 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
3129
3129
|
const handleClosePopover = React.useCallback(
|
|
3130
3130
|
(open) => {
|
|
3131
3131
|
setPopoverOpen(open);
|
|
3132
|
-
if (!open) onBlur(
|
|
3132
|
+
if (!open) onBlur(value);
|
|
3133
3133
|
},
|
|
3134
|
-
[
|
|
3134
|
+
[onBlur, value]
|
|
3135
3135
|
);
|
|
3136
3136
|
return /* @__PURE__ */ jsxRuntime.jsx(InputWithLabelAndHelpText, { helpText: computedHelpText, severity, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3137
3137
|
InputWithLabel,
|
|
@@ -32232,7 +32232,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
32232
32232
|
ref: forwardedRef,
|
|
32233
32233
|
...rest,
|
|
32234
32234
|
children: [
|
|
32235
|
-
!file && !error && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(blocks.Spinner, {}) }),
|
|
32235
|
+
!file && !error && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 grow flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(blocks.Spinner, {}) }),
|
|
32236
32236
|
!!file && !error && /* @__PURE__ */ jsxRuntime.jsx(blocks.Card, { className: "flex max-w-full grow items-center !p-0 justify-center overflow-hidden bg-clip-padding", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32237
32237
|
"img",
|
|
32238
32238
|
{
|