@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
@@ -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;
@@ -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,