@weavy/uikit-react 21.1.0 → 21.1.2

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.
Files changed (53) hide show
  1. package/changelog.md +12 -0
  2. package/dist/types/blocks/WyChat.d.ts +9 -0
  3. package/dist/types/blocks/WyContext.d.ts +2 -0
  4. package/dist/types/blocks/WyFiles.d.ts +10 -0
  5. package/dist/types/blocks/WyMessenger.d.ts +10 -0
  6. package/dist/types/blocks/WyPosts.d.ts +9 -0
  7. package/dist/types/blocks/index.d.ts +5 -0
  8. package/dist/types/components/WyAttachment.d.ts +9 -0
  9. package/dist/types/components/WyAvatar.d.ts +2 -0
  10. package/dist/types/components/WyBadge.d.ts +2 -0
  11. package/dist/types/components/WyButton.d.ts +2 -0
  12. package/dist/types/components/WyCloudFiles.d.ts +9 -0
  13. package/dist/types/components/WyComment.d.ts +52 -0
  14. package/dist/types/components/WyConversation.d.ts +8 -0
  15. package/dist/types/components/WyConversationList.d.ts +29 -0
  16. package/dist/types/components/WyDropdown.d.ts +5 -0
  17. package/dist/types/components/WyEditor.d.ts +13 -0
  18. package/dist/types/components/WyEmbed.d.ts +8 -0
  19. package/dist/types/components/WyEmpty.d.ts +2 -0
  20. package/dist/types/components/WyFileItem.d.ts +25 -0
  21. package/dist/types/components/WyFileMenu.d.ts +21 -0
  22. package/dist/types/components/WyFileVersions.d.ts +8 -0
  23. package/dist/types/components/WyFilesAppbar.d.ts +29 -0
  24. package/dist/types/components/WyFilesList.d.ts +31 -0
  25. package/dist/types/components/WyIcon.d.ts +2 -0
  26. package/dist/types/components/WyImageGrid.d.ts +8 -0
  27. package/dist/types/components/WyMeetingCard.d.ts +2 -0
  28. package/dist/types/components/WyMessage.d.ts +17 -0
  29. package/dist/types/components/WyOverlay.d.ts +6 -0
  30. package/dist/types/components/WyPdfViewer.d.ts +2 -0
  31. package/dist/types/components/WyPoll.d.ts +14 -0
  32. package/dist/types/components/WyPortal.d.ts +2 -0
  33. package/dist/types/components/WyPost.d.ts +42 -0
  34. package/dist/types/components/WyPresence.d.ts +2 -0
  35. package/dist/types/components/WyPreview.d.ts +11 -0
  36. package/dist/types/components/WyReactions.d.ts +6 -0
  37. package/dist/types/components/WySheet.d.ts +6 -0
  38. package/dist/types/components/WySkeleton.d.ts +2 -0
  39. package/dist/types/components/WySpinner.d.ts +2 -0
  40. package/dist/types/components/WyTyping.d.ts +2 -0
  41. package/dist/types/components/WyUsersSearch.d.ts +8 -0
  42. package/dist/types/components/index.d.ts +34 -0
  43. package/dist/types/hooks/index.d.ts +1 -0
  44. package/dist/types/hooks/useWeavy.d.ts +3 -0
  45. package/dist/types/index.d.ts +4 -0
  46. package/dist/weavy.es5.esm.js +1 -0
  47. package/dist/weavy.es5.umd.cjs +1 -0
  48. package/dist/weavy.esm.js +40149 -0
  49. package/dist/weavy.umd.cjs +2936 -0
  50. package/package.json +14 -6
  51. package/tsconfig.json +2 -2
  52. package/tsconfig.build.json +0 -7
  53. package/tsconfig.node.json +0 -10
package/changelog.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog for Weavy
2
2
 
3
+ ## v21.1.2
4
+
5
+ <time>2024-03-15</time>
6
+
7
+ * Fixed some issues with dist files in uikit-react package.
8
+
9
+ ## v21.1.1
10
+
11
+ <time>2024-03-12</time>
12
+
13
+ * Fixed missing dist files in uikit-react package.
14
+
3
15
  ## v21.1.0
4
16
 
5
17
  <time>2024-03-12</time>
@@ -0,0 +1,9 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyChat as WyChatWC } from "@weavy/uikit-web";
3
+ import { RealtimeAppEventType, RealtimeMessageEventType, RealtimeReactionEventType } from "@weavy/uikit-web/dist/types/types/realtime.types";
4
+ export declare const WyChat: import("@lit/react").ReactWebComponent<WyChatWC, {
5
+ onWyMessageCreated: EventName<CustomEvent<RealtimeMessageEventType>>;
6
+ onWyReactionAdded: EventName<CustomEvent<RealtimeReactionEventType>>;
7
+ onWyReactionRemoved: EventName<CustomEvent<RealtimeReactionEventType>>;
8
+ onWyAppUpdated: EventName<CustomEvent<RealtimeAppEventType>>;
9
+ }>;
@@ -0,0 +1,2 @@
1
+ import { WyContext as WyContextWC } from '@weavy/uikit-web';
2
+ export declare const WyContext: import("@lit/react").ReactWebComponent<WyContextWC, {}>;
@@ -0,0 +1,10 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyFiles as WyFilesWC } from "@weavy/uikit-web";
3
+ import { RealtimeFileEventType } from "@weavy/uikit-web/dist/types/types/realtime.types";
4
+ export declare const WyFiles: import("@lit/react").ReactWebComponent<WyFilesWC, {
5
+ onWyFileCreated: EventName<CustomEvent<RealtimeFileEventType>>;
6
+ onWyFileUpdated: EventName<CustomEvent<RealtimeFileEventType>>;
7
+ onWyFileTrashed: EventName<CustomEvent<RealtimeFileEventType>>;
8
+ onWyFileRestored: EventName<CustomEvent<RealtimeFileEventType>>;
9
+ onWyFileDeleted: EventName<CustomEvent<RealtimeFileEventType>>;
10
+ }>;
@@ -0,0 +1,10 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyMessenger as WyMessengerWC } from "@weavy/uikit-web";
3
+ import { RealtimeAppEventType, RealtimeConversationDeliveredEventType, RealtimeConversationMarkedEventType, RealtimeMemberEventType, RealtimeMessageEventType } from "@weavy/uikit-web/dist/types/types/realtime.types";
4
+ export declare const WyMessenger: import("@lit/react").ReactWebComponent<WyMessengerWC, {
5
+ onWyMessageCreated: EventName<CustomEvent<RealtimeMessageEventType>>;
6
+ onWyAppCreated: EventName<CustomEvent<RealtimeAppEventType>>;
7
+ onWyConversationMarked: EventName<CustomEvent<RealtimeConversationMarkedEventType>>;
8
+ onWyConversationDelivered: EventName<CustomEvent<RealtimeConversationDeliveredEventType>>;
9
+ onWyMemberAdded: EventName<CustomEvent<RealtimeMemberEventType>>;
10
+ }>;
@@ -0,0 +1,9 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyPosts as WyPostsWC } from "@weavy/uikit-web";
3
+ import { RealtimeCommentEventType, RealtimePostEventType, RealtimeReactionEventType } from "@weavy/uikit-web/dist/types/types/realtime.types";
4
+ export declare const WyPosts: import("@lit/react").ReactWebComponent<WyPostsWC, {
5
+ onWyPostCreated: EventName<CustomEvent<RealtimePostEventType>>;
6
+ onWyCommentCreated: EventName<CustomEvent<RealtimeCommentEventType>>;
7
+ onWyReactionAdded: EventName<CustomEvent<RealtimeReactionEventType>>;
8
+ onWyReactionRemoved: EventName<CustomEvent<RealtimeReactionEventType>>;
9
+ }>;
@@ -0,0 +1,5 @@
1
+ export * from "./WyChat";
2
+ export * from "./WyContext";
3
+ export * from "./WyFiles";
4
+ export * from "./WyMessenger";
5
+ export * from "./WyPosts";
@@ -0,0 +1,9 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyAttachment as WyAttachmentWC, WyAttachmentsList as WyAttachmentsListWC } from "@weavy/uikit-web";
3
+ import { FileType } from "@weavy/uikit-web/dist/types/types/files.types";
4
+ export declare const WyAttachment: import("@lit/react").ReactWebComponent<WyAttachmentWC, {}>;
5
+ export declare const WyAttachmentsList: import("@lit/react").ReactWebComponent<WyAttachmentsListWC, {
6
+ onFileOpen: EventName<CustomEvent<{
7
+ file: FileType;
8
+ }>>;
9
+ }>;
@@ -0,0 +1,2 @@
1
+ import { WyAvatar as WyAvatarWC } from "@weavy/uikit-web";
2
+ export declare const WyAvatar: import("@lit/react").ReactWebComponent<WyAvatarWC, {}>;
@@ -0,0 +1,2 @@
1
+ import { WyBadge as WyBadgeWC } from "@weavy/uikit-web";
2
+ export declare const WyBadge: import("@lit/react").ReactWebComponent<WyBadgeWC, {}>;
@@ -0,0 +1,2 @@
1
+ import { WyButton as WyButtonWC } from "@weavy/uikit-web";
2
+ export declare const WyButton: import("@lit/react").ReactWebComponent<WyButtonWC, {}>;
@@ -0,0 +1,9 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyCloudFiles as WyCloudFilesWC } from "@weavy/uikit-web";
3
+ import { ExternalBlobType } from "@weavy/uikit-web/dist/types/types/files.types";
4
+ export declare const WyCloudFiles: import("@lit/react").ReactWebComponent<WyCloudFilesWC, {
5
+ onExternalBlobs: EventName<CustomEvent<{
6
+ externalBlobs: ExternalBlobType[] | null;
7
+ }>>;
8
+ onReleaseFocus: EventName<CustomEvent<any>>;
9
+ }>;
@@ -0,0 +1,52 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyComments as WyCommentsWC, WyComment as WyCommentWC, WyCommentView as WyCommentViewWC, WyCommentEdit as WyCommentEditWC, WyCommentEditor as WyCommentEditorWC, WyCommentTrashed as WyCommentTrashedWC } from "@weavy/uikit-web";
3
+ import { PollOptionType } from "@weavy/uikit-web/dist/types/types/polls.types";
4
+ export declare const WyComments: import("@lit/react").ReactWebComponent<WyCommentsWC, {}>;
5
+ export declare const WyComment: import("@lit/react").ReactWebComponent<WyCommentWC, {
6
+ onVote: EventName<CustomEvent<{
7
+ id: number;
8
+ parentId: number;
9
+ parentType: string;
10
+ }>>;
11
+ onSubscribe: EventName<CustomEvent<{
12
+ id: number;
13
+ subscribe: boolean;
14
+ }>>;
15
+ onTrash: EventName<CustomEvent<{
16
+ id: number;
17
+ }>>;
18
+ onRestore: EventName<CustomEvent<{
19
+ id: number;
20
+ }>>;
21
+ }>;
22
+ export declare const WyCommentView: import("@lit/react").ReactWebComponent<WyCommentViewWC, {
23
+ onVote: EventName<CustomEvent<{
24
+ id: number;
25
+ }>>;
26
+ onTrash: EventName<CustomEvent<{
27
+ id: number;
28
+ }>>;
29
+ onEdit: EventName<CustomEvent<{
30
+ edit: boolean;
31
+ }>>;
32
+ }>;
33
+ export declare const WyCommentEdit: import("@lit/react").ReactWebComponent<WyCommentEditWC, {
34
+ onEdit: EventName<CustomEvent<{
35
+ edit: boolean;
36
+ }>>;
37
+ }>;
38
+ export declare const WyCommentEditor: import("@lit/react").ReactWebComponent<WyCommentEditorWC, {
39
+ onSubmit: EventName<CustomEvent<{
40
+ text: string | undefined;
41
+ meetingId: number | undefined;
42
+ blobs: (number | undefined)[] | undefined;
43
+ attachments: number[];
44
+ pollOptions: PollOptionType[];
45
+ embed: number;
46
+ }>>;
47
+ }>;
48
+ export declare const WyCommentTrashed: import("@lit/react").ReactWebComponent<WyCommentTrashedWC, {
49
+ onRestore: EventName<CustomEvent<{
50
+ id: number;
51
+ }>>;
52
+ }>;
@@ -0,0 +1,8 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyConversation as WyConversationWC, WyConversationNew as WyConversationNewWC } from "@weavy/uikit-web";
3
+ export declare const WyConversation: import("@lit/react").ReactWebComponent<WyConversationWC, {
4
+ onReleaseFocus: EventName<CustomEvent<any>>;
5
+ }>;
6
+ export declare const WyConversationNew: import("@lit/react").ReactWebComponent<WyConversationNewWC, {
7
+ onReleaseFocus: EventName<CustomEvent<any>>;
8
+ }>;
@@ -0,0 +1,29 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyConversationList as WyConversationListWC, WyConversationListItem as WyConversationListItemWC } from "@weavy/uikit-web";
3
+ export declare const WyConversationList: import("@lit/react").ReactWebComponent<WyConversationListWC, {
4
+ onConversationSelected: EventName<CustomEvent<{
5
+ id: number | undefined;
6
+ }>>;
7
+ }>;
8
+ export declare const WyConversationListItem: import("@lit/react").ReactWebComponent<WyConversationListItemWC, {
9
+ onRefetch: EventName<CustomEvent<any>>;
10
+ onSelected: EventName<CustomEvent<{
11
+ id: number;
12
+ }>>;
13
+ onStar: EventName<CustomEvent<{
14
+ id: number;
15
+ star: boolean;
16
+ }>>;
17
+ onPin: EventName<CustomEvent<{
18
+ id: number;
19
+ pin: boolean;
20
+ }>>;
21
+ onMark: EventName<CustomEvent<{
22
+ id: number;
23
+ markAsRead: boolean;
24
+ messageId: number | undefined;
25
+ }>>;
26
+ onLeave: EventName<CustomEvent<{
27
+ id: number;
28
+ }>>;
29
+ }>;
@@ -0,0 +1,5 @@
1
+ import { WyDropdown as WyDropdownWC, WyDropdownItem as WyDropdownItemWC, WyDropdownOption as WyDropdownOptionWC, WyDropdownDivider as WyDropdownDividerWC } from "@weavy/uikit-web";
2
+ export declare const WyDropdown: import("@lit/react").ReactWebComponent<WyDropdownWC, {}>;
3
+ export declare const WyDropdownItem: import("@lit/react").ReactWebComponent<WyDropdownItemWC, {}>;
4
+ export declare const WyDropdownOption: import("@lit/react").ReactWebComponent<WyDropdownOptionWC, {}>;
5
+ export declare const WyDropdownDivider: import("@lit/react").ReactWebComponent<WyDropdownDividerWC, {}>;
@@ -0,0 +1,13 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyEditor as WyEditorWC } from "@weavy/uikit-web";
3
+ import { PollOptionType } from "@weavy/uikit-web/dist/types/types/polls.types";
4
+ export declare const WyEditor: import("@lit/react").ReactWebComponent<WyEditorWC, {
5
+ onSubmit: EventName<CustomEvent<{
6
+ text: string | undefined;
7
+ meetingId: number | undefined;
8
+ blobs: (number | undefined)[] | undefined;
9
+ attachments: number[];
10
+ pollOptions: PollOptionType[];
11
+ embed: number;
12
+ }>>;
13
+ }>;
@@ -0,0 +1,8 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyEmbed as WyEmbedWC } from "@weavy/uikit-web";
3
+ export declare const WyEmbed: import("@lit/react").ReactWebComponent<WyEmbedWC, {
4
+ onEmbedRemove: EventName<CustomEvent<{
5
+ id: number;
6
+ }>>;
7
+ onEmbedSwap: EventName<CustomEvent<any>>;
8
+ }>;
@@ -0,0 +1,2 @@
1
+ import { WyEmpty as WyEmptyWC } from "@weavy/uikit-web";
2
+ export declare const WyEmpty: import("@lit/react").ReactWebComponent<WyEmptyWC, {}>;
@@ -0,0 +1,25 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyFileItem as WyFileItemWC } from "@weavy/uikit-web";
3
+ import { FileType } from "@weavy/uikit-web/dist/types/types/files.types";
4
+ export declare const WyFileItem: import("@lit/react").ReactWebComponent<WyFileItemWC, {
5
+ onEditName: EventName<CustomEvent<{
6
+ file: FileType;
7
+ }>>;
8
+ onRename: EventName<CustomEvent<{
9
+ file: FileType;
10
+ name: string;
11
+ }>>;
12
+ onTrash: EventName<CustomEvent<{
13
+ file: FileType;
14
+ }>>;
15
+ onRestore: EventName<CustomEvent<{
16
+ file: FileType;
17
+ }>>;
18
+ onDeleteForever: EventName<CustomEvent<{
19
+ file: FileType;
20
+ }>>;
21
+ onSubscribe: EventName<CustomEvent<{
22
+ file: FileType;
23
+ subscribe: boolean;
24
+ }>>;
25
+ }>;
@@ -0,0 +1,21 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyFileMenu as WyFileMenuWC } from "@weavy/uikit-web";
3
+ import { FileType } from "@weavy/uikit-web/dist/types/types/files.types";
4
+ export declare const WyFileMenu: import("@lit/react").ReactWebComponent<WyFileMenuWC, {
5
+ onEditName: EventName<CustomEvent<{
6
+ file: FileType | undefined;
7
+ }>>;
8
+ onSubscribe: EventName<CustomEvent<{
9
+ file: FileType | undefined;
10
+ subscribe: boolean;
11
+ }>>;
12
+ onTrash: EventName<CustomEvent<{
13
+ file: FileType | undefined;
14
+ }>>;
15
+ onRestore: EventName<CustomEvent<{
16
+ file: FileType | undefined;
17
+ }>>;
18
+ onDeleteForever: EventName<CustomEvent<{
19
+ file: FileType | undefined;
20
+ }>>;
21
+ }>;
@@ -0,0 +1,8 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyFileVersions as WyFileVersionsWC } from "@weavy/uikit-web";
3
+ import { FileType } from "@weavy/uikit-web/dist/types/types/files.types";
4
+ export declare const WyFileVersions: import("@lit/react").ReactWebComponent<WyFileVersionsWC, {
5
+ onFileVersionSelect: EventName<CustomEvent<{
6
+ versionFile: FileType;
7
+ }>>;
8
+ }>;
@@ -0,0 +1,29 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyFilesAppbar as WyFilesAppbarWC } from "@weavy/uikit-web";
3
+ import { BlobType, ExternalBlobType, FileOrderType } from "@weavy/uikit-web/dist/types/types/files.types";
4
+ export declare const WyFilesAppbar: import("@lit/react").ReactWebComponent<WyFilesAppbarWC, {
5
+ onReleaseFocus: EventName<CustomEvent<any>>;
6
+ onUploadFiles: EventName<CustomEvent<{
7
+ files: FileList | null;
8
+ input: HTMLInputElement;
9
+ }>>;
10
+ onExternalBlobs: EventName<CustomEvent<{
11
+ externalBlobs: ExternalBlobType[] | null;
12
+ }>>;
13
+ onCreateFiles: EventName<CustomEvent<{
14
+ blobs: BlobType[] | null;
15
+ replace: boolean;
16
+ }>>;
17
+ onOrder: EventName<CustomEvent<{
18
+ order: FileOrderType;
19
+ }>>;
20
+ onView: EventName<CustomEvent<{
21
+ view: "grid" | "list";
22
+ }>>;
23
+ onShowTrashed: EventName<CustomEvent<{
24
+ showTrashed: boolean;
25
+ }>>;
26
+ onSubscribe: EventName<CustomEvent<{
27
+ subscribe: boolean;
28
+ }>>;
29
+ }>;
@@ -0,0 +1,31 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyFilesList as WyFilesListWC } from "@weavy/uikit-web";
3
+ import { FileOrderType, FileType } from "@weavy/uikit-web/dist/types/types/files.types";
4
+ export declare const WyFilesList: import("@lit/react").ReactWebComponent<WyFilesListWC, {
5
+ onFileOpen: EventName<CustomEvent<{
6
+ file: FileType;
7
+ }>>;
8
+ onOrder: EventName<CustomEvent<{
9
+ order: FileOrderType;
10
+ }>>;
11
+ onEditName: EventName<CustomEvent<{
12
+ file: FileType;
13
+ }>>;
14
+ onRename: EventName<CustomEvent<{
15
+ file: FileType;
16
+ name: string;
17
+ }>>;
18
+ onTrash: EventName<CustomEvent<{
19
+ file: FileType;
20
+ }>>;
21
+ onRestore: EventName<CustomEvent<{
22
+ file: FileType;
23
+ }>>;
24
+ onDeleteForever: EventName<CustomEvent<{
25
+ file: FileType;
26
+ }>>;
27
+ onSubscribe: EventName<CustomEvent<{
28
+ file: FileType;
29
+ subscribe: boolean;
30
+ }>>;
31
+ }>;
@@ -0,0 +1,2 @@
1
+ import { WyIcon as WyIconWC } from "@weavy/uikit-web";
2
+ export declare const WyIcon: import("@lit/react").ReactWebComponent<WyIconWC, {}>;
@@ -0,0 +1,8 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyImageGrid as WyImageGridWC } from "@weavy/uikit-web";
3
+ import { FileType } from "@weavy/uikit-web/dist/types/types/files.types";
4
+ export declare const WyImageGrid: import("@lit/react").ReactWebComponent<WyImageGridWC, {
5
+ onFileOpen: EventName<CustomEvent<{
6
+ file: FileType;
7
+ }>>;
8
+ }>;
@@ -0,0 +1,2 @@
1
+ import { WyMeetingCard as WyMeetingCardWC } from "@weavy/uikit-web";
2
+ export declare const WyMeetingCard: import("@lit/react").ReactWebComponent<WyMeetingCardWC, {}>;
@@ -0,0 +1,17 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyMessage as WyMessageWC, WyMessages as WyMessagesWC, WyMessageEditor as WyMessageEditorWC } from "@weavy/uikit-web";
3
+ import { PollOptionType } from "@weavy/uikit-web/dist/types/types/polls.types";
4
+ export declare const WyMessage: import("@lit/react").ReactWebComponent<WyMessageWC, {}>;
5
+ export declare const WyMessages: import("@lit/react").ReactWebComponent<WyMessagesWC, {
6
+ onScrollToBottom: EventName<CustomEvent<any>>;
7
+ }>;
8
+ export declare const WyMessageEditor: import("@lit/react").ReactWebComponent<WyMessageEditorWC, {
9
+ onSubmit: EventName<CustomEvent<{
10
+ text: string | undefined;
11
+ meetingId: number | undefined;
12
+ blobs: (number | undefined)[] | undefined;
13
+ attachments: number[];
14
+ pollOptions: PollOptionType[];
15
+ embed: number;
16
+ }>>;
17
+ }>;
@@ -0,0 +1,6 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyOverlay as WyOverlayWC } from "@weavy/uikit-web";
3
+ export declare const WyOverlay: import("@lit/react").ReactWebComponent<WyOverlayWC, {
4
+ onReleaseFocus: EventName<CustomEvent<any>>;
5
+ onRemoveModal: EventName<Event>;
6
+ }>;
@@ -0,0 +1,2 @@
1
+ import { WyPdfViewer as WyPdfViewerWC } from "@weavy/uikit-web";
2
+ export declare const WyPdfViewer: import("@lit/react").ReactWebComponent<WyPdfViewerWC, {}>;
@@ -0,0 +1,14 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyPoll as WyPollWC, WyPollOption as WyPollOptionWC } from "@weavy/uikit-web";
3
+ export declare const WyPoll: import("@lit/react").ReactWebComponent<WyPollWC, {
4
+ onReleaseFocus: EventName<CustomEvent<any>>;
5
+ onVote: EventName<CustomEvent<{
6
+ id: number;
7
+ }>>;
8
+ }>;
9
+ export declare const WyPollOption: import("@lit/react").ReactWebComponent<WyPollOptionWC, {
10
+ onReleaseFocus: EventName<CustomEvent<any>>;
11
+ onVote: EventName<CustomEvent<{
12
+ id: number;
13
+ }>>;
14
+ }>;
@@ -0,0 +1,2 @@
1
+ import { WyPortal as WyPortalWC } from "@weavy/uikit-web";
2
+ export declare const WyPortal: import("@lit/react").ReactWebComponent<WyPortalWC, {}>;
@@ -0,0 +1,42 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyPost as WyPostWC, WyPostView as WyPostViewWC, WyPostEdit as WyPostEditWC, WyPostTrashed as WyPostTrashedWC } from "@weavy/uikit-web";
3
+ export declare const WyPost: import("@lit/react").ReactWebComponent<WyPostWC, {
4
+ onVote: EventName<CustomEvent<{
5
+ id: number;
6
+ parentId: number;
7
+ parentType: string;
8
+ }>>;
9
+ onSubscribe: EventName<CustomEvent<{
10
+ id: number;
11
+ subscribe: boolean;
12
+ }>>;
13
+ onTrash: EventName<CustomEvent<{
14
+ id: number;
15
+ }>>;
16
+ onRestore: EventName<CustomEvent<{
17
+ id: number;
18
+ }>>;
19
+ }>;
20
+ export declare const WyPostView: import("@lit/react").ReactWebComponent<WyPostViewWC, {
21
+ onVote: EventName<CustomEvent<{
22
+ id: number;
23
+ }>>;
24
+ onSubscribe: EventName<CustomEvent<{
25
+ id: number;
26
+ subscribe: boolean;
27
+ }>>;
28
+ onTrash: EventName<CustomEvent<{
29
+ id: number;
30
+ }>>;
31
+ onEdit: EventName<CustomEvent<{
32
+ edit: boolean;
33
+ }>>;
34
+ }>;
35
+ export declare const WyPostEdit: import("@lit/react").ReactWebComponent<WyPostEditWC, {
36
+ onEdit: EventName<CustomEvent<{
37
+ edit: boolean;
38
+ }>>;
39
+ }>;
40
+ export declare const WyPostTrashed: import("@lit/react").ReactWebComponent<WyPostTrashedWC, {
41
+ onRestore: EventName<CustomEvent<any>>;
42
+ }>;
@@ -0,0 +1,2 @@
1
+ import { WyPresence as WyPresenceWC } from "@weavy/uikit-web";
2
+ export declare const WyPresence: import("@lit/react").ReactWebComponent<WyPresenceWC, {}>;
@@ -0,0 +1,11 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyPreview as WyPreviewWC, WyPreviewItem as WyPreviewItemWC, WyPreviewEmbed as WyPreviewEmbedWC, WyPreviewIcon as WyPreviewIconWC, WyPreviewImage as WyPreviewImageWC, WyPreviewMedia as WyPreviewMediaWC, WyPreviewText as WyPreviewTextWC } from "@weavy/uikit-web";
3
+ export declare const WyPreview: import("@lit/react").ReactWebComponent<WyPreviewWC, {
4
+ onReleaseFocus: EventName<CustomEvent<any>>;
5
+ }>;
6
+ export declare const WyPreviewItem: import("@lit/react").ReactWebComponent<WyPreviewItemWC, {}>;
7
+ export declare const WyPreviewEmbed: import("@lit/react").ReactWebComponent<WyPreviewEmbedWC, {}>;
8
+ export declare const WyPreviewIcon: import("@lit/react").ReactWebComponent<WyPreviewIconWC, {}>;
9
+ export declare const WyPreviewImage: import("@lit/react").ReactWebComponent<WyPreviewImageWC, {}>;
10
+ export declare const WyPreviewMedia: import("@lit/react").ReactWebComponent<WyPreviewMediaWC, {}>;
11
+ export declare const WyPreviewText: import("@lit/react").ReactWebComponent<WyPreviewTextWC, {}>;
@@ -0,0 +1,6 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyReactions as WyReactionsWC, WyReactionItem as WyReactionItemWC } from "@weavy/uikit-web";
3
+ export declare const WyReactions: import("@lit/react").ReactWebComponent<WyReactionsWC, {
4
+ onReleaseFocus: EventName<CustomEvent<any>>;
5
+ }>;
6
+ export declare const WyReactionItem: import("@lit/react").ReactWebComponent<WyReactionItemWC, {}>;
@@ -0,0 +1,6 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WySheet as WySheetWC } from "@weavy/uikit-web";
3
+ export declare const WySheet: import("@lit/react").ReactWebComponent<WySheetWC, {
4
+ onReleaseFocus: EventName<CustomEvent<any>>;
5
+ onRemoveModal: EventName<Event>;
6
+ }>;
@@ -0,0 +1,2 @@
1
+ import { WySkeleton as WySkeletonWC } from "@weavy/uikit-web";
2
+ export declare const WySkeleton: import("@lit/react").ReactWebComponent<WySkeletonWC, {}>;
@@ -0,0 +1,2 @@
1
+ import { WySpinner as WySpinnerWC } from "@weavy/uikit-web";
2
+ export declare const WySpinner: import("@lit/react").ReactWebComponent<WySpinnerWC, {}>;
@@ -0,0 +1,2 @@
1
+ import { WyTyping as WyTypingWC } from "@weavy/uikit-web";
2
+ export declare const WyTyping: import("@lit/react").ReactWebComponent<WyTypingWC, {}>;
@@ -0,0 +1,8 @@
1
+ import { EventName } from "@lit/react";
2
+ import { WyUsersSearch as WyUsersSearchWC } from "@weavy/uikit-web";
3
+ import { MemberType } from "@weavy/uikit-web/dist/types/types/members.types";
4
+ export declare const WyUsersSearch: import("@lit/react").ReactWebComponent<WyUsersSearchWC, {
5
+ onSubmit: EventName<CustomEvent<{
6
+ members: MemberType[];
7
+ }>>;
8
+ }>;
@@ -0,0 +1,34 @@
1
+ export * from "./WyAttachment";
2
+ export * from "./WyAvatar";
3
+ export * from "./WyBadge";
4
+ export * from "./WyButton";
5
+ export * from "./WyCloudFiles";
6
+ export * from "./WyComment";
7
+ export * from "./WyConversation";
8
+ export * from "./WyConversationList";
9
+ export * from "./WyDropdown";
10
+ export * from "./WyEditor";
11
+ export * from "./WyEmbed";
12
+ export * from "./WyEmpty";
13
+ export * from "./WyFileItem";
14
+ export * from "./WyFileMenu";
15
+ export * from "./WyFileVersions";
16
+ export * from "./WyFilesAppbar";
17
+ export * from "./WyFilesList";
18
+ export * from "./WyIcon";
19
+ export * from "./WyImageGrid";
20
+ export * from "./WyMeetingCard";
21
+ export * from "./WyMessage";
22
+ export * from "./WyOverlay";
23
+ export * from "./WyPdfViewer";
24
+ export * from "./WyPoll";
25
+ export * from "./WyPortal";
26
+ export * from "./WyPost";
27
+ export * from "./WyPresence";
28
+ export * from "./WyPreview";
29
+ export * from "./WyReactions";
30
+ export * from "./WySheet";
31
+ export * from "./WySkeleton";
32
+ export * from "./WySpinner";
33
+ export * from "./WyTyping";
34
+ export * from "./WyUsersSearch";
@@ -0,0 +1 @@
1
+ export * from "./useWeavy";
@@ -0,0 +1,3 @@
1
+ import type { WeavyContext } from "@weavy/uikit-web/dist/types/index";
2
+ import { WeavyOptions } from "@weavy/uikit-web/dist/types/types/weavy.types";
3
+ export declare function useWeavy(options: WeavyOptions): WeavyContext | undefined;
@@ -0,0 +1,4 @@
1
+ export { Weavy } from "@weavy/uikit-web";
2
+ export * from "./hooks";
3
+ export * from "./blocks";
4
+ export * from "./components";