@weavy/uikit-react 24.0.2 → 24.0.3

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 (52) hide show
  1. package/changelog.md +7 -0
  2. package/dist/types/blocks/WyChat.d.ts +0 -1
  3. package/dist/types/blocks/WyComments.d.ts +0 -1
  4. package/dist/types/blocks/WyContext.d.ts +0 -1
  5. package/dist/types/blocks/WyFiles.d.ts +0 -1
  6. package/dist/types/blocks/WyMessenger.d.ts +0 -1
  7. package/dist/types/blocks/WyNotificationToasts.d.ts +0 -1
  8. package/dist/types/blocks/WyNotifications.d.ts +0 -1
  9. package/dist/types/blocks/WyPosts.d.ts +0 -1
  10. package/dist/types/components/WyAttachment.d.ts +0 -1
  11. package/dist/types/components/WyAvatar.d.ts +0 -1
  12. package/dist/types/components/WyBadge.d.ts +0 -1
  13. package/dist/types/components/WyBlobUpload.d.ts +0 -1
  14. package/dist/types/components/WyButton.d.ts +0 -1
  15. package/dist/types/components/WyCloudFiles.d.ts +0 -1
  16. package/dist/types/components/WyComment.d.ts +0 -1
  17. package/dist/types/components/WyConversation.d.ts +0 -1
  18. package/dist/types/components/WyConversationList.d.ts +0 -1
  19. package/dist/types/components/WyDropdown.d.ts +0 -1
  20. package/dist/types/components/WyEditor.d.ts +0 -1
  21. package/dist/types/components/WyEmbed.d.ts +0 -1
  22. package/dist/types/components/WyEmpty.d.ts +0 -1
  23. package/dist/types/components/WyFileItem.d.ts +0 -1
  24. package/dist/types/components/WyFileMenu.d.ts +0 -1
  25. package/dist/types/components/WyFileVersions.d.ts +0 -1
  26. package/dist/types/components/WyFilesAppbar.d.ts +0 -1
  27. package/dist/types/components/WyFilesList.d.ts +0 -1
  28. package/dist/types/components/WyIcon.d.ts +0 -1
  29. package/dist/types/components/WyImageGrid.d.ts +0 -1
  30. package/dist/types/components/WyMeetingCard.d.ts +0 -1
  31. package/dist/types/components/WyMessage.d.ts +0 -1
  32. package/dist/types/components/WyNotification.d.ts +0 -1
  33. package/dist/types/components/WyOverlay.d.ts +0 -1
  34. package/dist/types/components/WyPdfViewer.d.ts +0 -1
  35. package/dist/types/components/WyPoll.d.ts +0 -1
  36. package/dist/types/components/WyPost.d.ts +0 -1
  37. package/dist/types/components/WyPresence.d.ts +0 -1
  38. package/dist/types/components/WyPreview.d.ts +0 -1
  39. package/dist/types/components/WyReactions.d.ts +0 -1
  40. package/dist/types/components/WySheet.d.ts +0 -1
  41. package/dist/types/components/WySkeleton.d.ts +0 -1
  42. package/dist/types/components/WySpinner.d.ts +0 -1
  43. package/dist/types/components/WyToast.d.ts +0 -1
  44. package/dist/types/components/WyTyping.d.ts +0 -1
  45. package/dist/types/components/WyUsersSearch.d.ts +0 -1
  46. package/dist/types/hooks/useWeavy.d.ts +0 -1
  47. package/dist/types/weavy.d.ts +0 -1
  48. package/dist/weavy.es5.esm.js +1 -1
  49. package/dist/weavy.es5.umd.cjs +1 -1
  50. package/dist/weavy.esm.js +12691 -12488
  51. package/dist/weavy.umd.cjs +481 -481
  52. package/package.json +12 -12
package/changelog.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog for Weavy
2
2
 
3
+ ## v24.0.3
4
+
5
+ <time>2024-08-15</time>
6
+
7
+ * Fixed some issues with component initialization, affecting realtime mainly in Messenger.
8
+ * Fixed some issues with the "New messages" label in Messenger.
9
+
3
10
  ## v24.0.2
4
11
 
5
12
  <time>2024-07-18</time>
@@ -1,3 +1,2 @@
1
1
  import { WyChat as WyChatWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyChat: import('@lit/react').ReactWebComponent<WyChatWC, {}>;
@@ -1,3 +1,2 @@
1
1
  import { WyComments as WyCommentsWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyComments: import('@lit/react').ReactWebComponent<WyCommentsWC, {}>;
@@ -1,3 +1,2 @@
1
1
  import { WyContext as WyContextWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyContext: import('@lit/react').ReactWebComponent<WyContextWC, {}>;
@@ -1,3 +1,2 @@
1
1
  import { WyFiles as WyFilesWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyFiles: import('@lit/react').ReactWebComponent<WyFilesWC, {}>;
@@ -1,3 +1,2 @@
1
1
  import { WyMessenger as WyMessengerWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyMessenger: import('@lit/react').ReactWebComponent<WyMessengerWC, {}>;
@@ -1,7 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyNotificationToasts as WyNotificationToastsWC } from '@weavy/uikit-web';
3
3
  import { WyLinkEventType } from '@weavy/uikit-web/dist/types/types/notifications.types';
4
-
5
4
  export declare const WyNotificationToasts: import('@lit/react').ReactWebComponent<WyNotificationToastsWC, {
6
5
  onWyLink: EventName<WyLinkEventType>;
7
6
  }>;
@@ -1,7 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyNotifications as WyNotificationsWC } from '@weavy/uikit-web';
3
3
  import { WyLinkEventType } from '@weavy/uikit-web/dist/types/types/notifications.types';
4
-
5
4
  export declare const WyNotifications: import('@lit/react').ReactWebComponent<WyNotificationsWC, {
6
5
  onWyLink: EventName<WyLinkEventType>;
7
6
  }>;
@@ -1,3 +1,2 @@
1
1
  import { WyPosts as WyPostsWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyPosts: import('@lit/react').ReactWebComponent<WyPostsWC, {}>;
@@ -1,7 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyAttachment as WyAttachmentWC, WyAttachmentsList as WyAttachmentsListWC } from '@weavy/uikit-web';
3
3
  import { FileOpenEventType } from '@weavy/uikit-web/dist/types/types/files.types';
4
-
5
4
  export declare const WyAttachment: import('@lit/react').ReactWebComponent<WyAttachmentWC, {}>;
6
5
  export declare const WyAttachmentsList: import('@lit/react').ReactWebComponent<WyAttachmentsListWC, {
7
6
  onFileOpen: EventName<FileOpenEventType>;
@@ -1,3 +1,2 @@
1
1
  import { WyAvatar as WyAvatarWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyAvatar: import('@lit/react').ReactWebComponent<WyAvatarWC, {}>;
@@ -1,3 +1,2 @@
1
1
  import { WyBadge as WyBadgeWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyBadge: import('@lit/react').ReactWebComponent<WyBadgeWC, {}>;
@@ -1,3 +1,2 @@
1
1
  import { WyBlobUpload as WyBlobUploadWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyBlobUpload: import('@lit/react').ReactWebComponent<WyBlobUploadWC, {}>;
@@ -1,4 +1,3 @@
1
1
  import { WyButton as WyButtonWC, WyButtons as WyButtonsWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyButton: import('@lit/react').ReactWebComponent<WyButtonWC, {}>;
4
3
  export declare const WyButtons: import('@lit/react').ReactWebComponent<WyButtonsWC, {}>;
@@ -1,7 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyCloudFiles as WyCloudFilesWC } from '@weavy/uikit-web';
3
3
  import { ExternalBlobType } from '@weavy/uikit-web/dist/types/types/files.types';
4
-
5
4
  export declare const WyCloudFiles: import('@lit/react').ReactWebComponent<WyCloudFilesWC, {
6
5
  onExternalBlobs: EventName<CustomEvent<{
7
6
  externalBlobs: ExternalBlobType[] | null;
@@ -1,7 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyCommentList as WyCommentListWC, WyComment as WyCommentWC, WyCommentView as WyCommentViewWC, WyCommentEdit as WyCommentEditWC, WyCommentEditor as WyCommentEditorWC, WyCommentTrashed as WyCommentTrashedWC } from '@weavy/uikit-web';
3
3
  import { PollOptionType } from '@weavy/uikit-web/dist/types/types/polls.types';
4
-
5
4
  export declare const WyCommentList: import('@lit/react').ReactWebComponent<WyCommentListWC, {}>;
6
5
  export declare const WyComment: import('@lit/react').ReactWebComponent<WyCommentWC, {
7
6
  onVote: EventName<CustomEvent<{
@@ -1,6 +1,5 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyConversation as WyConversationWC, WyConversationExtended as WyConversationExtendedWC, WyConversationAppbar as WyConversationAppbarWC, WyConversationNew as WyConversationNewWC } from '@weavy/uikit-web';
3
-
4
3
  export declare const WyConversation: import('@lit/react').ReactWebComponent<WyConversationWC, {
5
4
  onReleaseFocus: EventName<CustomEvent>;
6
5
  }>;
@@ -1,6 +1,5 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyConversationList as WyConversationListWC, WyConversationListItem as WyConversationListItemWC } from '@weavy/uikit-web';
3
-
4
3
  export declare const WyConversationList: import('@lit/react').ReactWebComponent<WyConversationListWC, {
5
4
  onConversationSelected: EventName<CustomEvent<{
6
5
  id: number | undefined;
@@ -1,5 +1,4 @@
1
1
  import { WyDropdown as WyDropdownWC, WyDropdownItem as WyDropdownItemWC, WyDropdownOption as WyDropdownOptionWC, WyDropdownDivider as WyDropdownDividerWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyDropdown: import('@lit/react').ReactWebComponent<WyDropdownWC, {}>;
4
3
  export declare const WyDropdownItem: import('@lit/react').ReactWebComponent<WyDropdownItemWC, {}>;
5
4
  export declare const WyDropdownOption: import('@lit/react').ReactWebComponent<WyDropdownOptionWC, {}>;
@@ -1,7 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyEditor as WyEditorWC } from '@weavy/uikit-web';
3
3
  import { PollOptionType } from '@weavy/uikit-web/dist/types/types/polls.types';
4
-
5
4
  export declare const WyEditor: import('@lit/react').ReactWebComponent<WyEditorWC, {
6
5
  onSubmit: EventName<CustomEvent<{
7
6
  text: string | undefined;
@@ -1,6 +1,5 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyEmbed as WyEmbedWC } from '@weavy/uikit-web';
3
-
4
3
  export declare const WyEmbed: import('@lit/react').ReactWebComponent<WyEmbedWC, {
5
4
  onEmbedRemove: EventName<CustomEvent<{
6
5
  id: number;
@@ -1,3 +1,2 @@
1
1
  import { WyEmpty as WyEmptyWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyEmpty: import('@lit/react').ReactWebComponent<WyEmptyWC, {}>;
@@ -1,7 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyFileItem as WyFileItemWC } from '@weavy/uikit-web';
3
3
  import { FileType } from '@weavy/uikit-web/dist/types/types/files.types';
4
-
5
4
  export declare const WyFileItem: import('@lit/react').ReactWebComponent<WyFileItemWC, {
6
5
  onEditName: EventName<CustomEvent<{
7
6
  file: FileType;
@@ -1,7 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyFileMenu as WyFileMenuWC } from '@weavy/uikit-web';
3
3
  import { FileType } from '@weavy/uikit-web/dist/types/types/files.types';
4
-
5
4
  export declare const WyFileMenu: import('@lit/react').ReactWebComponent<WyFileMenuWC, {
6
5
  onEditName: EventName<CustomEvent<{
7
6
  file: FileType | undefined;
@@ -1,7 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyFileVersions as WyFileVersionsWC } from '@weavy/uikit-web';
3
3
  import { FileType } from '@weavy/uikit-web/dist/types/types/files.types';
4
-
5
4
  export declare const WyFileVersions: import('@lit/react').ReactWebComponent<WyFileVersionsWC, {
6
5
  onFileVersionSelect: EventName<CustomEvent<{
7
6
  versionFile: FileType;
@@ -1,7 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyFilesAppbar as WyFilesAppbarWC } from '@weavy/uikit-web';
3
3
  import { BlobType, ExternalBlobType, FileOrderType } from '@weavy/uikit-web/dist/types/types/files.types';
4
-
5
4
  export declare const WyFilesAppbar: import('@lit/react').ReactWebComponent<WyFilesAppbarWC, {
6
5
  onReleaseFocus: EventName<CustomEvent>;
7
6
  onUploadFiles: EventName<CustomEvent<{
@@ -1,7 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyFilesList as WyFilesListWC } from '@weavy/uikit-web';
3
3
  import { FileOpenEventType, FileOrderType, FileType } from '@weavy/uikit-web/dist/types/types/files.types';
4
-
5
4
  export declare const WyFilesList: import('@lit/react').ReactWebComponent<WyFilesListWC, {
6
5
  onFileOpen: EventName<FileOpenEventType>;
7
6
  onOrder: EventName<CustomEvent<{
@@ -1,3 +1,2 @@
1
1
  import { WyIcon as WyIconWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyIcon: import('@lit/react').ReactWebComponent<WyIconWC, {}>;
@@ -1,7 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyImageGrid as WyImageGridWC } from '@weavy/uikit-web';
3
3
  import { FileOpenEventType } from '@weavy/uikit-web/dist/types/types/files.types';
4
-
5
4
  export declare const WyImageGrid: import('@lit/react').ReactWebComponent<WyImageGridWC, {
6
5
  onFileOpen: EventName<FileOpenEventType>;
7
6
  }>;
@@ -1,3 +1,2 @@
1
1
  import { WyMeetingCard as WyMeetingCardWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyMeetingCard: import('@lit/react').ReactWebComponent<WyMeetingCardWC, {}>;
@@ -1,7 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyMessage as WyMessageWC, WyMessages as WyMessagesWC, WyMessageEditor as WyMessageEditorWC, WyMessageTyping as WyMessageTypingWC } from '@weavy/uikit-web';
3
3
  import { PollOptionType } from '@weavy/uikit-web/dist/types/types/polls.types';
4
-
5
4
  export declare const WyMessage: import('@lit/react').ReactWebComponent<WyMessageWC, {}>;
6
5
  export declare const WyMessages: import('@lit/react').ReactWebComponent<WyMessagesWC, {
7
6
  onScrollToBottom: EventName<CustomEvent>;
@@ -1,5 +1,4 @@
1
1
  import { WyNotificationBadge as WyNotificationBadgeWC, WyNotificationButtonList as WyNotificationButtonListWC, WyNotificationList as WyNotificationListWC, WyNotificationListItem as WyNotificationListItemWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyNotificationBadge: import('@lit/react').ReactWebComponent<WyNotificationBadgeWC, {}>;
4
3
  export declare const WyNotificationButtonList: import('@lit/react').ReactWebComponent<WyNotificationButtonListWC, {}>;
5
4
  export declare const WyNotificationList: import('@lit/react').ReactWebComponent<WyNotificationListWC, {}>;
@@ -1,6 +1,5 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyOverlay as WyOverlayWC } from '@weavy/uikit-web';
3
-
4
3
  export declare const WyOverlay: import('@lit/react').ReactWebComponent<WyOverlayWC, {
5
4
  onReleaseFocus: EventName<CustomEvent>;
6
5
  onClose: EventName<CustomEvent>;
@@ -1,3 +1,2 @@
1
1
  import { WyPdfViewer as WyPdfViewerWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyPdfViewer: import('@lit/react').ReactWebComponent<WyPdfViewerWC, {}>;
@@ -1,6 +1,5 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyPoll as WyPollWC, WyPollOption as WyPollOptionWC } from '@weavy/uikit-web';
3
-
4
3
  export declare const WyPoll: import('@lit/react').ReactWebComponent<WyPollWC, {
5
4
  onReleaseFocus: EventName<CustomEvent>;
6
5
  onVote: EventName<CustomEvent<{
@@ -1,6 +1,5 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyPost as WyPostWC, WyPostView as WyPostViewWC, WyPostEdit as WyPostEditWC, WyPostTrashed as WyPostTrashedWC } from '@weavy/uikit-web';
3
-
4
3
  export declare const WyPost: import('@lit/react').ReactWebComponent<WyPostWC, {
5
4
  onVote: EventName<CustomEvent<{
6
5
  id: number;
@@ -1,3 +1,2 @@
1
1
  import { WyPresence as WyPresenceWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyPresence: import('@lit/react').ReactWebComponent<WyPresenceWC, {}>;
@@ -1,6 +1,5 @@
1
1
  import { EventName } from '@lit/react';
2
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
-
4
3
  export declare const WyPreview: import('@lit/react').ReactWebComponent<WyPreviewWC, {
5
4
  onReleaseFocus: EventName<CustomEvent>;
6
5
  }>;
@@ -1,6 +1,5 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyReactions as WyReactionsWC, WyReactionItem as WyReactionItemWC } from '@weavy/uikit-web';
3
-
4
3
  export declare const WyReactions: import('@lit/react').ReactWebComponent<WyReactionsWC, {
5
4
  onReleaseFocus: EventName<CustomEvent>;
6
5
  }>;
@@ -1,6 +1,5 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WySheet as WySheetWC } from '@weavy/uikit-web';
3
-
4
3
  export declare const WySheet: import('@lit/react').ReactWebComponent<WySheetWC, {
5
4
  onReleaseFocus: EventName<CustomEvent>;
6
5
  onClose: EventName<CustomEvent>;
@@ -1,3 +1,2 @@
1
1
  import { WySkeleton as WySkeletonWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WySkeleton: import('@lit/react').ReactWebComponent<WySkeletonWC, {}>;
@@ -1,3 +1,2 @@
1
1
  import { WySpinner as WySpinnerWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WySpinner: import('@lit/react').ReactWebComponent<WySpinnerWC, {}>;
@@ -1,6 +1,5 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyToasts as WyToastsWC, WyToast as WyToastWC } from '@weavy/uikit-web';
3
-
4
3
  export declare const WyToasts: import('@lit/react').ReactWebComponent<WyToastsWC, {
5
4
  onHide: EventName<CustomEvent>;
6
5
  onReleaseFocus: EventName<CustomEvent>;
@@ -1,3 +1,2 @@
1
1
  import { WyTyping as WyTypingWC } from '@weavy/uikit-web';
2
-
3
2
  export declare const WyTyping: import('@lit/react').ReactWebComponent<WyTypingWC, {}>;
@@ -1,7 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WyUsersSearch as WyUsersSearchWC } from '@weavy/uikit-web';
3
3
  import { MemberType } from '@weavy/uikit-web/dist/types/types/members.types';
4
-
5
4
  export declare const WyUsersSearch: import('@lit/react').ReactWebComponent<WyUsersSearchWC, {
6
5
  onSubmit: EventName<CustomEvent<{
7
6
  members: MemberType[];
@@ -1,4 +1,3 @@
1
1
  import { WeavyContext } from '@weavy/uikit-web/dist/types/index';
2
2
  import { WeavyOptions } from '@weavy/uikit-web/dist/types/types/weavy.types';
3
-
4
3
  export declare function useWeavy(options: WeavyOptions): WeavyContext | undefined;
@@ -1,3 +1,2 @@
1
1
  import { Weavy } from '@weavy/uikit-web';
2
-
3
2
  export { Weavy };