@liveblocks/react-ui 2.18.3 → 2.18.4-uns1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_private/index.cjs +118 -0
- package/dist/_private/index.cjs.map +1 -0
- package/dist/_private/index.js +54 -117
- package/dist/_private/index.js.map +1 -1
- package/dist/components/{Comment.mjs → Comment.cjs} +196 -169
- package/dist/components/{Comment.mjs.map → Comment.cjs.map} +1 -1
- package/dist/components/Comment.js +168 -195
- package/dist/components/Comment.js.map +1 -1
- package/dist/components/{Composer.mjs → Composer.cjs} +151 -148
- package/dist/components/{Composer.mjs.map → Composer.cjs.map} +1 -1
- package/dist/components/Composer.js +147 -150
- package/dist/components/Composer.js.map +1 -1
- package/dist/components/HistoryVersionSummary.cjs +45 -0
- package/dist/components/{HistoryVersionSummary.mjs.map → HistoryVersionSummary.cjs.map} +1 -1
- package/dist/components/HistoryVersionSummary.js +17 -19
- package/dist/components/HistoryVersionSummary.js.map +1 -1
- package/dist/components/HistoryVersionSummaryList.cjs +25 -0
- package/dist/components/{HistoryVersionSummaryList.mjs.map → HistoryVersionSummaryList.cjs.map} +1 -1
- package/dist/components/HistoryVersionSummaryList.js +8 -10
- package/dist/components/HistoryVersionSummaryList.js.map +1 -1
- package/dist/components/{InboxNotification.mjs → InboxNotification.cjs} +124 -122
- package/dist/components/{InboxNotification.mjs.map → InboxNotification.cjs.map} +1 -1
- package/dist/components/InboxNotification.js +121 -123
- package/dist/components/InboxNotification.js.map +1 -1
- package/dist/components/InboxNotificationList.cjs +42 -0
- package/dist/components/{InboxNotificationList.mjs.map → InboxNotificationList.cjs.map} +1 -1
- package/dist/components/InboxNotificationList.js +14 -16
- package/dist/components/InboxNotificationList.js.map +1 -1
- package/dist/components/{Thread.mjs → Thread.cjs} +70 -49
- package/dist/components/{Thread.mjs.map → Thread.cjs.map} +1 -1
- package/dist/components/Thread.js +48 -69
- package/dist/components/Thread.js.map +1 -1
- package/dist/components/internal/{Attachment.mjs → Attachment.cjs} +82 -78
- package/dist/components/internal/{Attachment.mjs.map → Attachment.cjs.map} +1 -1
- package/dist/components/internal/Attachment.js +77 -81
- package/dist/components/internal/Attachment.js.map +1 -1
- package/dist/components/internal/{Attribution.mjs → Attribution.cjs} +10 -8
- package/dist/components/internal/{Attribution.mjs.map → Attribution.cjs.map} +1 -1
- package/dist/components/internal/Attribution.js +7 -9
- package/dist/components/internal/Attribution.js.map +1 -1
- package/dist/components/internal/Avatar.cjs +48 -0
- package/dist/components/internal/{Avatar.mjs.map → Avatar.cjs.map} +1 -1
- package/dist/components/internal/Avatar.js +18 -20
- package/dist/components/internal/Avatar.js.map +1 -1
- package/dist/components/internal/Button.cjs +80 -0
- package/dist/components/internal/{Button.mjs.map → Button.cjs.map} +1 -1
- package/dist/components/internal/Button.js +19 -23
- package/dist/components/internal/Button.js.map +1 -1
- package/dist/components/internal/Dropdown.cjs +92 -0
- package/dist/components/internal/{Dropdown.mjs.map → Dropdown.cjs.map} +1 -1
- package/dist/components/internal/Dropdown.js +22 -47
- package/dist/components/internal/Dropdown.js.map +1 -1
- package/dist/components/internal/Emoji.cjs +19 -0
- package/dist/components/internal/{Emoji.mjs.map → Emoji.cjs.map} +1 -1
- package/dist/components/internal/Emoji.js +8 -10
- package/dist/components/internal/Emoji.js.map +1 -1
- package/dist/components/internal/EmojiPicker.cjs +208 -0
- package/dist/components/internal/{EmojiPicker.mjs.map → EmojiPicker.cjs.map} +1 -1
- package/dist/components/internal/EmojiPicker.js +52 -76
- package/dist/components/internal/EmojiPicker.js.map +1 -1
- package/dist/components/internal/{Icon.mjs → Icon.cjs} +10 -6
- package/dist/components/internal/{Icon.mjs.map → Icon.cjs.map} +1 -1
- package/dist/components/internal/Icon.js +5 -9
- package/dist/components/internal/Icon.js.map +1 -1
- package/dist/components/internal/{InboxNotificationThread.mjs → InboxNotificationThread.cjs} +34 -30
- package/dist/components/internal/{InboxNotificationThread.mjs.map → InboxNotificationThread.cjs.map} +1 -1
- package/dist/components/internal/InboxNotificationThread.js +29 -33
- package/dist/components/internal/InboxNotificationThread.js.map +1 -1
- package/dist/components/internal/List.cjs +36 -0
- package/dist/components/internal/{List.mjs.map → List.cjs.map} +1 -1
- package/dist/components/internal/List.js +14 -16
- package/dist/components/internal/List.js.map +1 -1
- package/dist/components/internal/Room.cjs +24 -0
- package/dist/components/internal/{Room.mjs.map → Room.cjs.map} +1 -1
- package/dist/components/internal/Room.js +9 -11
- package/dist/components/internal/Room.js.map +1 -1
- package/dist/components/internal/Tooltip.cjs +134 -0
- package/dist/components/internal/{Tooltip.mjs.map → Tooltip.cjs.map} +1 -1
- package/dist/components/internal/Tooltip.js +29 -54
- package/dist/components/internal/Tooltip.js.map +1 -1
- package/dist/components/internal/User.cjs +28 -0
- package/dist/components/internal/{User.mjs.map → User.cjs.map} +1 -1
- package/dist/components/internal/User.js +13 -15
- package/dist/components/internal/User.js.map +1 -1
- package/dist/components.cjs +48 -0
- package/dist/{components.mjs.map → components.cjs.map} +1 -1
- package/dist/components.js +9 -14
- package/dist/components.js.map +1 -1
- package/dist/config.cjs +39 -0
- package/dist/{config.mjs.map → config.cjs.map} +1 -1
- package/dist/config.js +15 -18
- package/dist/config.js.map +1 -1
- package/dist/{constants.mjs → constants.cjs} +6 -2
- package/dist/{constants.mjs.map → constants.cjs.map} +1 -1
- package/dist/constants.js +1 -5
- package/dist/constants.js.map +1 -1
- package/dist/icon.cjs +69 -0
- package/dist/icon.cjs.map +1 -0
- package/dist/icon.js +32 -68
- package/dist/icon.js.map +1 -1
- package/dist/icons/ArrowCornerDownRight.cjs +16 -0
- package/dist/icons/{ArrowCornerDownRight.mjs.map → ArrowCornerDownRight.cjs.map} +1 -1
- package/dist/icons/ArrowCornerDownRight.js +5 -7
- package/dist/icons/ArrowCornerDownRight.js.map +1 -1
- package/dist/icons/ArrowCornerUpRight.cjs +16 -0
- package/dist/icons/ArrowCornerUpRight.cjs.map +1 -0
- package/dist/icons/ArrowCornerUpRight.js +5 -7
- package/dist/icons/ArrowCornerUpRight.js.map +1 -1
- package/dist/icons/ArrowDown.cjs +16 -0
- package/dist/icons/ArrowDown.cjs.map +1 -0
- package/dist/icons/ArrowDown.js +5 -7
- package/dist/icons/ArrowDown.js.map +1 -1
- package/dist/icons/ArrowUp.cjs +16 -0
- package/dist/icons/ArrowUp.cjs.map +1 -0
- package/dist/icons/ArrowUp.js +5 -7
- package/dist/icons/ArrowUp.js.map +1 -1
- package/dist/icons/{Attachment.mjs → Attachment.cjs} +8 -6
- package/dist/icons/{Attachment.mjs.map → Attachment.cjs.map} +1 -1
- package/dist/icons/Attachment.js +5 -7
- package/dist/icons/Attachment.js.map +1 -1
- package/dist/icons/Blockquote.cjs +16 -0
- package/dist/icons/Blockquote.cjs.map +1 -0
- package/dist/icons/Blockquote.js +5 -7
- package/dist/icons/Blockquote.js.map +1 -1
- package/dist/icons/Bold.cjs +16 -0
- package/dist/icons/{Bold.mjs.map → Bold.cjs.map} +1 -1
- package/dist/icons/Bold.js +5 -7
- package/dist/icons/Bold.js.map +1 -1
- package/dist/icons/Check.cjs +16 -0
- package/dist/icons/Check.cjs.map +1 -0
- package/dist/icons/Check.js +5 -7
- package/dist/icons/Check.js.map +1 -1
- package/dist/icons/ChevronDown.cjs +16 -0
- package/dist/icons/{ChevronDown.mjs.map → ChevronDown.cjs.map} +1 -1
- package/dist/icons/ChevronDown.js +5 -7
- package/dist/icons/ChevronDown.js.map +1 -1
- package/dist/icons/ChevronLeft.cjs +16 -0
- package/dist/icons/{ChevronLeft.mjs.map → ChevronLeft.cjs.map} +1 -1
- package/dist/icons/ChevronLeft.js +5 -7
- package/dist/icons/ChevronLeft.js.map +1 -1
- package/dist/icons/ChevronRight.cjs +16 -0
- package/dist/icons/{ChevronRight.mjs.map → ChevronRight.cjs.map} +1 -1
- package/dist/icons/ChevronRight.js +5 -7
- package/dist/icons/ChevronRight.js.map +1 -1
- package/dist/icons/ChevronUp.cjs +16 -0
- package/dist/icons/{ChevronUp.mjs.map → ChevronUp.cjs.map} +1 -1
- package/dist/icons/ChevronUp.js +5 -7
- package/dist/icons/ChevronUp.js.map +1 -1
- package/dist/icons/Code.cjs +16 -0
- package/dist/icons/Code.cjs.map +1 -0
- package/dist/icons/Code.js +5 -7
- package/dist/icons/Code.js.map +1 -1
- package/dist/icons/Comment.cjs +16 -0
- package/dist/icons/{Comment.mjs.map → Comment.cjs.map} +1 -1
- package/dist/icons/Comment.js +5 -7
- package/dist/icons/Comment.js.map +1 -1
- package/dist/icons/Cross.cjs +21 -0
- package/dist/icons/Cross.cjs.map +1 -0
- package/dist/icons/Cross.js +6 -8
- package/dist/icons/Cross.js.map +1 -1
- package/dist/icons/Delete.cjs +16 -0
- package/dist/icons/{Delete.mjs.map → Delete.cjs.map} +1 -1
- package/dist/icons/Delete.js +5 -7
- package/dist/icons/Delete.js.map +1 -1
- package/dist/icons/Edit.cjs +16 -0
- package/dist/icons/{Edit.mjs.map → Edit.cjs.map} +1 -1
- package/dist/icons/Edit.js +5 -7
- package/dist/icons/Edit.js.map +1 -1
- package/dist/icons/Ellipsis.cjs +31 -0
- package/dist/icons/Ellipsis.cjs.map +1 -0
- package/dist/icons/Ellipsis.js +7 -9
- package/dist/icons/Ellipsis.js.map +1 -1
- package/dist/icons/Emoji.cjs +34 -0
- package/dist/icons/Emoji.cjs.map +1 -0
- package/dist/icons/Emoji.js +9 -11
- package/dist/icons/Emoji.js.map +1 -1
- package/dist/icons/EmojiAdd.cjs +37 -0
- package/dist/icons/EmojiAdd.cjs.map +1 -0
- package/dist/icons/EmojiAdd.js +10 -12
- package/dist/icons/EmojiAdd.js.map +1 -1
- package/dist/icons/H1.cjs +16 -0
- package/dist/icons/{H1.mjs.map → H1.cjs.map} +1 -1
- package/dist/icons/H1.js +5 -7
- package/dist/icons/H1.js.map +1 -1
- package/dist/icons/H2.cjs +16 -0
- package/dist/icons/H2.cjs.map +1 -0
- package/dist/icons/H2.js +5 -7
- package/dist/icons/H2.js.map +1 -1
- package/dist/icons/H3.cjs +16 -0
- package/dist/icons/{H3.mjs.map → H3.cjs.map} +1 -1
- package/dist/icons/H3.js +5 -7
- package/dist/icons/H3.js.map +1 -1
- package/dist/icons/Italic.cjs +16 -0
- package/dist/icons/{Italic.mjs.map → Italic.cjs.map} +1 -1
- package/dist/icons/Italic.js +5 -7
- package/dist/icons/Italic.js.map +1 -1
- package/dist/icons/Lengthen.cjs +16 -0
- package/dist/icons/Lengthen.cjs.map +1 -0
- package/dist/icons/Lengthen.js +5 -7
- package/dist/icons/Lengthen.js.map +1 -1
- package/dist/icons/ListOrdered.cjs +16 -0
- package/dist/icons/{ListOrdered.mjs.map → ListOrdered.cjs.map} +1 -1
- package/dist/icons/ListOrdered.js +5 -7
- package/dist/icons/ListOrdered.js.map +1 -1
- package/dist/icons/ListUnordered.cjs +39 -0
- package/dist/icons/ListUnordered.cjs.map +1 -0
- package/dist/icons/ListUnordered.js +10 -12
- package/dist/icons/ListUnordered.js.map +1 -1
- package/dist/icons/Mention.cjs +21 -0
- package/dist/icons/Mention.cjs.map +1 -0
- package/dist/icons/Mention.js +6 -8
- package/dist/icons/Mention.js.map +1 -1
- package/dist/icons/QuestionMark.cjs +26 -0
- package/dist/icons/QuestionMark.cjs.map +1 -0
- package/dist/icons/QuestionMark.js +7 -9
- package/dist/icons/QuestionMark.js.map +1 -1
- package/dist/icons/Redo.cjs +21 -0
- package/dist/icons/Redo.cjs.map +1 -0
- package/dist/icons/Redo.js +6 -8
- package/dist/icons/Redo.js.map +1 -1
- package/dist/icons/Resolve.cjs +23 -0
- package/dist/icons/Resolve.cjs.map +1 -0
- package/dist/icons/Resolve.js +6 -8
- package/dist/icons/Resolve.js.map +1 -1
- package/dist/icons/Resolved.cjs +25 -0
- package/dist/icons/Resolved.cjs.map +1 -0
- package/dist/icons/Resolved.js +6 -8
- package/dist/icons/Resolved.js.map +1 -1
- package/dist/icons/Restore.cjs +21 -0
- package/dist/icons/Restore.cjs.map +1 -0
- package/dist/icons/Restore.js +6 -8
- package/dist/icons/Restore.js.map +1 -1
- package/dist/icons/Search.cjs +16 -0
- package/dist/icons/{Search.mjs.map → Search.cjs.map} +1 -1
- package/dist/icons/Search.js +5 -7
- package/dist/icons/Search.js.map +1 -1
- package/dist/icons/Send.cjs +16 -0
- package/dist/icons/Send.cjs.map +1 -0
- package/dist/icons/Send.js +5 -7
- package/dist/icons/Send.js.map +1 -1
- package/dist/icons/Shorten.cjs +16 -0
- package/dist/icons/{Shorten.mjs.map → Shorten.cjs.map} +1 -1
- package/dist/icons/Shorten.js +5 -7
- package/dist/icons/Shorten.js.map +1 -1
- package/dist/icons/{Sparkles.mjs → Sparkles.cjs} +8 -6
- package/dist/icons/{Sparkles.mjs.map → Sparkles.cjs.map} +1 -1
- package/dist/icons/Sparkles.js +5 -7
- package/dist/icons/Sparkles.js.map +1 -1
- package/dist/icons/SparklesText.cjs +21 -0
- package/dist/icons/{SparklesText.mjs.map → SparklesText.cjs.map} +1 -1
- package/dist/icons/SparklesText.js +6 -8
- package/dist/icons/SparklesText.js.map +1 -1
- package/dist/icons/Spinner.cjs +17 -0
- package/dist/icons/Spinner.cjs.map +1 -0
- package/dist/icons/Spinner.js +5 -7
- package/dist/icons/Spinner.js.map +1 -1
- package/dist/icons/Strikethrough.cjs +16 -0
- package/dist/icons/{Strikethrough.mjs.map → Strikethrough.cjs.map} +1 -1
- package/dist/icons/Strikethrough.js +5 -7
- package/dist/icons/Strikethrough.js.map +1 -1
- package/dist/icons/Text.cjs +16 -0
- package/dist/icons/{Text.mjs.map → Text.cjs.map} +1 -1
- package/dist/icons/Text.js +5 -7
- package/dist/icons/Text.js.map +1 -1
- package/dist/icons/Translate.cjs +21 -0
- package/dist/icons/{Translate.mjs.map → Translate.cjs.map} +1 -1
- package/dist/icons/Translate.js +6 -8
- package/dist/icons/Translate.js.map +1 -1
- package/dist/icons/Underline.cjs +16 -0
- package/dist/icons/Underline.cjs.map +1 -0
- package/dist/icons/Underline.js +5 -7
- package/dist/icons/Underline.js.map +1 -1
- package/dist/icons/Undo.cjs +21 -0
- package/dist/icons/Undo.cjs.map +1 -0
- package/dist/icons/Undo.js +6 -8
- package/dist/icons/Undo.js.map +1 -1
- package/dist/icons/Warning.cjs +23 -0
- package/dist/icons/Warning.cjs.map +1 -0
- package/dist/icons/Warning.js +6 -8
- package/dist/icons/Warning.js.map +1 -1
- package/dist/icons/index.cjs +96 -0
- package/dist/icons/index.cjs.map +1 -0
- package/dist/icons/index.js +45 -95
- package/dist/icons/index.js.map +1 -1
- package/dist/index.cjs +28 -0
- package/dist/{index.mjs.map → index.cjs.map} +1 -1
- package/dist/index.js +14 -26
- package/dist/index.js.map +1 -1
- package/dist/{overrides.mjs → overrides.cjs} +32 -27
- package/dist/{overrides.mjs.map → overrides.cjs.map} +1 -1
- package/dist/overrides.js +26 -31
- package/dist/overrides.js.map +1 -1
- package/dist/primitives/Comment/{index.mjs → index.cjs} +35 -31
- package/dist/primitives/Comment/{index.mjs.map → index.cjs.map} +1 -1
- package/dist/primitives/Comment/index.js +30 -34
- package/dist/primitives/Comment/index.js.map +1 -1
- package/dist/primitives/Comment/{utils.mjs → utils.cjs} +7 -2
- package/dist/primitives/Comment/{utils.mjs.map → utils.cjs.map} +1 -1
- package/dist/primitives/Comment/utils.js +1 -6
- package/dist/primitives/Comment/utils.js.map +1 -1
- package/dist/primitives/Composer/contexts.cjs +60 -0
- package/dist/primitives/Composer/{contexts.mjs.map → contexts.cjs.map} +1 -1
- package/dist/primitives/Composer/contexts.js +18 -30
- package/dist/primitives/Composer/contexts.js.map +1 -1
- package/dist/primitives/Composer/{index.mjs → index.cjs} +305 -273
- package/dist/primitives/Composer/{index.mjs.map → index.cjs.map} +1 -1
- package/dist/primitives/Composer/index.js +272 -304
- package/dist/primitives/Composer/index.js.map +1 -1
- package/dist/primitives/Composer/{utils.mjs → utils.cjs} +79 -64
- package/dist/primitives/Composer/{utils.mjs.map → utils.cjs.map} +1 -1
- package/dist/primitives/Composer/utils.js +63 -78
- package/dist/primitives/Composer/utils.js.map +1 -1
- package/dist/primitives/EmojiPicker/contexts.cjs +19 -0
- package/dist/primitives/EmojiPicker/{contexts.mjs.map → contexts.cjs.map} +1 -1
- package/dist/primitives/EmojiPicker/contexts.js +6 -9
- package/dist/primitives/EmojiPicker/contexts.js.map +1 -1
- package/dist/primitives/EmojiPicker/{index.mjs → index.cjs} +96 -92
- package/dist/primitives/EmojiPicker/{index.mjs.map → index.cjs.map} +1 -1
- package/dist/primitives/EmojiPicker/index.js +91 -95
- package/dist/primitives/EmojiPicker/index.js.map +1 -1
- package/dist/primitives/EmojiPicker/{utils.mjs → utils.cjs} +14 -10
- package/dist/primitives/EmojiPicker/{utils.mjs.map → utils.cjs.map} +1 -1
- package/dist/primitives/EmojiPicker/utils.js +9 -13
- package/dist/primitives/EmojiPicker/utils.js.map +1 -1
- package/dist/primitives/FileSize.cjs +36 -0
- package/dist/primitives/{FileSize.mjs.map → FileSize.cjs.map} +1 -1
- package/dist/primitives/FileSize.js +10 -12
- package/dist/primitives/FileSize.js.map +1 -1
- package/dist/primitives/{Timestamp.mjs → Timestamp.cjs} +27 -25
- package/dist/primitives/{Timestamp.mjs.map → Timestamp.cjs.map} +1 -1
- package/dist/primitives/Timestamp.js +24 -26
- package/dist/primitives/Timestamp.js.map +1 -1
- package/dist/primitives/index.cjs +20 -0
- package/dist/primitives/index.cjs.map +1 -0
- package/dist/primitives/index.js +10 -19
- package/dist/primitives/index.js.map +1 -1
- package/dist/primitives/internal/Emoji.cjs +32 -0
- package/dist/primitives/internal/{Emoji.mjs.map → Emoji.cjs.map} +1 -1
- package/dist/primitives/internal/Emoji.js +9 -11
- package/dist/primitives/internal/Emoji.js.map +1 -1
- package/dist/shared.cjs +13 -0
- package/dist/{shared.mjs.map → shared.cjs.map} +1 -1
- package/dist/shared.js +6 -8
- package/dist/shared.js.map +1 -1
- package/dist/slate/plugins/{auto-formatting.mjs → auto-formatting.cjs} +18 -16
- package/dist/slate/plugins/{auto-formatting.mjs.map → auto-formatting.cjs.map} +1 -1
- package/dist/slate/plugins/auto-formatting.js +15 -17
- package/dist/slate/plugins/auto-formatting.js.map +1 -1
- package/dist/slate/plugins/{auto-links.mjs → auto-links.cjs} +43 -40
- package/dist/slate/plugins/{auto-links.mjs.map → auto-links.cjs.map} +1 -1
- package/dist/slate/plugins/auto-links.js +39 -42
- package/dist/slate/plugins/auto-links.js.map +1 -1
- package/dist/slate/plugins/{custom-links.mjs → custom-links.cjs} +19 -16
- package/dist/slate/plugins/{custom-links.mjs.map → custom-links.cjs.map} +1 -1
- package/dist/slate/plugins/custom-links.js +15 -18
- package/dist/slate/plugins/custom-links.js.map +1 -1
- package/dist/slate/plugins/empty-clear-formatting.cjs +18 -0
- package/dist/slate/plugins/{empty-clear-formatting.mjs.map → empty-clear-formatting.cjs.map} +1 -1
- package/dist/slate/plugins/empty-clear-formatting.js +5 -7
- package/dist/slate/plugins/empty-clear-formatting.js.map +1 -1
- package/dist/slate/plugins/mentions.cjs +129 -0
- package/dist/slate/plugins/{mentions.mjs.map → mentions.cjs.map} +1 -1
- package/dist/slate/plugins/mentions.js +35 -42
- package/dist/slate/plugins/mentions.js.map +1 -1
- package/dist/slate/plugins/normalize.cjs +28 -0
- package/dist/slate/plugins/normalize.cjs.map +1 -0
- package/dist/slate/plugins/normalize.js +8 -10
- package/dist/slate/plugins/normalize.js.map +1 -1
- package/dist/slate/plugins/{paste.mjs → paste.cjs} +14 -12
- package/dist/slate/plugins/{paste.mjs.map → paste.cjs.map} +1 -1
- package/dist/slate/plugins/paste.js +11 -13
- package/dist/slate/plugins/paste.js.map +1 -1
- package/dist/slate/utils/get-character.cjs +50 -0
- package/dist/slate/utils/{get-character.mjs.map → get-character.cjs.map} +1 -1
- package/dist/slate/utils/get-character.js +10 -13
- package/dist/slate/utils/get-character.js.map +1 -1
- package/dist/slate/utils/get-dom-range.cjs +17 -0
- package/dist/slate/utils/{get-dom-range.mjs.map → get-dom-range.cjs.map} +1 -1
- package/dist/slate/utils/get-dom-range.js +3 -5
- package/dist/slate/utils/get-dom-range.js.map +1 -1
- package/dist/slate/utils/{get-match-range.mjs → get-match-range.cjs} +14 -12
- package/dist/slate/utils/{get-match-range.mjs.map → get-match-range.cjs.map} +1 -1
- package/dist/slate/utils/get-match-range.js +11 -13
- package/dist/slate/utils/get-match-range.js.map +1 -1
- package/dist/slate/utils/is-empty-string.cjs +8 -0
- package/dist/slate/utils/is-empty-string.cjs.map +1 -0
- package/dist/slate/utils/is-empty-string.js +1 -3
- package/dist/slate/utils/is-empty-string.js.map +1 -1
- package/dist/slate/utils/is-empty.cjs +27 -0
- package/dist/slate/utils/{is-empty.mjs.map → is-empty.cjs.map} +1 -1
- package/dist/slate/utils/is-empty.js +8 -10
- package/dist/slate/utils/is-empty.js.map +1 -1
- package/dist/slate/utils/{is-text.mjs → is-text.cjs} +5 -2
- package/dist/slate/utils/{is-text.mjs.map → is-text.cjs.map} +1 -1
- package/dist/slate/utils/is-text.js +1 -4
- package/dist/slate/utils/is-text.js.map +1 -1
- package/dist/slate/utils/{is-whitespace-character.mjs → is-whitespace-character.cjs} +4 -2
- package/dist/slate/utils/{is-whitespace-character.mjs.map → is-whitespace-character.cjs.map} +1 -1
- package/dist/slate/utils/is-whitespace-character.js +1 -3
- package/dist/slate/utils/is-whitespace-character.js.map +1 -1
- package/dist/slate/utils/marks.cjs +62 -0
- package/dist/slate/utils/{marks.mjs.map → marks.cjs.map} +1 -1
- package/dist/slate/utils/marks.js +12 -19
- package/dist/slate/utils/marks.js.map +1 -1
- package/dist/slate/utils/selection-contains-inlines.cjs +36 -0
- package/dist/slate/utils/selection-contains-inlines.cjs.map +1 -0
- package/dist/slate/utils/selection-contains-inlines.js +7 -9
- package/dist/slate/utils/selection-contains-inlines.js.map +1 -1
- package/dist/utils/{Persist.mjs → Persist.cjs} +26 -22
- package/dist/utils/{Persist.mjs.map → Persist.cjs.map} +1 -1
- package/dist/utils/Persist.js +21 -25
- package/dist/utils/Persist.js.map +1 -1
- package/dist/utils/Portal.cjs +29 -0
- package/dist/utils/{Portal.mjs.map → Portal.cjs.map} +1 -1
- package/dist/utils/Portal.js +9 -11
- package/dist/utils/Portal.js.map +1 -1
- package/dist/utils/{capitalize.mjs → capitalize.cjs} +4 -2
- package/dist/utils/capitalize.cjs.map +1 -0
- package/dist/utils/capitalize.js +1 -3
- package/dist/utils/capitalize.js.map +1 -1
- package/dist/utils/{clamp.mjs → clamp.cjs} +4 -2
- package/dist/utils/clamp.cjs.map +1 -0
- package/dist/utils/clamp.js +1 -3
- package/dist/utils/clamp.js.map +1 -1
- package/dist/utils/{class-names.mjs → class-names.cjs} +4 -2
- package/dist/utils/{class-names.mjs.map → class-names.cjs.map} +1 -1
- package/dist/utils/class-names.js +1 -3
- package/dist/utils/class-names.js.map +1 -1
- package/dist/utils/{data-transfer.mjs → data-transfer.cjs} +6 -4
- package/dist/utils/{data-transfer.mjs.map → data-transfer.cjs.map} +1 -1
- package/dist/utils/data-transfer.js +3 -5
- package/dist/utils/data-transfer.js.map +1 -1
- package/dist/utils/{download.mjs → download.cjs} +4 -2
- package/dist/utils/download.cjs.map +1 -0
- package/dist/utils/download.js +1 -3
- package/dist/utils/download.js.map +1 -1
- package/dist/utils/exists.cjs +8 -0
- package/dist/utils/exists.cjs.map +1 -0
- package/dist/utils/exists.js +1 -3
- package/dist/utils/exists.js.map +1 -1
- package/dist/utils/{find-last-index.mjs → find-last-index.cjs} +4 -2
- package/dist/utils/find-last-index.cjs.map +1 -0
- package/dist/utils/find-last-index.js +1 -3
- package/dist/utils/find-last-index.js.map +1 -1
- package/dist/utils/{format-file-size.mjs → format-file-size.cjs} +6 -4
- package/dist/utils/format-file-size.cjs.map +1 -0
- package/dist/utils/format-file-size.js +3 -5
- package/dist/utils/format-file-size.js.map +1 -1
- package/dist/utils/{get-initials.mjs → get-initials.cjs} +4 -2
- package/dist/utils/get-initials.cjs.map +1 -0
- package/dist/utils/get-initials.js +1 -3
- package/dist/utils/get-initials.js.map +1 -1
- package/dist/utils/intl.cjs +30 -0
- package/dist/utils/{intl.mjs.map → intl.cjs.map} +1 -1
- package/dist/utils/intl.js +6 -11
- package/dist/utils/intl.js.map +1 -1
- package/dist/utils/{is-apple.mjs → is-apple.cjs} +4 -2
- package/dist/utils/is-apple.cjs.map +1 -0
- package/dist/utils/is-apple.js +1 -3
- package/dist/utils/is-apple.js.map +1 -1
- package/dist/utils/{is-key.mjs → is-key.cjs} +6 -4
- package/dist/utils/{is-key.mjs.map → is-key.cjs.map} +1 -1
- package/dist/utils/is-key.js +3 -5
- package/dist/utils/is-key.js.map +1 -1
- package/dist/utils/{memoize.mjs → memoize.cjs} +6 -4
- package/dist/utils/memoize.cjs.map +1 -0
- package/dist/utils/memoize.js +3 -5
- package/dist/utils/memoize.js.map +1 -1
- package/dist/utils/{pluralize.mjs → pluralize.cjs} +4 -2
- package/dist/utils/pluralize.cjs.map +1 -0
- package/dist/utils/pluralize.js +1 -3
- package/dist/utils/pluralize.js.map +1 -1
- package/dist/utils/{request-idle-callback.mjs → request-idle-callback.cjs} +5 -2
- package/dist/utils/{request-idle-callback.mjs.map → request-idle-callback.cjs.map} +1 -1
- package/dist/utils/request-idle-callback.js +1 -4
- package/dist/utils/request-idle-callback.js.map +1 -1
- package/dist/utils/{request-submit.mjs → request-submit.cjs} +4 -2
- package/dist/utils/request-submit.cjs.map +1 -0
- package/dist/utils/request-submit.js +1 -3
- package/dist/utils/request-submit.js.map +1 -1
- package/dist/utils/{url.mjs → url.cjs} +4 -2
- package/dist/utils/url.cjs.map +1 -0
- package/dist/utils/url.js +1 -3
- package/dist/utils/url.js.map +1 -1
- package/dist/utils/{use-controllable-state.mjs → use-controllable-state.cjs} +11 -9
- package/dist/utils/{use-controllable-state.mjs.map → use-controllable-state.cjs.map} +1 -1
- package/dist/utils/use-controllable-state.js +8 -10
- package/dist/utils/use-controllable-state.js.map +1 -1
- package/dist/utils/use-index.cjs +32 -0
- package/dist/utils/{use-index.mjs.map → use-index.cjs.map} +1 -1
- package/dist/utils/use-index.js +11 -13
- package/dist/utils/use-index.js.map +1 -1
- package/dist/utils/use-initial.cjs +11 -0
- package/dist/utils/{use-initial.mjs.map → use-initial.cjs.map} +1 -1
- package/dist/utils/use-initial.js +3 -5
- package/dist/utils/use-initial.js.map +1 -1
- package/dist/utils/{use-interval.mjs → use-interval.cjs} +8 -6
- package/dist/utils/use-interval.cjs.map +1 -0
- package/dist/utils/use-interval.js +5 -7
- package/dist/utils/use-interval.js.map +1 -1
- package/dist/utils/use-latest.cjs +14 -0
- package/dist/utils/{use-latest.mjs.map → use-latest.cjs.map} +1 -1
- package/dist/utils/use-latest.js +4 -6
- package/dist/utils/use-latest.js.map +1 -1
- package/dist/utils/use-observable.cjs +15 -0
- package/dist/utils/{use-observable.mjs.map → use-observable.cjs.map} +1 -1
- package/dist/utils/use-observable.js +5 -7
- package/dist/utils/use-observable.js.map +1 -1
- package/dist/utils/{use-refs.mjs → use-refs.cjs} +6 -4
- package/dist/utils/{use-refs.mjs.map → use-refs.cjs.map} +1 -1
- package/dist/utils/use-refs.js +3 -5
- package/dist/utils/use-refs.js.map +1 -1
- package/dist/utils/use-rerender.cjs +14 -0
- package/dist/utils/{use-rerender.mjs.map → use-rerender.cjs.map} +1 -1
- package/dist/utils/use-rerender.js +3 -5
- package/dist/utils/use-rerender.js.map +1 -1
- package/dist/utils/{use-visible.mjs → use-visible.cjs} +11 -8
- package/dist/utils/{use-visible.mjs.map → use-visible.cjs.map} +1 -1
- package/dist/utils/use-visible.js +7 -10
- package/dist/utils/use-visible.js.map +1 -1
- package/dist/utils/{use-window-focus.mjs → use-window-focus.cjs} +6 -4
- package/dist/utils/use-window-focus.cjs.map +1 -0
- package/dist/utils/use-window-focus.js +3 -5
- package/dist/utils/use-window-focus.js.map +1 -1
- package/dist/utils/{visually-hidden.mjs → visually-hidden.cjs} +4 -2
- package/dist/utils/visually-hidden.cjs.map +1 -0
- package/dist/utils/visually-hidden.js +1 -3
- package/dist/utils/visually-hidden.js.map +1 -1
- package/dist/utils/{wrap.mjs → wrap.cjs} +4 -2
- package/dist/utils/wrap.cjs.map +1 -0
- package/dist/utils/wrap.js +1 -3
- package/dist/utils/wrap.js.map +1 -1
- package/dist/version.cjs +10 -0
- package/dist/{version.mjs.map → version.cjs.map} +1 -1
- package/dist/version.js +3 -7
- package/dist/version.js.map +1 -1
- package/package.json +28 -27
- package/styles/dark/attributes.css.d.cts +1 -0
- package/styles/dark/media-query.css.d.cts +1 -0
- package/styles.css.d.cts +1 -0
- package/dist/_private/index.mjs +0 -55
- package/dist/_private/index.mjs.map +0 -1
- package/dist/components/HistoryVersionSummary.mjs +0 -43
- package/dist/components/HistoryVersionSummaryList.mjs +0 -23
- package/dist/components/InboxNotificationList.mjs +0 -40
- package/dist/components/internal/Avatar.mjs +0 -46
- package/dist/components/internal/Button.mjs +0 -76
- package/dist/components/internal/Dropdown.mjs +0 -67
- package/dist/components/internal/Emoji.mjs +0 -17
- package/dist/components/internal/EmojiPicker.mjs +0 -184
- package/dist/components/internal/List.mjs +0 -34
- package/dist/components/internal/Room.mjs +0 -22
- package/dist/components/internal/Tooltip.mjs +0 -109
- package/dist/components/internal/User.mjs +0 -26
- package/dist/components.mjs +0 -43
- package/dist/config.mjs +0 -36
- package/dist/icon.mjs +0 -33
- package/dist/icon.mjs.map +0 -1
- package/dist/icons/ArrowCornerDownRight.mjs +0 -14
- package/dist/icons/ArrowCornerUpRight.mjs +0 -14
- package/dist/icons/ArrowCornerUpRight.mjs.map +0 -1
- package/dist/icons/ArrowDown.mjs +0 -14
- package/dist/icons/ArrowDown.mjs.map +0 -1
- package/dist/icons/ArrowUp.mjs +0 -14
- package/dist/icons/ArrowUp.mjs.map +0 -1
- package/dist/icons/Blockquote.mjs +0 -14
- package/dist/icons/Blockquote.mjs.map +0 -1
- package/dist/icons/Bold.mjs +0 -14
- package/dist/icons/Check.mjs +0 -14
- package/dist/icons/Check.mjs.map +0 -1
- package/dist/icons/ChevronDown.mjs +0 -14
- package/dist/icons/ChevronLeft.mjs +0 -14
- package/dist/icons/ChevronRight.mjs +0 -14
- package/dist/icons/ChevronUp.mjs +0 -14
- package/dist/icons/Code.mjs +0 -14
- package/dist/icons/Code.mjs.map +0 -1
- package/dist/icons/Comment.mjs +0 -14
- package/dist/icons/Cross.mjs +0 -19
- package/dist/icons/Cross.mjs.map +0 -1
- package/dist/icons/Delete.mjs +0 -14
- package/dist/icons/Edit.mjs +0 -14
- package/dist/icons/Ellipsis.mjs +0 -29
- package/dist/icons/Ellipsis.mjs.map +0 -1
- package/dist/icons/Emoji.mjs +0 -32
- package/dist/icons/Emoji.mjs.map +0 -1
- package/dist/icons/EmojiAdd.mjs +0 -35
- package/dist/icons/EmojiAdd.mjs.map +0 -1
- package/dist/icons/H1.mjs +0 -14
- package/dist/icons/H2.mjs +0 -14
- package/dist/icons/H2.mjs.map +0 -1
- package/dist/icons/H3.mjs +0 -14
- package/dist/icons/Italic.mjs +0 -14
- package/dist/icons/Lengthen.mjs +0 -14
- package/dist/icons/Lengthen.mjs.map +0 -1
- package/dist/icons/ListOrdered.mjs +0 -14
- package/dist/icons/ListUnordered.mjs +0 -37
- package/dist/icons/ListUnordered.mjs.map +0 -1
- package/dist/icons/Mention.mjs +0 -19
- package/dist/icons/Mention.mjs.map +0 -1
- package/dist/icons/QuestionMark.mjs +0 -24
- package/dist/icons/QuestionMark.mjs.map +0 -1
- package/dist/icons/Redo.mjs +0 -19
- package/dist/icons/Redo.mjs.map +0 -1
- package/dist/icons/Resolve.mjs +0 -21
- package/dist/icons/Resolve.mjs.map +0 -1
- package/dist/icons/Resolved.mjs +0 -23
- package/dist/icons/Resolved.mjs.map +0 -1
- package/dist/icons/Restore.mjs +0 -19
- package/dist/icons/Restore.mjs.map +0 -1
- package/dist/icons/Search.mjs +0 -14
- package/dist/icons/Send.mjs +0 -14
- package/dist/icons/Send.mjs.map +0 -1
- package/dist/icons/Shorten.mjs +0 -14
- package/dist/icons/SparklesText.mjs +0 -19
- package/dist/icons/Spinner.mjs +0 -15
- package/dist/icons/Spinner.mjs.map +0 -1
- package/dist/icons/Strikethrough.mjs +0 -14
- package/dist/icons/Text.mjs +0 -14
- package/dist/icons/Translate.mjs +0 -19
- package/dist/icons/Underline.mjs +0 -14
- package/dist/icons/Underline.mjs.map +0 -1
- package/dist/icons/Undo.mjs +0 -19
- package/dist/icons/Undo.mjs.map +0 -1
- package/dist/icons/Warning.mjs +0 -21
- package/dist/icons/Warning.mjs.map +0 -1
- package/dist/icons/index.mjs +0 -46
- package/dist/icons/index.mjs.map +0 -1
- package/dist/index.mjs +0 -16
- package/dist/primitives/Composer/contexts.mjs +0 -48
- package/dist/primitives/EmojiPicker/contexts.mjs +0 -16
- package/dist/primitives/FileSize.mjs +0 -34
- package/dist/primitives/index.mjs +0 -11
- package/dist/primitives/index.mjs.map +0 -1
- package/dist/primitives/internal/Emoji.mjs +0 -30
- package/dist/shared.mjs +0 -11
- package/dist/slate/plugins/empty-clear-formatting.mjs +0 -16
- package/dist/slate/plugins/mentions.mjs +0 -122
- package/dist/slate/plugins/normalize.mjs +0 -26
- package/dist/slate/plugins/normalize.mjs.map +0 -1
- package/dist/slate/utils/get-character.mjs +0 -47
- package/dist/slate/utils/get-dom-range.mjs +0 -15
- package/dist/slate/utils/is-empty-string.mjs +0 -6
- package/dist/slate/utils/is-empty-string.mjs.map +0 -1
- package/dist/slate/utils/is-empty.mjs +0 -25
- package/dist/slate/utils/marks.mjs +0 -55
- package/dist/slate/utils/selection-contains-inlines.mjs +0 -34
- package/dist/slate/utils/selection-contains-inlines.mjs.map +0 -1
- package/dist/utils/Portal.mjs +0 -27
- package/dist/utils/capitalize.mjs.map +0 -1
- package/dist/utils/clamp.mjs.map +0 -1
- package/dist/utils/download.mjs.map +0 -1
- package/dist/utils/exists.mjs +0 -6
- package/dist/utils/exists.mjs.map +0 -1
- package/dist/utils/find-last-index.mjs.map +0 -1
- package/dist/utils/format-file-size.mjs.map +0 -1
- package/dist/utils/get-initials.mjs.map +0 -1
- package/dist/utils/intl.mjs +0 -25
- package/dist/utils/is-apple.mjs.map +0 -1
- package/dist/utils/memoize.mjs.map +0 -1
- package/dist/utils/pluralize.mjs.map +0 -1
- package/dist/utils/request-submit.mjs.map +0 -1
- package/dist/utils/url.mjs.map +0 -1
- package/dist/utils/use-index.mjs +0 -30
- package/dist/utils/use-initial.mjs +0 -9
- package/dist/utils/use-interval.mjs.map +0 -1
- package/dist/utils/use-latest.mjs +0 -12
- package/dist/utils/use-observable.mjs +0 -13
- package/dist/utils/use-rerender.mjs +0 -12
- package/dist/utils/use-window-focus.mjs.map +0 -1
- package/dist/utils/visually-hidden.mjs.map +0 -1
- package/dist/utils/wrap.mjs.map +0 -1
- package/dist/version.mjs +0 -6
- /package/dist/_private/{index.d.mts → index.d.cts} +0 -0
- /package/dist/{index.d.mts → index.d.cts} +0 -0
- /package/dist/primitives/{index.d.mts → index.d.cts} +0 -0
|
@@ -1,34 +1,32 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
|
+
import { assertNever, console } from '@liveblocks/core';
|
|
4
|
+
import { useMarkInboxNotificationAsRead, useDeleteInboxNotification, useInboxNotificationThread, useRoomInfo } from '@liveblocks/react';
|
|
5
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
6
|
+
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
|
7
|
+
import { forwardRef, useState, useCallback, useMemo } from 'react';
|
|
8
|
+
import { useComponents } from '../components.js';
|
|
9
|
+
import { CheckIcon } from '../icons/Check.js';
|
|
10
|
+
import { DeleteIcon } from '../icons/Delete.js';
|
|
11
|
+
import { EllipsisIcon } from '../icons/Ellipsis.js';
|
|
12
|
+
import { WarningIcon } from '../icons/Warning.js';
|
|
13
|
+
import { useOverrides } from '../overrides.js';
|
|
14
|
+
import { Timestamp } from '../primitives/Timestamp.js';
|
|
15
|
+
import { useCurrentUserId } from '../shared.js';
|
|
16
|
+
import { classNames } from '../utils/class-names.js';
|
|
17
|
+
import { generateURL } from '../utils/url.js';
|
|
18
|
+
import { Avatar } from './internal/Avatar.js';
|
|
19
|
+
import { Button } from './internal/Button.js';
|
|
20
|
+
import { Dropdown, DropdownItem } from './internal/Dropdown.js';
|
|
21
|
+
import { generateInboxNotificationThreadContents, InboxNotificationComment, INBOX_NOTIFICATION_THREAD_MAX_COMMENTS } from './internal/InboxNotificationThread.js';
|
|
22
|
+
import { List } from './internal/List.js';
|
|
23
|
+
import { Room } from './internal/Room.js';
|
|
24
|
+
import { Tooltip } from './internal/Tooltip.js';
|
|
25
|
+
import { User } from './internal/User.js';
|
|
26
|
+
import { DropdownMenuTrigger } from '@radix-ui/react-dropdown-menu';
|
|
3
27
|
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var core = require('@liveblocks/core');
|
|
6
|
-
var react$1 = require('@liveblocks/react');
|
|
7
|
-
var reactSlot = require('@radix-ui/react-slot');
|
|
8
|
-
var TooltipPrimitive = require('@radix-ui/react-tooltip');
|
|
9
|
-
var react = require('react');
|
|
10
|
-
var components = require('../components.js');
|
|
11
|
-
var Check = require('../icons/Check.js');
|
|
12
|
-
var Delete = require('../icons/Delete.js');
|
|
13
|
-
var Ellipsis = require('../icons/Ellipsis.js');
|
|
14
|
-
var Warning = require('../icons/Warning.js');
|
|
15
|
-
var overrides = require('../overrides.js');
|
|
16
|
-
var Timestamp = require('../primitives/Timestamp.js');
|
|
17
|
-
var shared = require('../shared.js');
|
|
18
|
-
var classNames = require('../utils/class-names.js');
|
|
19
|
-
var url = require('../utils/url.js');
|
|
20
|
-
var Avatar = require('./internal/Avatar.js');
|
|
21
|
-
var Button = require('./internal/Button.js');
|
|
22
|
-
var Dropdown = require('./internal/Dropdown.js');
|
|
23
|
-
var InboxNotificationThread$1 = require('./internal/InboxNotificationThread.js');
|
|
24
|
-
var List = require('./internal/List.js');
|
|
25
|
-
var Room = require('./internal/Room.js');
|
|
26
|
-
var Tooltip = require('./internal/Tooltip.js');
|
|
27
|
-
var User = require('./internal/User.js');
|
|
28
|
-
var DropdownMenuPrimitive = require('@radix-ui/react-dropdown-menu');
|
|
29
28
|
|
|
30
|
-
|
|
31
|
-
const InboxNotificationLayout = react.forwardRef(
|
|
29
|
+
const InboxNotificationLayout = forwardRef(
|
|
32
30
|
({
|
|
33
31
|
inboxNotification,
|
|
34
32
|
children,
|
|
@@ -40,19 +38,19 @@ const InboxNotificationLayout = react.forwardRef(
|
|
|
40
38
|
onClick,
|
|
41
39
|
href,
|
|
42
40
|
showActions,
|
|
43
|
-
overrides
|
|
44
|
-
components
|
|
41
|
+
overrides,
|
|
42
|
+
components,
|
|
45
43
|
className,
|
|
46
44
|
asChild,
|
|
47
45
|
...props
|
|
48
46
|
}, forwardedRef) => {
|
|
49
|
-
const $ =
|
|
50
|
-
const { Anchor } =
|
|
51
|
-
const Component = asChild ?
|
|
52
|
-
const [isMoreActionOpen, setMoreActionOpen] =
|
|
53
|
-
const markInboxNotificationAsRead =
|
|
54
|
-
const deleteInboxNotification =
|
|
55
|
-
const handleClick =
|
|
47
|
+
const $ = useOverrides(overrides);
|
|
48
|
+
const { Anchor } = useComponents(components);
|
|
49
|
+
const Component = asChild ? Slot : Anchor;
|
|
50
|
+
const [isMoreActionOpen, setMoreActionOpen] = useState(false);
|
|
51
|
+
const markInboxNotificationAsRead = useMarkInboxNotificationAsRead();
|
|
52
|
+
const deleteInboxNotification = useDeleteInboxNotification();
|
|
53
|
+
const handleClick = useCallback(
|
|
56
54
|
(event) => {
|
|
57
55
|
onClick?.(event);
|
|
58
56
|
const shouldMarkAsReadOnClick = markAsReadOnClick ?? Boolean(href);
|
|
@@ -69,30 +67,30 @@ const InboxNotificationLayout = react.forwardRef(
|
|
|
69
67
|
unread
|
|
70
68
|
]
|
|
71
69
|
);
|
|
72
|
-
const stopPropagation =
|
|
70
|
+
const stopPropagation = useCallback((event) => {
|
|
73
71
|
event.stopPropagation();
|
|
74
72
|
}, []);
|
|
75
|
-
const preventDefaultAndStopPropagation =
|
|
73
|
+
const preventDefaultAndStopPropagation = useCallback(
|
|
76
74
|
(event) => {
|
|
77
75
|
event.preventDefault();
|
|
78
76
|
event.stopPropagation();
|
|
79
77
|
},
|
|
80
78
|
[]
|
|
81
79
|
);
|
|
82
|
-
const handleMoreClick =
|
|
80
|
+
const handleMoreClick = useCallback((event) => {
|
|
83
81
|
event.preventDefault();
|
|
84
82
|
event.stopPropagation();
|
|
85
83
|
setMoreActionOpen((open) => !open);
|
|
86
84
|
}, []);
|
|
87
|
-
const handleMarkAsRead =
|
|
85
|
+
const handleMarkAsRead = useCallback(() => {
|
|
88
86
|
markInboxNotificationAsRead(inboxNotification.id);
|
|
89
87
|
}, [inboxNotification.id, markInboxNotificationAsRead]);
|
|
90
|
-
const handleDelete =
|
|
88
|
+
const handleDelete = useCallback(() => {
|
|
91
89
|
deleteInboxNotification(inboxNotification.id);
|
|
92
90
|
}, [inboxNotification.id, deleteInboxNotification]);
|
|
93
|
-
return /* @__PURE__ */
|
|
94
|
-
children: /* @__PURE__ */
|
|
95
|
-
className: classNames
|
|
91
|
+
return /* @__PURE__ */ jsx(TooltipProvider, {
|
|
92
|
+
children: /* @__PURE__ */ jsxs(Component, {
|
|
93
|
+
className: classNames(
|
|
96
94
|
"lb-root lb-inbox-notification",
|
|
97
95
|
showActions === "hover" && "lb-inbox-notification:show-actions-hover",
|
|
98
96
|
isMoreActionOpen && "lb-inbox-notification:action-open",
|
|
@@ -106,70 +104,70 @@ const InboxNotificationLayout = react.forwardRef(
|
|
|
106
104
|
...props,
|
|
107
105
|
ref: forwardedRef,
|
|
108
106
|
children: [
|
|
109
|
-
aside && /* @__PURE__ */
|
|
107
|
+
aside && /* @__PURE__ */ jsx("div", {
|
|
110
108
|
className: "lb-inbox-notification-aside",
|
|
111
109
|
children: aside
|
|
112
110
|
}),
|
|
113
|
-
/* @__PURE__ */
|
|
111
|
+
/* @__PURE__ */ jsxs("div", {
|
|
114
112
|
className: "lb-inbox-notification-content",
|
|
115
113
|
children: [
|
|
116
|
-
/* @__PURE__ */
|
|
114
|
+
/* @__PURE__ */ jsxs("div", {
|
|
117
115
|
className: "lb-inbox-notification-header",
|
|
118
116
|
children: [
|
|
119
|
-
/* @__PURE__ */
|
|
117
|
+
/* @__PURE__ */ jsx("span", {
|
|
120
118
|
className: "lb-inbox-notification-title",
|
|
121
119
|
children: title
|
|
122
120
|
}),
|
|
123
|
-
/* @__PURE__ */
|
|
121
|
+
/* @__PURE__ */ jsx("div", {
|
|
124
122
|
className: "lb-inbox-notification-details",
|
|
125
|
-
children: /* @__PURE__ */
|
|
123
|
+
children: /* @__PURE__ */ jsxs("span", {
|
|
126
124
|
className: "lb-inbox-notification-details-labels",
|
|
127
125
|
children: [
|
|
128
|
-
/* @__PURE__ */
|
|
126
|
+
/* @__PURE__ */ jsx(Timestamp, {
|
|
129
127
|
locale: $.locale,
|
|
130
128
|
date,
|
|
131
129
|
className: "lb-date lb-inbox-notification-date"
|
|
132
130
|
}),
|
|
133
|
-
unread && /* @__PURE__ */
|
|
131
|
+
unread && /* @__PURE__ */ jsx("span", {
|
|
134
132
|
className: "lb-inbox-notification-unread-indicator",
|
|
135
133
|
role: "presentation"
|
|
136
134
|
})
|
|
137
135
|
]
|
|
138
136
|
})
|
|
139
137
|
}),
|
|
140
|
-
showActions && /* @__PURE__ */
|
|
138
|
+
showActions && /* @__PURE__ */ jsx("div", {
|
|
141
139
|
className: "lb-inbox-notification-actions",
|
|
142
|
-
children: /* @__PURE__ */
|
|
140
|
+
children: /* @__PURE__ */ jsx(Dropdown, {
|
|
143
141
|
open: isMoreActionOpen,
|
|
144
142
|
onOpenChange: setMoreActionOpen,
|
|
145
143
|
align: "end",
|
|
146
|
-
content: /* @__PURE__ */
|
|
144
|
+
content: /* @__PURE__ */ jsxs(Fragment, {
|
|
147
145
|
children: [
|
|
148
|
-
unread ? /* @__PURE__ */
|
|
146
|
+
unread ? /* @__PURE__ */ jsx(DropdownItem, {
|
|
149
147
|
onSelect: handleMarkAsRead,
|
|
150
148
|
onClick: stopPropagation,
|
|
151
|
-
icon: /* @__PURE__ */
|
|
149
|
+
icon: /* @__PURE__ */ jsx(CheckIcon, {}),
|
|
152
150
|
children: $.INBOX_NOTIFICATION_MARK_AS_READ
|
|
153
151
|
}) : null,
|
|
154
|
-
/* @__PURE__ */
|
|
152
|
+
/* @__PURE__ */ jsx(DropdownItem, {
|
|
155
153
|
onSelect: handleDelete,
|
|
156
154
|
onClick: stopPropagation,
|
|
157
|
-
icon: /* @__PURE__ */
|
|
155
|
+
icon: /* @__PURE__ */ jsx(DeleteIcon, {}),
|
|
158
156
|
children: $.INBOX_NOTIFICATION_DELETE
|
|
159
157
|
})
|
|
160
158
|
]
|
|
161
159
|
}),
|
|
162
|
-
children: /* @__PURE__ */
|
|
160
|
+
children: /* @__PURE__ */ jsx(Tooltip, {
|
|
163
161
|
content: $.INBOX_NOTIFICATION_MORE,
|
|
164
|
-
children: /* @__PURE__ */
|
|
162
|
+
children: /* @__PURE__ */ jsx(DropdownMenuTrigger, {
|
|
165
163
|
asChild: true,
|
|
166
|
-
children: /* @__PURE__ */
|
|
164
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
167
165
|
className: "lb-inbox-notification-action",
|
|
168
166
|
onClick: handleMoreClick,
|
|
169
167
|
onPointerDown: preventDefaultAndStopPropagation,
|
|
170
168
|
onPointerUp: preventDefaultAndStopPropagation,
|
|
171
169
|
"aria-label": $.INBOX_NOTIFICATION_MORE,
|
|
172
|
-
icon: /* @__PURE__ */
|
|
170
|
+
icon: /* @__PURE__ */ jsx(EllipsisIcon, {})
|
|
173
171
|
})
|
|
174
172
|
})
|
|
175
173
|
})
|
|
@@ -177,7 +175,7 @@ const InboxNotificationLayout = react.forwardRef(
|
|
|
177
175
|
})
|
|
178
176
|
]
|
|
179
177
|
}),
|
|
180
|
-
/* @__PURE__ */
|
|
178
|
+
/* @__PURE__ */ jsx("div", {
|
|
181
179
|
className: "lb-inbox-notification-body",
|
|
182
180
|
children
|
|
183
181
|
})
|
|
@@ -192,8 +190,8 @@ function InboxNotificationIcon({
|
|
|
192
190
|
className,
|
|
193
191
|
...props
|
|
194
192
|
}) {
|
|
195
|
-
return /* @__PURE__ */
|
|
196
|
-
className: classNames
|
|
193
|
+
return /* @__PURE__ */ jsx("div", {
|
|
194
|
+
className: classNames("lb-inbox-notification-icon", className),
|
|
197
195
|
...props
|
|
198
196
|
});
|
|
199
197
|
}
|
|
@@ -201,12 +199,12 @@ function InboxNotificationAvatar({
|
|
|
201
199
|
className,
|
|
202
200
|
...props
|
|
203
201
|
}) {
|
|
204
|
-
return /* @__PURE__ */
|
|
205
|
-
className: classNames
|
|
202
|
+
return /* @__PURE__ */ jsx(Avatar, {
|
|
203
|
+
className: classNames("lb-inbox-notification-avatar", className),
|
|
206
204
|
...props
|
|
207
205
|
});
|
|
208
206
|
}
|
|
209
|
-
const InboxNotificationThread =
|
|
207
|
+
const InboxNotificationThread = forwardRef(
|
|
210
208
|
({
|
|
211
209
|
inboxNotification,
|
|
212
210
|
href,
|
|
@@ -214,15 +212,15 @@ const InboxNotificationThread = react.forwardRef(
|
|
|
214
212
|
showReactions = true,
|
|
215
213
|
showAttachments = true,
|
|
216
214
|
showActions = "hover",
|
|
217
|
-
overrides
|
|
215
|
+
overrides,
|
|
218
216
|
...props
|
|
219
217
|
}, forwardedRef) => {
|
|
220
|
-
const $ =
|
|
221
|
-
const thread =
|
|
222
|
-
const currentUserId =
|
|
223
|
-
const { info } =
|
|
224
|
-
const contents =
|
|
225
|
-
const contents2 =
|
|
218
|
+
const $ = useOverrides(overrides);
|
|
219
|
+
const thread = useInboxNotificationThread(inboxNotification.id);
|
|
220
|
+
const currentUserId = useCurrentUserId();
|
|
221
|
+
const { info } = useRoomInfo(inboxNotification.roomId);
|
|
222
|
+
const contents = useMemo(() => {
|
|
223
|
+
const contents2 = generateInboxNotificationThreadContents(
|
|
226
224
|
inboxNotification,
|
|
227
225
|
thread,
|
|
228
226
|
currentUserId ?? ""
|
|
@@ -234,32 +232,32 @@ const InboxNotificationThread = react.forwardRef(
|
|
|
234
232
|
case "comments": {
|
|
235
233
|
const reversedUserIds = [...contents2.userIds].reverse();
|
|
236
234
|
const firstUserId = reversedUserIds[0];
|
|
237
|
-
const aside2 = /* @__PURE__ */
|
|
235
|
+
const aside2 = /* @__PURE__ */ jsx(InboxNotificationAvatar, {
|
|
238
236
|
userId: firstUserId
|
|
239
237
|
});
|
|
240
238
|
const title2 = $.INBOX_NOTIFICATION_THREAD_COMMENTS_LIST(
|
|
241
|
-
/* @__PURE__ */
|
|
242
|
-
values: reversedUserIds.map((userId) => /* @__PURE__ */
|
|
239
|
+
/* @__PURE__ */ jsx(List, {
|
|
240
|
+
values: reversedUserIds.map((userId) => /* @__PURE__ */ jsx(User, {
|
|
243
241
|
userId,
|
|
244
242
|
replaceSelf: true
|
|
245
243
|
}, userId)),
|
|
246
244
|
formatRemaining: $.LIST_REMAINING_USERS,
|
|
247
|
-
truncate:
|
|
245
|
+
truncate: INBOX_NOTIFICATION_THREAD_MAX_COMMENTS - 1,
|
|
248
246
|
locale: $.locale
|
|
249
247
|
}),
|
|
250
|
-
showRoomName ? /* @__PURE__ */
|
|
248
|
+
showRoomName ? /* @__PURE__ */ jsx(Room, {
|
|
251
249
|
roomId: thread.roomId
|
|
252
250
|
}) : void 0,
|
|
253
251
|
reversedUserIds.length
|
|
254
252
|
);
|
|
255
|
-
const content2 = /* @__PURE__ */
|
|
253
|
+
const content2 = /* @__PURE__ */ jsx("div", {
|
|
256
254
|
className: "lb-inbox-notification-comments",
|
|
257
|
-
children: contents2.comments.map((comment) => /* @__PURE__ */
|
|
255
|
+
children: contents2.comments.map((comment) => /* @__PURE__ */ jsx(InboxNotificationComment, {
|
|
258
256
|
comment,
|
|
259
257
|
showHeader: contents2.comments.length > 1,
|
|
260
258
|
showAttachments,
|
|
261
259
|
showReactions,
|
|
262
|
-
overrides
|
|
260
|
+
overrides
|
|
263
261
|
}, comment.id))
|
|
264
262
|
});
|
|
265
263
|
return {
|
|
@@ -275,25 +273,25 @@ const InboxNotificationThread = react.forwardRef(
|
|
|
275
273
|
case "mention": {
|
|
276
274
|
const mentionUserId = contents2.userIds[0];
|
|
277
275
|
const mentionComment = contents2.comments[0];
|
|
278
|
-
const aside2 = /* @__PURE__ */
|
|
276
|
+
const aside2 = /* @__PURE__ */ jsx(InboxNotificationAvatar, {
|
|
279
277
|
userId: mentionUserId
|
|
280
278
|
});
|
|
281
279
|
const title2 = $.INBOX_NOTIFICATION_THREAD_MENTION(
|
|
282
|
-
/* @__PURE__ */
|
|
280
|
+
/* @__PURE__ */ jsx(User, {
|
|
283
281
|
userId: mentionUserId
|
|
284
282
|
}, mentionUserId),
|
|
285
|
-
showRoomName ? /* @__PURE__ */
|
|
283
|
+
showRoomName ? /* @__PURE__ */ jsx(Room, {
|
|
286
284
|
roomId: thread.roomId
|
|
287
285
|
}) : void 0
|
|
288
286
|
);
|
|
289
|
-
const content2 = /* @__PURE__ */
|
|
287
|
+
const content2 = /* @__PURE__ */ jsx("div", {
|
|
290
288
|
className: "lb-inbox-notification-comments",
|
|
291
|
-
children: /* @__PURE__ */
|
|
289
|
+
children: /* @__PURE__ */ jsx(InboxNotificationComment, {
|
|
292
290
|
comment: mentionComment,
|
|
293
291
|
showHeader: false,
|
|
294
292
|
showAttachments,
|
|
295
293
|
showReactions,
|
|
296
|
-
overrides
|
|
294
|
+
overrides
|
|
297
295
|
}, mentionComment.id)
|
|
298
296
|
});
|
|
299
297
|
return {
|
|
@@ -307,7 +305,7 @@ const InboxNotificationThread = react.forwardRef(
|
|
|
307
305
|
};
|
|
308
306
|
}
|
|
309
307
|
default:
|
|
310
|
-
return
|
|
308
|
+
return assertNever(
|
|
311
309
|
contents2,
|
|
312
310
|
"Unexpected thread inbox notification type"
|
|
313
311
|
);
|
|
@@ -316,27 +314,27 @@ const InboxNotificationThread = react.forwardRef(
|
|
|
316
314
|
$,
|
|
317
315
|
currentUserId,
|
|
318
316
|
inboxNotification,
|
|
319
|
-
overrides
|
|
317
|
+
overrides,
|
|
320
318
|
showRoomName,
|
|
321
319
|
showAttachments,
|
|
322
320
|
showReactions,
|
|
323
321
|
thread
|
|
324
322
|
]);
|
|
325
|
-
const resolvedHref =
|
|
323
|
+
const resolvedHref = useMemo(() => {
|
|
326
324
|
const resolvedHref2 = href ?? info?.url;
|
|
327
|
-
return resolvedHref2 ?
|
|
325
|
+
return resolvedHref2 ? generateURL(resolvedHref2, void 0, contents?.commentId) : void 0;
|
|
328
326
|
}, [contents?.commentId, href, info?.url]);
|
|
329
327
|
if (!contents) {
|
|
330
328
|
return null;
|
|
331
329
|
}
|
|
332
330
|
const { aside, title, content, date, unread } = contents;
|
|
333
|
-
return /* @__PURE__ */
|
|
331
|
+
return /* @__PURE__ */ jsx(InboxNotificationLayout, {
|
|
334
332
|
inboxNotification,
|
|
335
333
|
aside,
|
|
336
334
|
title,
|
|
337
335
|
date,
|
|
338
336
|
unread,
|
|
339
|
-
overrides
|
|
337
|
+
overrides,
|
|
340
338
|
href: resolvedHref,
|
|
341
339
|
showActions,
|
|
342
340
|
markAsReadOnClick: false,
|
|
@@ -346,41 +344,41 @@ const InboxNotificationThread = react.forwardRef(
|
|
|
346
344
|
});
|
|
347
345
|
}
|
|
348
346
|
);
|
|
349
|
-
const InboxNotificationTextMention =
|
|
347
|
+
const InboxNotificationTextMention = forwardRef(
|
|
350
348
|
({
|
|
351
349
|
inboxNotification,
|
|
352
350
|
showActions = "hover",
|
|
353
351
|
showRoomName = true,
|
|
354
|
-
overrides
|
|
352
|
+
overrides,
|
|
355
353
|
...props
|
|
356
354
|
}, ref) => {
|
|
357
|
-
const $ =
|
|
358
|
-
const unread =
|
|
355
|
+
const $ = useOverrides(overrides);
|
|
356
|
+
const unread = useMemo(() => {
|
|
359
357
|
return !inboxNotification.readAt || inboxNotification.notifiedAt > inboxNotification.readAt;
|
|
360
358
|
}, [inboxNotification.notifiedAt, inboxNotification.readAt]);
|
|
361
|
-
return /* @__PURE__ */
|
|
359
|
+
return /* @__PURE__ */ jsx(InboxNotificationLayout, {
|
|
362
360
|
inboxNotification,
|
|
363
|
-
aside: /* @__PURE__ */
|
|
361
|
+
aside: /* @__PURE__ */ jsx(InboxNotificationAvatar, {
|
|
364
362
|
userId: inboxNotification.createdBy
|
|
365
363
|
}),
|
|
366
364
|
title: $.INBOX_NOTIFICATION_TEXT_MENTION(
|
|
367
|
-
/* @__PURE__ */
|
|
365
|
+
/* @__PURE__ */ jsx(User, {
|
|
368
366
|
userId: inboxNotification.createdBy
|
|
369
367
|
}, inboxNotification.createdBy),
|
|
370
|
-
showRoomName ? /* @__PURE__ */
|
|
368
|
+
showRoomName ? /* @__PURE__ */ jsx(Room, {
|
|
371
369
|
roomId: inboxNotification.roomId
|
|
372
370
|
}) : void 0
|
|
373
371
|
),
|
|
374
372
|
date: inboxNotification.notifiedAt,
|
|
375
373
|
unread,
|
|
376
|
-
overrides
|
|
374
|
+
overrides,
|
|
377
375
|
showActions,
|
|
378
376
|
...props,
|
|
379
377
|
ref
|
|
380
378
|
});
|
|
381
379
|
}
|
|
382
380
|
);
|
|
383
|
-
const InboxNotificationCustom =
|
|
381
|
+
const InboxNotificationCustom = forwardRef(
|
|
384
382
|
({
|
|
385
383
|
inboxNotification,
|
|
386
384
|
showActions = "hover",
|
|
@@ -390,10 +388,10 @@ const InboxNotificationCustom = react.forwardRef(
|
|
|
390
388
|
overrides,
|
|
391
389
|
...props
|
|
392
390
|
}, forwardedRef) => {
|
|
393
|
-
const unread =
|
|
391
|
+
const unread = useMemo(() => {
|
|
394
392
|
return !inboxNotification.readAt || inboxNotification.notifiedAt > inboxNotification.readAt;
|
|
395
393
|
}, [inboxNotification.notifiedAt, inboxNotification.readAt]);
|
|
396
|
-
return /* @__PURE__ */
|
|
394
|
+
return /* @__PURE__ */ jsx(InboxNotificationLayout, {
|
|
397
395
|
inboxNotification,
|
|
398
396
|
aside,
|
|
399
397
|
title,
|
|
@@ -407,28 +405,28 @@ const InboxNotificationCustom = react.forwardRef(
|
|
|
407
405
|
});
|
|
408
406
|
}
|
|
409
407
|
);
|
|
410
|
-
const InboxNotificationCustomMissing =
|
|
411
|
-
return /* @__PURE__ */
|
|
408
|
+
const InboxNotificationCustomMissing = forwardRef(({ inboxNotification, ...props }, forwardedRef) => {
|
|
409
|
+
return /* @__PURE__ */ jsxs(InboxNotificationCustom, {
|
|
412
410
|
inboxNotification,
|
|
413
411
|
...props,
|
|
414
|
-
title: /* @__PURE__ */
|
|
412
|
+
title: /* @__PURE__ */ jsxs(Fragment, {
|
|
415
413
|
children: [
|
|
416
414
|
"Custom notification kind ",
|
|
417
|
-
/* @__PURE__ */
|
|
415
|
+
/* @__PURE__ */ jsx("code", {
|
|
418
416
|
children: inboxNotification.kind
|
|
419
417
|
}),
|
|
420
418
|
" is not handled"
|
|
421
419
|
]
|
|
422
420
|
}),
|
|
423
|
-
aside: /* @__PURE__ */
|
|
424
|
-
children: /* @__PURE__ */
|
|
421
|
+
aside: /* @__PURE__ */ jsx(InboxNotificationIcon, {
|
|
422
|
+
children: /* @__PURE__ */ jsx(WarningIcon, {})
|
|
425
423
|
}),
|
|
426
424
|
ref: forwardedRef,
|
|
427
425
|
"data-missing": "",
|
|
428
426
|
children: [
|
|
429
427
|
"Notifications of this kind won\u2019t be displayed in production. Use the",
|
|
430
428
|
" ",
|
|
431
|
-
/* @__PURE__ */
|
|
429
|
+
/* @__PURE__ */ jsx("code", {
|
|
432
430
|
children: "kinds"
|
|
433
431
|
}),
|
|
434
432
|
" prop to define how they should be rendered."
|
|
@@ -437,12 +435,12 @@ const InboxNotificationCustomMissing = react.forwardRef(({ inboxNotification, ..
|
|
|
437
435
|
});
|
|
438
436
|
const inboxNotificationKindsWarnings = /* @__PURE__ */ new Set();
|
|
439
437
|
const InboxNotification = Object.assign(
|
|
440
|
-
|
|
438
|
+
forwardRef(
|
|
441
439
|
({ inboxNotification, kinds, ...props }, forwardedRef) => {
|
|
442
440
|
switch (inboxNotification.kind) {
|
|
443
441
|
case "thread": {
|
|
444
442
|
const ResolvedInboxNotificationThread = kinds?.thread ?? InboxNotificationThread;
|
|
445
|
-
return /* @__PURE__ */
|
|
443
|
+
return /* @__PURE__ */ jsx(ResolvedInboxNotificationThread, {
|
|
446
444
|
inboxNotification,
|
|
447
445
|
...props,
|
|
448
446
|
ref: forwardedRef
|
|
@@ -450,7 +448,7 @@ const InboxNotification = Object.assign(
|
|
|
450
448
|
}
|
|
451
449
|
case "textMention": {
|
|
452
450
|
const ResolvedInboxNotificationTextMention = kinds?.textMention ?? InboxNotificationTextMention;
|
|
453
|
-
return /* @__PURE__ */
|
|
451
|
+
return /* @__PURE__ */ jsx(ResolvedInboxNotificationTextMention, {
|
|
454
452
|
inboxNotification,
|
|
455
453
|
...props,
|
|
456
454
|
ref: forwardedRef
|
|
@@ -462,11 +460,11 @@ const InboxNotification = Object.assign(
|
|
|
462
460
|
if (process.env.NODE_ENV !== "production") {
|
|
463
461
|
if (!inboxNotificationKindsWarnings.has(inboxNotification.kind)) {
|
|
464
462
|
inboxNotificationKindsWarnings.add(inboxNotification.kind);
|
|
465
|
-
|
|
463
|
+
console.warn(
|
|
466
464
|
`Custom notification kind "${inboxNotification.kind}" is not handled so notifications of this kind will not be displayed in production. Use the kinds prop to define how they should be rendered.`
|
|
467
465
|
);
|
|
468
466
|
}
|
|
469
|
-
return /* @__PURE__ */
|
|
467
|
+
return /* @__PURE__ */ jsx(InboxNotificationCustomMissing, {
|
|
470
468
|
inboxNotification,
|
|
471
469
|
...props,
|
|
472
470
|
ref: forwardedRef
|
|
@@ -475,7 +473,7 @@ const InboxNotification = Object.assign(
|
|
|
475
473
|
return null;
|
|
476
474
|
}
|
|
477
475
|
}
|
|
478
|
-
return /* @__PURE__ */
|
|
476
|
+
return /* @__PURE__ */ jsx(ResolvedInboxNotificationCustom, {
|
|
479
477
|
inboxNotification,
|
|
480
478
|
...props,
|
|
481
479
|
ref: forwardedRef
|
|
@@ -493,5 +491,5 @@ const InboxNotification = Object.assign(
|
|
|
493
491
|
}
|
|
494
492
|
);
|
|
495
493
|
|
|
496
|
-
|
|
494
|
+
export { InboxNotification };
|
|
497
495
|
//# sourceMappingURL=InboxNotification.js.map
|