@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.
Files changed (42) hide show
  1. package/dist/index.js +192 -160
  2. package/dist/index.mjs +192 -160
  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 +1830 -0
  18. package/es/message-bubble/src/MessageBubble.mjs +6 -2
  19. package/es/message-bubble/src/interface.d.ts +2 -0
  20. package/es/message-bubble/src/styles/index.cssr.mjs +5 -7
  21. package/es/version.d.ts +1 -1
  22. package/es/version.mjs +1 -1
  23. package/lib/chat/src/Chat.d.ts +1074 -0
  24. package/lib/chat/src/ChatListItems.d.ts +360 -0
  25. package/lib/chat/src/ChatMainArea.d.ts +360 -0
  26. package/lib/chat/src/ChatMainArea.js +1 -0
  27. package/lib/chat/src/ChatMessages.d.ts +360 -0
  28. package/lib/chat/src/ChatMessages.js +10 -3
  29. package/lib/chat/src/ChatParts/Sidebar.d.ts +78 -0
  30. package/lib/chat/src/interface.d.ts +1 -0
  31. package/lib/chat/styles/dark.d.ts +27 -0
  32. package/lib/chat/styles/dark.js +6 -4
  33. package/lib/chat/styles/light.d.ts +27 -0
  34. package/lib/chat/styles/light.js +6 -4
  35. package/lib/components.d.ts +1830 -0
  36. package/lib/message-bubble/src/MessageBubble.js +5 -1
  37. package/lib/message-bubble/src/interface.d.ts +2 -0
  38. package/lib/message-bubble/src/styles/index.cssr.js +5 -7
  39. package/lib/version.d.ts +1 -1
  40. package/lib/version.js +1 -1
  41. package/package.json +1 -1
  42. package/web-types.json +10 -14
package/dist/index.js CHANGED
@@ -45099,6 +45099,58 @@
45099
45099
  };
45100
45100
 
45101
45101
  function self$17(vars) {
45102
+ const {
45103
+ borderRadiusLarge,
45104
+ elementsSecondary,
45105
+ elementsTertiary,
45106
+ textPrimary,
45107
+ textSecondary,
45108
+ textTertiary,
45109
+ brandPrimary400,
45110
+ staticGreen,
45111
+ staticRed,
45112
+ staticWhite
45113
+ } = vars;
45114
+ return {
45115
+ messageBubbleBackgroundColorOwn: elementsTertiary,
45116
+ messageBubbleBackgroundColorOther: elementsTertiary,
45117
+ messageBubbleTextColorOwn: textPrimary,
45118
+ messageBubbleTextColorOther: textPrimary,
45119
+ messageTimeColor: textTertiary,
45120
+ messageStatusReadColor: brandPrimary400,
45121
+ messageStatusSuccessColor: staticGreen,
45122
+ attachmentBackgroundColorOwn: staticWhite,
45123
+ attachmentBackgroundColorOther: staticWhite,
45124
+ messageErrorColor: staticRed,
45125
+ messageBorderRadius: borderRadiusLarge,
45126
+ unreadNotificationBackgroundColor: brandPrimary400,
45127
+ unreadNotificationTextColor: elementsSecondary,
45128
+ serviceMessageTextColor: textSecondary,
45129
+ serviceMessageBackgroundColor: "transparent",
45130
+ messageTitleColor: textPrimary
45131
+ };
45132
+ }
45133
+ const messageBubbleLight = createTheme$1({
45134
+ name: "MessageBubble",
45135
+ common: derived,
45136
+ peers: {
45137
+ StatusIcon: iconLight
45138
+ },
45139
+ self: self$17
45140
+ });
45141
+
45142
+ const messageBubbleDark = createTheme$1({
45143
+ name: "MessageBubble",
45144
+ common: derived$1,
45145
+ peers: {
45146
+ StatusIcon: iconDark$1
45147
+ },
45148
+ self: vars => ({
45149
+ ...self$17(vars)
45150
+ })
45151
+ });
45152
+
45153
+ function self$16(vars) {
45102
45154
  const {
45103
45155
  shadowDepth2
45104
45156
  } = vars;
@@ -45113,7 +45165,7 @@
45113
45165
  InternalSelection: internalSelectionLight,
45114
45166
  InternalSelectMenu: internalSelectMenuLight
45115
45167
  },
45116
- self: self$17
45168
+ self: self$16
45117
45169
  });
45118
45170
 
45119
45171
  const selectDark = {
@@ -45123,13 +45175,13 @@
45123
45175
  InternalSelection: internalSelectionDark,
45124
45176
  InternalSelectMenu: internalSelectMenuDark
45125
45177
  },
45126
- self: self$17
45178
+ self: self$16
45127
45179
  };
45128
45180
 
45129
45181
  ({
45130
45182
  style: c$1([])});
45131
45183
 
45132
- function self$16(vars) {
45184
+ function self$15(vars) {
45133
45185
  const {
45134
45186
  borderRadiusSmall,
45135
45187
  fontWeightStrong,
@@ -45224,13 +45276,13 @@
45224
45276
  const typographyLight = {
45225
45277
  name: "Typography",
45226
45278
  common: derived,
45227
- self: self$16
45279
+ self: self$15
45228
45280
  };
45229
45281
 
45230
45282
  const typographyDark = {
45231
45283
  name: "Typography",
45232
45284
  common: derived$1,
45233
- self: self$16
45285
+ self: self$15
45234
45286
  };
45235
45287
 
45236
45288
  const chatInputLight = {
@@ -45268,7 +45320,7 @@
45268
45320
  };
45269
45321
  }
45270
45322
  };
45271
- function self$15(vars) {
45323
+ function self$14(vars) {
45272
45324
  const {
45273
45325
  borderRadiusLarge,
45274
45326
  elementsQuaternary,
@@ -45335,13 +45387,14 @@
45335
45387
  Button: buttonLight,
45336
45388
  List: listLight,
45337
45389
  Typography: typographyLight,
45390
+ MessageBubble: messageBubbleLight,
45338
45391
  StatusIcon: iconLight,
45339
45392
  FooterAttachIcon: iconLight,
45340
45393
  FooterSuffixIcon: iconLight,
45341
45394
  HeaderShareIcon: iconLight,
45342
45395
  HeaderProfileIcon: iconLight
45343
45396
  },
45344
- self: self$15
45397
+ self: self$14
45345
45398
  });
45346
45399
 
45347
45400
  const chatDark = createTheme$1({
@@ -45356,6 +45409,7 @@
45356
45409
  Button: buttonDark,
45357
45410
  List: listDark$1,
45358
45411
  Typography: typographyDark,
45412
+ MessageBubble: messageBubbleDark,
45359
45413
  StatusIcon: iconDark$1,
45360
45414
  FooterAttachIcon: iconDark$1,
45361
45415
  FooterSuffixIcon: iconDark$1,
@@ -45363,7 +45417,7 @@
45363
45417
  HeaderProfileIcon: iconDark$1
45364
45418
  },
45365
45419
  self: vars => {
45366
- const lightVars = self$15(vars);
45420
+ const lightVars = self$14(vars);
45367
45421
  return {
45368
45422
  ...lightVars
45369
45423
  };
@@ -46712,7 +46766,7 @@
46712
46766
  }
46713
46767
  });
46714
46768
 
46715
- function self$14(vars) {
46769
+ function self$13(vars) {
46716
46770
  const {
46717
46771
  fontWeight,
46718
46772
  fontBodyMedium,
@@ -46753,16 +46807,16 @@
46753
46807
  const progressLight = {
46754
46808
  name: "Progress",
46755
46809
  common: derived,
46756
- self: self$14
46810
+ self: self$13
46757
46811
  };
46758
46812
 
46759
46813
  const progressDark = {
46760
46814
  name: "Progress",
46761
46815
  common: derived$1,
46762
- self: self$14
46816
+ self: self$13
46763
46817
  };
46764
46818
 
46765
- function self$13(vars) {
46819
+ function self$12(vars) {
46766
46820
  const {
46767
46821
  staticGreen,
46768
46822
  staticRed,
@@ -46819,7 +46873,7 @@
46819
46873
  Button: buttonLight,
46820
46874
  Progress: progressLight
46821
46875
  },
46822
- self: self$13
46876
+ self: self$12
46823
46877
  });
46824
46878
 
46825
46879
  const uploadDark = {
@@ -46829,7 +46883,7 @@
46829
46883
  Button: buttonDark,
46830
46884
  Progress: progressDark
46831
46885
  },
46832
- self: self$13
46886
+ self: self$12
46833
46887
  };
46834
46888
 
46835
46889
  var rtlStyle$i = cB("upload", [cM("rtl", `
@@ -47308,7 +47362,7 @@
47308
47362
  self: self$1d
47309
47363
  };
47310
47364
 
47311
- function self$12(vars) {
47365
+ function self$11(vars) {
47312
47366
  const {
47313
47367
  textPrimary,
47314
47368
  fontBodyMedium,
@@ -47336,12 +47390,12 @@
47336
47390
  const codeLight = {
47337
47391
  name: "Code",
47338
47392
  common: derived,
47339
- self: self$12
47393
+ self: self$11
47340
47394
  };
47341
47395
 
47342
- function self$11(vars) {
47396
+ function self$10(vars) {
47343
47397
  return {
47344
- ...self$12(vars),
47398
+ ...self$11(vars),
47345
47399
  // extracted from hljs atom-one-dark.scss
47346
47400
  "mono-3": "#5c6370",
47347
47401
  "hue-1": "#56b6c2",
@@ -47357,10 +47411,10 @@
47357
47411
  const codeDark = {
47358
47412
  name: "Code",
47359
47413
  common: derived$1,
47360
- self: self$11
47414
+ self: self$10
47361
47415
  };
47362
47416
 
47363
- function self$10(vars) {
47417
+ function self$$(vars) {
47364
47418
  const {
47365
47419
  cubicBezierEaseInOut
47366
47420
  } = vars;
@@ -47371,13 +47425,13 @@
47371
47425
  const collapseTransitionLight = {
47372
47426
  name: "CollapseTransition",
47373
47427
  common: derived,
47374
- self: self$10
47428
+ self: self$$
47375
47429
  };
47376
47430
 
47377
47431
  const collapseTransitionDark = {
47378
47432
  name: "CollapseTransition",
47379
47433
  common: derived$1,
47380
- self: self$10
47434
+ self: self$$
47381
47435
  };
47382
47436
 
47383
47437
  var rtlStyle$g = cB("collapse-transition", [cM("rtl", `
@@ -47390,7 +47444,7 @@
47390
47444
  style: rtlStyle$g
47391
47445
  };
47392
47446
 
47393
- function self$$(vars) {
47447
+ function self$_(vars) {
47394
47448
  const {
47395
47449
  fontWeight,
47396
47450
  fontBodyLarge,
@@ -47430,13 +47484,13 @@
47430
47484
  const collapseLight = {
47431
47485
  name: "Collapse",
47432
47486
  common: derived,
47433
- self: self$$
47487
+ self: self$_
47434
47488
  };
47435
47489
 
47436
47490
  const collapseDark = {
47437
47491
  name: "Collapse",
47438
47492
  common: derived$1,
47439
- self: self$$
47493
+ self: self$_
47440
47494
  };
47441
47495
 
47442
47496
  var rtlStyle$f = cB("collapse", [cM("rtl", `
@@ -47459,7 +47513,7 @@
47459
47513
  style: rtlStyle$f
47460
47514
  };
47461
47515
 
47462
- function self$_(vars) {
47516
+ function self$Z(vars) {
47463
47517
  const {
47464
47518
  borderRadius,
47465
47519
  fontBodySmall,
@@ -47546,7 +47600,7 @@
47546
47600
  peers: {
47547
47601
  Popover: popoverLight
47548
47602
  },
47549
- self: self$_
47603
+ self: self$Z
47550
47604
  });
47551
47605
 
47552
47606
  const dropdownDark = {
@@ -47555,7 +47609,7 @@
47555
47609
  peers: {
47556
47610
  Popover: popoverDark
47557
47611
  },
47558
- self: self$_
47612
+ self: self$Z
47559
47613
  };
47560
47614
 
47561
47615
  const popselect = {
@@ -47567,7 +47621,7 @@
47567
47621
  }
47568
47622
  };
47569
47623
 
47570
- function self$Z(vars) {
47624
+ function self$Y(vars) {
47571
47625
  const {
47572
47626
  shadowDepth2
47573
47627
  } = vars;
@@ -47582,10 +47636,10 @@
47582
47636
  Popover: popoverLight,
47583
47637
  InternalSelectMenu: internalSelectMenuLight
47584
47638
  },
47585
- self: self$Z
47639
+ self: self$Y
47586
47640
  });
47587
47641
 
47588
- function self$Y(vars) {
47642
+ function self$X(vars) {
47589
47643
  const {
47590
47644
  brandPrimary100,
47591
47645
  transparencySecondary,
@@ -47683,7 +47737,7 @@
47683
47737
  Input: inputLight,
47684
47738
  Popselect: popselectLight
47685
47739
  },
47686
- self: self$Y
47740
+ self: self$X
47687
47741
  });
47688
47742
 
47689
47743
  const paginationDark = {
@@ -47694,7 +47748,7 @@
47694
47748
  Input: inputDark,
47695
47749
  Popselect: popselect
47696
47750
  },
47697
- self: self$Y
47751
+ self: self$X
47698
47752
  };
47699
47753
 
47700
47754
  var rtlStyle$e = cB("pagination", [cM("rtl", `
@@ -47711,7 +47765,7 @@
47711
47765
  peers: [inputRtl]
47712
47766
  };
47713
47767
 
47714
- function self$X(vars) {
47768
+ function self$W(vars) {
47715
47769
  const {
47716
47770
  heightTiny,
47717
47771
  heightSmall,
@@ -47803,13 +47857,13 @@
47803
47857
  const radioLight = {
47804
47858
  name: "Radio",
47805
47859
  common: derived,
47806
- self: self$X
47860
+ self: self$W
47807
47861
  };
47808
47862
 
47809
47863
  const radioDark = {
47810
47864
  name: "Radio",
47811
47865
  common: derived$1,
47812
- self: self$X
47866
+ self: self$W
47813
47867
  };
47814
47868
 
47815
47869
  var rtlStyle$d = c$1([cB("radio", [cM("rtl", `
@@ -47837,7 +47891,7 @@
47837
47891
  style: rtlStyle$d
47838
47892
  };
47839
47893
 
47840
- function self$W(vars) {
47894
+ function self$V(vars) {
47841
47895
  const {
47842
47896
  borderRadius,
47843
47897
  opacityDisabled,
@@ -47938,7 +47992,7 @@
47938
47992
  Ellipsis: ellipsisLight,
47939
47993
  Dropdown: dropdownLight
47940
47994
  },
47941
- self: self$W
47995
+ self: self$V
47942
47996
  });
47943
47997
 
47944
47998
  const dataTableDark = {
@@ -47955,10 +48009,10 @@
47955
48009
  Ellipsis: ellipsisDark,
47956
48010
  Dropdown: dropdownDark
47957
48011
  },
47958
- self: self$W
48012
+ self: self$V
47959
48013
  };
47960
48014
 
47961
- function self$V(vars) {
48015
+ function self$U(vars) {
47962
48016
  const {
47963
48017
  opacityDisabled,
47964
48018
  borderRadius,
@@ -48000,7 +48054,7 @@
48000
48054
  Button: buttonLight,
48001
48055
  Input: inputLight
48002
48056
  },
48003
- self: self$V
48057
+ self: self$U
48004
48058
  });
48005
48059
 
48006
48060
  const timePickerDark = {
@@ -48011,7 +48065,7 @@
48011
48065
  Button: buttonDark,
48012
48066
  Input: inputDark
48013
48067
  },
48014
- self: self$V
48068
+ self: self$U
48015
48069
  };
48016
48070
 
48017
48071
  const itemWidth = "38px";
@@ -48057,7 +48111,7 @@
48057
48111
  calendarRightPaddingYearrange: "0"
48058
48112
  };
48059
48113
 
48060
- function self$U(vars) {
48114
+ function self$T(vars) {
48061
48115
  const {
48062
48116
  iconMedium,
48063
48117
  fontWeightStrong,
@@ -48158,7 +48212,7 @@
48158
48212
  Scrollbar: scrollbarLight,
48159
48213
  Select: internalSelectionLight
48160
48214
  },
48161
- self: self$U
48215
+ self: self$T
48162
48216
  });
48163
48217
 
48164
48218
  const datePickerDark = {
@@ -48171,10 +48225,10 @@
48171
48225
  Scrollbar: scrollbarDark,
48172
48226
  Select: internalSelectionDark
48173
48227
  },
48174
- self: self$U
48228
+ self: self$T
48175
48229
  };
48176
48230
 
48177
- function self$T(vars) {
48231
+ function self$S(vars) {
48178
48232
  const {
48179
48233
  borderRadius,
48180
48234
  lineHeightBodyLarge,
@@ -48224,13 +48278,13 @@
48224
48278
  const descriptionsLight = {
48225
48279
  name: "Descriptions",
48226
48280
  common: derived,
48227
- self: self$T
48281
+ self: self$S
48228
48282
  };
48229
48283
 
48230
48284
  const descriptionsDark = {
48231
48285
  name: "Descriptions",
48232
48286
  common: derived$1,
48233
- self: self$T
48287
+ self: self$S
48234
48288
  };
48235
48289
 
48236
48290
  var commonVars$5 = {
@@ -48244,7 +48298,7 @@
48244
48298
  closeBorderRadius: "100px"
48245
48299
  };
48246
48300
 
48247
- function self$S(vars) {
48301
+ function self$R(vars) {
48248
48302
  const {
48249
48303
  borderRadius,
48250
48304
  containerPrimary,
@@ -48301,7 +48355,7 @@
48301
48355
  peers: {
48302
48356
  Button: buttonLight
48303
48357
  },
48304
- self: self$S
48358
+ self: self$R
48305
48359
  });
48306
48360
 
48307
48361
  const dialogDark = {
@@ -48310,10 +48364,10 @@
48310
48364
  peers: {
48311
48365
  Button: buttonDark
48312
48366
  },
48313
- self: self$S
48367
+ self: self$R
48314
48368
  };
48315
48369
 
48316
- function self$R(vars) {
48370
+ function self$Q(vars) {
48317
48371
  const {
48318
48372
  elementsQuaternary,
48319
48373
  textPrimary,
@@ -48333,13 +48387,13 @@
48333
48387
  const dividerLight = {
48334
48388
  name: "Divider",
48335
48389
  common: derived,
48336
- self: self$R
48390
+ self: self$Q
48337
48391
  };
48338
48392
 
48339
48393
  const dividerDark = {
48340
48394
  name: "Divider",
48341
48395
  common: derived$1,
48342
- self: self$R
48396
+ self: self$Q
48343
48397
  };
48344
48398
 
48345
48399
  var commonVars$4 = {
@@ -48355,7 +48409,7 @@
48355
48409
  contentBorderRadius: "24px"
48356
48410
  };
48357
48411
 
48358
- function self$Q(vars) {
48412
+ function self$P(vars) {
48359
48413
  const {
48360
48414
  containerPrimary,
48361
48415
  textPrimary,
@@ -48404,7 +48458,7 @@
48404
48458
  peers: {
48405
48459
  Scrollbar: scrollbarLight
48406
48460
  },
48407
- self: self$Q
48461
+ self: self$P
48408
48462
  });
48409
48463
 
48410
48464
  const drawerDark = {
@@ -48413,7 +48467,7 @@
48413
48467
  peers: {
48414
48468
  Scrollbar: scrollbarDark
48415
48469
  },
48416
- self: self$Q
48470
+ self: self$P
48417
48471
  };
48418
48472
 
48419
48473
  var rtlStyle$c = cB("drawer", [cM("rtl", `
@@ -48447,7 +48501,7 @@
48447
48501
  }
48448
48502
  };
48449
48503
 
48450
- function self$P() {
48504
+ function self$O() {
48451
48505
  return commonVariables$1;
48452
48506
  }
48453
48507
  const dynamicInputLight = createTheme$1({
@@ -48457,7 +48511,7 @@
48457
48511
  Input: inputLight,
48458
48512
  Button: buttonLight
48459
48513
  },
48460
- self: self$P
48514
+ self: self$O
48461
48515
  });
48462
48516
 
48463
48517
  var rtlStyle$b = cB("input-number", [cM("rtl", `
@@ -48498,12 +48552,12 @@
48498
48552
  }
48499
48553
  };
48500
48554
 
48501
- function self$O() {
48555
+ function self$N() {
48502
48556
  return commonVars$3;
48503
48557
  }
48504
48558
  const spaceLight = {
48505
48559
  name: "Space",
48506
- self: self$O
48560
+ self: self$N
48507
48561
  };
48508
48562
 
48509
48563
  var rtlStyle$9 = cB("space", [cM("rtl", `
@@ -48575,7 +48629,7 @@
48575
48629
  }
48576
48630
  };
48577
48631
 
48578
- function self$N(vars) {
48632
+ function self$M(vars) {
48579
48633
  const {
48580
48634
  containerPrimary,
48581
48635
  elementsQuaternary,
@@ -48591,7 +48645,7 @@
48591
48645
  const themeLight$4 = {
48592
48646
  name: "FloatButtonGroup",
48593
48647
  common: derived,
48594
- self: self$N
48648
+ self: self$M
48595
48649
  };
48596
48650
 
48597
48651
  const floatButtonDark = {
@@ -48626,7 +48680,7 @@
48626
48680
  }
48627
48681
  };
48628
48682
 
48629
- function self$M(vars) {
48683
+ function self$L(vars) {
48630
48684
  const {
48631
48685
  containerPrimary,
48632
48686
  textPrimary,
@@ -48655,10 +48709,10 @@
48655
48709
  const themeLight$3 = {
48656
48710
  name: "FloatButton",
48657
48711
  common: derived,
48658
- self: self$M
48712
+ self: self$L
48659
48713
  };
48660
48714
 
48661
- function self$L(vars) {
48715
+ function self$K(vars) {
48662
48716
  const {
48663
48717
  heightSmall,
48664
48718
  heightMedium,
@@ -48713,16 +48767,16 @@
48713
48767
  const formLight = {
48714
48768
  name: "Form",
48715
48769
  common: derived,
48716
- self: self$L
48770
+ self: self$K
48717
48771
  };
48718
48772
 
48719
48773
  const formItemDark = {
48720
48774
  name: "Form",
48721
48775
  common: derived$1,
48722
- self: self$L
48776
+ self: self$K
48723
48777
  };
48724
48778
 
48725
- function self$K(vars) {
48779
+ function self$J(vars) {
48726
48780
  const {
48727
48781
  brandPrimary500,
48728
48782
  staticGreen,
@@ -48759,16 +48813,16 @@
48759
48813
  const gradientTextLight = {
48760
48814
  name: "GradientText",
48761
48815
  common: derived,
48762
- self: self$K
48816
+ self: self$J
48763
48817
  };
48764
48818
 
48765
48819
  const gradientTextDark = {
48766
48820
  name: "GradientText",
48767
48821
  common: derived$1,
48768
- self: self$K
48822
+ self: self$J
48769
48823
  };
48770
48824
 
48771
- function self$J(vars) {
48825
+ function self$I(vars) {
48772
48826
  const {
48773
48827
  textSecondary
48774
48828
  } = vars;
@@ -48783,7 +48837,7 @@
48783
48837
  Button: buttonLight,
48784
48838
  Input: inputLight
48785
48839
  },
48786
- self: self$J
48840
+ self: self$I
48787
48841
  });
48788
48842
 
48789
48843
  const inputNumberDark = {
@@ -48793,10 +48847,10 @@
48793
48847
  Button: buttonDark,
48794
48848
  Input: inputDark
48795
48849
  },
48796
- self: self$J
48850
+ self: self$I
48797
48851
  };
48798
48852
 
48799
- function self$I() {
48853
+ function self$H() {
48800
48854
  return {
48801
48855
  inputWidthSmall: "44px",
48802
48856
  inputWidthMedium: "50px",
@@ -48812,7 +48866,7 @@
48812
48866
  peers: {
48813
48867
  Input: inputLight
48814
48868
  },
48815
- self: self$I
48869
+ self: self$H
48816
48870
  });
48817
48871
 
48818
48872
  const inputOtpDark = {
@@ -48821,7 +48875,7 @@
48821
48875
  peers: {
48822
48876
  Input: inputDark
48823
48877
  },
48824
- self: self$I
48878
+ self: self$H
48825
48879
  };
48826
48880
 
48827
48881
  var rtlStyle$8 = cB("input-otp", [cM("rtl", `
@@ -48833,7 +48887,7 @@
48833
48887
  style: rtlStyle$8
48834
48888
  };
48835
48889
 
48836
- function self$H(vars) {
48890
+ function self$G(vars) {
48837
48891
  const {
48838
48892
  textPrimary,
48839
48893
  textQuaternary,
@@ -48879,7 +48933,7 @@
48879
48933
  peers: {
48880
48934
  Scrollbar: scrollbarLight
48881
48935
  },
48882
- self: self$H
48936
+ self: self$G
48883
48937
  });
48884
48938
 
48885
48939
  const layoutDark = {
@@ -48888,7 +48942,7 @@
48888
48942
  peers: {
48889
48943
  Scrollbar: scrollbarDark
48890
48944
  },
48891
- self: self$H
48945
+ self: self$G
48892
48946
  };
48893
48947
 
48894
48948
  const rowDark = {
@@ -48925,7 +48979,7 @@
48925
48979
  style: rtlStyle$7
48926
48980
  };
48927
48981
 
48928
- function self$G(vars) {
48982
+ function self$F(vars) {
48929
48983
  const {
48930
48984
  brandPrimary500,
48931
48985
  staticRed
@@ -48939,16 +48993,16 @@
48939
48993
  const loadingBarLight = {
48940
48994
  name: "LoadingBar",
48941
48995
  common: derived,
48942
- self: self$G
48996
+ self: self$F
48943
48997
  };
48944
48998
 
48945
48999
  const loadingBarDark = {
48946
49000
  name: "LoadingBar",
48947
49001
  common: derived$1,
48948
- self: self$G
49002
+ self: self$F
48949
49003
  };
48950
49004
 
48951
- function self$F(vars) {
49005
+ function self$E(vars) {
48952
49006
  const {
48953
49007
  fontBodyMedium,
48954
49008
  textPrimary,
@@ -48971,7 +49025,7 @@
48971
49025
  Scrollbar: scrollbarLight,
48972
49026
  Code: codeLight
48973
49027
  },
48974
- self: self$F
49028
+ self: self$E
48975
49029
  });
48976
49030
 
48977
49031
  const logDark = {
@@ -48981,25 +49035,25 @@
48981
49035
  Scrollbar: scrollbarDark,
48982
49036
  Code: codeDark
48983
49037
  },
48984
- self: self$F
49038
+ self: self$E
48985
49039
  };
48986
49040
 
48987
- function self$E() {
49041
+ function self$D() {
48988
49042
  return {};
48989
49043
  }
48990
49044
  const marqueeLight = {
48991
49045
  name: "Marquee",
48992
49046
  common: derived,
48993
- self: self$E
49047
+ self: self$D
48994
49048
  };
48995
49049
 
48996
49050
  const marqueeDark = {
48997
49051
  name: "Marquee",
48998
49052
  common: derived$1,
48999
- self: self$E
49053
+ self: self$D
49000
49054
  };
49001
49055
 
49002
- function self$D(vars) {
49056
+ function self$C(vars) {
49003
49057
  const {
49004
49058
  shadowDepth2
49005
49059
  } = vars;
@@ -49014,7 +49068,7 @@
49014
49068
  InternalSelectMenu: internalSelectMenuLight,
49015
49069
  Input: inputLight
49016
49070
  },
49017
- self: self$D
49071
+ self: self$C
49018
49072
  });
49019
49073
 
49020
49074
  const listDark = {
@@ -49024,7 +49078,7 @@
49024
49078
  InternalSelectMenu: internalSelectMenuDark,
49025
49079
  Input: inputDark
49026
49080
  },
49027
- self: self$D
49081
+ self: self$C
49028
49082
  };
49029
49083
 
49030
49084
  function createPartialInvertedVars(color, activeItemColor, activeTextColor, groupTextColor) {
@@ -49067,7 +49121,7 @@
49067
49121
  groupTextColorInverted: groupTextColor
49068
49122
  };
49069
49123
  }
49070
- function self$C(vars) {
49124
+ function self$B(vars) {
49071
49125
  const {
49072
49126
  textSecondary,
49073
49127
  borderRadiusSmall,
@@ -49135,7 +49189,7 @@
49135
49189
  Tooltip: tooltipLight,
49136
49190
  Dropdown: dropdownLight
49137
49191
  },
49138
- self: self$C
49192
+ self: self$B
49139
49193
  });
49140
49194
 
49141
49195
  const menuDark = {
@@ -49145,60 +49199,8 @@
49145
49199
  Tooltip: tooltipDark,
49146
49200
  Dropdown: dropdownDark
49147
49201
  },
49148
- self: self$C
49149
- };
49150
-
49151
- function self$B(vars) {
49152
- const {
49153
- borderRadiusLarge,
49154
- elementsSecondary,
49155
- elementsTertiary,
49156
- textPrimary,
49157
- textSecondary,
49158
- textTertiary,
49159
- brandPrimary400,
49160
- staticGreen,
49161
- staticRed,
49162
- staticWhite
49163
- } = vars;
49164
- return {
49165
- messageBubbleBackgroundColorOwn: elementsTertiary,
49166
- messageBubbleBackgroundColorOther: elementsTertiary,
49167
- messageBubbleTextColorOwn: textPrimary,
49168
- messageBubbleTextColorOther: textPrimary,
49169
- messageTimeColor: textTertiary,
49170
- messageStatusReadColor: brandPrimary400,
49171
- messageStatusSuccessColor: staticGreen,
49172
- attachmentBackgroundColorOwn: staticWhite,
49173
- attachmentBackgroundColorOther: staticWhite,
49174
- messageErrorColor: staticRed,
49175
- messageBorderRadius: borderRadiusLarge,
49176
- unreadNotificationBackgroundColor: brandPrimary400,
49177
- unreadNotificationTextColor: elementsSecondary,
49178
- serviceMessageTextColor: textSecondary,
49179
- serviceMessageBackgroundColor: "transparent",
49180
- messageTitleColor: textPrimary
49181
- };
49182
- }
49183
- const messageBubbleLight = createTheme$1({
49184
- name: "MessageBubble",
49185
- common: derived,
49186
- peers: {
49187
- StatusIcon: iconLight
49188
- },
49189
49202
  self: self$B
49190
- });
49191
-
49192
- const messageBubbleDark = createTheme$1({
49193
- name: "MessageBubble",
49194
- common: derived$1,
49195
- peers: {
49196
- StatusIcon: iconDark$1
49197
- },
49198
- self: vars => ({
49199
- ...self$B(vars)
49200
- })
49201
- });
49203
+ };
49202
49204
 
49203
49205
  function self$A(vars) {
49204
49206
  const {
@@ -54649,6 +54651,8 @@
54649
54651
  width: fit-content;
54650
54652
  display: flex;
54651
54653
  flex-direction: column;
54654
+ padding: 12px;
54655
+ gap: 12px;
54652
54656
  `, [cM("own", `
54653
54657
  background-color: var(--u-message-bubble-background-color-own);
54654
54658
  color: var(--u-message-bubble-text-color-own);
@@ -54656,16 +54660,12 @@
54656
54660
  border-bottom-right-radius: 6px;
54657
54661
  `)]), cE("title", `
54658
54662
  color: var(--u-message-bubble-title-color);
54659
- padding: 12px 16px 0;
54660
54663
  white-space: pre-wrap;
54661
54664
  `), cE("text", `
54662
- padding: 12px 16px;
54663
54665
  white-space: pre-wrap;
54664
- `), cE("text", `
54665
- padding-top: 8px;
54666
- `, [c$1("&&:first-child", `
54667
- padding-top: 12px;
54668
- `)]), cE("meta", `
54666
+ `), cE("after-content", `
54667
+ white-space: normal;
54668
+ `), cE("meta", `
54669
54669
  display: flex;
54670
54670
  align-items: center;
54671
54671
  gap: 4px;
@@ -54928,8 +54928,10 @@
54928
54928
  props.actions && props.actions.length > 0
54929
54929
  );
54930
54930
  const hasTitle = Boolean(props.title || slots.title);
54931
+ const afterContentSlot = slots.afterContent || slots["after-content"];
54932
+ const hasAfterContent = Boolean(afterContentSlot);
54931
54933
  const hasContentInsideBubble = Boolean(
54932
- props.content || slots.default || hasTitle || normalizedAttachmentsRef.value.length > 1
54934
+ props.content || slots.default || hasAfterContent || hasTitle || normalizedAttachmentsRef.value.length > 1
54933
54935
  );
54934
54936
  const messageBubbleContent = hasContentInsideBubble ? /* @__PURE__ */ vue.h(
54935
54937
  "div",
@@ -54948,7 +54950,14 @@
54948
54950
  slots.title ? slots.title(messagePayloadRef.value) : resolveRenderContent(props.title)
54949
54951
  ),
54950
54952
  normalizedAttachmentsRef.value.length > 0 && renderAttachment(true),
54951
- (props.content || slots.default) && /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefixRef.value}-message-bubble__text` }, slots.default ? slots.default(messagePayloadRef.value) : resolveRenderContent(props.content))
54953
+ (props.content || slots.default) && /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefixRef.value}-message-bubble__text` }, slots.default ? slots.default(messagePayloadRef.value) : resolveRenderContent(props.content)),
54954
+ hasAfterContent && /* @__PURE__ */ vue.h(
54955
+ "div",
54956
+ {
54957
+ class: `${mergedClsPrefixRef.value}-message-bubble__after-content`
54958
+ },
54959
+ afterContentSlot?.(messagePayloadRef.value)
54960
+ )
54952
54961
  ) : normalizedAttachmentsRef.value.length === 1 ? renderAttachment() : null;
54953
54962
  return /* @__PURE__ */ vue.h(
54954
54963
  "div",
@@ -55590,6 +55599,21 @@
55590
55599
  const { mergedClsPrefixRef } = useConfig(props);
55591
55600
  const themeRef = UChat?.mergedThemeRef ?? useTheme("Chat", "-chat", style$15, chatLight, props, mergedClsPrefixRef);
55592
55601
  const { localeRef } = useLocale("Chat");
55602
+ const messageBubbleThemeOverridesRef = vue.computed(() => {
55603
+ const { self, peerOverrides } = themeRef.value;
55604
+ return {
55605
+ messageBubbleBackgroundColorOwn: self.messageBubbleBackgroundColorOwn,
55606
+ messageBubbleBackgroundColorOther: self.messageBubbleBackgroundColorOther,
55607
+ messageBubbleTextColorOwn: self.messageBubbleTextColorOwn,
55608
+ messageBubbleTextColorOther: self.messageBubbleTextColorOther,
55609
+ messageTimeColor: self.messageTimeColor,
55610
+ attachmentBackgroundColorOwn: self.attachmentBackgroundColorOwn,
55611
+ attachmentBackgroundColorOther: self.attachmentBackgroundColorOther,
55612
+ unreadNotificationBackgroundColor: self.unreadNotificationBackgroundColor,
55613
+ unreadNotificationTextColor: self.unreadNotificationTextColor,
55614
+ ...peerOverrides.MessageBubble
55615
+ };
55616
+ });
55593
55617
  const cssVarsRef = vue.computed(() => {
55594
55618
  const {
55595
55619
  common: {
@@ -55705,7 +55729,9 @@
55705
55729
  {
55706
55730
  type: MessageBubbleType.SERVICE,
55707
55731
  serviceVariant: MessageBubbleServiceVariant.UNREAD,
55708
- content: `${count} ${mergedUnreadNotificationTextRef.value}`
55732
+ content: `${count} ${mergedUnreadNotificationTextRef.value}`,
55733
+ theme: themeRef.value.peers.MessageBubble,
55734
+ themeOverrides: messageBubbleThemeOverridesRef.value
55709
55735
  }
55710
55736
  );
55711
55737
  };
@@ -55717,7 +55743,9 @@
55717
55743
  key: String(message.id),
55718
55744
  type: MessageBubbleType.SERVICE,
55719
55745
  serviceVariant,
55720
- content: message.content
55746
+ content: message.content,
55747
+ theme: themeRef.value.peers.MessageBubble,
55748
+ themeOverrides: messageBubbleThemeOverridesRef.value
55721
55749
  }
55722
55750
  );
55723
55751
  };
@@ -55760,12 +55788,15 @@
55760
55788
  retryText: mergedRetryTextRef.value,
55761
55789
  actions: getMessageBubbleActions(message),
55762
55790
  onRetry: handleMessageBubbleRetry,
55763
- onAttachmentDownload: handleMessageBubbleAttachmentDownload
55791
+ onAttachmentDownload: handleMessageBubbleAttachmentDownload,
55792
+ theme: themeRef.value.peers.MessageBubble,
55793
+ themeOverrides: messageBubbleThemeOverridesRef.value
55764
55794
  },
55765
55795
  {
55766
55796
  bubbleActions: slots.bubbleActions ? () => slots.bubbleActions?.(message) : void 0,
55767
55797
  messageStatus: slots.messageStatus ? () => slots.messageStatus?.(message) : void 0,
55768
55798
  messageAttachment: slots.messageAttachment ? () => slots.messageAttachment?.(message) : void 0,
55799
+ afterContent: slots.messageAfterContent ? () => slots.messageAfterContent?.(message) : void 0,
55769
55800
  "upload-file-title": slots.messageAttachmentTitle,
55770
55801
  "upload-file-subtitle": slots.messageAttachmentSubtitle
55771
55802
  }
@@ -56572,6 +56603,7 @@
56572
56603
  messageAttachmentTitle: slots.messageAttachmentTitle,
56573
56604
  messageAttachmentSubtitle: slots.messageAttachmentSubtitle,
56574
56605
  messageStatus: slots.messageStatus,
56606
+ messageAfterContent: slots.messageAfterContent,
56575
56607
  bubbleActions: slots.bubbleActions
56576
56608
  }
56577
56609
  );
@@ -117065,7 +117097,7 @@ ${icon.label}`.toLowerCase()
117065
117097
  });
117066
117098
  }
117067
117099
 
117068
- var version = "2.3.0";
117100
+ var version = "2.3.1";
117069
117101
 
117070
117102
  function create({
117071
117103
  componentPrefix = "U",