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 +6 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.esm.js +5 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/types/src/Components/Templates/LoadingMapOverlay.d.ts +1 -0
- package/dist/types/src/Components/Templates/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -516,6 +516,15 @@ declare const AttestationForm: ({ api }: {
|
|
516
516
|
*/
|
517
517
|
declare const MarketView: () => react_jsx_runtime.JSX.Element;
|
518
518
|
|
519
|
+
declare const TagView: ({ tag, heighlight, onClick, count, }: {
|
520
|
+
tag: Tag;
|
521
|
+
heighlight?: boolean;
|
522
|
+
onClick?: () => void;
|
523
|
+
count?: number;
|
524
|
+
}) => react_jsx_runtime.JSX.Element;
|
525
|
+
|
526
|
+
declare const LoadingMapOverlay: () => react_jsx_runtime.JSX.Element;
|
527
|
+
|
519
528
|
interface TextAreaProps {
|
520
529
|
labelTitle?: string;
|
521
530
|
labelStyle?: string;
|
@@ -616,4 +625,4 @@ declare global {
|
|
616
625
|
}
|
617
626
|
}
|
618
627
|
|
619
|
-
export { AppShell, type AssetsApi, AttestationForm, AuthProvider, CardPage, Content, type Item, ItemsApi, Layer, type LayerProps, LoginPage, MapOverlayPage, MarketView, Modal, OverlayItemsIndexPage, type Permission, Permissions, PopupButton, PopupCheckboxInput, PopupForm, PopupStartEndInput, PopupTextAreaInput, PopupTextInput, PopupView, Quests, RequestPasswordPage, SelectUser, SetNewPasswordPage, SideBar, SignupPage, StartEndView, type Tag, Tags, TextAreaInput, TextInput, TextView, TitleCard, type UserApi, type UserItem, UtopiaMap };
|
628
|
+
export { AppShell, type AssetsApi, AttestationForm, AuthProvider, CardPage, Content, type Item, ItemsApi, Layer, type LayerProps, LoadingMapOverlay, LoginPage, MapOverlayPage, MarketView, Modal, OverlayItemsIndexPage, type Permission, Permissions, PopupButton, PopupCheckboxInput, PopupForm, PopupStartEndInput, PopupTextAreaInput, PopupTextInput, PopupView, Quests, RequestPasswordPage, SelectUser, SetNewPasswordPage, SideBar, SignupPage, StartEndView, type Tag, TagView, Tags, TextAreaInput, TextInput, TextView, TitleCard, type UserApi, type UserItem, UtopiaMap };
|
package/dist/index.esm.js
CHANGED
@@ -4740,6 +4740,10 @@ const MarketView = () => {
|
|
4740
4740
|
return (jsx(MapOverlayPage, { className: 'tw:rounded-none tw:overflow-y-auto tw:bg-base-200 tw:p-4!', children: jsxs("div", { className: 'tw:grid tw:grid-cols-1 tw:md:grid-cols-2', children: [jsxs("div", { children: [jsx("p", { className: 'tw:text-lg tw:font-bold', children: "Offers" }), jsx("div", { className: 'tw:flex tw:flex-wrap', children: groupAndCount(offers).map((o) => (jsx(TagView, { onClick: () => navigate(`/?tags=${o.object.name}`), tag: o.object, count: o.count }, o.object.id))) })] }), jsxs("div", { children: [jsx("p", { className: 'tw:text-lg tw:font-bold', children: "Needs" }), jsx("div", { className: 'tw:flex tw:flex-wrap', children: groupAndCount(needs).map((o) => (jsx(TagView, { onClick: () => navigate(`/?tags=${o.object.name}`), tag: o.object, count: o.count }, o.object.id))) })] })] }) }));
|
4741
4741
|
};
|
4742
4742
|
|
4743
|
+
const LoadingMapOverlay = () => {
|
4744
|
+
return (jsx(MapOverlayPage, { children: jsx("div", { className: 'tw:text-center tw:loading tw:loading-spinner' }) }));
|
4745
|
+
};
|
4746
|
+
|
4743
4747
|
const ItemContext = createContext(undefined);
|
4744
4748
|
|
4745
4749
|
function templateify(Component) {
|
@@ -5043,5 +5047,5 @@ const PopupCheckboxInput = templateify(PopupCheckboxInput$1);
|
|
5043
5047
|
const PopupTextAreaInput = templateify(PopupTextAreaInput$1);
|
5044
5048
|
const PopupStartEndInput = templateify(PopupStartEndInput$1);
|
5045
5049
|
|
5046
|
-
export { AppShell, AttestationForm, CardPage, Content, Layer, LoginPage, MapOverlayPage, MarketView, Modal, OverlayItemsIndexPage, Permissions, PopupButton, PopupCheckboxInput, PopupForm, PopupStartEndInput, PopupTextAreaInput, PopupTextInput, PopupView, Quests, RequestPasswordPage, SelectUser, SetNewPasswordPage, SideBar, SignupPage, StartEndView, Tags, TextAreaInput, TextInput, TextView, TitleCard, UtopiaMap };
|
5050
|
+
export { AppShell, AttestationForm, CardPage, Content, Layer, LoadingMapOverlay, LoginPage, MapOverlayPage, MarketView, Modal, OverlayItemsIndexPage, Permissions, PopupButton, PopupCheckboxInput, PopupForm, PopupStartEndInput, PopupTextAreaInput, PopupTextInput, PopupView, Quests, RequestPasswordPage, SelectUser, SetNewPasswordPage, SideBar, SignupPage, StartEndView, TagView, Tags, TextAreaInput, TextInput, TextView, TitleCard, UtopiaMap };
|
5047
5051
|
//# sourceMappingURL=index.esm.js.map
|