@amityco/ui-kit-open-source 4.15.0-beta.6 → 4.15.0-beta.7
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/esm/index.css +1 -1
- package/dist/esm/index.js +758 -757
- package/dist/index.css +1 -1
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +890 -889
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -96,6 +96,7 @@ interface PostDetailPageProps {
|
|
|
96
96
|
hideTarget?: boolean;
|
|
97
97
|
category?: AmityPostCategory;
|
|
98
98
|
commentId?: string;
|
|
99
|
+
rootId?: string;
|
|
99
100
|
parentId?: string;
|
|
100
101
|
posts?: Amity.Post<'clip' | 'video'>[];
|
|
101
102
|
selectedReplyComment?: Amity.Comment;
|
|
@@ -107,7 +108,7 @@ interface PostDetailPageProps {
|
|
|
107
108
|
interface GoToPostDetailPageParams extends Omit<PostDetailPageProps, 'id'> {
|
|
108
109
|
postId: string;
|
|
109
110
|
}
|
|
110
|
-
declare function PostDetailPage({ id, hideTarget, category, commentId, parentId, posts, selectedReplyComment, showReplyCommentAt, keyword, isFromCommentClick, eventCreatorId, }: PostDetailPageProps): react_jsx_runtime.JSX.Element | null;
|
|
111
|
+
declare function PostDetailPage({ id, hideTarget, category, commentId, rootId, parentId, posts, selectedReplyComment, showReplyCommentAt, keyword, isFromCommentClick, eventCreatorId, }: PostDetailPageProps): react_jsx_runtime.JSX.Element | null;
|
|
111
112
|
|
|
112
113
|
declare enum AmityPostContentComponentStyle {
|
|
113
114
|
FEED = "feed",
|
|
@@ -643,6 +644,7 @@ interface PageBehavior {
|
|
|
643
644
|
}): void;
|
|
644
645
|
goToEventDetailPage?(context: EventDetailProps): void;
|
|
645
646
|
goToLivestreamPlayerPage?(context: LiveStreamPlayerPageProps): void;
|
|
647
|
+
goToEditProfilePage?(): void;
|
|
646
648
|
};
|
|
647
649
|
AmityDraftClipPageBehavior?: {
|
|
648
650
|
goToPostComposerPage?(context: {
|
|
@@ -1331,8 +1333,9 @@ type CommentTrayProps = {
|
|
|
1331
1333
|
shouldAllowCreation?: boolean;
|
|
1332
1334
|
shouldAllowInteraction?: boolean;
|
|
1333
1335
|
referenceType: Amity.CommentReferenceType;
|
|
1336
|
+
commentCount?: number;
|
|
1334
1337
|
};
|
|
1335
|
-
declare const CommentTray: ({ referenceId, pageId, referenceType, shouldAllowCreation, shouldAllowInteraction, community, }: CommentTrayProps) => react_jsx_runtime.JSX.Element;
|
|
1338
|
+
declare const CommentTray: ({ referenceId, pageId, referenceType, shouldAllowCreation, shouldAllowInteraction, community, commentCount, }: CommentTrayProps) => react_jsx_runtime.JSX.Element;
|
|
1336
1339
|
|
|
1337
1340
|
type StoryTabProps = ({
|
|
1338
1341
|
type: 'communityFeed';
|
package/dist/index.d.ts
CHANGED
|
@@ -96,6 +96,7 @@ interface PostDetailPageProps {
|
|
|
96
96
|
hideTarget?: boolean;
|
|
97
97
|
category?: AmityPostCategory;
|
|
98
98
|
commentId?: string;
|
|
99
|
+
rootId?: string;
|
|
99
100
|
parentId?: string;
|
|
100
101
|
posts?: Amity.Post<'clip' | 'video'>[];
|
|
101
102
|
selectedReplyComment?: Amity.Comment;
|
|
@@ -107,7 +108,7 @@ interface PostDetailPageProps {
|
|
|
107
108
|
interface GoToPostDetailPageParams extends Omit<PostDetailPageProps, 'id'> {
|
|
108
109
|
postId: string;
|
|
109
110
|
}
|
|
110
|
-
declare function PostDetailPage({ id, hideTarget, category, commentId, parentId, posts, selectedReplyComment, showReplyCommentAt, keyword, isFromCommentClick, eventCreatorId, }: PostDetailPageProps): react_jsx_runtime.JSX.Element | null;
|
|
111
|
+
declare function PostDetailPage({ id, hideTarget, category, commentId, rootId, parentId, posts, selectedReplyComment, showReplyCommentAt, keyword, isFromCommentClick, eventCreatorId, }: PostDetailPageProps): react_jsx_runtime.JSX.Element | null;
|
|
111
112
|
|
|
112
113
|
declare enum AmityPostContentComponentStyle {
|
|
113
114
|
FEED = "feed",
|
|
@@ -643,6 +644,7 @@ interface PageBehavior {
|
|
|
643
644
|
}): void;
|
|
644
645
|
goToEventDetailPage?(context: EventDetailProps): void;
|
|
645
646
|
goToLivestreamPlayerPage?(context: LiveStreamPlayerPageProps): void;
|
|
647
|
+
goToEditProfilePage?(): void;
|
|
646
648
|
};
|
|
647
649
|
AmityDraftClipPageBehavior?: {
|
|
648
650
|
goToPostComposerPage?(context: {
|
|
@@ -1331,8 +1333,9 @@ type CommentTrayProps = {
|
|
|
1331
1333
|
shouldAllowCreation?: boolean;
|
|
1332
1334
|
shouldAllowInteraction?: boolean;
|
|
1333
1335
|
referenceType: Amity.CommentReferenceType;
|
|
1336
|
+
commentCount?: number;
|
|
1334
1337
|
};
|
|
1335
|
-
declare const CommentTray: ({ referenceId, pageId, referenceType, shouldAllowCreation, shouldAllowInteraction, community, }: CommentTrayProps) => react_jsx_runtime.JSX.Element;
|
|
1338
|
+
declare const CommentTray: ({ referenceId, pageId, referenceType, shouldAllowCreation, shouldAllowInteraction, community, commentCount, }: CommentTrayProps) => react_jsx_runtime.JSX.Element;
|
|
1336
1339
|
|
|
1337
1340
|
type StoryTabProps = ({
|
|
1338
1341
|
type: 'communityFeed';
|