@uzum-tech/ui 2.3.0 → 2.3.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/dist/index.js +192 -160
- package/dist/index.mjs +192 -160
- 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 +1830 -0
- package/es/message-bubble/src/MessageBubble.mjs +6 -2
- package/es/message-bubble/src/interface.d.ts +2 -0
- package/es/message-bubble/src/styles/index.cssr.mjs +5 -7
- 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 +1830 -0
- package/lib/message-bubble/src/MessageBubble.js +5 -1
- package/lib/message-bubble/src/interface.d.ts +2 -0
- package/lib/message-bubble/src/styles/index.cssr.js +5 -7
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +10 -14
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,
|