@weavy/uikit-react 13.0.0 → 14.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +30 -0
- package/dist/cjs/{types/client → client}/WeavyClient.d.ts +0 -0
- package/dist/cjs/{types/components → components}/Attachment.d.ts +0 -0
- package/dist/cjs/{types/components → components}/Avatar.d.ts +0 -0
- package/dist/{esm/types → cjs}/components/Chat.d.ts +1 -1
- package/dist/cjs/{types/components → components}/Conversation.d.ts +0 -0
- package/dist/cjs/{types/components → components}/ConversationBadge.d.ts +0 -0
- package/dist/cjs/{types/components → components}/ConversationForm.d.ts +0 -0
- package/dist/cjs/{types/components → components}/ConversationList.d.ts +0 -0
- package/dist/cjs/{types/components → components}/ConversationListItem.d.ts +0 -0
- package/dist/cjs/{types/components → components}/File.d.ts +0 -0
- package/dist/cjs/{types/components → components}/FileBrowser.d.ts +0 -0
- package/dist/cjs/{types/components → components}/Image.d.ts +0 -0
- package/dist/cjs/{types/components → components}/Meeting.d.ts +0 -0
- package/dist/cjs/{types/components → components}/MeetingCard.d.ts +0 -0
- package/dist/cjs/{types/components → components}/Meetings.d.ts +0 -0
- package/dist/cjs/{types/components → components}/Message.d.ts +0 -0
- package/dist/{esm/types → cjs}/components/Messages.d.ts +3 -1
- package/dist/cjs/{types/components → components}/Messenger.d.ts +0 -0
- package/dist/cjs/{types/components → components}/NewConversation.d.ts +0 -0
- package/dist/cjs/{types/components → components}/PdfViewer.d.ts +0 -0
- package/dist/cjs/{types/components → components}/Presence.d.ts +0 -0
- package/dist/cjs/{types/components → components}/Preview.d.ts +0 -0
- package/dist/cjs/{types/components → components}/Reactions.d.ts +0 -0
- package/dist/cjs/{types/components → components}/SearchUsers.d.ts +0 -0
- package/dist/cjs/{types/components → components}/SeenBy.d.ts +0 -0
- package/dist/cjs/{types/components → components}/Typing.d.ts +0 -0
- package/dist/cjs/{types/contexts → contexts}/MessengerContext.d.ts +0 -0
- package/dist/cjs/{types/contexts → contexts}/PreviewContext.d.ts +0 -0
- package/dist/cjs/{types/contexts → contexts}/UserContext.d.ts +0 -0
- package/dist/cjs/{types/contexts → contexts}/WeavyContext.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useBadge.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useChat.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useConversation.d.ts +0 -0
- package/dist/cjs/hooks/useConversations.d.ts +1 -0
- package/dist/cjs/{types/hooks → hooks}/useDebounce.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useEvents.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useFileUploader.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useMembers.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useMessages.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useMutateChat.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useMutateConversation.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useMutateConversationName.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useMutateDeleteReaction.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useMutateExternalBlobs.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useMutateMeeting.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useMutateMembers.d.ts +0 -0
- package/dist/{esm/types → cjs}/hooks/useMutateMessage.d.ts +1 -1
- package/dist/cjs/{types/hooks → hooks}/useMutatePinned.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useMutateReaction.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useMutateRead.d.ts +1 -0
- package/dist/cjs/{types/hooks → hooks}/useMutateRemoveMembers.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useMutateTyping.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/usePresence.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/usePreview.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useReactions.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useSearchUsers.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useThrottle.d.ts +0 -0
- package/dist/cjs/{types/hooks → hooks}/useUser.d.ts +0 -0
- package/dist/cjs/{types/index.d.ts → index.d.ts} +0 -0
- package/dist/cjs/index.js +6 -28
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/{types/Chat.d.ts → Chat.d.ts} +1 -0
- package/dist/cjs/types/{types/Conversation.d.ts → Conversation.d.ts} +0 -0
- package/dist/cjs/types/{types/ConversationListItem.d.ts → ConversationListItem.d.ts} +0 -0
- package/dist/{esm/types → cjs}/types/Message.d.ts +2 -0
- package/dist/cjs/types/{types/Messenger.d.ts → Messenger.d.ts} +0 -0
- package/dist/cjs/types/{types/types.d.ts → types.d.ts} +47 -4
- package/dist/cjs/{types/ui → ui}/Button.d.ts +0 -0
- package/dist/cjs/{types/ui → ui}/Dropdown.d.ts +0 -0
- package/dist/cjs/{types/ui → ui}/Icon.d.ts +0 -0
- package/dist/cjs/{types/ui → ui}/Overlay.d.ts +0 -0
- package/dist/cjs/{types/ui → ui}/Spinner.d.ts +2 -1
- package/dist/cjs/{types/utils → utils}/fileUtilities.d.ts +0 -0
- package/dist/css/weavy-chat.css +1543 -959
- package/dist/css/weavy-messenger.css +1903 -1302
- package/dist/css/weavy.css +1703 -1102
- package/dist/esm/{types/client → client}/WeavyClient.d.ts +0 -0
- package/dist/esm/{types/components → components}/Attachment.d.ts +0 -0
- package/dist/esm/{types/components → components}/Avatar.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/Chat.d.ts +1 -1
- package/dist/esm/{types/components → components}/Conversation.d.ts +0 -0
- package/dist/esm/{types/components → components}/ConversationBadge.d.ts +0 -0
- package/dist/esm/{types/components → components}/ConversationForm.d.ts +0 -0
- package/dist/esm/{types/components → components}/ConversationList.d.ts +0 -0
- package/dist/esm/{types/components → components}/ConversationListItem.d.ts +0 -0
- package/dist/esm/{types/components → components}/File.d.ts +0 -0
- package/dist/esm/{types/components → components}/FileBrowser.d.ts +0 -0
- package/dist/esm/{types/components → components}/Image.d.ts +0 -0
- package/dist/esm/{types/components → components}/Meeting.d.ts +0 -0
- package/dist/esm/{types/components → components}/MeetingCard.d.ts +0 -0
- package/dist/esm/{types/components → components}/Meetings.d.ts +0 -0
- package/dist/esm/{types/components → components}/Message.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/Messages.d.ts +3 -1
- package/dist/esm/{types/components → components}/Messenger.d.ts +0 -0
- package/dist/esm/{types/components → components}/NewConversation.d.ts +0 -0
- package/dist/esm/{types/components → components}/PdfViewer.d.ts +0 -0
- package/dist/esm/{types/components → components}/Presence.d.ts +0 -0
- package/dist/esm/{types/components → components}/Preview.d.ts +0 -0
- package/dist/esm/{types/components → components}/Reactions.d.ts +0 -0
- package/dist/esm/{types/components → components}/SearchUsers.d.ts +0 -0
- package/dist/esm/{types/components → components}/SeenBy.d.ts +0 -0
- package/dist/esm/{types/components → components}/Typing.d.ts +0 -0
- package/dist/esm/{types/contexts → contexts}/MessengerContext.d.ts +0 -0
- package/dist/esm/{types/contexts → contexts}/PreviewContext.d.ts +0 -0
- package/dist/esm/{types/contexts → contexts}/UserContext.d.ts +0 -0
- package/dist/esm/{types/contexts → contexts}/WeavyContext.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useBadge.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useChat.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useConversation.d.ts +0 -0
- package/dist/esm/hooks/useConversations.d.ts +1 -0
- package/dist/esm/{types/hooks → hooks}/useDebounce.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useEvents.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useFileUploader.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useMembers.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useMessages.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useMutateChat.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useMutateConversation.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useMutateConversationName.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useMutateDeleteReaction.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useMutateExternalBlobs.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useMutateMeeting.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useMutateMembers.d.ts +0 -0
- package/dist/{cjs/types → esm}/hooks/useMutateMessage.d.ts +1 -1
- package/dist/esm/{types/hooks → hooks}/useMutatePinned.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useMutateReaction.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useMutateRead.d.ts +1 -0
- package/dist/esm/{types/hooks → hooks}/useMutateRemoveMembers.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useMutateTyping.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/usePresence.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/usePreview.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useReactions.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useSearchUsers.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useThrottle.d.ts +0 -0
- package/dist/esm/{types/hooks → hooks}/useUser.d.ts +0 -0
- package/dist/esm/{types/index.d.ts → index.d.ts} +0 -0
- package/dist/esm/index.js +6 -28
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/{types/Chat.d.ts → Chat.d.ts} +1 -0
- package/dist/esm/types/{types/Conversation.d.ts → Conversation.d.ts} +0 -0
- package/dist/esm/types/{types/ConversationListItem.d.ts → ConversationListItem.d.ts} +0 -0
- package/dist/{cjs/types → esm}/types/Message.d.ts +2 -0
- package/dist/esm/types/{types/Messenger.d.ts → Messenger.d.ts} +0 -0
- package/dist/esm/types/{types/types.d.ts → types.d.ts} +47 -4
- package/dist/esm/{types/ui → ui}/Button.d.ts +0 -0
- package/dist/esm/{types/ui → ui}/Dropdown.d.ts +0 -0
- package/dist/esm/{types/ui → ui}/Icon.d.ts +0 -0
- package/dist/esm/{types/ui → ui}/Overlay.d.ts +0 -0
- package/dist/esm/{types/ui → ui}/Spinner.d.ts +2 -1
- package/dist/esm/{types/utils → utils}/fileUtilities.d.ts +0 -0
- package/dist/index.d.ts +2 -1
- package/package.json +18 -15
- package/{rollup.config.js → rollup.config.mjs} +10 -3
- package/src/client/WeavyClient.ts +12 -17
- package/src/components/Attachment.tsx +5 -5
- package/src/components/Chat.tsx +6 -5
- package/src/components/Conversation.tsx +26 -20
- package/src/components/ConversationBadge.tsx +7 -5
- package/src/components/ConversationForm.tsx +1 -1
- package/src/components/ConversationList.tsx +59 -11
- package/src/components/ConversationListItem.tsx +94 -58
- package/src/components/FileBrowser.tsx +53 -50
- package/src/components/Image.tsx +2 -1
- package/src/components/MeetingCard.tsx +35 -13
- package/src/components/Meetings.tsx +1 -1
- package/src/components/Message.tsx +41 -42
- package/src/components/Messages.tsx +61 -60
- package/src/components/Messenger.tsx +7 -2
- package/src/components/NewConversation.tsx +1 -1
- package/src/components/PdfViewer.tsx +5 -5
- package/src/components/Preview.tsx +2 -2
- package/src/components/Reactions.tsx +11 -5
- package/src/components/SearchUsers.tsx +19 -9
- package/src/components/SeenBy.tsx +13 -7
- package/src/components/Typing.tsx +11 -12
- package/src/contexts/UserContext.tsx +1 -1
- package/src/contexts/WeavyContext.tsx +3 -3
- package/src/hooks/useConversations.ts +15 -5
- package/src/hooks/useMutateMessage.ts +1 -5
- package/src/hooks/useMutateRead.ts +5 -3
- package/src/hooks/usePresence.ts +2 -3
- package/src/hooks/useReactions.ts +11 -12
- package/src/scss/theme/_alert.scss +61 -63
- package/src/scss/theme/_appbar.scss +105 -30
- package/src/scss/theme/_avatar.scss +23 -28
- package/src/scss/theme/_badge.scss +26 -18
- package/src/scss/theme/_buttons.scss +107 -52
- package/src/scss/theme/_card.scss +102 -4
- package/src/scss/theme/_checkbox.scss +16 -20
- package/src/scss/theme/_code-vscode-dark.scss +3 -3
- package/src/scss/theme/_code-vscode-light.scss +3 -3
- package/src/scss/theme/_code.scss +0 -2
- package/src/scss/theme/_comment-editor-cm.scss +97 -0
- package/src/scss/theme/_comment-editor.scss +129 -0
- package/src/scss/theme/_comments.scss +66 -0
- package/src/scss/theme/_content.scss +33 -5
- package/src/scss/theme/_conversations.scss +19 -78
- package/src/scss/theme/_dropdown.scss +102 -15
- package/src/scss/theme/_embed.scss +135 -0
- package/src/scss/theme/_facepile.scss +11 -0
- package/src/scss/theme/_filebrowser.scss +1 -1
- package/src/scss/theme/_files.scss +76 -47
- package/src/scss/theme/_grid.scss +8 -0
- package/src/scss/theme/_icons.scss +155 -19
- package/src/scss/theme/_image-grid.scss +7 -12
- package/src/scss/theme/_input.scss +160 -0
- package/src/scss/theme/_item.scss +169 -0
- package/src/scss/theme/_list.scss +57 -0
- package/src/scss/theme/_meeting.scss +11 -0
- package/src/scss/theme/_message-editor-cm.scss +95 -0
- package/src/scss/theme/_message-editor.scss +65 -19
- package/src/scss/theme/_messages.scss +51 -105
- package/src/scss/theme/_meta.scss +12 -0
- package/src/scss/theme/_overlays.scss +31 -76
- package/src/scss/theme/_pager.scss +5 -1
- package/src/scss/theme/_pane.scss +13 -2
- package/src/scss/theme/_panels.scss +33 -28
- package/src/scss/theme/_picker-list.scss +5 -3
- package/src/scss/theme/_placeholder.scss +19 -0
- package/src/scss/theme/_poll.scss +49 -0
- package/src/scss/theme/_post-editor-cm.scss +100 -0
- package/src/scss/theme/_post-editor.scss +127 -0
- package/src/scss/theme/_post.scss +83 -0
- package/src/scss/theme/_preview-code.scss +11 -2
- package/src/scss/theme/_preview-embed.scss +8 -2
- package/src/scss/theme/_preview-image.scss +8 -26
- package/src/scss/theme/_preview-media.scss +1 -0
- package/src/scss/theme/_preview-pdf.scss +10 -15
- package/src/scss/theme/_preview.scss +57 -79
- package/src/scss/theme/_reactions.scss +48 -17
- package/src/scss/theme/_sheet.scss +59 -0
- package/src/scss/theme/_sidebar.scss +86 -0
- package/src/scss/theme/_spinner.scss +11 -7
- package/src/scss/theme/_tab.scss +72 -0
- package/src/scss/theme/_tables.scss +70 -23
- package/src/scss/theme/_toasts.scss +56 -26
- package/src/scss/theme/_type.scss +41 -0
- package/src/scss/theme/{mixins → base}/_backdrop.scss +0 -0
- package/src/scss/theme/{bootstrap/mixins → base}/_breakpoints.scss +9 -0
- package/src/scss/theme/base/_colors.scss +315 -0
- package/src/scss/theme/base/_md.scss +19 -0
- package/src/scss/theme/base/_palette.scss +130 -0
- package/src/scss/theme/{mixins → base}/_position.scss +5 -5
- package/src/scss/theme/base/_reboot.scss +51 -0
- package/src/scss/theme/base/_scroll.scss +180 -0
- package/src/scss/theme/base/_svg.scss +49 -0
- package/src/scss/theme/base/_text.scss +23 -0
- package/src/scss/theme/base/_vars.scss +203 -0
- package/src/scss/theme/{fonts → base/fonts}/_fontmapping-roboto.scss +0 -0
- package/src/scss/theme/{fonts → base/fonts}/_fontmapping-segoe-ui.scss +0 -0
- package/src/scss/theme/base/fonts/_index.scss +2 -0
- package/src/scss/weavy-chat.scss +10 -4
- package/src/scss/weavy-messenger.scss +37 -21
- package/src/types/Chat.ts +2 -1
- package/src/types/Message.ts +3 -1
- package/src/types/types.ts +56 -5
- package/src/ui/Icon.tsx +1 -1
- package/src/ui/Spinner.tsx +3 -2
- package/src/utils/infiniteScroll.js +12 -3
- package/src/utils/postal-parent.js +398 -0
- package/src/utils/promise.js +187 -0
- package/src/utils/scrollbarDetection.js +71 -9
- package/src/utils/utils.js +547 -0
- package/dist/cjs/types/hooks/useConversations.d.ts +0 -1
- package/dist/esm/types/hooks/useConversations.d.ts +0 -1
- package/src/scss/theme/_attachments.scss +0 -74
- package/src/scss/theme/_cm-editor.scss +0 -42
- package/src/scss/theme/_colors.scss +0 -520
- package/src/scss/theme/_config.scss +0 -6
- package/src/scss/theme/_inputs.scss +0 -28
- package/src/scss/theme/_nav.scss +0 -52
- package/src/scss/theme/_palette.scss +0 -165
- package/src/scss/theme/_preview-icon.scss +0 -41
- package/src/scss/theme/_reboot.scss +0 -41
- package/src/scss/theme/_root.scss +0 -2
- package/src/scss/theme/_scroll.scss +0 -55
- package/src/scss/theme/_search.scss +0 -68
- package/src/scss/theme/_turbo.scss +0 -17
- package/src/scss/theme/_variables.scss +0 -139
- package/src/scss/theme/bootstrap/_accordion.scss +0 -146
- package/src/scss/theme/bootstrap/_alert.scss +0 -71
- package/src/scss/theme/bootstrap/_badge.scss +0 -38
- package/src/scss/theme/bootstrap/_breadcrumb.scss +0 -40
- package/src/scss/theme/bootstrap/_button-group.scss +0 -142
- package/src/scss/theme/bootstrap/_buttons.scss +0 -186
- package/src/scss/theme/bootstrap/_card.scss +0 -234
- package/src/scss/theme/bootstrap/_carousel.scss +0 -229
- package/src/scss/theme/bootstrap/_close.scss +0 -40
- package/src/scss/theme/bootstrap/_containers.scss +0 -41
- package/src/scss/theme/bootstrap/_dropdown.scss +0 -248
- package/src/scss/theme/bootstrap/_forms.scss +0 -9
- package/src/scss/theme/bootstrap/_functions.scss +0 -302
- package/src/scss/theme/bootstrap/_grid.scss +0 -33
- package/src/scss/theme/bootstrap/_helpers.scss +0 -10
- package/src/scss/theme/bootstrap/_images.scss +0 -42
- package/src/scss/theme/bootstrap/_list-group.scss +0 -191
- package/src/scss/theme/bootstrap/_maps.scss +0 -54
- package/src/scss/theme/bootstrap/_mixins.scss +0 -43
- package/src/scss/theme/bootstrap/_modal.scss +0 -237
- package/src/scss/theme/bootstrap/_nav.scss +0 -172
- package/src/scss/theme/bootstrap/_navbar.scss +0 -276
- package/src/scss/theme/bootstrap/_offcanvas.scss +0 -143
- package/src/scss/theme/bootstrap/_pagination.scss +0 -109
- package/src/scss/theme/bootstrap/_placeholders.scss +0 -51
- package/src/scss/theme/bootstrap/_popover.scss +0 -196
- package/src/scss/theme/bootstrap/_progress.scss +0 -59
- package/src/scss/theme/bootstrap/_reboot.scss +0 -610
- package/src/scss/theme/bootstrap/_root.scss +0 -73
- package/src/scss/theme/bootstrap/_spinners.scss +0 -85
- package/src/scss/theme/bootstrap/_tables.scss +0 -164
- package/src/scss/theme/bootstrap/_toasts.scss +0 -70
- package/src/scss/theme/bootstrap/_tooltip.scss +0 -120
- package/src/scss/theme/bootstrap/_transitions.scss +0 -27
- package/src/scss/theme/bootstrap/_type.scss +0 -106
- package/src/scss/theme/bootstrap/_utilities.scss +0 -647
- package/src/scss/theme/bootstrap/_variables.scss +0 -1633
- package/src/scss/theme/bootstrap/forms/_floating-labels.scss +0 -74
- package/src/scss/theme/bootstrap/forms/_form-check.scss +0 -175
- package/src/scss/theme/bootstrap/forms/_form-control.scss +0 -194
- package/src/scss/theme/bootstrap/forms/_form-range.scss +0 -91
- package/src/scss/theme/bootstrap/forms/_form-select.scss +0 -71
- package/src/scss/theme/bootstrap/forms/_form-text.scss +0 -11
- package/src/scss/theme/bootstrap/forms/_input-group.scss +0 -129
- package/src/scss/theme/bootstrap/forms/_labels.scss +0 -36
- package/src/scss/theme/bootstrap/forms/_validation.scss +0 -12
- package/src/scss/theme/bootstrap/helpers/_clearfix.scss +0 -3
- package/src/scss/theme/bootstrap/helpers/_color-bg.scss +0 -10
- package/src/scss/theme/bootstrap/helpers/_colored-links.scss +0 -12
- package/src/scss/theme/bootstrap/helpers/_position.scss +0 -36
- package/src/scss/theme/bootstrap/helpers/_ratio.scss +0 -26
- package/src/scss/theme/bootstrap/helpers/_stacks.scss +0 -15
- package/src/scss/theme/bootstrap/helpers/_stretched-link.scss +0 -15
- package/src/scss/theme/bootstrap/helpers/_text-truncation.scss +0 -7
- package/src/scss/theme/bootstrap/helpers/_visually-hidden.scss +0 -8
- package/src/scss/theme/bootstrap/helpers/_vr.scss +0 -8
- package/src/scss/theme/bootstrap/mixins/_alert.scss +0 -15
- package/src/scss/theme/bootstrap/mixins/_backdrop.scss +0 -14
- package/src/scss/theme/bootstrap/mixins/_banner.scss +0 -9
- package/src/scss/theme/bootstrap/mixins/_border-radius.scss +0 -78
- package/src/scss/theme/bootstrap/mixins/_box-shadow.scss +0 -18
- package/src/scss/theme/bootstrap/mixins/_buttons.scss +0 -70
- package/src/scss/theme/bootstrap/mixins/_caret.scss +0 -64
- package/src/scss/theme/bootstrap/mixins/_clearfix.scss +0 -9
- package/src/scss/theme/bootstrap/mixins/_color-scheme.scss +0 -7
- package/src/scss/theme/bootstrap/mixins/_container.scss +0 -11
- package/src/scss/theme/bootstrap/mixins/_deprecate.scss +0 -10
- package/src/scss/theme/bootstrap/mixins/_forms.scss +0 -152
- package/src/scss/theme/bootstrap/mixins/_gradients.scss +0 -47
- package/src/scss/theme/bootstrap/mixins/_grid.scss +0 -151
- package/src/scss/theme/bootstrap/mixins/_image.scss +0 -16
- package/src/scss/theme/bootstrap/mixins/_list-group.scss +0 -24
- package/src/scss/theme/bootstrap/mixins/_lists.scss +0 -7
- package/src/scss/theme/bootstrap/mixins/_pagination.scss +0 -10
- package/src/scss/theme/bootstrap/mixins/_reset-text.scss +0 -17
- package/src/scss/theme/bootstrap/mixins/_resize.scss +0 -6
- package/src/scss/theme/bootstrap/mixins/_table-variants.scss +0 -24
- package/src/scss/theme/bootstrap/mixins/_text-truncate.scss +0 -8
- package/src/scss/theme/bootstrap/mixins/_transition.scss +0 -26
- package/src/scss/theme/bootstrap/mixins/_utilities.scss +0 -97
- package/src/scss/theme/bootstrap/mixins/_visually-hidden.scss +0 -29
- package/src/scss/theme/bootstrap/utilities/_api.scss +0 -47
- package/src/scss/theme/bootstrap/vendor/_rfs.scss +0 -354
- package/src/scss/theme/bs/_badge.scss +0 -20
- package/src/scss/theme/bs/_buttons.scss +0 -185
- package/src/scss/theme/bs/_dropdown.scss +0 -86
- package/src/scss/theme/bs/_forms.scss +0 -161
- package/src/scss/theme/bs/_list-group.scss +0 -73
- package/src/scss/theme/bs/_tables.scss +0 -46
- package/src/scss/theme/fonts/_index.scss +0 -2
- package/src/scss/theme/mixins/_palette.scss +0 -165
- package/src/scss/theme/mixins/_scrollbar.scss +0 -110
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@use "
|
|
1
|
+
@use "base/vars";
|
|
2
|
+
@use "base/colors";
|
|
3
|
+
@use "base/breakpoints";
|
|
2
4
|
|
|
3
5
|
.wy-viewport {
|
|
4
6
|
position: fixed;
|
|
@@ -6,7 +8,7 @@
|
|
|
6
8
|
right: 0;
|
|
7
9
|
bottom: 0;
|
|
8
10
|
left: 0;
|
|
9
|
-
z-index:
|
|
11
|
+
z-index: vars.$zindex-max; /* max possible z-index */;
|
|
10
12
|
pointer-events: none;
|
|
11
13
|
}
|
|
12
14
|
|
|
@@ -30,7 +32,7 @@
|
|
|
30
32
|
perspective-origin: center center;
|
|
31
33
|
|
|
32
34
|
.wy-panel {
|
|
33
|
-
background-color:
|
|
35
|
+
background-color: colors.$background;
|
|
34
36
|
//max-height: 100vh; // Causes height error in safari
|
|
35
37
|
|
|
36
38
|
&:not(.wy-transition) {
|
|
@@ -42,10 +44,10 @@
|
|
|
42
44
|
border-bottom: none;
|
|
43
45
|
flex-direction: row;
|
|
44
46
|
transition: opacity .1s .2s step-end;
|
|
45
|
-
|
|
47
|
+
//background: colors.$surface-1;
|
|
46
48
|
|
|
47
49
|
.wy-icon {
|
|
48
|
-
color:
|
|
50
|
+
color: colors.$on-surface;
|
|
49
51
|
}
|
|
50
52
|
}
|
|
51
53
|
|
|
@@ -60,74 +62,9 @@
|
|
|
60
62
|
background-color: transparent;
|
|
61
63
|
}
|
|
62
64
|
|
|
63
|
-
&.wy-controls-light {
|
|
64
|
-
.wy-icon {
|
|
65
|
-
color: $icon-color;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&.wy-light {
|
|
70
|
-
background-color: rgba(mix($white, #FFF), $opacity-backdrop);
|
|
71
|
-
|
|
72
|
-
.wy-icon {
|
|
73
|
-
color: $icon-color;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&.wy-controls-dark {
|
|
78
|
-
.wy-icon {
|
|
79
|
-
color: $navbar-dark-color;
|
|
80
|
-
|
|
81
|
-
&:hover, &:focus {
|
|
82
|
-
color: $navbar-dark-hover-color;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&:active {
|
|
86
|
-
color: $navbar-dark-active-color;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&.wy-dark {
|
|
92
|
-
background-color: rgba(mix($dark, #000), $opacity-backdrop);
|
|
93
|
-
|
|
94
|
-
.wy-icon {
|
|
95
|
-
color: $navbar-dark-color;
|
|
96
|
-
|
|
97
|
-
&:hover, &:focus {
|
|
98
|
-
color: $navbar-dark-hover-color;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
&:active {
|
|
102
|
-
color: $navbar-dark-active-color;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&.wy-open[data-title]::before {
|
|
107
|
-
background-color: rgba($dark, $opacity-backdrop);
|
|
108
|
-
color: $navbar-dark-color;
|
|
109
|
-
box-shadow: rgba($gray-800, $opacity-backdrop) 0px -1px 0px 0px inset
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&.wy-floating {
|
|
114
|
-
@include media-breakpoint-up(md, $grid-breakpoints) {
|
|
115
|
-
left: 1rem;
|
|
116
|
-
top: 1rem;
|
|
117
|
-
right: 1rem;
|
|
118
|
-
bottom: 1rem;
|
|
119
|
-
border-radius: .1875rem;
|
|
120
|
-
box-shadow: $md-shadow-16dp;
|
|
121
|
-
&:not(.wy-scroll-y) {
|
|
122
|
-
overflow: hidden;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
65
|
&.wy-modal {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
@include media-breakpoint-up(md, $grid-breakpoints) {
|
|
66
|
+
// TODO: REMOVE BREAKPOINTS
|
|
67
|
+
@include breakpoints.media-breakpoint-up(md) {
|
|
131
68
|
left: auto;
|
|
132
69
|
right: auto;
|
|
133
70
|
top: 2rem;
|
|
@@ -136,8 +73,8 @@
|
|
|
136
73
|
margin-top: auto;
|
|
137
74
|
margin-right: 4rem;
|
|
138
75
|
margin-bottom: auto;
|
|
139
|
-
border-radius:
|
|
140
|
-
box-shadow:
|
|
76
|
+
border-radius: vars.$border-radius; //.25rem;
|
|
77
|
+
box-shadow: vars.$shadow-level4;
|
|
141
78
|
width: 32rem;
|
|
142
79
|
max-height: 32rem;
|
|
143
80
|
&:not(.wy-scroll-y) {
|
|
@@ -146,10 +83,28 @@
|
|
|
146
83
|
}
|
|
147
84
|
}
|
|
148
85
|
|
|
86
|
+
&.wy-modal-full {
|
|
87
|
+
// TODO: REMOVE BREAKPOINTS
|
|
88
|
+
@include breakpoints.media-breakpoint-up(md) {
|
|
89
|
+
left: 1rem;
|
|
90
|
+
top: 1rem;
|
|
91
|
+
right: 1rem;
|
|
92
|
+
bottom: 1rem;
|
|
93
|
+
margin: 0;
|
|
94
|
+
border-radius: vars.$border-radius; //.1875rem;
|
|
95
|
+
box-shadow: vars.$shadow-level4;
|
|
96
|
+
width: auto;
|
|
97
|
+
max-height: none;
|
|
98
|
+
&:not(.wy-scroll-y) {
|
|
99
|
+
overflow: hidden;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
149
104
|
&.wy-loading {
|
|
150
105
|
.wy-controls {
|
|
151
|
-
transition: opacity
|
|
152
|
-
//transition: opacity
|
|
106
|
+
transition: opacity vars.$transition;
|
|
107
|
+
//transition: opacity variables.$transition .2s;
|
|
153
108
|
opacity: 1;
|
|
154
109
|
}
|
|
155
110
|
}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
@use "base/colors";
|
|
2
|
+
|
|
1
3
|
.wy-pane {
|
|
2
|
-
min-height: 100vh;
|
|
3
4
|
display: flex;
|
|
4
5
|
flex-direction: column;
|
|
5
6
|
position: relative;
|
|
7
|
+
min-height: 0;
|
|
8
|
+
height: 100%;
|
|
9
|
+
flex: 1 1 auto;
|
|
6
10
|
}
|
|
7
11
|
|
|
8
12
|
.wy-pane-body {
|
|
@@ -12,5 +16,12 @@
|
|
|
12
16
|
}
|
|
13
17
|
|
|
14
18
|
.wy-pane-group {
|
|
15
|
-
padding: .
|
|
19
|
+
padding: .75rem;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.wy-pane-background {
|
|
23
|
+
--wy-component-background-color: #{colors.$background};
|
|
24
|
+
--wy-component-color: #{colors.$on-background};
|
|
25
|
+
background-color: var(--wy-component-background-color);
|
|
26
|
+
color: var(--wy-component-color);
|
|
16
27
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
@use "
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
@use "base/vars";
|
|
3
|
+
@use "base/colors";
|
|
4
|
+
@use "base/backdrop";
|
|
5
|
+
@use "base/svg";
|
|
3
6
|
|
|
4
7
|
.wy-panels {
|
|
5
8
|
position: absolute;
|
|
@@ -20,14 +23,14 @@
|
|
|
20
23
|
left: 0;
|
|
21
24
|
pointer-events: none;
|
|
22
25
|
overflow: hidden;
|
|
23
|
-
background-color:
|
|
26
|
+
background-color: colors.$background;
|
|
24
27
|
display: flex;
|
|
25
28
|
flex-direction: column;
|
|
26
29
|
|
|
27
30
|
.wy-controls {
|
|
28
|
-
top: .
|
|
29
|
-
left: .
|
|
30
|
-
min-width:
|
|
31
|
+
top: .25rem;
|
|
32
|
+
left: .25rem;
|
|
33
|
+
min-width: 2.5rem;
|
|
31
34
|
width: auto;
|
|
32
35
|
display: flex;
|
|
33
36
|
z-index: 10000;
|
|
@@ -39,20 +42,22 @@
|
|
|
39
42
|
}
|
|
40
43
|
|
|
41
44
|
.wy-icon {
|
|
42
|
-
color:
|
|
45
|
+
color: colors.$on-background;
|
|
43
46
|
}
|
|
44
47
|
|
|
45
|
-
border-bottom: 1px solid
|
|
48
|
+
border-bottom: 1px solid colors.$outline-variant;
|
|
46
49
|
}
|
|
47
50
|
|
|
48
51
|
.wy-panel-frame {
|
|
49
|
-
transition: opacity
|
|
52
|
+
transition: opacity vars.$transition-fast;
|
|
53
|
+
transition-delay: .2s;
|
|
50
54
|
opacity: 1;
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
&:not(.wy-loaded) .wy-panel-frame {
|
|
54
58
|
opacity: 0;
|
|
55
|
-
transition: opacity .2s
|
|
59
|
+
transition: opacity .2s step-start;
|
|
60
|
+
transition-delay: .1s;
|
|
56
61
|
}
|
|
57
62
|
|
|
58
63
|
&.wy-open {
|
|
@@ -65,23 +70,22 @@
|
|
|
65
70
|
top: 0;
|
|
66
71
|
left: 0;
|
|
67
72
|
right: 0;
|
|
68
|
-
height:
|
|
69
|
-
padding:
|
|
73
|
+
height: vars.$appbar-height;
|
|
74
|
+
padding: .25rem;
|
|
70
75
|
opacity: 0;
|
|
71
76
|
pointer-events: none;
|
|
72
77
|
display: flex;
|
|
73
78
|
align-items: center;
|
|
74
79
|
justify-content: center;
|
|
75
|
-
transition: opacity .1s
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
background-color: rgba($gray-50, $opacity-backdrop);
|
|
81
|
-
color: $navbar-light-color;
|
|
82
|
-
//border-bottom: $border-width solid rgba($gray-200, $opacity-backdrop);
|
|
83
|
-
box-shadow: rgba($gray-200, $opacity-backdrop) 0px -1px 0px 0px inset;
|
|
80
|
+
transition: opacity .1s step-end;
|
|
81
|
+
transition-delay: .2s;
|
|
82
|
+
font-family: inherit;
|
|
83
|
+
line-height: vars.$line-height-base;
|
|
84
|
+
font-weight: vars.$font-weight-base;
|
|
84
85
|
|
|
86
|
+
background-color: colors.$surface-1;
|
|
87
|
+
color: colors.$on-surface;
|
|
88
|
+
box-shadow: #{colors.$outline-variant} 0px -1px 0px 0px inset;
|
|
85
89
|
|
|
86
90
|
@include backdrop.filter;
|
|
87
91
|
}
|
|
@@ -95,20 +99,21 @@
|
|
|
95
99
|
right: 0;
|
|
96
100
|
pointer-events: none;
|
|
97
101
|
opacity: 0;
|
|
98
|
-
transition: opacity
|
|
102
|
+
transition: opacity vars.$transition;
|
|
103
|
+
transition-duration: 0s;
|
|
99
104
|
}
|
|
100
105
|
|
|
101
106
|
&.wy-loading {
|
|
102
107
|
&[data-title]::before {
|
|
103
|
-
transition: opacity
|
|
108
|
+
//transition: opacity vars.$transition;
|
|
104
109
|
opacity: 1;
|
|
105
110
|
}
|
|
106
111
|
|
|
107
112
|
&::after {
|
|
108
|
-
transition: opacity
|
|
113
|
+
transition: opacity vars.$transition;
|
|
114
|
+
transition-duration: .5s;
|
|
109
115
|
opacity: 1;
|
|
110
|
-
|
|
111
|
-
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cstyle type='text/css'%3Eg%7Banimation:rotate 2s linear infinite;transform-origin:center center%7Dcircle%7Bstroke-dasharray:1,100;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite,color 6s ease-in-out infinite%7D@keyframes rotate%7B100%25%7Btransform:rotate(360deg)%7D%7D@keyframes dash%7B0%25%7Bstroke-dasharray:1,100;stroke-dashoffset:0%7D50%25%7Bstroke-dasharray:44.5,100;stroke-dashoffset:-17.5px%7D100%25%7Bstroke-dasharray:44.5,100;stroke-dashoffset:-62px%7D%7D@keyframes color%7B0%25,100%25%7Bstroke:%23216eb4%7D40%25%7Bstroke:%2328b7cf%7D66%25%7Bstroke:%23216eb4%7D80%25,90%25%7Bstroke:%2328b7cf%7D%7D%3C/style%3E%3Cg%3E%3Ccircle fill='none' cx='12' cy='12' r='11' stroke-linecap='butt' stroke-width='2' /%3E%3C/g%3E%3C/svg%3E");
|
|
116
|
+
background-image: svg.$spinner;
|
|
112
117
|
background-repeat: no-repeat;
|
|
113
118
|
background-position: 50%;
|
|
114
119
|
background-size: rem(2);
|
|
@@ -122,10 +127,10 @@
|
|
|
122
127
|
.wy-panel {
|
|
123
128
|
opacity: 0;
|
|
124
129
|
visibility: hidden;
|
|
125
|
-
transition: opacity
|
|
130
|
+
transition: opacity vars.$transition-fast .01s, transform vars.$transition-fast .01s, visibility .01s step-end vars.$transition-duration-fast;
|
|
126
131
|
|
|
127
132
|
&.wy-open {
|
|
128
|
-
transition: opacity
|
|
133
|
+
transition: opacity vars.$transition, transform vars.$transition, visibility vars.$transition-duration step-start;
|
|
129
134
|
visibility: visible;
|
|
130
135
|
|
|
131
136
|
&.wy-transition {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
|
|
1
|
+
@use "base/text";
|
|
3
2
|
|
|
4
3
|
.wy-picker-list {
|
|
4
|
+
background: var(--wy-component-background-color);
|
|
5
|
+
color: var(--wy-component-color);
|
|
6
|
+
|
|
5
7
|
border: none;
|
|
6
8
|
|
|
7
9
|
> .wy-picker-list-item:first-child, > :first-child .wy-picker-list-item {
|
|
@@ -33,5 +35,5 @@
|
|
|
33
35
|
|
|
34
36
|
.wy-picker-list-item-title {
|
|
35
37
|
flex-grow: 1;
|
|
36
|
-
@include text
|
|
38
|
+
@include text.truncate;
|
|
37
39
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@use "base/colors";
|
|
2
|
+
|
|
3
|
+
$placeholder-opacity-max: .5;
|
|
4
|
+
$placeholder-opacity-min: .2;
|
|
5
|
+
|
|
6
|
+
.wy-placeholder {
|
|
7
|
+
cursor: wait;
|
|
8
|
+
color: var(--wy-outline);
|
|
9
|
+
background-color: var(--wy-outline);
|
|
10
|
+
opacity: $placeholder-opacity-max;
|
|
11
|
+
animation: wy-placeholder-glow 2s ease-in-out infinite;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@keyframes wy-placeholder-glow {
|
|
15
|
+
50% {
|
|
16
|
+
opacity: $placeholder-opacity-min;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
@use "base/colors";
|
|
2
|
+
@use "base/vars";
|
|
3
|
+
|
|
4
|
+
.wy-poll {
|
|
5
|
+
flex: 1 1 100%;
|
|
6
|
+
min-width: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.wy-poll-form {
|
|
10
|
+
background: var(--wy-component-background-color);
|
|
11
|
+
color: var(--wy-component-color);
|
|
12
|
+
padding: .5rem;
|
|
13
|
+
|
|
14
|
+
&:empty {
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
input:not(:first-child) {
|
|
19
|
+
margin-top: .5rem;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.wy-poll-option {
|
|
24
|
+
position: relative;
|
|
25
|
+
background-color: #{colors.$background};
|
|
26
|
+
border: 1px solid #{colors.$outline-variant};
|
|
27
|
+
border-radius: vars.$border-radius-sm;
|
|
28
|
+
margin-bottom: .25rem;
|
|
29
|
+
padding: 0.25rem 1rem;
|
|
30
|
+
min-height: 2.5rem;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
|
|
33
|
+
.wy-progress {
|
|
34
|
+
position: absolute;
|
|
35
|
+
top: 0;
|
|
36
|
+
left: 0;
|
|
37
|
+
bottom: 0;
|
|
38
|
+
background-color: #{colors.$primary-container};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
> :not(.wy-progress) {
|
|
42
|
+
z-index: 1;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.wy-facepile {
|
|
46
|
+
margin-right: -.5rem;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
@use "base/vars";
|
|
2
|
+
@use "base/colors";
|
|
3
|
+
@use "base/scroll";
|
|
4
|
+
@use "base/svg";
|
|
5
|
+
@use "post-editor";
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
.wy-post-editor {
|
|
9
|
+
.ͼ1 .cm-scroller {
|
|
10
|
+
font-family: unset;
|
|
11
|
+
line-height: 1.5;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ͼ1 .cm-widgetBuffer {
|
|
15
|
+
vertical-align: unset;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.ͼ1 .cm-placeholder {
|
|
19
|
+
color: #{colors.$outline};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.ͼ2 .cm-content {
|
|
23
|
+
caret-color: #{colors.$primary};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.ͼ1.cm-editor {
|
|
27
|
+
@extend %post-editor-textfield;
|
|
28
|
+
|
|
29
|
+
&.cm-focused {
|
|
30
|
+
/* default theme in codemirror seems difficult to override */
|
|
31
|
+
--wy-component-color: #{colors.$on-background};
|
|
32
|
+
color: var(--wy-component-color);
|
|
33
|
+
border-color: #{colors.$primary};
|
|
34
|
+
outline: 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.cm-content {
|
|
38
|
+
@extend %post-editor-textcontent;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.cm-scroller {
|
|
42
|
+
overflow: auto;
|
|
43
|
+
|
|
44
|
+
.wy-scrollbars & {
|
|
45
|
+
@include scroll.custom-scrollbar;
|
|
46
|
+
// scrollbar offsets
|
|
47
|
+
@include scroll.scrollbar-top-padding(0.375rem);
|
|
48
|
+
@include scroll.scrollbar-bottom-padding(0.375rem);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.wy-is-invalid + [data-editor-target] .cm-editor {
|
|
54
|
+
border-color: colors.$error !important;
|
|
55
|
+
}
|
|
56
|
+
// autocomplete dropdown menu
|
|
57
|
+
.ͼ1 {
|
|
58
|
+
.cm-tooltip.cm-tooltip-autocomplete > ul {
|
|
59
|
+
font-family: unset;
|
|
60
|
+
max-height: 15rem; // room for 5 items
|
|
61
|
+
|
|
62
|
+
> li {
|
|
63
|
+
padding: 0;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.ͼ2 {
|
|
69
|
+
.cm-tooltip {
|
|
70
|
+
border: none;
|
|
71
|
+
background-clip: padding-box;
|
|
72
|
+
background-color: #{colors.$surface-2};
|
|
73
|
+
color: #{colors.$on-surface};
|
|
74
|
+
border-radius: vars.$border-radius;
|
|
75
|
+
box-shadow: vars.$shadow-level1;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
z-index: vars.$zindex-dropdown;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.cm-tooltip-autocomplete ul li[aria-selected] {
|
|
81
|
+
background: #{colors.$primary-container};
|
|
82
|
+
color: unset;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.cm-tooltip-autocomplete {
|
|
87
|
+
.cm-completionLabel {
|
|
88
|
+
display: none;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.wy-item-hover:hover, .wy-item-hover:focus {
|
|
92
|
+
background: #{colors.$surface-variant};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.wy-avatar {
|
|
96
|
+
width: 32px;
|
|
97
|
+
height: 32px;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
@use "base/vars";
|
|
2
|
+
@use "base/colors";
|
|
3
|
+
@use "base/backdrop";
|
|
4
|
+
@use "base/position";
|
|
5
|
+
|
|
6
|
+
.wy-post-editor {
|
|
7
|
+
padding: .75rem;
|
|
8
|
+
|
|
9
|
+
&.wy-uploading {
|
|
10
|
+
.wy-icon-active-stack {
|
|
11
|
+
> :first-child {
|
|
12
|
+
opacity: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
> :last-child {
|
|
16
|
+
opacity: 1;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.wy-picker-list:not(:empty) {
|
|
22
|
+
margin-top: .75rem;
|
|
23
|
+
border-top: 1px solid #{colors.$outline-variant};
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
.wy-post-editor-dragging {
|
|
29
|
+
&::after {
|
|
30
|
+
content: "Drop files here to upload.";
|
|
31
|
+
background-color: rgba(255, 255, 255, .5);
|
|
32
|
+
display: flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
border: 2px dashed colors.$primary;
|
|
36
|
+
font-weight: vars.$font-weight-bold;
|
|
37
|
+
z-index: 10000;
|
|
38
|
+
position: absolute;
|
|
39
|
+
top: 0;
|
|
40
|
+
left: 0;
|
|
41
|
+
bottom: 0;
|
|
42
|
+
right: 0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
.wy-post-editor-inputs {
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-direction: row;
|
|
50
|
+
align-items: flex-end;
|
|
51
|
+
//border-top: 1px solid #{colors.$outline-variant};
|
|
52
|
+
//padding: .5rem .25rem;
|
|
53
|
+
min-height: 3.5rem;
|
|
54
|
+
flex-wrap: wrap;
|
|
55
|
+
|
|
56
|
+
> :not(:last-child) {
|
|
57
|
+
margin-right: .25rem;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
> :last-child {
|
|
61
|
+
margin-left: auto;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.wy-post-editor-buttons {
|
|
66
|
+
flex: 1 0 auto;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.wy-post-editor-text {
|
|
70
|
+
flex: 1 1 100%;
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.wy-post-editor-mention {
|
|
76
|
+
background: blue;
|
|
77
|
+
color: white;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.wy-post-editor-link {
|
|
81
|
+
background: blue;
|
|
82
|
+
color: white;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
%post-editor-textfield,
|
|
86
|
+
.wy-post-editor-textfield {
|
|
87
|
+
flex: 1 1 100%;
|
|
88
|
+
max-height: 11.25rem;
|
|
89
|
+
min-height: 4rem;
|
|
90
|
+
background-color: colors.$background;
|
|
91
|
+
color: colors.$on-background;
|
|
92
|
+
border-radius: vars.$border-radius;
|
|
93
|
+
border: vars.$input-border-width solid #{colors.$outline-variant};
|
|
94
|
+
caret-color: #{colors.$primary};
|
|
95
|
+
|
|
96
|
+
&:focus {
|
|
97
|
+
border-color: #{colors.$primary};
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
%post-editor-textcontent,
|
|
102
|
+
.wy-post-editor-textcontent {
|
|
103
|
+
font-family: vars.$font-family-base;
|
|
104
|
+
font-size: vars.$font-size-base;
|
|
105
|
+
padding: vars.$input-padding-y vars.$input-padding-x;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
%post-editor-grow,
|
|
109
|
+
.wy-post-editor-grow {
|
|
110
|
+
display: grid;
|
|
111
|
+
|
|
112
|
+
&::after, > textarea {
|
|
113
|
+
@extend %post-editor-textfield;
|
|
114
|
+
grid-area: 1 / 1 / 2 / 2;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&::after {
|
|
118
|
+
content: attr(data-replicated-value) " ";
|
|
119
|
+
white-space: pre-wrap;
|
|
120
|
+
visibility: hidden;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
> textarea {
|
|
124
|
+
resize: none;
|
|
125
|
+
overflow: hidden;
|
|
126
|
+
}
|
|
127
|
+
}
|