@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.
Files changed (80) hide show
  1. package/dist/index.js +564 -499
  2. package/dist/index.mjs +564 -499
  3. package/dist/index.prod.js +2 -2
  4. package/dist/index.prod.mjs +2 -2
  5. package/es/chat/src/Chat.d.ts +1074 -0
  6. package/es/chat/src/ChatListItems.d.ts +360 -0
  7. package/es/chat/src/ChatMainArea.d.ts +360 -0
  8. package/es/chat/src/ChatMainArea.mjs +1 -0
  9. package/es/chat/src/ChatMessages.d.ts +360 -0
  10. package/es/chat/src/ChatMessages.mjs +30 -3
  11. package/es/chat/src/ChatParts/Sidebar.d.ts +78 -0
  12. package/es/chat/src/interface.d.ts +1 -0
  13. package/es/chat/styles/dark.d.ts +27 -0
  14. package/es/chat/styles/dark.mjs +2 -0
  15. package/es/chat/styles/light.d.ts +27 -0
  16. package/es/chat/styles/light.mjs +2 -0
  17. package/es/components.d.ts +1840 -7
  18. package/es/image/src/ImagePreview.d.ts +1 -0
  19. package/es/image/src/ImagePreview.mjs +7 -35
  20. package/es/image/src/public-types.d.ts +4 -4
  21. package/es/message-bubble/src/MessageBubble.mjs +16 -5
  22. package/es/message-bubble/src/interface.d.ts +2 -0
  23. package/es/message-bubble/src/styles/index.cssr.mjs +5 -7
  24. package/es/upload/index.d.ts +2 -1
  25. package/es/upload/index.mjs +2 -1
  26. package/es/upload/src/Upload.d.ts +73 -1007
  27. package/es/upload/src/Upload.mjs +43 -124
  28. package/es/upload/src/UploadFile.d.ts +1 -1
  29. package/es/upload/src/UploadFile.mjs +8 -2
  30. package/es/upload/src/UploadFileList.mjs +17 -2
  31. package/es/upload/src/UploadProgress.d.ts +3 -2
  32. package/es/upload/src/interface.d.ts +1086 -92
  33. package/es/upload/src/interface.mjs +117 -1
  34. package/es/upload/src/public-types.d.ts +17 -2
  35. package/es/upload/src/useUploadActionsRender.d.ts +2 -27
  36. package/es/upload/src/useUploadActionsRender.mjs +2 -2
  37. package/es/upload/src/useUploadInternals.d.ts +2 -25
  38. package/es/upload/src/utils.d.ts +2 -0
  39. package/es/upload/src/utils.mjs +7 -0
  40. package/es/version.d.ts +1 -1
  41. package/es/version.mjs +1 -1
  42. package/lib/chat/src/Chat.d.ts +1074 -0
  43. package/lib/chat/src/ChatListItems.d.ts +360 -0
  44. package/lib/chat/src/ChatMainArea.d.ts +360 -0
  45. package/lib/chat/src/ChatMainArea.js +1 -0
  46. package/lib/chat/src/ChatMessages.d.ts +360 -0
  47. package/lib/chat/src/ChatMessages.js +10 -3
  48. package/lib/chat/src/ChatParts/Sidebar.d.ts +78 -0
  49. package/lib/chat/src/interface.d.ts +1 -0
  50. package/lib/chat/styles/dark.d.ts +27 -0
  51. package/lib/chat/styles/dark.js +6 -4
  52. package/lib/chat/styles/light.d.ts +27 -0
  53. package/lib/chat/styles/light.js +6 -4
  54. package/lib/components.d.ts +1840 -7
  55. package/lib/image/src/ImagePreview.d.ts +1 -0
  56. package/lib/image/src/ImagePreview.js +3 -19
  57. package/lib/image/src/public-types.d.ts +4 -4
  58. package/lib/message-bubble/src/MessageBubble.js +15 -5
  59. package/lib/message-bubble/src/interface.d.ts +2 -0
  60. package/lib/message-bubble/src/styles/index.cssr.js +5 -7
  61. package/lib/upload/index.d.ts +2 -1
  62. package/lib/upload/index.js +2 -1
  63. package/lib/upload/src/Upload.d.ts +73 -1007
  64. package/lib/upload/src/Upload.js +40 -68
  65. package/lib/upload/src/UploadFile.d.ts +1 -1
  66. package/lib/upload/src/UploadFile.js +12 -4
  67. package/lib/upload/src/UploadFileList.js +8 -1
  68. package/lib/upload/src/UploadProgress.d.ts +3 -2
  69. package/lib/upload/src/interface.d.ts +1086 -92
  70. package/lib/upload/src/interface.js +59 -1
  71. package/lib/upload/src/public-types.d.ts +17 -2
  72. package/lib/upload/src/useUploadActionsRender.d.ts +2 -27
  73. package/lib/upload/src/useUploadActionsRender.js +2 -2
  74. package/lib/upload/src/useUploadInternals.d.ts +2 -25
  75. package/lib/upload/src/utils.d.ts +2 -0
  76. package/lib/upload/src/utils.js +10 -0
  77. package/lib/version.d.ts +1 -1
  78. package/lib/version.js +1 -1
  79. package/package.json +1 -1
  80. package/web-types.json +113 -36
@@ -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("../../select/styles");
13
- const styles_9 = require("../../typography/styles");
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: styles_8.selectDark,
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: styles_9.typographyDark,
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;
@@ -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("../../select/styles");
16
- const styles_9 = require("../../typography/styles");
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: styles_8.selectLight,
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: styles_9.typographyLight,
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,