@amityco/ui-kit-open-source 4.15.0-beta.7 → 4.15.0-beta.9
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 +681 -681
- package/dist/index.css +1 -1
- package/dist/index.d.mts +19 -18
- package/dist/index.d.ts +19 -18
- package/dist/index.js +748 -748
- 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
|
@@ -677,37 +677,43 @@ interface PageBehavior {
|
|
|
677
677
|
handleNonFollowerAction?(context: {
|
|
678
678
|
alignment: NotificationAlignment;
|
|
679
679
|
}): void;
|
|
680
|
+
onPostProductTagClick?(context: {
|
|
681
|
+
product: Amity.Product;
|
|
682
|
+
}): void;
|
|
683
|
+
onLivestreamProductTagClick?(context: {
|
|
684
|
+
product: Amity.Product;
|
|
685
|
+
}): void;
|
|
680
686
|
};
|
|
681
|
-
AmityEventTargetSelectionPageBehavior
|
|
687
|
+
AmityEventTargetSelectionPageBehavior?: {
|
|
682
688
|
goToEventSetupPage?(context: EventSetupProps): void;
|
|
683
689
|
};
|
|
684
|
-
AmityMyCommunitiesComponentBehavior
|
|
690
|
+
AmityMyCommunitiesComponentBehavior?: {
|
|
685
691
|
goToCommunitySetupPage?(context: {
|
|
686
692
|
mode: AmityCommunitySetupPageMode;
|
|
687
693
|
}): void;
|
|
688
694
|
};
|
|
689
|
-
AmityExploreEventFeedComponentBehavior
|
|
695
|
+
AmityExploreEventFeedComponentBehavior?: {
|
|
690
696
|
goToUpcomingEventsPage?(context: UpcomingEventsPageProps): void;
|
|
691
697
|
};
|
|
692
|
-
AmityMyEventFeedComponentBehavior
|
|
698
|
+
AmityMyEventFeedComponentBehavior?: {
|
|
693
699
|
goToUpcomingEventsPage?(context: UpcomingEventsPageProps): void;
|
|
694
700
|
goToPastEventsPage?(): void;
|
|
695
701
|
};
|
|
696
|
-
AmityEventDetailPageBehavior
|
|
697
|
-
goToCommunityProfilePage(context: {
|
|
702
|
+
AmityEventDetailPageBehavior?: {
|
|
703
|
+
goToCommunityProfilePage?(context: {
|
|
698
704
|
communityId: string;
|
|
699
705
|
}): void;
|
|
700
|
-
goToPostDetailPage(context: GoToPostDetailPageParams): void;
|
|
701
|
-
goToEventSetupPage(context: EventSetupProps): void;
|
|
706
|
+
goToPostDetailPage?(context: GoToPostDetailPageParams): void;
|
|
707
|
+
goToEventSetupPage?(context: EventSetupProps): void;
|
|
702
708
|
goToCreateLivestreamPage?(context: CreateLivestreamPageProps): void;
|
|
703
|
-
goToPostComposerPage(context: {
|
|
709
|
+
goToPostComposerPage?(context: {
|
|
704
710
|
mode: Mode.CREATE;
|
|
705
711
|
targetName?: string;
|
|
706
712
|
targetId: string | null;
|
|
707
713
|
targetType: 'community' | 'user';
|
|
708
714
|
community?: Amity.Community;
|
|
709
715
|
}): void;
|
|
710
|
-
goToPollPostComposerPage(context: {
|
|
716
|
+
goToPollPostComposerPage?(context: {
|
|
711
717
|
targetId: string | null;
|
|
712
718
|
targetType: 'community' | 'user';
|
|
713
719
|
pollType?: 'text' | 'image';
|
|
@@ -719,19 +725,14 @@ interface PageBehavior {
|
|
|
719
725
|
userId: string;
|
|
720
726
|
}): void;
|
|
721
727
|
};
|
|
722
|
-
AmityEventSetupPageBehavior
|
|
723
|
-
goToEventDetailPage
|
|
728
|
+
AmityEventSetupPageBehavior?: {
|
|
729
|
+
goToEventDetailPage?(context: EventDetailProps): void;
|
|
724
730
|
};
|
|
725
|
-
AmityEventAttendeesPageBehavior
|
|
731
|
+
AmityEventAttendeesPageBehavior?: {
|
|
726
732
|
goToUserProfilePage?(context: {
|
|
727
733
|
userId: string;
|
|
728
734
|
}): void;
|
|
729
735
|
};
|
|
730
|
-
AmityProducTagtListComponentBehavior: {
|
|
731
|
-
onProductTagClick?(context: {
|
|
732
|
-
productTag: Amity.ProductTag;
|
|
733
|
-
}): void;
|
|
734
|
-
};
|
|
735
736
|
}
|
|
736
737
|
|
|
737
738
|
type AmityUIKitConfig = Config;
|
package/dist/index.d.ts
CHANGED
|
@@ -677,37 +677,43 @@ interface PageBehavior {
|
|
|
677
677
|
handleNonFollowerAction?(context: {
|
|
678
678
|
alignment: NotificationAlignment;
|
|
679
679
|
}): void;
|
|
680
|
+
onPostProductTagClick?(context: {
|
|
681
|
+
product: Amity.Product;
|
|
682
|
+
}): void;
|
|
683
|
+
onLivestreamProductTagClick?(context: {
|
|
684
|
+
product: Amity.Product;
|
|
685
|
+
}): void;
|
|
680
686
|
};
|
|
681
|
-
AmityEventTargetSelectionPageBehavior
|
|
687
|
+
AmityEventTargetSelectionPageBehavior?: {
|
|
682
688
|
goToEventSetupPage?(context: EventSetupProps): void;
|
|
683
689
|
};
|
|
684
|
-
AmityMyCommunitiesComponentBehavior
|
|
690
|
+
AmityMyCommunitiesComponentBehavior?: {
|
|
685
691
|
goToCommunitySetupPage?(context: {
|
|
686
692
|
mode: AmityCommunitySetupPageMode;
|
|
687
693
|
}): void;
|
|
688
694
|
};
|
|
689
|
-
AmityExploreEventFeedComponentBehavior
|
|
695
|
+
AmityExploreEventFeedComponentBehavior?: {
|
|
690
696
|
goToUpcomingEventsPage?(context: UpcomingEventsPageProps): void;
|
|
691
697
|
};
|
|
692
|
-
AmityMyEventFeedComponentBehavior
|
|
698
|
+
AmityMyEventFeedComponentBehavior?: {
|
|
693
699
|
goToUpcomingEventsPage?(context: UpcomingEventsPageProps): void;
|
|
694
700
|
goToPastEventsPage?(): void;
|
|
695
701
|
};
|
|
696
|
-
AmityEventDetailPageBehavior
|
|
697
|
-
goToCommunityProfilePage(context: {
|
|
702
|
+
AmityEventDetailPageBehavior?: {
|
|
703
|
+
goToCommunityProfilePage?(context: {
|
|
698
704
|
communityId: string;
|
|
699
705
|
}): void;
|
|
700
|
-
goToPostDetailPage(context: GoToPostDetailPageParams): void;
|
|
701
|
-
goToEventSetupPage(context: EventSetupProps): void;
|
|
706
|
+
goToPostDetailPage?(context: GoToPostDetailPageParams): void;
|
|
707
|
+
goToEventSetupPage?(context: EventSetupProps): void;
|
|
702
708
|
goToCreateLivestreamPage?(context: CreateLivestreamPageProps): void;
|
|
703
|
-
goToPostComposerPage(context: {
|
|
709
|
+
goToPostComposerPage?(context: {
|
|
704
710
|
mode: Mode.CREATE;
|
|
705
711
|
targetName?: string;
|
|
706
712
|
targetId: string | null;
|
|
707
713
|
targetType: 'community' | 'user';
|
|
708
714
|
community?: Amity.Community;
|
|
709
715
|
}): void;
|
|
710
|
-
goToPollPostComposerPage(context: {
|
|
716
|
+
goToPollPostComposerPage?(context: {
|
|
711
717
|
targetId: string | null;
|
|
712
718
|
targetType: 'community' | 'user';
|
|
713
719
|
pollType?: 'text' | 'image';
|
|
@@ -719,19 +725,14 @@ interface PageBehavior {
|
|
|
719
725
|
userId: string;
|
|
720
726
|
}): void;
|
|
721
727
|
};
|
|
722
|
-
AmityEventSetupPageBehavior
|
|
723
|
-
goToEventDetailPage
|
|
728
|
+
AmityEventSetupPageBehavior?: {
|
|
729
|
+
goToEventDetailPage?(context: EventDetailProps): void;
|
|
724
730
|
};
|
|
725
|
-
AmityEventAttendeesPageBehavior
|
|
731
|
+
AmityEventAttendeesPageBehavior?: {
|
|
726
732
|
goToUserProfilePage?(context: {
|
|
727
733
|
userId: string;
|
|
728
734
|
}): void;
|
|
729
735
|
};
|
|
730
|
-
AmityProducTagtListComponentBehavior: {
|
|
731
|
-
onProductTagClick?(context: {
|
|
732
|
-
productTag: Amity.ProductTag;
|
|
733
|
-
}): void;
|
|
734
|
-
};
|
|
735
736
|
}
|
|
736
737
|
|
|
737
738
|
type AmityUIKitConfig = Config;
|