utopia-ui 3.0.0-alpha.115 → 3.0.0-alpha.116
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 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3258,7 +3258,7 @@ var TextView = function (_a) {
|
|
|
3258
3258
|
};
|
|
3259
3259
|
var CustomExternalLink = function (_a) {
|
|
3260
3260
|
var href = _a.href, children = _a.children;
|
|
3261
|
-
return (jsxs("a", __assign({ className: 'tw-font-bold', href: href
|
|
3261
|
+
return (jsxs("a", __assign({ className: 'tw-font-bold', href: href }, { children: [" ", children] })));
|
|
3262
3262
|
};
|
|
3263
3263
|
var CustomHashTagLink = function (_a) {
|
|
3264
3264
|
var children = _a.children, tag = _a.tag, item = _a.item;
|
|
@@ -3407,7 +3407,7 @@ var ItemViewPopup = React.forwardRef(function (props, ref) {
|
|
|
3407
3407
|
}
|
|
3408
3408
|
});
|
|
3409
3409
|
}); };
|
|
3410
|
-
return (jsx(Popup, __assign({ ref: ref, maxHeight: 377, minWidth: 275, maxWidth: 275, autoPanPadding: [20, 80] }, { children: jsxs("div", __assign({ className: 'tw-bg-base-100 tw-text-base-content' }, { children: [jsx(HeaderView, { api: (_a = props.item.layer) === null || _a === void 0 ? void 0 : _a.api, item: props.item, editCallback: handleEdit, deleteCallback: handleDelete, setPositionCallback: function () { map.closePopup(); setSelectPosition(props.item); navigate("/"); }, loading: loading
|
|
3410
|
+
return (jsx(Popup, __assign({ ref: ref, maxHeight: 377, minWidth: 275, maxWidth: 275, autoPanPadding: [20, 80] }, { children: jsxs("div", __assign({ className: 'tw-bg-base-100 tw-text-base-content' }, { children: [jsx(HeaderView, { api: (_a = props.item.layer) === null || _a === void 0 ? void 0 : _a.api, item: props.item, editCallback: handleEdit, deleteCallback: handleDelete, setPositionCallback: function () { map.closePopup(); setSelectPosition(props.item); navigate("/"); }, loading: loading }), jsx("div", __assign({ className: 'tw-overflow-y-auto tw-overflow-x-hidden tw-max-h-64 fade' }, { children: props.children ?
|
|
3411
3411
|
React.Children.toArray(props.children).map(function (child) {
|
|
3412
3412
|
return React.isValidElement(child) ?
|
|
3413
3413
|
React.cloneElement(child, { item: props.item }) : "";
|