@amityco/ui-kit-open-source 3.2.4 → 3.6.0

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.mts CHANGED
@@ -56,6 +56,7 @@ interface UiKitProviderProps {
56
56
  }) => void;
57
57
  onEditUser?: (userId: string) => void;
58
58
  onMessageUser?: (userId: string) => void;
59
+ onBack?: () => void;
59
60
  };
60
61
  socialCommunityCreationButtonVisible?: boolean;
61
62
  onConnectionStatusChange?: (state: Amity.SessionStates) => void;
@@ -106,8 +107,7 @@ declare const enum PageTypes {
106
107
  UserFeed = "userfeed",
107
108
  CommunityFeed = "communityfeed",
108
109
  CommunityEdit = "communityedit",
109
- UserEdit = "useredit",
110
- ViewStory = "viewstory"
110
+ UserEdit = "useredit"
111
111
  }
112
112
 
113
113
  type Page = {
@@ -167,10 +167,10 @@ interface AvatarProps {
167
167
  }
168
168
  declare const _default$1: (props: AvatarProps) => React.JSX.Element;
169
169
 
170
- declare const PostContainer: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<{
170
+ declare const PostContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<{
171
171
  className?: string | undefined;
172
172
  children?: ReactNode;
173
- }, never>> & Omit<({ className, ...props }: {
173
+ }, never>> & string & Omit<({ className, ...props }: {
174
174
  className?: string | undefined;
175
175
  children?: ReactNode;
176
176
  }) => React.JSX.Element, keyof React.Component<any, {}, any>>;
package/dist/index.d.ts CHANGED
@@ -56,6 +56,7 @@ interface UiKitProviderProps {
56
56
  }) => void;
57
57
  onEditUser?: (userId: string) => void;
58
58
  onMessageUser?: (userId: string) => void;
59
+ onBack?: () => void;
59
60
  };
60
61
  socialCommunityCreationButtonVisible?: boolean;
61
62
  onConnectionStatusChange?: (state: Amity.SessionStates) => void;
@@ -106,8 +107,7 @@ declare const enum PageTypes {
106
107
  UserFeed = "userfeed",
107
108
  CommunityFeed = "communityfeed",
108
109
  CommunityEdit = "communityedit",
109
- UserEdit = "useredit",
110
- ViewStory = "viewstory"
110
+ UserEdit = "useredit"
111
111
  }
112
112
 
113
113
  type Page = {
@@ -167,10 +167,10 @@ interface AvatarProps {
167
167
  }
168
168
  declare const _default$1: (props: AvatarProps) => React.JSX.Element;
169
169
 
170
- declare const PostContainer: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<{
170
+ declare const PostContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<{
171
171
  className?: string | undefined;
172
172
  children?: ReactNode;
173
- }, never>> & Omit<({ className, ...props }: {
173
+ }, never>> & string & Omit<({ className, ...props }: {
174
174
  className?: string | undefined;
175
175
  children?: ReactNode;
176
176
  }) => React.JSX.Element, keyof React.Component<any, {}, any>>;