@uzum-tech/ui 2.3.0 → 2.3.2
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/index.js +564 -499
- package/dist/index.mjs +564 -499
- package/dist/index.prod.js +2 -2
- package/dist/index.prod.mjs +2 -2
- package/es/chat/src/Chat.d.ts +1074 -0
- package/es/chat/src/ChatListItems.d.ts +360 -0
- package/es/chat/src/ChatMainArea.d.ts +360 -0
- package/es/chat/src/ChatMainArea.mjs +1 -0
- package/es/chat/src/ChatMessages.d.ts +360 -0
- package/es/chat/src/ChatMessages.mjs +30 -3
- package/es/chat/src/ChatParts/Sidebar.d.ts +78 -0
- package/es/chat/src/interface.d.ts +1 -0
- package/es/chat/styles/dark.d.ts +27 -0
- package/es/chat/styles/dark.mjs +2 -0
- package/es/chat/styles/light.d.ts +27 -0
- package/es/chat/styles/light.mjs +2 -0
- package/es/components.d.ts +1840 -7
- package/es/image/src/ImagePreview.d.ts +1 -0
- package/es/image/src/ImagePreview.mjs +7 -35
- package/es/image/src/public-types.d.ts +4 -4
- package/es/message-bubble/src/MessageBubble.mjs +16 -5
- package/es/message-bubble/src/interface.d.ts +2 -0
- package/es/message-bubble/src/styles/index.cssr.mjs +5 -7
- package/es/upload/index.d.ts +2 -1
- package/es/upload/index.mjs +2 -1
- package/es/upload/src/Upload.d.ts +73 -1007
- package/es/upload/src/Upload.mjs +43 -124
- package/es/upload/src/UploadFile.d.ts +1 -1
- package/es/upload/src/UploadFile.mjs +8 -2
- package/es/upload/src/UploadFileList.mjs +17 -2
- package/es/upload/src/UploadProgress.d.ts +3 -2
- package/es/upload/src/interface.d.ts +1086 -92
- package/es/upload/src/interface.mjs +117 -1
- package/es/upload/src/public-types.d.ts +17 -2
- package/es/upload/src/useUploadActionsRender.d.ts +2 -27
- package/es/upload/src/useUploadActionsRender.mjs +2 -2
- package/es/upload/src/useUploadInternals.d.ts +2 -25
- package/es/upload/src/utils.d.ts +2 -0
- package/es/upload/src/utils.mjs +7 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/chat/src/Chat.d.ts +1074 -0
- package/lib/chat/src/ChatListItems.d.ts +360 -0
- package/lib/chat/src/ChatMainArea.d.ts +360 -0
- package/lib/chat/src/ChatMainArea.js +1 -0
- package/lib/chat/src/ChatMessages.d.ts +360 -0
- package/lib/chat/src/ChatMessages.js +10 -3
- package/lib/chat/src/ChatParts/Sidebar.d.ts +78 -0
- package/lib/chat/src/interface.d.ts +1 -0
- package/lib/chat/styles/dark.d.ts +27 -0
- package/lib/chat/styles/dark.js +6 -4
- package/lib/chat/styles/light.d.ts +27 -0
- package/lib/chat/styles/light.js +6 -4
- package/lib/components.d.ts +1840 -7
- package/lib/image/src/ImagePreview.d.ts +1 -0
- package/lib/image/src/ImagePreview.js +3 -19
- package/lib/image/src/public-types.d.ts +4 -4
- package/lib/message-bubble/src/MessageBubble.js +15 -5
- package/lib/message-bubble/src/interface.d.ts +2 -0
- package/lib/message-bubble/src/styles/index.cssr.js +5 -7
- package/lib/upload/index.d.ts +2 -1
- package/lib/upload/index.js +2 -1
- package/lib/upload/src/Upload.d.ts +73 -1007
- package/lib/upload/src/Upload.js +40 -68
- package/lib/upload/src/UploadFile.d.ts +1 -1
- package/lib/upload/src/UploadFile.js +12 -4
- package/lib/upload/src/UploadFileList.js +8 -1
- package/lib/upload/src/UploadProgress.d.ts +3 -2
- package/lib/upload/src/interface.d.ts +1086 -92
- package/lib/upload/src/interface.js +59 -1
- package/lib/upload/src/public-types.d.ts +17 -2
- package/lib/upload/src/useUploadActionsRender.d.ts +2 -27
- package/lib/upload/src/useUploadActionsRender.js +2 -2
- package/lib/upload/src/useUploadInternals.d.ts +2 -25
- package/lib/upload/src/utils.d.ts +2 -0
- package/lib/upload/src/utils.js +10 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +113 -36
package/es/chat/styles/dark.mjs
CHANGED
|
@@ -7,6 +7,7 @@ import { emptyDark } from "../../empty/styles/index.mjs";
|
|
|
7
7
|
import { iconDark } from "../../icon/styles/index.mjs";
|
|
8
8
|
import { inputDark } from "../../input/styles/index.mjs";
|
|
9
9
|
import { listDark } from "../../list/styles/index.mjs";
|
|
10
|
+
import { messageBubbleDark } from "../../message-bubble/styles/index.mjs";
|
|
10
11
|
import { selectDark } from "../../select/styles/index.mjs";
|
|
11
12
|
import { typographyDark } from "../../typography/styles/index.mjs";
|
|
12
13
|
import { self } from "./light.mjs";
|
|
@@ -22,6 +23,7 @@ const chatDark = createTheme({
|
|
|
22
23
|
Button: buttonDark,
|
|
23
24
|
List: listDark,
|
|
24
25
|
Typography: typographyDark,
|
|
26
|
+
MessageBubble: messageBubbleDark,
|
|
25
27
|
StatusIcon: iconDark,
|
|
26
28
|
FooterAttachIcon: iconDark,
|
|
27
29
|
FooterSuffixIcon: iconDark,
|
|
@@ -700,6 +700,33 @@ declare const chatLight: import("../../_mixins").Theme<"Chat", {
|
|
|
700
700
|
codeColor: string;
|
|
701
701
|
codeBorder: string;
|
|
702
702
|
}, any>;
|
|
703
|
+
MessageBubble: import("../../_mixins").Theme<"MessageBubble", {
|
|
704
|
+
messageBubbleBackgroundColorOwn: string;
|
|
705
|
+
messageBubbleBackgroundColorOther: string;
|
|
706
|
+
messageBubbleTextColorOwn: string;
|
|
707
|
+
messageBubbleTextColorOther: string;
|
|
708
|
+
messageTimeColor: string;
|
|
709
|
+
messageStatusReadColor: string;
|
|
710
|
+
messageStatusSuccessColor: string;
|
|
711
|
+
attachmentBackgroundColorOwn: string;
|
|
712
|
+
attachmentBackgroundColorOther: string;
|
|
713
|
+
messageErrorColor: string;
|
|
714
|
+
messageBorderRadius: string;
|
|
715
|
+
unreadNotificationBackgroundColor: string;
|
|
716
|
+
unreadNotificationTextColor: string;
|
|
717
|
+
serviceMessageTextColor: string;
|
|
718
|
+
serviceMessageBackgroundColor: string;
|
|
719
|
+
messageTitleColor: string;
|
|
720
|
+
}, {
|
|
721
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
722
|
+
color: string;
|
|
723
|
+
opacity1Depth: string;
|
|
724
|
+
opacity2Depth: string;
|
|
725
|
+
opacity3Depth: string;
|
|
726
|
+
opacity4Depth: string;
|
|
727
|
+
opacity5Depth: string;
|
|
728
|
+
}, any>;
|
|
729
|
+
}>;
|
|
703
730
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
704
731
|
color: string;
|
|
705
732
|
opacity1Depth: string;
|
package/es/chat/styles/light.mjs
CHANGED
|
@@ -9,6 +9,7 @@ import { iconLight } from "../../icon/styles/index.mjs";
|
|
|
9
9
|
import { inputLight } from "../../input/styles/index.mjs";
|
|
10
10
|
import { self as inputSelf } from "../../input/styles/light.mjs";
|
|
11
11
|
import { listLight } from "../../list/styles/index.mjs";
|
|
12
|
+
import { messageBubbleLight } from "../../message-bubble/styles/index.mjs";
|
|
12
13
|
import { selectLight } from "../../select/styles/index.mjs";
|
|
13
14
|
import { typographyLight } from "../../typography/styles/index.mjs";
|
|
14
15
|
const chatInputLight = Object.assign(Object.assign({}, inputLight), {
|
|
@@ -109,6 +110,7 @@ const chatLight = createTheme({
|
|
|
109
110
|
Button: buttonLight,
|
|
110
111
|
List: listLight,
|
|
111
112
|
Typography: typographyLight,
|
|
113
|
+
MessageBubble: messageBubbleLight,
|
|
112
114
|
StatusIcon: iconLight,
|
|
113
115
|
FooterAttachIcon: iconLight,
|
|
114
116
|
FooterSuffixIcon: iconLight,
|