@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/lib/chat/styles/dark.js
CHANGED
|
@@ -9,8 +9,9 @@ const styles_4 = require("../../empty/styles");
|
|
|
9
9
|
const styles_5 = require("../../icon/styles");
|
|
10
10
|
const styles_6 = require("../../input/styles");
|
|
11
11
|
const styles_7 = require("../../list/styles");
|
|
12
|
-
const styles_8 = require("../../
|
|
13
|
-
const styles_9 = require("../../
|
|
12
|
+
const styles_8 = require("../../message-bubble/styles");
|
|
13
|
+
const styles_9 = require("../../select/styles");
|
|
14
|
+
const styles_10 = require("../../typography/styles");
|
|
14
15
|
const light_1 = require("./light");
|
|
15
16
|
const chatDark = (0, _mixins_1.createTheme)({
|
|
16
17
|
name: 'Chat',
|
|
@@ -18,12 +19,13 @@ const chatDark = (0, _mixins_1.createTheme)({
|
|
|
18
19
|
peers: {
|
|
19
20
|
Input: styles_6.inputDark,
|
|
20
21
|
Empty: styles_4.emptyDark,
|
|
21
|
-
Select:
|
|
22
|
+
Select: styles_9.selectDark,
|
|
22
23
|
Avatar: styles_1.avatarDark,
|
|
23
24
|
Badge: styles_2.badgeDark,
|
|
24
25
|
Button: styles_3.buttonDark,
|
|
25
26
|
List: styles_7.listDark,
|
|
26
|
-
Typography:
|
|
27
|
+
Typography: styles_10.typographyDark,
|
|
28
|
+
MessageBubble: styles_8.messageBubbleDark,
|
|
27
29
|
StatusIcon: styles_5.iconDark,
|
|
28
30
|
FooterAttachIcon: styles_5.iconDark,
|
|
29
31
|
FooterSuffixIcon: styles_5.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/lib/chat/styles/light.js
CHANGED
|
@@ -12,8 +12,9 @@ const styles_5 = require("../../icon/styles");
|
|
|
12
12
|
const styles_6 = require("../../input/styles");
|
|
13
13
|
const light_2 = require("../../input/styles/light");
|
|
14
14
|
const styles_7 = require("../../list/styles");
|
|
15
|
-
const styles_8 = require("../../
|
|
16
|
-
const styles_9 = require("../../
|
|
15
|
+
const styles_8 = require("../../message-bubble/styles");
|
|
16
|
+
const styles_9 = require("../../select/styles");
|
|
17
|
+
const styles_10 = require("../../typography/styles");
|
|
17
18
|
const chatInputLight = Object.assign(Object.assign({}, styles_6.inputLight), { self(vars) {
|
|
18
19
|
const originalInputSelf = (0, light_2.self)(vars);
|
|
19
20
|
const { elementsTertiary } = vars;
|
|
@@ -70,12 +71,13 @@ const chatLight = (0, _mixins_1.createTheme)({
|
|
|
70
71
|
peers: {
|
|
71
72
|
Input: chatInputLight,
|
|
72
73
|
Empty: styles_4.emptyLight,
|
|
73
|
-
Select:
|
|
74
|
+
Select: styles_9.selectLight,
|
|
74
75
|
Avatar: styles_1.avatarLight,
|
|
75
76
|
Badge: chatBadgeLight,
|
|
76
77
|
Button: styles_3.buttonLight,
|
|
77
78
|
List: styles_7.listLight,
|
|
78
|
-
Typography:
|
|
79
|
+
Typography: styles_10.typographyLight,
|
|
80
|
+
MessageBubble: styles_8.messageBubbleLight,
|
|
79
81
|
StatusIcon: styles_5.iconLight,
|
|
80
82
|
FooterAttachIcon: styles_5.iconLight,
|
|
81
83
|
FooterSuffixIcon: styles_5.iconLight,
|