@overmap-ai/forms 1.0.12-links.3 → 1.0.12-links.4
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 +2 -12
- package/dist/forms.js.map +1 -1
- package/dist/forms.umd.cjs +2 -12
- package/dist/forms.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/forms.js
CHANGED
|
@@ -478,18 +478,8 @@ const StringInput = memo(function StringInput2(props) {
|
|
|
478
478
|
const color = useSeverityColor(severity);
|
|
479
479
|
console.log(inputId, label, fieldProps, field, rest);
|
|
480
480
|
return /* @__PURE__ */ jsx(InputWithLabelAndHelpText, { helpText, severity, children: /* @__PURE__ */ jsxs(InputWithLabel, { severity, inputId, labelId, label, children: [
|
|
481
|
-
/* @__PURE__ */ jsx(
|
|
482
|
-
|
|
483
|
-
{
|
|
484
|
-
...rest,
|
|
485
|
-
...fieldProps,
|
|
486
|
-
value: '<a href="http://www.mysite.com/link" target="_blank"><img src="http://www.mysite.com/img.jpg" border="0" alt="mysite.com"></a>',
|
|
487
|
-
type: field.inputType,
|
|
488
|
-
id: inputId,
|
|
489
|
-
color
|
|
490
|
-
}
|
|
491
|
-
),
|
|
492
|
-
/* @__PURE__ */ jsx(Linkify, { children: fieldProps.value })
|
|
481
|
+
/* @__PURE__ */ jsx(TextField$1.Input, { ...rest, ...fieldProps, type: field.inputType, id: inputId, color }),
|
|
482
|
+
/* @__PURE__ */ jsx("div", { className: "rt-TextFieldInput rt-r-size-2 rt-variant-surface", children: /* @__PURE__ */ jsx(Linkify, { children: fieldProps.value }) })
|
|
493
483
|
] }) });
|
|
494
484
|
});
|
|
495
485
|
const _StringField = class _StringField extends StringOrTextField {
|