utopia-ui 3.0.95 → 3.0.96

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.cjs.js CHANGED
@@ -4758,6 +4758,10 @@ const MarketView = () => {
4758
4758
  return (jsxRuntime.jsx(TagView.MapOverlayPage, { className: 'tw:rounded-none tw:overflow-y-auto tw:bg-base-200 tw:p-4!', children: jsxRuntime.jsxs("div", { className: 'tw:grid tw:grid-cols-1 tw:md:grid-cols-2', children: [jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx("p", { className: 'tw:text-lg tw:font-bold', children: "Offers" }), jsxRuntime.jsx("div", { className: 'tw:flex tw:flex-wrap', children: groupAndCount(offers).map((o) => (jsxRuntime.jsx(TagView.TagView, { onClick: () => navigate(`/?tags=${o.object.name}`), tag: o.object, count: o.count }, o.object.id))) })] }), jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx("p", { className: 'tw:text-lg tw:font-bold', children: "Needs" }), jsxRuntime.jsx("div", { className: 'tw:flex tw:flex-wrap', children: groupAndCount(needs).map((o) => (jsxRuntime.jsx(TagView.TagView, { onClick: () => navigate(`/?tags=${o.object.name}`), tag: o.object, count: o.count }, o.object.id))) })] })] }) }));
4759
4759
  };
4760
4760
 
4761
+ const LoadingMapOverlay = () => {
4762
+ return (jsxRuntime.jsx(TagView.MapOverlayPage, { children: jsxRuntime.jsx("div", { className: 'tw:text-center tw:loading tw:loading-spinner' }) }));
4763
+ };
4764
+
4761
4765
  const ItemContext = React.createContext(undefined);
4762
4766
 
4763
4767
  function templateify(Component) {
@@ -5063,6 +5067,7 @@ const PopupStartEndInput = templateify(TagView.PopupStartEndInput);
5063
5067
 
5064
5068
  exports.AuthProvider = TagView.AuthProvider;
5065
5069
  exports.MapOverlayPage = TagView.MapOverlayPage;
5070
+ exports.TagView = TagView.TagView;
5066
5071
  exports.TextAreaInput = TagView.TextAreaInput;
5067
5072
  exports.TextInput = TagView.TextInput;
5068
5073
  exports.SVG = SVG;
@@ -5071,6 +5076,7 @@ exports.AttestationForm = AttestationForm;
5071
5076
  exports.CardPage = CardPage;
5072
5077
  exports.Content = Content;
5073
5078
  exports.Layer = Layer;
5079
+ exports.LoadingMapOverlay = LoadingMapOverlay;
5074
5080
  exports.LoginPage = LoginPage;
5075
5081
  exports.MarketView = MarketView;
5076
5082
  exports.Modal = Modal;