From 8c68c5296aebf1552649c9bccd5fe8550fe952c4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 10 Jul 2024 21:14:41 +0000 Subject: [PATCH] ea91a11 --- changelog.md | 21 ++ dev/vite.config.legacy.ts | 2 +- lib/blocks/WyChat.tsx | 21 +- lib/blocks/WyComments.tsx | 12 + lib/blocks/WyFiles.tsx | 20 +- lib/blocks/WyMessenger.tsx | 26 +- lib/blocks/WyNotificationToasts.tsx | 18 ++ lib/blocks/WyNotifications.tsx | 18 ++ lib/blocks/WyPosts.tsx | 21 +- lib/blocks/index.ts | 3 + lib/components/WyAttachment.tsx | 8 +- lib/components/WyBlobUpload.tsx | 11 + lib/components/WyButton.tsx | 8 +- lib/components/WyComment.tsx | 8 +- lib/components/WyConversation.tsx | 20 ++ lib/components/WyFilesList.tsx | 7 +- lib/components/WyImageGrid.tsx | 8 +- lib/components/WyMessage.tsx | 9 +- lib/components/WyNotification.tsx | 33 +++ lib/components/WyOverlay.tsx | 2 +- lib/components/WyPortal.tsx | 10 - lib/components/WySheet.tsx | 2 +- lib/components/WyToast.tsx | 31 +++ lib/components/index.ts | 3 +- lib/hooks/useWeavy.ts | 3 + package-lock.json | 414 ++++++++++++---------------- package.json | 28 +- 27 files changed, 399 insertions(+), 368 deletions(-) create mode 100644 lib/blocks/WyComments.tsx create mode 100644 lib/blocks/WyNotificationToasts.tsx create mode 100644 lib/blocks/WyNotifications.tsx create mode 100644 lib/components/WyBlobUpload.tsx create mode 100644 lib/components/WyNotification.tsx delete mode 100644 lib/components/WyPortal.tsx create mode 100644 lib/components/WyToast.tsx diff --git a/changelog.md b/changelog.md index b7ba60c..6e76859 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,26 @@ # Changelog for Weavy +## v24.0.0 + + + +* Added `` component to view and manage notifications. +* Added `` component to show notification toasts and native browser notifications. +* Added `wy:notifications` event to listen to realtime notifications. Enable notification events by setting the `notificationEvents` property on the Weavy context. +* Added `wy:link` event to handle navigation when interacting with notifications. +* Added `name` property to all contextual blocks, which will set the display name for the app. The name is widely used in notification texts and falls back to the `uid` when not set. +* Added Google Meet integration. +* Added Microsoft Teams integration. +* Fixed an issue when removing attributes on wy-context. +* Fixed an issue with the user presence indicator not being updated. +* Fixed some issues with realtime subscribe/unsubscribe. +* Fixed some issues with exports and compatibility the uikit-react package. +* Changed modals to use the Popover API. This removes the need for the `submodals` property on blocks and the `modalParent` property on the Weavy context. + +###### Breaking Changes + +* Removed realtime events `wy:*` on all blocks in uikit-web. Use the `wy:notifications` event for realtime updates instead. + ## v23.4.0 diff --git a/dev/vite.config.legacy.ts b/dev/vite.config.legacy.ts index 086ec86..6129b96 100644 --- a/dev/vite.config.legacy.ts +++ b/dev/vite.config.legacy.ts @@ -52,7 +52,7 @@ export default defineConfig({ alias: [ { find: '@weavy/uikit-web', - replacement: '@weavy/uikit-web/dist/weavy.js', + replacement: '@weavy/uikit-web/dist/weavy.esm.bundle.js', }, ], }, diff --git a/lib/blocks/WyChat.tsx b/lib/blocks/WyChat.tsx index 3367723..c9c706f 100644 --- a/lib/blocks/WyChat.tsx +++ b/lib/blocks/WyChat.tsx @@ -1,31 +1,12 @@ 'use client'; import React from "react"; -import { EventName, createComponent } from "@lit/react"; +import { createComponent } from "@lit/react"; import { WyChat as WyChatWC } from "@weavy/uikit-web"; -import { - RealtimeAppEventType, - RealtimeMessageEventType, - RealtimeReactionEventType, -} from "@weavy/uikit-web/dist/types/types/realtime.types"; // Creates a React component from a Lit component export const WyChat = createComponent({ react: React, tagName: "wy-chat", elementClass: WyChatWC, - events: { - onWyMessageCreated: "wy:message_created" as EventName< - CustomEvent - >, - onWyReactionAdded: "wy:reaction_added" as EventName< - CustomEvent - >, - onWyReactionRemoved: "wy:reaction_removed" as EventName< - CustomEvent - >, - onWyAppUpdated: "wy:app_updated" as EventName< - CustomEvent - >, - }, }); diff --git a/lib/blocks/WyComments.tsx b/lib/blocks/WyComments.tsx new file mode 100644 index 0000000..8ec515a --- /dev/null +++ b/lib/blocks/WyComments.tsx @@ -0,0 +1,12 @@ +'use client'; + +import React from "react"; +import { createComponent } from "@lit/react"; +import { WyComments as WyCommentsWC } from "@weavy/uikit-web"; + +// Creates a React component from a Lit component +export const WyComments = createComponent({ + react: React, + tagName: "wy-comments", + elementClass: WyCommentsWC, +}); diff --git a/lib/blocks/WyFiles.tsx b/lib/blocks/WyFiles.tsx index c24bdc9..1622ec7 100644 --- a/lib/blocks/WyFiles.tsx +++ b/lib/blocks/WyFiles.tsx @@ -1,30 +1,12 @@ 'use client'; import React from "react"; -import { EventName, createComponent } from "@lit/react"; +import { createComponent } from "@lit/react"; import { WyFiles as WyFilesWC } from "@weavy/uikit-web"; -import { RealtimeFileEventType } from "@weavy/uikit-web/dist/types/types/realtime.types"; // Creates a React component from a Lit component export const WyFiles = createComponent({ react: React, tagName: "wy-files", elementClass: WyFilesWC, - events: { - onWyFileCreated: "wy:file_created" as EventName< - CustomEvent - >, - onWyFileUpdated: "wy:file_updated" as EventName< - CustomEvent - >, - onWyFileTrashed: "wy:file_trashed" as EventName< - CustomEvent - >, - onWyFileRestored: "wy:file_restored" as EventName< - CustomEvent - >, - onWyFileDeleted: "wy:file_deleted" as EventName< - CustomEvent - >, - }, }); diff --git a/lib/blocks/WyMessenger.tsx b/lib/blocks/WyMessenger.tsx index ca6af31..e1d1369 100644 --- a/lib/blocks/WyMessenger.tsx +++ b/lib/blocks/WyMessenger.tsx @@ -1,36 +1,12 @@ 'use client'; import React from "react"; -import { EventName, createComponent } from "@lit/react"; +import { createComponent } from "@lit/react"; import { WyMessenger as WyMessengerWC } from "@weavy/uikit-web"; -import { - RealtimeAppEventType, - RealtimeConversationDeliveredEventType, - RealtimeConversationMarkedEventType, - RealtimeMemberEventType, - RealtimeMessageEventType, -} from "@weavy/uikit-web/dist/types/types/realtime.types"; // Creates a React component from a Lit component export const WyMessenger = createComponent({ react: React, tagName: "wy-messenger", elementClass: WyMessengerWC, - events: { - onWyMessageCreated: "wy:message_created" as EventName< - CustomEvent - >, - onWyAppCreated: "wy:app_created" as EventName< - CustomEvent - >, - onWyConversationMarked: "wy:conversation_marked" as EventName< - CustomEvent - >, - onWyConversationDelivered: "wy:conversation_delivered" as EventName< - CustomEvent - >, - onWyMemberAdded: "wy:member_added" as EventName< - CustomEvent - >, - }, }); diff --git a/lib/blocks/WyNotificationToasts.tsx b/lib/blocks/WyNotificationToasts.tsx new file mode 100644 index 0000000..098821d --- /dev/null +++ b/lib/blocks/WyNotificationToasts.tsx @@ -0,0 +1,18 @@ +'use client'; + +import React from "react"; +import { EventName, createComponent } from "@lit/react"; +import { WyNotificationToasts as WyNotificationToastsWC } from "@weavy/uikit-web"; +import { WyLinkEventType } from "@weavy/uikit-web/dist/types/types/notifications.types"; + +// Creates a React component from a Lit component +export const WyNotificationToasts = createComponent({ + react: React, + tagName: "wy-notification-toasts", + elementClass: WyNotificationToastsWC, + events: { + onWyLink: "wy:link" as EventName< + WyLinkEventType + >, + }, +}); diff --git a/lib/blocks/WyNotifications.tsx b/lib/blocks/WyNotifications.tsx new file mode 100644 index 0000000..71e80b4 --- /dev/null +++ b/lib/blocks/WyNotifications.tsx @@ -0,0 +1,18 @@ +'use client'; + +import React from "react"; +import { EventName, createComponent } from "@lit/react"; +import { WyNotifications as WyNotificationsWC } from "@weavy/uikit-web"; +import { WyLinkEventType } from "@weavy/uikit-web/dist/types/types/notifications.types"; + +// Creates a React component from a Lit component +export const WyNotifications = createComponent({ + react: React, + tagName: "wy-notifications", + elementClass: WyNotificationsWC, + events: { + onWyLink: "wy:link" as EventName< + WyLinkEventType + >, + }, +}); diff --git a/lib/blocks/WyPosts.tsx b/lib/blocks/WyPosts.tsx index a678dde..1b5b90a 100644 --- a/lib/blocks/WyPosts.tsx +++ b/lib/blocks/WyPosts.tsx @@ -1,31 +1,12 @@ 'use client'; import React from "react"; -import { EventName, createComponent } from "@lit/react"; +import { createComponent } from "@lit/react"; import { WyPosts as WyPostsWC } from "@weavy/uikit-web"; -import { - RealtimeCommentEventType, - RealtimePostEventType, - RealtimeReactionEventType, -} from "@weavy/uikit-web/dist/types/types/realtime.types"; // Creates a React component from a Lit component export const WyPosts = createComponent({ react: React, tagName: "wy-posts", elementClass: WyPostsWC, - events: { - onWyPostCreated: "wy:post_created" as EventName< - CustomEvent - >, - onWyCommentCreated: "wy:comment_created" as EventName< - CustomEvent - >, - onWyReactionAdded: "wy:reaction_added" as EventName< - CustomEvent - >, - onWyReactionRemoved: "wy:reaction_removed" as EventName< - CustomEvent - >, - }, }); diff --git a/lib/blocks/index.ts b/lib/blocks/index.ts index 22cd484..ef765e8 100644 --- a/lib/blocks/index.ts +++ b/lib/blocks/index.ts @@ -1,5 +1,8 @@ export * from "./WyChat"; +export * from "./WyComments"; export * from "./WyContext"; export * from "./WyFiles"; export * from "./WyMessenger"; +export * from "./WyNotifications"; +export * from "./WyNotificationToasts"; export * from "./WyPosts"; \ No newline at end of file diff --git a/lib/components/WyAttachment.tsx b/lib/components/WyAttachment.tsx index f43cd1f..aad44f3 100644 --- a/lib/components/WyAttachment.tsx +++ b/lib/components/WyAttachment.tsx @@ -4,7 +4,7 @@ import { WyAttachment as WyAttachmentWC, WyAttachmentsList as WyAttachmentsListWC, } from "@weavy/uikit-web"; -import { FileType } from "@weavy/uikit-web/dist/types/types/files.types"; +import { FileOpenEventType } from "@weavy/uikit-web/dist/types/types/files.types"; // Creates a React component from a Lit component export const WyAttachment = createComponent({ @@ -18,10 +18,6 @@ export const WyAttachmentsList = createComponent({ tagName: "wy-attachments-list", elementClass: WyAttachmentsListWC, events: { - onFileOpen: "file-open" as EventName< - CustomEvent<{ - file: FileType; - }> - >, + onFileOpen: "file-open" as EventName, }, }); diff --git a/lib/components/WyBlobUpload.tsx b/lib/components/WyBlobUpload.tsx new file mode 100644 index 0000000..9c53fe0 --- /dev/null +++ b/lib/components/WyBlobUpload.tsx @@ -0,0 +1,11 @@ +import React from "react"; +import { createComponent } from "@lit/react"; +import { WyBlobUpload as WyBlobUploadWC } from "@weavy/uikit-web" + +// Creates a React component from a Lit component +export const WyBlobUpload = createComponent({ + react: React, + tagName: "wy-blob-upload", + elementClass: WyBlobUploadWC, +}); + diff --git a/lib/components/WyButton.tsx b/lib/components/WyButton.tsx index da0af17..3f412e3 100644 --- a/lib/components/WyButton.tsx +++ b/lib/components/WyButton.tsx @@ -1,6 +1,6 @@ import React from "react"; import { createComponent } from "@lit/react"; -import { WyButton as WyButtonWC } from "@weavy/uikit-web" +import { WyButton as WyButtonWC, WyButtons as WyButtonsWC } from "@weavy/uikit-web" // Creates a React component from a Lit component export const WyButton = createComponent({ @@ -9,3 +9,9 @@ export const WyButton = createComponent({ elementClass: WyButtonWC, }); +export const WyButtons = createComponent({ + react: React, + tagName: "wy-buttons", + elementClass: WyButtonsWC, +}); + diff --git a/lib/components/WyComment.tsx b/lib/components/WyComment.tsx index 44a2225..8326226 100644 --- a/lib/components/WyComment.tsx +++ b/lib/components/WyComment.tsx @@ -1,7 +1,7 @@ import React from "react"; import { EventName, createComponent } from "@lit/react"; import { - WyComments as WyCommentsWC, + WyCommentList as WyCommentListWC, WyComment as WyCommentWC, WyCommentView as WyCommentViewWC, WyCommentEdit as WyCommentEditWC, @@ -11,10 +11,10 @@ import { import { PollOptionType } from "@weavy/uikit-web/dist/types/types/polls.types"; // Creates a React component from a Lit component -export const WyComments = createComponent({ +export const WyCommentList = createComponent({ react: React, - tagName: "wy-comments", - elementClass: WyCommentsWC, + tagName: "wy-comment-list", + elementClass: WyCommentListWC, }); export const WyComment = createComponent({ diff --git a/lib/components/WyConversation.tsx b/lib/components/WyConversation.tsx index c0d7aa2..16295d0 100644 --- a/lib/components/WyConversation.tsx +++ b/lib/components/WyConversation.tsx @@ -2,6 +2,8 @@ import React from "react"; import { EventName, createComponent } from "@lit/react"; import { WyConversation as WyConversationWC, + WyConversationExtended as WyConversationExtendedWC, + WyConversationAppbar as WyConversationAppbarWC, WyConversationNew as WyConversationNewWC, } from "@weavy/uikit-web" @@ -15,6 +17,24 @@ export const WyConversation = createComponent({ } }); +export const WyConversationExtended = createComponent({ + react: React, + tagName: "wy-conversation-extended", + elementClass: WyConversationExtendedWC, + events: { + onReleaseFocus: "release-focus" as EventName + } +}); + +export const WyConversationAppbar = createComponent({ + react: React, + tagName: "wy-conversation-appbar", + elementClass: WyConversationAppbarWC, + events: { + onReleaseFocus: "release-focus" as EventName + } +}); + export const WyConversationNew = createComponent({ react: React, tagName: "wy-conversation-new", diff --git a/lib/components/WyFilesList.tsx b/lib/components/WyFilesList.tsx index e8465a9..beb2b5a 100644 --- a/lib/components/WyFilesList.tsx +++ b/lib/components/WyFilesList.tsx @@ -2,6 +2,7 @@ import React from "react"; import { EventName, createComponent } from "@lit/react"; import { WyFilesList as WyFilesListWC } from "@weavy/uikit-web"; import { + FileOpenEventType, FileOrderType, FileType, } from "@weavy/uikit-web/dist/types/types/files.types"; @@ -12,11 +13,7 @@ export const WyFilesList = createComponent({ tagName: "wy-files-list", elementClass: WyFilesListWC, events: { - onFileOpen: "file-open" as EventName< - CustomEvent<{ - file: FileType; - }> - >, + onFileOpen: "file-open" as EventName, onOrder: "order" as EventName< CustomEvent<{ order: FileOrderType; diff --git a/lib/components/WyImageGrid.tsx b/lib/components/WyImageGrid.tsx index 4956498..7aa66ee 100644 --- a/lib/components/WyImageGrid.tsx +++ b/lib/components/WyImageGrid.tsx @@ -1,7 +1,7 @@ import React from "react"; import { EventName, createComponent } from "@lit/react"; import { WyImageGrid as WyImageGridWC } from "@weavy/uikit-web"; -import { FileType } from "@weavy/uikit-web/dist/types/types/files.types"; +import { FileOpenEventType } from "@weavy/uikit-web/dist/types/types/files.types"; // Creates a React component from a Lit component export const WyImageGrid = createComponent({ @@ -9,10 +9,6 @@ export const WyImageGrid = createComponent({ tagName: "wy-image-grid", elementClass: WyImageGridWC, events: { - onFileOpen: "file-open" as EventName< - CustomEvent<{ - file: FileType; - }> - >, + onFileOpen: "file-open" as EventName, }, }); diff --git a/lib/components/WyMessage.tsx b/lib/components/WyMessage.tsx index e4b52d8..633891b 100644 --- a/lib/components/WyMessage.tsx +++ b/lib/components/WyMessage.tsx @@ -3,7 +3,8 @@ import { EventName, createComponent } from "@lit/react"; import { WyMessage as WyMessageWC, WyMessages as WyMessagesWC, - WyMessageEditor as WyMessageEditorWC + WyMessageEditor as WyMessageEditorWC, + WyMessageTyping as WyMessageTypingWC } from "@weavy/uikit-web"; import { PollOptionType } from "@weavy/uikit-web/dist/types/types/polls.types"; @@ -40,3 +41,9 @@ export const WyMessageEditor = createComponent({ >, }, }); + +export const WyMessageTyping = createComponent({ + react: React, + tagName: "wy-message-typing", + elementClass: WyMessageTypingWC, +}); diff --git a/lib/components/WyNotification.tsx b/lib/components/WyNotification.tsx new file mode 100644 index 0000000..7d3a276 --- /dev/null +++ b/lib/components/WyNotification.tsx @@ -0,0 +1,33 @@ +import React from "react"; +import { createComponent } from "@lit/react"; +import { + WyNotificationBadge as WyNotificationBadgeWC, + WyNotificationButtonList as WyNotificationButtonListWC, + WyNotificationList as WyNotificationListWC, + WyNotificationListItem as WyNotificationListItemWC, +} from "@weavy/uikit-web"; + +// Creates a React component from a Lit component +export const WyNotificationBadge = createComponent({ + react: React, + tagName: "wy-notification-badge", + elementClass: WyNotificationBadgeWC +}); + +export const WyNotificationButtonList = createComponent({ + react: React, + tagName: "wy-notification-button-list", + elementClass: WyNotificationButtonListWC +}); + +export const WyNotificationList = createComponent({ + react: React, + tagName: "wy-notification-list", + elementClass: WyNotificationListWC +}); + +export const WyNotificationListitem = createComponent({ + react: React, + tagName: "wy-notification-list-item", + elementClass: WyNotificationListItemWC +}); diff --git a/lib/components/WyOverlay.tsx b/lib/components/WyOverlay.tsx index 9181a3b..b1f26f1 100644 --- a/lib/components/WyOverlay.tsx +++ b/lib/components/WyOverlay.tsx @@ -9,6 +9,6 @@ export const WyOverlay = createComponent({ elementClass: WyOverlayWC, events: { onReleaseFocus: "release-focus" as EventName, - onRemoveModal: "removeModal" as EventName + onClose: "close" as EventName } }); diff --git a/lib/components/WyPortal.tsx b/lib/components/WyPortal.tsx deleted file mode 100644 index 678d4c0..0000000 --- a/lib/components/WyPortal.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import React from "react"; -import { createComponent } from "@lit/react"; -import { WyPortal as WyPortalWC } from "@weavy/uikit-web"; - -// Creates a React component from a Lit component -export const WyPortal = createComponent({ - react: React, - tagName: "wy-portal", - elementClass: WyPortalWC, -}); diff --git a/lib/components/WySheet.tsx b/lib/components/WySheet.tsx index a7b8c7b..7c03907 100644 --- a/lib/components/WySheet.tsx +++ b/lib/components/WySheet.tsx @@ -9,6 +9,6 @@ export const WySheet = createComponent({ elementClass: WySheetWC, events: { onReleaseFocus: "release-focus" as EventName, - onRemoveModal: "removeModal" as EventName, + onClose: "close" as EventName, } }); diff --git a/lib/components/WyToast.tsx b/lib/components/WyToast.tsx new file mode 100644 index 0000000..8f925ec --- /dev/null +++ b/lib/components/WyToast.tsx @@ -0,0 +1,31 @@ +import React from "react"; +import { createComponent, EventName } from "@lit/react"; +import { + WyToasts as WyToastsWC, + WyToast as WyToastWC, +} from "@weavy/uikit-web"; + +// Creates a React component from a Lit component +export const WyToasts = createComponent({ + react: React, + tagName: "wy-toasts", + elementClass: WyToastsWC, + events: { + onHide: "hide" as EventName, + onReleaseFocus: "release-focus" as EventName, + }, +}); + +export const WyToast = createComponent({ + react: React, + tagName: "wy-toast", + elementClass: WyToastWC, + events: { + onHide: "closed" as EventName< + CustomEvent<{ + silent: boolean; + }> + >, + onReleaseFocus: "release-focus" as EventName, + }, +}); diff --git a/lib/components/index.ts b/lib/components/index.ts index f33f3f0..3476d86 100644 --- a/lib/components/index.ts +++ b/lib/components/index.ts @@ -1,6 +1,7 @@ export * from "./WyAttachment"; export * from "./WyAvatar"; export * from "./WyBadge"; +export * from "./WyBlobUpload"; export * from "./WyButton"; export * from "./WyCloudFiles"; export * from "./WyComment"; @@ -19,10 +20,10 @@ export * from "./WyIcon"; export * from "./WyImageGrid"; export * from "./WyMeetingCard"; export * from "./WyMessage"; +export * from "./WyNotification"; export * from "./WyOverlay"; export * from "./WyPdfViewer"; export * from "./WyPoll"; -export * from "./WyPortal"; export * from "./WyPost"; export * from "./WyPresence"; export * from "./WyPreview"; diff --git a/lib/hooks/useWeavy.ts b/lib/hooks/useWeavy.ts index 99bec1e..0fedbfa 100644 --- a/lib/hooks/useWeavy.ts +++ b/lib/hooks/useWeavy.ts @@ -7,6 +7,9 @@ import { WeavyOptions } from "@weavy/uikit-web/dist/types/types/weavy.types"; export function useWeavy(options: WeavyOptions) { const [weavy, setWeavy] = useState(); + /** + * Any option that is an instance/object needs to be memoized or converted. + */ const cacheSafeOptions: WeavyOptions = { ...options, cloudFilePickerUrl: options.cloudFilePickerUrl?.toString(), diff --git a/package-lock.json b/package-lock.json index 341d927..93f45c3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,47 +1,43 @@ { "name": "@weavy/uikit-react", - "version": "23.4.0", + "version": "24.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@weavy/uikit-react", - "version": "23.4.0", + "version": "24.0.0", "license": "MIT", "dependencies": { "@lit/react": "^1.0.5", - "@weavy/uikit-web": "^23.4.0" + "@weavy/uikit-web": "^24.0.0" }, "devDependencies": { "@babel/preset-env": "^7.24.7", "@babel/preset-react": "^7.24.7", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-node-resolve": "^15.2.3", - "@types/node": "^20.14.9", + "@types/node": "^20.14.10", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "@typescript-eslint/eslint-plugin": "^7.14.1", - "@typescript-eslint/parser": "^7.14.1", + "@typescript-eslint/eslint-plugin": "^7.16.0", + "@typescript-eslint/parser": "^7.16.0", "@vitejs/plugin-react": "^4.3.1", "dotenv": "^16.3.2", "eslint": "^8.55.0", "eslint-plugin-react-hooks": "^4.6.2", - "eslint-plugin-react-refresh": "^0.4.7", + "eslint-plugin-react-refresh": "^0.4.8", "npm-run-all": "^4.1.5", - "rimraf": "^5.0.7", + "rimraf": "^6.0.0", "rollup-preserve-directives": "^1.1.1", - "sass": "^1.77.6", - "typescript": "^5.5.2", - "vite": "^5.3.1", + "sass": "^1.77.7", + "typescript": "^5.5.3", + "vite": "^5.3.3", "vite-plugin-dts": "^3.9.1" }, - "engines": { - "node": ">=20.10.0", - "npm": ">=10.2.3" - }, "peerDependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": ">=16", + "react-dom": ">=16" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -1757,9 +1753,9 @@ } }, "node_modules/@codemirror/autocomplete": { - "version": "6.16.3", - "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.16.3.tgz", - "integrity": "sha512-Vl/tIeRVVUCRDuOG48lttBasNQu8usGgXQawBXI7WJAiUDSFOfzflmEsZFZo48mAvAaa4FZ/4/yLLxFtdJaKYA==", + "version": "6.17.0", + "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.17.0.tgz", + "integrity": "sha512-fdfj6e6ZxZf8yrkMHUSJJir7OJkHkZKaOZGzLWIYp2PZ3jd+d+UjG8zVPqJF6d3bKxkhvXTPan/UZ1t7Bqm0gA==", "dependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", @@ -2093,9 +2089,9 @@ "integrity": "sha512-QkEyUiLhsJoZkbumGZlswmAhA7CBU02Wrz7zvH4SrcifbsqwlXShVXg65f3v/ts57W3dqyamEriMhij1Z3Zz4A==" }, "node_modules/@codemirror/view": { - "version": "6.28.2", - "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.28.2.tgz", - "integrity": "sha512-A3DmyVfjgPsGIjiJqM/zvODUAPQdQl3ci0ghehYNnbt5x+o76xq+dL5+mMBuysDXnI3kapgOkoeJ0sbtL/3qPw==", + "version": "6.28.4", + "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.28.4.tgz", + "integrity": "sha512-QScv95fiviSQ/CaVGflxAvvvDy/9wi0RFyDl4LkHHWiMr/UPebyuTspmYSeN5Nx6eujcPYwsQzA6ZIZucKZVHQ==", "dependencies": { "@codemirror/state": "^6.4.0", "style-mod": "^4.1.0", @@ -2204,26 +2200,26 @@ } }, "node_modules/@floating-ui/core": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.3.tgz", - "integrity": "sha512-1ZpCvYf788/ZXOhRQGFxnYQOVgeU+pi0i+d0Ow34La7qjIXETi6RNswGVKkA6KcDO8/+Ysu2E/CeUmmeEBDvTg==", + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.4.tgz", + "integrity": "sha512-a4IowK4QkXl4SCWTGUR0INAfEOX3wtsYw3rKK5InQEHMGObkR8Xk44qYQD9P4r6HHw0iIfK6GUKECmY8sTkqRA==", "dependencies": { - "@floating-ui/utils": "^0.2.3" + "@floating-ui/utils": "^0.2.4" } }, "node_modules/@floating-ui/dom": { - "version": "1.6.6", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.6.tgz", - "integrity": "sha512-qiTYajAnh3P+38kECeffMSQgbvXty2VB6rS+42iWR4FPIlZjLK84E9qtLnMTLIpPz2znD/TaFqaiavMUrS+Hcw==", + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.7.tgz", + "integrity": "sha512-wmVfPG5o2xnKDU4jx/m4w5qva9FWHcnZ8BvzEe90D/RpwsJaTAVYPEPdQ8sbr/N8zZTAHlZUTQdqg8ZUbzHmng==", "dependencies": { - "@floating-ui/core": "^1.0.0", - "@floating-ui/utils": "^0.2.3" + "@floating-ui/core": "^1.6.0", + "@floating-ui/utils": "^0.2.4" } }, "node_modules/@floating-ui/utils": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.3.tgz", - "integrity": "sha512-XGndio0l5/Gvd6CLIABvsav9HHezgDFFhDfHk1bvLfr9ni8dojqLSvBbotJEjmIwNHL7vK4QzBJTdBRoB+c1ww==" + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.4.tgz", + "integrity": "sha512-dWO2pw8hhi+WrXq1YJy2yCuWoL20PddgGaqTgVe4cOS9Q6qklXCiA1tJEqX6BEwRNSCP84/afac9hd4MS+zEUA==" }, "node_modules/@formatjs/ecma402-abstract": { "version": "1.11.4", @@ -2813,9 +2809,9 @@ "license": "ISC" }, "node_modules/@microsoft/signalr": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@microsoft/signalr/-/signalr-8.0.0.tgz", - "integrity": "sha512-K/wS/VmzRWePCGqGh8MU8OWbS1Zvu7DG7LSJS62fBB8rJUXwwj4axQtqrAAwKGUZHQF6CuteuQR9xMsVpM2JNA==", + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@microsoft/signalr/-/signalr-8.0.7.tgz", + "integrity": "sha512-PHcdMv8v5hJlBkRHAuKG5trGViQEkPYee36LnJQx4xHOQ5LL4X0nEWIxOp5cCtZ7tu+30quz5V3k0b1YNuc6lw==", "dependencies": { "abort-controller": "^3.0.0", "eventsource": "^2.0.2", @@ -3105,20 +3101,20 @@ } }, "node_modules/@tanstack/query-core": { - "version": "5.48.0", - "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.48.0.tgz", - "integrity": "sha512-lZAfPPeVIqXCswE9SSbG33B6/91XOWt/Iq41bFeWb/mnHwQSIfFRbkS4bfs+WhIk9abRArF9Id2fp0Mgo+hq6Q==", + "version": "5.50.1", + "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.50.1.tgz", + "integrity": "sha512-lpfhKPrJlyV2DSVcQb/HuozH3Av3kws4ge22agx+lNGpFkS4vLZ7St0l3GLwlAD+bqB+qXGex3JdRKUNtMviEQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" } }, "node_modules/@tanstack/query-persist-client-core": { - "version": "5.48.0", - "resolved": "https://registry.npmjs.org/@tanstack/query-persist-client-core/-/query-persist-client-core-5.48.0.tgz", - "integrity": "sha512-AnrDIaPsSUqYG79OnMqZpyfNO0rpiw+3afvT5SXFPC4cyqlA6H/TES0XJ/cchSgpcr8wdrjFRWc04fRu4VaBag==", + "version": "5.50.1", + "resolved": "https://registry.npmjs.org/@tanstack/query-persist-client-core/-/query-persist-client-core-5.50.1.tgz", + "integrity": "sha512-nSiEjTJtvcOlHN/GuAI0ph7ZqpGlSNjnOhv0SPl3Liuhw7sjk0VnBqWZMEM5p+Vmbtn1qi7Wbdr8Fgk7qjmaUA==", "dependencies": { - "@tanstack/query-core": "5.48.0" + "@tanstack/query-core": "5.50.1" }, "funding": { "type": "github", @@ -3126,12 +3122,12 @@ } }, "node_modules/@tanstack/query-sync-storage-persister": { - "version": "5.48.0", - "resolved": "https://registry.npmjs.org/@tanstack/query-sync-storage-persister/-/query-sync-storage-persister-5.48.0.tgz", - "integrity": "sha512-p+PrYW+9QzqTTFdp6uSzq15m7nz3aFsdHhWTJJScaMiEfaVaeOmS1b28Cu5hea92s4xZXoDQUgGM9SRmCt/Aug==", + "version": "5.50.1", + "resolved": "https://registry.npmjs.org/@tanstack/query-sync-storage-persister/-/query-sync-storage-persister-5.50.1.tgz", + "integrity": "sha512-BWsdVzMM6+o1dzzxHlJ8jnZHc+Ksrzk/qme7N6iQra77TRhvT9TPWjWPzVmPxzjQEKGPW61ITT8SwIXBmG1pVQ==", "dependencies": { - "@tanstack/query-core": "5.48.0", - "@tanstack/query-persist-client-core": "5.48.0" + "@tanstack/query-core": "5.50.1", + "@tanstack/query-persist-client-core": "5.50.1" }, "funding": { "type": "github", @@ -3195,7 +3191,7 @@ } }, "node_modules/@types/node": { - "version": "20.14.9", + "version": "20.14.10", "dev": true, "license": "MIT", "dependencies": { @@ -3233,15 +3229,15 @@ "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "7.14.1", + "version": "7.16.0", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "7.14.1", - "@typescript-eslint/type-utils": "7.14.1", - "@typescript-eslint/utils": "7.14.1", - "@typescript-eslint/visitor-keys": "7.14.1", + "@typescript-eslint/scope-manager": "7.16.0", + "@typescript-eslint/type-utils": "7.16.0", + "@typescript-eslint/utils": "7.16.0", + "@typescript-eslint/visitor-keys": "7.16.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -3265,14 +3261,14 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "7.14.1", + "version": "7.16.0", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "7.14.1", - "@typescript-eslint/types": "7.14.1", - "@typescript-eslint/typescript-estree": "7.14.1", - "@typescript-eslint/visitor-keys": "7.14.1", + "@typescript-eslint/scope-manager": "7.16.0", + "@typescript-eslint/types": "7.16.0", + "@typescript-eslint/typescript-estree": "7.16.0", + "@typescript-eslint/visitor-keys": "7.16.0", "debug": "^4.3.4" }, "engines": { @@ -3292,12 +3288,12 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "7.14.1", + "version": "7.16.0", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "7.14.1", - "@typescript-eslint/visitor-keys": "7.14.1" + "@typescript-eslint/types": "7.16.0", + "@typescript-eslint/visitor-keys": "7.16.0" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -3308,12 +3304,12 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "7.14.1", + "version": "7.16.0", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "7.14.1", - "@typescript-eslint/utils": "7.14.1", + "@typescript-eslint/typescript-estree": "7.16.0", + "@typescript-eslint/utils": "7.16.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -3334,7 +3330,7 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "7.14.1", + "version": "7.16.0", "dev": true, "license": "MIT", "engines": { @@ -3346,12 +3342,12 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "7.14.1", + "version": "7.16.0", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "7.14.1", - "@typescript-eslint/visitor-keys": "7.14.1", + "@typescript-eslint/types": "7.16.0", + "@typescript-eslint/visitor-keys": "7.16.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -3384,14 +3380,14 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "7.14.1", + "version": "7.16.0", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "7.14.1", - "@typescript-eslint/types": "7.14.1", - "@typescript-eslint/typescript-estree": "7.14.1" + "@typescript-eslint/scope-manager": "7.16.0", + "@typescript-eslint/types": "7.16.0", + "@typescript-eslint/typescript-estree": "7.16.0" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -3405,11 +3401,11 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "7.14.1", + "version": "7.16.0", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/types": "7.16.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -3519,37 +3515,35 @@ "license": "MIT" }, "node_modules/@weavy/uikit-web": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/@weavy/uikit-web/-/uikit-web-23.4.0.tgz", - "integrity": "sha512-rOdSgsN+0ybqvFC0+FEMZ9BsKC7QrUAQJtIfFVSl+jrNGB9k+V23WSHU5yZd61lNEc+76Aca4Jj2phhBXocY8Q==", + "version": "24.0.0", + "resolved": "https://registry.npmjs.org/@weavy/uikit-web/-/uikit-web-24.0.0.tgz", + "integrity": "sha512-EyC9yNQUnGL8YdzTdeDjZrdqir9IoGCpucyKabNiEEQqy8yX18LcExuSV4X3DDnrzJ0lr5HIqXXLpqrj1M/x5g==", "dependencies": { "@atlaskit/embedded-confluence": "2.15.2", - "@codemirror/autocomplete": "^6.16.3", + "@codemirror/autocomplete": "^6.17.0", "@codemirror/commands": "^6.6.0", "@codemirror/lang-markdown": "^6.2.5", "@codemirror/language": "^6.10.2", "@codemirror/language-data": "^6.5.1", "@codemirror/state": "^6.4.0", - "@codemirror/view": "^6.28.2", - "@floating-ui/dom": "^1.6.6", + "@codemirror/view": "^6.28.4", + "@floating-ui/dom": "^1.6.7", "@lit/context": "^1.1.2", "@lit/localize": "^0.12.1", "@material/material-color-utilities": "^0.2.7", "@mdi/js": "^7.4.47", "@microsoft/signalr": "^8.0.0", - "@tanstack/query-core": "^5.48.0", - "@tanstack/query-persist-client-core": "^5.48.0", - "@tanstack/query-sync-storage-persister": "^5.48.0", + "@tanstack/query-core": "^5.50.1", + "@tanstack/query-persist-client-core": "^5.50.1", + "@tanstack/query-sync-storage-persister": "^5.50.1", "cors": "^2.8.5", "dotenv": "^16.4.2", "express": "^4.18.2", "express-session": "^1.18.0", - "i": "^0.3.7", "lit": "^3.1.4", - "lit-modal-portal": "^0.7.0", "lodash.throttle": "^4.1.1", "npm": "^10.8.1", - "pdfjs-dist": "^4.3.136", + "pdfjs-dist": "^4.4.168", "react": "^16.14.0", "react-dom": "^16.14.0" }, @@ -4668,7 +4662,7 @@ } }, "node_modules/eslint-plugin-react-refresh": { - "version": "0.4.7", + "version": "0.4.8", "dev": true, "license": "MIT", "peerDependencies": { @@ -5188,7 +5182,7 @@ } }, "node_modules/foreground-child": { - "version": "3.1.1", + "version": "3.2.1", "license": "ISC", "dependencies": { "cross-spawn": "^7.0.0", @@ -5383,20 +5377,21 @@ } }, "node_modules/glob": { - "version": "10.3.12", + "version": "11.0.0", "license": "ISC", "dependencies": { "foreground-child": "^3.1.0", - "jackspeak": "^2.3.6", - "minimatch": "^9.0.1", - "minipass": "^7.0.4", - "path-scurry": "^1.10.2" + "jackspeak": "^4.0.1", + "minimatch": "^10.0.0", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^2.0.0" }, "bin": { "glob": "dist/esm/bin.mjs" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -5413,6 +5408,19 @@ "node": ">=10.13.0" } }, + "node_modules/glob/node_modules/minimatch": { + "version": "10.0.1", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/globals": { "version": "11.12.0", "dev": true, @@ -5596,14 +5604,6 @@ "node": ">= 6" } }, - "node_modules/i": { - "version": "0.3.7", - "resolved": "https://registry.npmjs.org/i/-/i-0.3.7.tgz", - "integrity": "sha512-FYz4wlXgkQwIPqhzC5TdNMLSE5+GS1IIDJZY/1ZiEPCT2S3COUVZeT5OW4BmW4r5LHLQuOosSwsvnroG9GR59Q==", - "engines": { - "node": ">=0.4" - } - }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -5974,13 +5974,13 @@ "license": "ISC" }, "node_modules/jackspeak": { - "version": "2.3.6", + "version": "4.0.1", "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/cliui": "^8.0.2" }, "engines": { - "node": ">=14" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -6112,14 +6112,6 @@ "@types/trusted-types": "^2.0.2" } }, - "node_modules/lit-modal-portal": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/lit-modal-portal/-/lit-modal-portal-0.7.0.tgz", - "integrity": "sha512-6o9nSpT+TigCRT1Snfk50PCaZk4D79YopxhrBlUN49K9n2v7VMXMefaGCIMKX4mbleO84PsIhVZ8sU95Y/JLTQ==", - "peerDependencies": { - "lit": ">=2" - } - }, "node_modules/load-json-file": { "version": "4.0.0", "dev": true, @@ -6326,7 +6318,7 @@ } }, "node_modules/minipass": { - "version": "7.0.4", + "version": "7.1.2", "license": "ISC", "engines": { "node": ">=16 || 14 >=14.17" @@ -6485,9 +6477,9 @@ } }, "node_modules/npm": { - "version": "10.8.1", - "resolved": "https://registry.npmjs.org/npm/-/npm-10.8.1.tgz", - "integrity": "sha512-Dp1C6SvSMYQI7YHq/y2l94uvI+59Eqbu1EpuKQHQ8p16txXRuRit5gH3Lnaagk2aXDIjg/Iru9pd05bnneKgdw==", + "version": "10.8.2", + "resolved": "https://registry.npmjs.org/npm/-/npm-10.8.2.tgz", + "integrity": "sha512-x/AIjFIKRllrhcb48dqUNAAZl0ig9+qMuN91RpZo3Cb2+zuibfh+KISl6+kVVyktDz230JKc208UkQwwMqyB+w==", "bundleDependencies": [ "@isaacs/string-locale-compare", "@npmcli/arborist", @@ -6567,13 +6559,13 @@ ], "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/arborist": "^7.5.3", - "@npmcli/config": "^8.3.3", + "@npmcli/arborist": "^7.5.4", + "@npmcli/config": "^8.3.4", "@npmcli/fs": "^3.1.1", "@npmcli/map-workspaces": "^3.0.6", - "@npmcli/package-json": "^5.1.1", + "@npmcli/package-json": "^5.2.0", "@npmcli/promise-spawn": "^7.0.2", - "@npmcli/redact": "^2.0.0", + "@npmcli/redact": "^2.0.1", "@npmcli/run-script": "^8.1.0", "@sigstore/tuf": "^2.3.4", "abbrev": "^2.0.0", @@ -6584,7 +6576,7 @@ "cli-columns": "^4.0.0", "fastest-levenshtein": "^1.0.16", "fs-minipass": "^3.0.3", - "glob": "^10.4.1", + "glob": "^10.4.2", "graceful-fs": "^4.2.11", "hosted-git-info": "^7.0.2", "ini": "^4.1.3", @@ -6592,30 +6584,30 @@ "is-cidr": "^5.1.0", "json-parse-even-better-errors": "^3.0.2", "libnpmaccess": "^8.0.6", - "libnpmdiff": "^6.1.3", - "libnpmexec": "^8.1.2", - "libnpmfund": "^5.0.11", + "libnpmdiff": "^6.1.4", + "libnpmexec": "^8.1.3", + "libnpmfund": "^5.0.12", "libnpmhook": "^10.0.5", "libnpmorg": "^6.0.6", - "libnpmpack": "^7.0.3", + "libnpmpack": "^7.0.4", "libnpmpublish": "^9.0.9", "libnpmsearch": "^7.0.6", "libnpmteam": "^6.0.5", "libnpmversion": "^6.0.3", "make-fetch-happen": "^13.0.1", - "minimatch": "^9.0.4", + "minimatch": "^9.0.5", "minipass": "^7.1.1", "minipass-pipeline": "^1.2.4", "ms": "^2.1.2", "node-gyp": "^10.1.0", "nopt": "^7.2.1", - "normalize-package-data": "^6.0.1", + "normalize-package-data": "^6.0.2", "npm-audit-report": "^5.0.0", "npm-install-checks": "^6.3.0", "npm-package-arg": "^11.0.2", - "npm-pick-manifest": "^9.0.1", + "npm-pick-manifest": "^9.1.0", "npm-profile": "^10.0.0", - "npm-registry-fetch": "^17.0.1", + "npm-registry-fetch": "^17.1.0", "npm-user-validate": "^2.0.1", "p-map": "^4.0.0", "pacote": "^18.0.6", @@ -6831,7 +6823,7 @@ } }, "node_modules/npm/node_modules/@npmcli/arborist": { - "version": "7.5.3", + "version": "7.5.4", "inBundle": true, "license": "ISC", "dependencies": { @@ -6879,16 +6871,16 @@ } }, "node_modules/npm/node_modules/@npmcli/config": { - "version": "8.3.3", + "version": "8.3.4", "inBundle": true, "license": "ISC", "dependencies": { "@npmcli/map-workspaces": "^3.0.2", + "@npmcli/package-json": "^5.1.1", "ci-info": "^4.0.0", "ini": "^4.1.2", "nopt": "^7.2.1", "proc-log": "^4.2.0", - "read-package-json-fast": "^3.0.2", "semver": "^7.3.5", "walk-up-path": "^3.0.1" }, @@ -6908,11 +6900,12 @@ } }, "node_modules/npm/node_modules/@npmcli/git": { - "version": "5.0.7", + "version": "5.0.8", "inBundle": true, "license": "ISC", "dependencies": { "@npmcli/promise-spawn": "^7.0.0", + "ini": "^4.1.3", "lru-cache": "^10.0.1", "npm-pick-manifest": "^9.0.0", "proc-log": "^4.0.0", @@ -6986,7 +6979,7 @@ } }, "node_modules/npm/node_modules/@npmcli/package-json": { - "version": "5.1.1", + "version": "5.2.0", "inBundle": true, "license": "ISC", "dependencies": { @@ -7025,7 +7018,7 @@ } }, "node_modules/npm/node_modules/@npmcli/redact": { - "version": "2.0.0", + "version": "2.0.1", "inBundle": true, "license": "ISC", "engines": { @@ -7397,7 +7390,7 @@ } }, "node_modules/npm/node_modules/debug": { - "version": "4.3.4", + "version": "4.3.5", "inBundle": true, "license": "MIT", "dependencies": { @@ -7471,7 +7464,7 @@ } }, "node_modules/npm/node_modules/foreground-child": { - "version": "3.1.1", + "version": "3.2.1", "inBundle": true, "license": "ISC", "dependencies": { @@ -7496,16 +7489,8 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/npm/node_modules/function-bind": { - "version": "1.1.2", - "inBundle": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/npm/node_modules/glob": { - "version": "10.4.1", + "version": "10.4.2", "inBundle": true, "license": "ISC", "dependencies": { @@ -7513,6 +7498,7 @@ "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { @@ -7530,17 +7516,6 @@ "inBundle": true, "license": "ISC" }, - "node_modules/npm/node_modules/hasown": { - "version": "2.0.2", - "inBundle": true, - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/npm/node_modules/hosted-git-info": { "version": "7.0.2", "inBundle": true, @@ -7570,7 +7545,7 @@ } }, "node_modules/npm/node_modules/https-proxy-agent": { - "version": "7.0.4", + "version": "7.0.5", "inBundle": true, "license": "MIT", "dependencies": { @@ -7679,17 +7654,6 @@ "node": ">=14" } }, - "node_modules/npm/node_modules/is-core-module": { - "version": "2.13.1", - "inBundle": true, - "license": "MIT", - "dependencies": { - "hasown": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/npm/node_modules/is-fullwidth-code-point": { "version": "3.0.0", "inBundle": true, @@ -7709,7 +7673,7 @@ "license": "ISC" }, "node_modules/npm/node_modules/jackspeak": { - "version": "3.1.2", + "version": "3.4.0", "inBundle": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -7777,11 +7741,11 @@ } }, "node_modules/npm/node_modules/libnpmdiff": { - "version": "6.1.3", + "version": "6.1.4", "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^7.5.3", + "@npmcli/arborist": "^7.5.4", "@npmcli/installed-package-contents": "^2.1.0", "binary-extensions": "^2.3.0", "diff": "^5.1.0", @@ -7795,11 +7759,11 @@ } }, "node_modules/npm/node_modules/libnpmexec": { - "version": "8.1.2", + "version": "8.1.3", "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^7.5.3", + "@npmcli/arborist": "^7.5.4", "@npmcli/run-script": "^8.1.0", "ci-info": "^4.0.0", "npm-package-arg": "^11.0.2", @@ -7815,11 +7779,11 @@ } }, "node_modules/npm/node_modules/libnpmfund": { - "version": "5.0.11", + "version": "5.0.12", "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^7.5.3" + "@npmcli/arborist": "^7.5.4" }, "engines": { "node": "^16.14.0 || >=18.0.0" @@ -7850,11 +7814,11 @@ } }, "node_modules/npm/node_modules/libnpmpack": { - "version": "7.0.3", + "version": "7.0.4", "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^7.5.3", + "@npmcli/arborist": "^7.5.4", "@npmcli/run-script": "^8.1.0", "npm-package-arg": "^11.0.2", "pacote": "^18.0.6" @@ -7950,7 +7914,7 @@ } }, "node_modules/npm/node_modules/minimatch": { - "version": "9.0.4", + "version": "9.0.5", "inBundle": true, "license": "ISC", "dependencies": { @@ -8020,26 +7984,6 @@ "node": ">=8" } }, - "node_modules/npm/node_modules/minipass-json-stream": { - "version": "1.0.1", - "inBundle": true, - "license": "MIT", - "dependencies": { - "jsonparse": "^1.3.1", - "minipass": "^3.0.0" - } - }, - "node_modules/npm/node_modules/minipass-json-stream/node_modules/minipass": { - "version": "3.3.6", - "inBundle": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/npm/node_modules/minipass-pipeline": { "version": "1.2.4", "inBundle": true, @@ -8185,12 +8129,11 @@ } }, "node_modules/npm/node_modules/normalize-package-data": { - "version": "6.0.1", + "version": "6.0.2", "inBundle": true, "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^7.0.0", - "is-core-module": "^2.8.1", "semver": "^7.3.5", "validate-npm-package-license": "^3.0.4" }, @@ -8262,7 +8205,7 @@ } }, "node_modules/npm/node_modules/npm-pick-manifest": { - "version": "9.0.1", + "version": "9.1.0", "inBundle": true, "license": "ISC", "dependencies": { @@ -8288,15 +8231,15 @@ } }, "node_modules/npm/node_modules/npm-registry-fetch": { - "version": "17.0.1", + "version": "17.1.0", "inBundle": true, "license": "ISC", "dependencies": { "@npmcli/redact": "^2.0.0", + "jsonparse": "^1.3.1", "make-fetch-happen": "^13.0.0", "minipass": "^7.0.2", "minipass-fetch": "^3.0.0", - "minipass-json-stream": "^1.0.1", "minizlib": "^2.1.2", "npm-package-arg": "^11.0.0", "proc-log": "^4.0.0" @@ -8327,6 +8270,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/npm/node_modules/package-json-from-dist": { + "version": "1.0.0", + "inBundle": true, + "license": "BlueOak-1.0.0" + }, "node_modules/npm/node_modules/pacote": { "version": "18.0.6", "inBundle": true, @@ -8597,13 +8545,13 @@ } }, "node_modules/npm/node_modules/socks-proxy-agent": { - "version": "8.0.3", + "version": "8.0.4", "inBundle": true, "license": "MIT", "dependencies": { "agent-base": "^7.1.1", "debug": "^4.3.4", - "socks": "^2.7.1" + "socks": "^2.8.3" }, "engines": { "node": ">= 14" @@ -9114,6 +9062,10 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/package-json-from-dist": { + "version": "1.0.0", + "license": "BlueOak-1.0.0" + }, "node_modules/parent-module": { "version": "1.0.1", "dev": true, @@ -9178,24 +9130,24 @@ "license": "MIT" }, "node_modules/path-scurry": { - "version": "1.10.2", + "version": "2.0.0", "license": "BlueOak-1.0.0", "dependencies": { - "lru-cache": "^10.2.0", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.2.0", + "version": "11.0.0", "license": "ISC", "engines": { - "node": "14 || >=16.14" + "node": "20 || >=22" } }, "node_modules/path-to-regexp": { @@ -9212,18 +9164,18 @@ } }, "node_modules/path2d": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/path2d/-/path2d-0.2.0.tgz", - "integrity": "sha512-KdPAykQX6kmLSOO6Jpu2KNcCED7CKjmaBNGGNuctOsG0hgYO1OdYQaan6cYXJiG0WmXOwZZPILPBimu5QAIw3A==", + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/path2d/-/path2d-0.2.1.tgz", + "integrity": "sha512-Fl2z/BHvkTNvkuBzYTpTuirHZg6wW9z8+4SND/3mDTEcYbbNKWAy21dz9D3ePNNwrrK8pqZO5vLPZ1hLF6T7XA==", "optional": true, "engines": { "node": ">=6" } }, "node_modules/pdfjs-dist": { - "version": "4.3.136", - "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-4.3.136.tgz", - "integrity": "sha512-gzfnt1qc4yA+U46golPGYtU4WM2ssqP2MvFjKga8GEKOrEnzRPrA/9jogLLPYHiA3sGBPJ+p7BdAq+ytmw3jEg==", + "version": "4.4.168", + "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-4.4.168.tgz", + "integrity": "sha512-MbkAjpwka/dMHaCfQ75RY1FXX3IewBVu6NGZOcxerRFlaBiIkZmUoR0jotX5VUzYZEXAGzSFtknWs5xRKliXPA==", "engines": { "node": ">=18" }, @@ -9233,7 +9185,7 @@ } }, "node_modules/picocolors": { - "version": "1.0.0", + "version": "1.0.1", "dev": true, "license": "ISC" }, @@ -9276,7 +9228,7 @@ } }, "node_modules/postcss": { - "version": "8.4.38", + "version": "8.4.39", "dev": true, "funding": [ { @@ -9295,7 +9247,7 @@ "license": "MIT", "dependencies": { "nanoid": "^3.3.7", - "picocolors": "^1.0.0", + "picocolors": "^1.0.1", "source-map-js": "^1.2.0" }, "engines": { @@ -9614,17 +9566,17 @@ } }, "node_modules/rimraf": { - "version": "5.0.7", + "version": "6.0.0", "dev": true, "license": "ISC", "dependencies": { - "glob": "^10.3.7" + "glob": "^11.0.0" }, "bin": { "rimraf": "dist/esm/bin.mjs" }, "engines": { - "node": ">=14.18" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -9752,7 +9704,7 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "node_modules/sass": { - "version": "1.77.6", + "version": "1.77.7", "dev": true, "license": "MIT", "dependencies": { @@ -10427,7 +10379,7 @@ } }, "node_modules/typescript": { - "version": "5.5.2", + "version": "5.5.3", "dev": true, "license": "Apache-2.0", "bin": { @@ -10605,12 +10557,12 @@ } }, "node_modules/vite": { - "version": "5.3.1", + "version": "5.3.3", "dev": true, "license": "MIT", "dependencies": { "esbuild": "^0.21.3", - "postcss": "^8.4.38", + "postcss": "^8.4.39", "rollup": "^4.13.0" }, "bin": { diff --git a/package.json b/package.json index 5e274c1..fae567e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@weavy/uikit-react", - "version": "23.4.0", + "version": "24.0.0", "author": "Weavy", "description": "React components UI-kit for Weavy", "homepage": "https://github.com/weavy/weavy-uikit-react", @@ -36,37 +36,33 @@ }, "dependencies": { "@lit/react": "^1.0.5", - "@weavy/uikit-web": "^23.4.0" + "@weavy/uikit-web": "^24.0.0" }, "peerDependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": ">=16", + "react-dom": ">=16" }, "devDependencies": { "@babel/preset-env": "^7.24.7", "@babel/preset-react": "^7.24.7", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-node-resolve": "^15.2.3", - "@types/node": "^20.14.9", + "@types/node": "^20.14.10", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "@typescript-eslint/eslint-plugin": "^7.14.1", - "@typescript-eslint/parser": "^7.14.1", + "@typescript-eslint/eslint-plugin": "^7.16.0", + "@typescript-eslint/parser": "^7.16.0", "@vitejs/plugin-react": "^4.3.1", "dotenv": "^16.3.2", "eslint": "^8.55.0", "eslint-plugin-react-hooks": "^4.6.2", - "eslint-plugin-react-refresh": "^0.4.7", + "eslint-plugin-react-refresh": "^0.4.8", "npm-run-all": "^4.1.5", - "rimraf": "^5.0.7", + "rimraf": "^6.0.0", "rollup-preserve-directives": "^1.1.1", - "sass": "^1.77.6", - "typescript": "^5.5.2", - "vite": "^5.3.1", + "sass": "^1.77.7", + "typescript": "^5.5.3", + "vite": "^5.3.3", "vite-plugin-dts": "^3.9.1" - }, - "engines": { - "node": ">=20.10.0", - "npm": ">=10.2.3" } }