utopia-ui 3.0.94 → 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.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { GeoJsonObject, Geometry, Point } from 'geojson';
3
3
  export { Point } from 'geojson';
4
+ import { I as ItemsApi } from './ItemsApi.d-D5bfsxpo.js';
4
5
  import * as react from 'react';
5
6
  import { Key } from 'react';
6
7
  export { default as SVG } from 'react-inlinesvg';
@@ -71,18 +72,6 @@ declare function UtopiaMap({ height, width, center, zoom, children, geo, showFil
71
72
  expandLayerControl?: boolean;
72
73
  }): react_jsx_runtime.JSX.Element;
73
74
 
74
- /**
75
- * @category Types
76
- */
77
- interface ItemsApi<T> {
78
- getItems(): Promise<T[]>
79
- getItem?(id: string): Promise<T>
80
- createItem?(item: T): Promise<T>
81
- updateItem?(item: Partial<T>): Promise<T>
82
- deleteItem?(id: string): Promise<boolean>
83
- collectionName?: string
84
- }
85
-
86
75
  interface MarkerIcon {
87
76
  image: string
88
77
  size?: number
@@ -451,23 +440,6 @@ declare function RequestPasswordPage({ resetUrl }: {
451
440
  */
452
441
  declare function SetNewPasswordPage(): react_jsx_runtime.JSX.Element;
453
442
 
454
- /**
455
- * @category Profile
456
- */
457
- declare function UserSettings(): react_jsx_runtime.JSX.Element;
458
-
459
- /**
460
- * @category Profile
461
- */
462
- declare function ProfileView({ attestationApi }: {
463
- attestationApi?: ItemsApi<any>;
464
- }): react_jsx_runtime.JSX.Element;
465
-
466
- /**
467
- * @category Profile
468
- */
469
- declare function ProfileForm(): react_jsx_runtime.JSX.Element;
470
-
471
443
  /**
472
444
  * @category Gaming
473
445
  */
@@ -544,6 +516,15 @@ declare const AttestationForm: ({ api }: {
544
516
  */
545
517
  declare const MarketView: () => react_jsx_runtime.JSX.Element;
546
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
+
547
528
  interface TextAreaProps {
548
529
  labelTitle?: string;
549
530
  labelStyle?: string;
@@ -644,4 +625,4 @@ declare global {
644
625
  }
645
626
  }
646
627
 
647
- export { AppShell, type AssetsApi, AttestationForm, AuthProvider, CardPage, Content, type Item, type ItemsApi, Layer, type LayerProps, LoginPage, MapOverlayPage, MarketView, Modal, OverlayItemsIndexPage, type Permission, Permissions, PopupButton, PopupCheckboxInput, PopupForm, PopupStartEndInput, PopupTextAreaInput, PopupTextInput, PopupView, ProfileForm, ProfileView, Quests, RequestPasswordPage, SelectUser, SetNewPasswordPage, SideBar, SignupPage, StartEndView, type Tag, Tags, TextAreaInput, TextInput, TextView, TitleCard, type UserApi, type UserItem, UserSettings, 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 };