@weavy/uikit-react 27.0.0 → 27.1.1

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/changelog.md CHANGED
@@ -1,7 +1,26 @@
1
1
  # Changelog for Weavy
2
2
 
3
+ ## v27.1.1
4
+
5
+ <time>2025-04-15</time>
6
+
7
+ * Fixed an issue with layout for the comments panel in previews.
8
+ * Fixed an issue with deleting webhooks.
9
+ * Fixed an issue with `app.name`not being properly updated when changing `uid`.
10
+ * Fixed an issue with not being able to set `conversationId` in `wy-messenger`.
11
+
12
+ ## v27.1.0
13
+
14
+ <time>2025-04-05</time>
15
+
16
+ * Fixed an issue with app name property not being registered from UIKit.
17
+ * Made the `wy-app` event available generally in all contextual Weavy components.
18
+ * Improved some event types.
19
+
3
20
  ## v27.0.0
4
21
 
22
+ <time>2025-03-27</time>
23
+
5
24
  * Added Bots API for managing chat bots
6
25
  * Added `<wy-copilot>` component for contextual conversations with chat bots.
7
26
  * Added method to remove a user's copy of a private chat.
@@ -1,7 +1,9 @@
1
1
  import { EventName, WebComponentProps } from '@lit/react';
2
2
  import { WY_CHAT_TAGNAME, WyChat as WyChatWC } from '@weavy/uikit-web';
3
- import { WyPreviewOpenEventType } from '@weavy/uikit-web/dist/types/types/events.types.js';
3
+ import { WyAppEventType } from '@weavy/uikit-web/dist/types/types/app.events.js';
4
+ import { WyPreviewOpenEventType } from '@weavy/uikit-web/dist/types/types/files.events.js';
4
5
  export declare const WyChat: import('@lit/react').ReactWebComponent<WyChatWC, {
6
+ onWyApp: EventName<WyAppEventType>;
5
7
  onWyPreviewOpen: EventName<WyPreviewOpenEventType>;
6
8
  }>;
7
9
  declare module "react" {
@@ -11,4 +13,4 @@ declare module "react" {
11
13
  }
12
14
  }
13
15
  }
14
- export type { WyPreviewOpenEventType };
16
+ export type { WyAppEventType, WyPreviewOpenEventType };
@@ -1,7 +1,9 @@
1
1
  import { EventName, WebComponentProps } from '@lit/react';
2
2
  import { WY_COMMENTS_TAGNAME, WyComments as WyCommentsWC } from '@weavy/uikit-web';
3
- import { WyPreviewOpenEventType } from '@weavy/uikit-web/dist/types/types/events.types.js';
3
+ import { WyAppEventType } from '@weavy/uikit-web/dist/types/types/app.events.js';
4
+ import { WyPreviewOpenEventType } from '@weavy/uikit-web/dist/types/types/files.events.js';
4
5
  export declare const WyComments: import('@lit/react').ReactWebComponent<WyCommentsWC, {
6
+ onWyApp: EventName<WyAppEventType>;
5
7
  onWyPreviewOpen: EventName<WyPreviewOpenEventType>;
6
8
  }>;
7
9
  declare module "react" {
@@ -11,4 +13,4 @@ declare module "react" {
11
13
  }
12
14
  }
13
15
  }
14
- export type { WyPreviewOpenEventType };
16
+ export type { WyAppEventType, WyPreviewOpenEventType };
@@ -1,6 +1,9 @@
1
- import { WebComponentProps } from '@lit/react';
1
+ import { EventName, WebComponentProps } from '@lit/react';
2
2
  import { WY_COMPONENT_TAGNAME, WyComponent as WyComponentWC } from '@weavy/uikit-web';
3
- export declare const WyComponent: import('@lit/react').ReactWebComponent<WyComponentWC, {}>;
3
+ import { WyAppEventType } from '@weavy/uikit-web/dist/types/types/app.events.js';
4
+ export declare const WyComponent: import('@lit/react').ReactWebComponent<WyComponentWC, {
5
+ onWyApp: EventName<WyAppEventType>;
6
+ }>;
4
7
  declare module "react" {
5
8
  namespace JSX {
6
9
  interface IntrinsicElements {
@@ -8,3 +11,4 @@ declare module "react" {
8
11
  }
9
12
  }
10
13
  }
14
+ export type { WyAppEventType };
@@ -1,10 +1,12 @@
1
1
  import { EventName, WebComponentProps } from '@lit/react';
2
2
  import { WY_COPILOT_TAGNAME, WyCopilot as WyCopilotWC } from '@weavy/uikit-web';
3
- import { WyAppEventType, WyMessageEventType, WyPreviewOpenEventType } from '@weavy/uikit-web/dist/types/types/events.types.js';
3
+ import { WyAppEventType } from '@weavy/uikit-web/dist/types/types/app.events.js';
4
+ import { WyMessageEventType } from '@weavy/uikit-web/dist/types/types/messages.events.js';
5
+ import { WyPreviewOpenEventType } from '@weavy/uikit-web/dist/types/types/files.events.js';
4
6
  export declare const WyCopilot: import('@lit/react').ReactWebComponent<WyCopilotWC, {
5
- onWyPreviewOpen: EventName<WyPreviewOpenEventType>;
6
7
  onWyApp: EventName<WyAppEventType>;
7
8
  onWyMessage: EventName<WyMessageEventType>;
9
+ onWyPreviewOpen: EventName<WyPreviewOpenEventType>;
8
10
  }>;
9
11
  declare module "react" {
10
12
  namespace JSX {
@@ -13,4 +15,4 @@ declare module "react" {
13
15
  }
14
16
  }
15
17
  }
16
- export type { WyPreviewOpenEventType, WyAppEventType, WyMessageEventType, };
18
+ export type { WyPreviewOpenEventType, WyAppEventType, WyMessageEventType };
@@ -1,7 +1,9 @@
1
1
  import { EventName, WebComponentProps } from '@lit/react';
2
2
  import { WY_FILES_TAGNAME, WyFiles as WyFilesWC } from '@weavy/uikit-web';
3
- import { WyPreviewOpenEventType } from '@weavy/uikit-web/dist/types/types/events.types.js';
3
+ import { WyAppEventType } from '@weavy/uikit-web/dist/types/types/app.events.js';
4
+ import { WyPreviewOpenEventType } from '@weavy/uikit-web/dist/types/types/files.events.js';
4
5
  export declare const WyFiles: import('@lit/react').ReactWebComponent<WyFilesWC, {
6
+ onWyApp: EventName<WyAppEventType>;
5
7
  onWyPreviewOpen: EventName<WyPreviewOpenEventType>;
6
8
  }>;
7
9
  declare module "react" {
@@ -11,4 +13,4 @@ declare module "react" {
11
13
  }
12
14
  }
13
15
  }
14
- export type { WyPreviewOpenEventType };
16
+ export type { WyAppEventType, WyPreviewOpenEventType };
@@ -1,6 +1,6 @@
1
1
  import { EventName, WebComponentProps } from '@lit/react';
2
2
  import { WY_MESSENGER_TAGNAME, WyMessenger as WyMessengerWC } from '@weavy/uikit-web';
3
- import { WyPreviewOpenEventType } from '@weavy/uikit-web/dist/types/types/events.types.js';
3
+ import { WyPreviewOpenEventType } from '@weavy/uikit-web/dist/types/types/files.events.js';
4
4
  export declare const WyMessenger: import('@lit/react').ReactWebComponent<WyMessengerWC, {
5
5
  onWyPreviewOpen: EventName<WyPreviewOpenEventType>;
6
6
  }>;
@@ -1,7 +1,9 @@
1
1
  import { EventName, WebComponentProps } from '@lit/react';
2
2
  import { WY_NOTIFICATION_TOASTS_TAGNAME, WyNotificationToasts as WyNotificationToastsWC } from '@weavy/uikit-web';
3
- import { WyLinkEventType, WyNotificationEventType } from '@weavy/uikit-web/dist/types/types/notifications.types.d.ts';
3
+ import { WyLinkEventType, WyNotificationEventType } from '@weavy/uikit-web/dist/types/types/notifications.events.d.ts';
4
+ import { WyAppEventType } from '@weavy/uikit-web/dist/types/types/app.events.js';
4
5
  export declare const WyNotificationToasts: import('@lit/react').ReactWebComponent<WyNotificationToastsWC, {
6
+ onWyApp: EventName<WyAppEventType>;
5
7
  onWyLink: EventName<WyLinkEventType>;
6
8
  onWyNotification: EventName<WyNotificationEventType>;
7
9
  }>;
@@ -12,4 +14,4 @@ declare module "react" {
12
14
  }
13
15
  }
14
16
  }
15
- export type { WyLinkEventType };
17
+ export type { WyAppEventType, WyLinkEventType };
@@ -1,7 +1,9 @@
1
1
  import { EventName, WebComponentProps } from '@lit/react';
2
2
  import { WY_NOTIFICATIONS_TAGNAME, WyNotifications as WyNotificationsWC } from '@weavy/uikit-web';
3
- import { WyLinkEventType } from '@weavy/uikit-web/dist/types/types/notifications.types.d.ts';
3
+ import { WyLinkEventType } from '@weavy/uikit-web/dist/types/types/notifications.events.d.ts';
4
+ import { WyAppEventType } from '@weavy/uikit-web/dist/types/types/app.events.js';
4
5
  export declare const WyNotifications: import('@lit/react').ReactWebComponent<WyNotificationsWC, {
6
+ onWyApp: EventName<WyAppEventType>;
5
7
  onWyLink: EventName<WyLinkEventType>;
6
8
  }>;
7
9
  declare module "react" {
@@ -11,4 +13,4 @@ declare module "react" {
11
13
  }
12
14
  }
13
15
  }
14
- export type { WyLinkEventType };
16
+ export type { WyAppEventType, WyLinkEventType };
@@ -1,7 +1,9 @@
1
1
  import { EventName, WebComponentProps } from '@lit/react';
2
2
  import { WY_POSTS_TAGNAME, WyPosts as WyPostsWC } from '@weavy/uikit-web';
3
- import { WyPreviewOpenEventType } from '@weavy/uikit-web/dist/types/types/events.types.js';
3
+ import { WyPreviewOpenEventType } from '@weavy/uikit-web/dist/types/types/files.events.js';
4
+ import { WyAppEventType } from '@weavy/uikit-web/dist/types/types/app.events.js';
4
5
  export declare const WyPosts: import('@lit/react').ReactWebComponent<WyPostsWC, {
6
+ onWyApp: EventName<WyAppEventType>;
5
7
  onWyPreviewOpen: EventName<WyPreviewOpenEventType>;
6
8
  }>;
7
9
  declare module "react" {
@@ -11,4 +13,4 @@ declare module "react" {
11
13
  }
12
14
  }
13
15
  }
14
- export type { WyPreviewOpenEventType };
16
+ export type { WyAppEventType, WyPreviewOpenEventType };
@@ -1,6 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WeavyComponents } from '@weavy/uikit-web';
3
- import { FileOpenEventType } from '@weavy/uikit-web/dist/types/types/events.types.d.ts';
3
+ import { FileOpenEventType } from '@weavy/uikit-web/dist/types/types/files.events.d.ts';
4
4
  export declare const WyAttachment: import('@lit/react').ReactWebComponent<WeavyComponents.WyAttachment, {}>;
5
5
  export declare const WyAttachmentsList: import('@lit/react').ReactWebComponent<WeavyComponents.WyAttachmentsList, {
6
6
  onFileOpen: EventName<FileOpenEventType>;
@@ -1,6 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WeavyComponents } from '@weavy/uikit-web';
3
- import { FileOpenEventType } from '@weavy/uikit-web/dist/types/types/events.types.d.ts';
3
+ import { FileOpenEventType } from '@weavy/uikit-web/dist/types/types/files.events.d.ts';
4
4
  import { FileOrderType, FileType } from '@weavy/uikit-web/dist/types/types/files.types.d.ts';
5
5
  export declare const WyFilesList: import('@lit/react').ReactWebComponent<WeavyComponents.WyFilesList, {
6
6
  onFileOpen: EventName<FileOpenEventType>;
@@ -1,6 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WeavyComponents } from '@weavy/uikit-web';
3
- import { FileOpenEventType } from '@weavy/uikit-web/dist/types/types/events.types.d.ts';
3
+ import { FileOpenEventType } from '@weavy/uikit-web/dist/types/types/files.events.d.ts';
4
4
  export declare const WyImageGrid: import('@lit/react').ReactWebComponent<WeavyComponents.WyImageGrid, {
5
5
  onFileOpen: EventName<FileOpenEventType>;
6
6
  }>;
@@ -1,6 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { WeavyComponents } from '@weavy/uikit-web';
3
- import { WyPreviewCloseEventType, WyPreviewOpenEventType } from '@weavy/uikit-web/dist/types/types/events.types.js';
3
+ import { WyPreviewCloseEventType, WyPreviewOpenEventType } from '@weavy/uikit-web/dist/types/types/files.events.js';
4
4
  export declare const WyPreview: import('@lit/react').ReactWebComponent<WeavyComponents.WyPreview, {
5
5
  onReleaseFocus: EventName<CustomEvent>;
6
6
  onWyPreviewOpen: EventName<WyPreviewOpenEventType>;