@amityco/ui-kit-open-source 4.6.1 → 4.7.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/C2Q2AJ2U-YJGCU44D.js +8 -0
- package/dist/CTUG6TWM-ZGSLVXEN.js +8 -0
- package/dist/{chunk-MHERDFNR.js → chunk-ZVHVBP77.js} +31 -28
- package/dist/esm/{CPIOZS5X-EANKXSUF.js → C2Q2AJ2U-YJGCU44D.js} +2 -2
- package/dist/esm/{OKF6E45R-E7OD63Z4.js → CTUG6TWM-ZGSLVXEN.js} +2 -2
- package/dist/esm/{chunk-MHERDFNR.js → chunk-ZVHVBP77.js} +8 -5
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +670 -668
- package/dist/index.css +1 -1
- package/dist/index.d.mts +18 -2
- package/dist/index.d.ts +18 -2
- package/dist/index.js +773 -773
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +3 -3
- package/readme.md +136 -0
- package/dist/CPIOZS5X-EANKXSUF.js +0 -8
- package/dist/OKF6E45R-E7OD63Z4.js +0 -8
- /package/dist/{chunk-6WKM7NHZ.js → chunk-Y3OH72EC.js} +0 -0
- /package/dist/esm/{chunk-6WKM7NHZ.js → chunk-Y3OH72EC.js} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -151,7 +151,9 @@ interface PageBehavior {
|
|
|
151
151
|
closeAction?(): void;
|
|
152
152
|
};
|
|
153
153
|
onClickHyperLink?(): void;
|
|
154
|
-
AmitySocialHomePageBehavior?:
|
|
154
|
+
AmitySocialHomePageBehavior?: {
|
|
155
|
+
goToNotificationTrayPage?: () => void;
|
|
156
|
+
};
|
|
155
157
|
AmityGlobalFeedComponentBehavior?: {
|
|
156
158
|
goToPostDetailPage?: (context: {
|
|
157
159
|
postId: string;
|
|
@@ -348,6 +350,18 @@ interface PageBehavior {
|
|
|
348
350
|
targetType: 'community' | 'user';
|
|
349
351
|
}): void;
|
|
350
352
|
};
|
|
353
|
+
AmityNotificationTrayPageBehavior?: {
|
|
354
|
+
goToCommunityProfilePage?(context: {
|
|
355
|
+
communityId: string;
|
|
356
|
+
}): void;
|
|
357
|
+
goToPostDetailPage?(context: {
|
|
358
|
+
postId: string;
|
|
359
|
+
hideTarget?: boolean;
|
|
360
|
+
category?: AmityPostCategory;
|
|
361
|
+
commentId?: string;
|
|
362
|
+
parentId?: string;
|
|
363
|
+
}): void;
|
|
364
|
+
};
|
|
351
365
|
}
|
|
352
366
|
|
|
353
367
|
type AmityUIKitConfig = Config;
|
|
@@ -787,8 +801,10 @@ interface PostDetailPageProps {
|
|
|
787
801
|
id: string;
|
|
788
802
|
hideTarget?: boolean;
|
|
789
803
|
category?: AmityPostCategory;
|
|
804
|
+
commentId?: string;
|
|
805
|
+
parentId?: string;
|
|
790
806
|
}
|
|
791
|
-
declare function PostDetailPage({ id, hideTarget, category }: PostDetailPageProps): React.JSX.Element;
|
|
807
|
+
declare function PostDetailPage({ id, hideTarget, category, commentId, parentId, }: PostDetailPageProps): React.JSX.Element;
|
|
792
808
|
|
|
793
809
|
type UserProfilePageProps = {
|
|
794
810
|
userId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -151,7 +151,9 @@ interface PageBehavior {
|
|
|
151
151
|
closeAction?(): void;
|
|
152
152
|
};
|
|
153
153
|
onClickHyperLink?(): void;
|
|
154
|
-
AmitySocialHomePageBehavior?:
|
|
154
|
+
AmitySocialHomePageBehavior?: {
|
|
155
|
+
goToNotificationTrayPage?: () => void;
|
|
156
|
+
};
|
|
155
157
|
AmityGlobalFeedComponentBehavior?: {
|
|
156
158
|
goToPostDetailPage?: (context: {
|
|
157
159
|
postId: string;
|
|
@@ -348,6 +350,18 @@ interface PageBehavior {
|
|
|
348
350
|
targetType: 'community' | 'user';
|
|
349
351
|
}): void;
|
|
350
352
|
};
|
|
353
|
+
AmityNotificationTrayPageBehavior?: {
|
|
354
|
+
goToCommunityProfilePage?(context: {
|
|
355
|
+
communityId: string;
|
|
356
|
+
}): void;
|
|
357
|
+
goToPostDetailPage?(context: {
|
|
358
|
+
postId: string;
|
|
359
|
+
hideTarget?: boolean;
|
|
360
|
+
category?: AmityPostCategory;
|
|
361
|
+
commentId?: string;
|
|
362
|
+
parentId?: string;
|
|
363
|
+
}): void;
|
|
364
|
+
};
|
|
351
365
|
}
|
|
352
366
|
|
|
353
367
|
type AmityUIKitConfig = Config;
|
|
@@ -787,8 +801,10 @@ interface PostDetailPageProps {
|
|
|
787
801
|
id: string;
|
|
788
802
|
hideTarget?: boolean;
|
|
789
803
|
category?: AmityPostCategory;
|
|
804
|
+
commentId?: string;
|
|
805
|
+
parentId?: string;
|
|
790
806
|
}
|
|
791
|
-
declare function PostDetailPage({ id, hideTarget, category }: PostDetailPageProps): React.JSX.Element;
|
|
807
|
+
declare function PostDetailPage({ id, hideTarget, category, commentId, parentId, }: PostDetailPageProps): React.JSX.Element;
|
|
792
808
|
|
|
793
809
|
type UserProfilePageProps = {
|
|
794
810
|
userId: string;
|