@uzum-tech/ui 2.3.6 → 2.3.7

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 (46) hide show
  1. package/dist/index.js +34 -5
  2. package/dist/index.mjs +34 -5
  3. package/dist/index.prod.js +3 -3
  4. package/dist/index.prod.mjs +3 -3
  5. package/es/chat/src/Chat.d.ts +124 -0
  6. package/es/chat/src/ChatListItems.d.ts +48 -0
  7. package/es/chat/src/ChatMainArea.d.ts +48 -0
  8. package/es/chat/src/ChatMessages.d.ts +48 -0
  9. package/es/chat/src/ChatMessages.mjs +2 -0
  10. package/es/chat/src/ChatParts/Sidebar.d.ts +8 -0
  11. package/es/chat/src/interface.d.ts +12 -0
  12. package/es/chat/styles/dark.d.ts +4 -0
  13. package/es/chat/styles/light.d.ts +6 -0
  14. package/es/chat/styles/light.mjs +5 -2
  15. package/es/components.d.ts +244 -0
  16. package/es/message-bubble/src/MessageBubble.d.ts +12 -0
  17. package/es/message-bubble/src/MessageBubble.mjs +4 -0
  18. package/es/message-bubble/src/interface.d.ts +6 -0
  19. package/es/message-bubble/src/styles/index.cssr.mjs +19 -1
  20. package/es/message-bubble/styles/dark.d.ts +2 -0
  21. package/es/message-bubble/styles/light.d.ts +4 -0
  22. package/es/message-bubble/styles/light.mjs +5 -1
  23. package/es/version.d.ts +1 -1
  24. package/es/version.mjs +1 -1
  25. package/lib/chat/src/Chat.d.ts +124 -0
  26. package/lib/chat/src/ChatListItems.d.ts +48 -0
  27. package/lib/chat/src/ChatMainArea.d.ts +48 -0
  28. package/lib/chat/src/ChatMessages.d.ts +48 -0
  29. package/lib/chat/src/ChatMessages.js +1 -1
  30. package/lib/chat/src/ChatParts/Sidebar.d.ts +8 -0
  31. package/lib/chat/src/interface.d.ts +12 -0
  32. package/lib/chat/styles/dark.d.ts +4 -0
  33. package/lib/chat/styles/light.d.ts +6 -0
  34. package/lib/chat/styles/light.js +4 -2
  35. package/lib/components.d.ts +244 -0
  36. package/lib/message-bubble/src/MessageBubble.d.ts +12 -0
  37. package/lib/message-bubble/src/MessageBubble.js +3 -1
  38. package/lib/message-bubble/src/interface.d.ts +6 -0
  39. package/lib/message-bubble/src/styles/index.cssr.js +19 -1
  40. package/lib/message-bubble/styles/dark.d.ts +2 -0
  41. package/lib/message-bubble/styles/light.d.ts +4 -0
  42. package/lib/message-bubble/styles/light.js +4 -2
  43. package/lib/version.d.ts +1 -1
  44. package/lib/version.js +1 -1
  45. package/package.json +1 -1
  46. package/web-types.json +1 -1
package/dist/index.js CHANGED
@@ -45398,7 +45398,9 @@
45398
45398
  textPrimary,
45399
45399
  textSecondary,
45400
45400
  textTertiary,
45401
+ brandPrimary100,
45401
45402
  brandPrimary400,
45403
+ brandPrimary500,
45402
45404
  staticGreen,
45403
45405
  staticRed,
45404
45406
  staticWhite
@@ -45422,7 +45424,9 @@
45422
45424
  messageTitleColor: textPrimary,
45423
45425
  markdownQuoteBorderColorOwn: textPrimary,
45424
45426
  markdownQuoteBorderColorOther: textPrimary,
45425
- markdownQuoteTextColor: textSecondary,
45427
+ markdownQuoteTextColor: textPrimary,
45428
+ markdownQuoteBackgroundColor: brandPrimary100,
45429
+ markdownQuoteMarkerColor: brandPrimary500,
45426
45430
  markdownDividerColorOwn: textPrimary,
45427
45431
  markdownDividerColorOther: textPrimary,
45428
45432
  markdownH1FontSize: "20px",
@@ -45630,8 +45634,9 @@
45630
45634
  textPrimary,
45631
45635
  textSecondary,
45632
45636
  surfacePrimary,
45633
- brandPrimary500,
45637
+ brandPrimary100,
45634
45638
  brandPrimary400,
45639
+ brandPrimary500,
45635
45640
  transparencySecondary,
45636
45641
  elementsSecondary,
45637
45642
  elementsDarkQuinary,
@@ -45671,7 +45676,9 @@
45671
45676
  unreadNotificationTextColor: elementsSecondary,
45672
45677
  markdownQuoteBorderColorOwn: textPrimary,
45673
45678
  markdownQuoteBorderColorOther: textPrimary,
45674
- markdownQuoteTextColor: textSecondary,
45679
+ markdownQuoteTextColor: textPrimary,
45680
+ markdownQuoteBackgroundColor: brandPrimary100,
45681
+ markdownQuoteMarkerColor: brandPrimary500,
45675
45682
  markdownDividerColorOwn: textPrimary,
45676
45683
  markdownDividerColorOther: textPrimary,
45677
45684
  typingIndicatorColor: textSecondary,
@@ -60817,7 +60824,23 @@
60817
60824
  `), cE("markdown", `
60818
60825
  white-space: normal;
60819
60826
  font-size: var(--u-message-bubble-markdown-text-font-size);
60820
- `, [c$1("h1", "font-size: var(--u-message-bubble-markdown-h1-font-size);"), c$1("h2", "font-size: var(--u-message-bubble-markdown-h2-font-size);"), c$1("h3", "font-size: var(--u-message-bubble-markdown-h3-font-size);"), c$1("& > *:first-child", "margin-top: 0;"), c$1("& > *:last-child", "margin-bottom: 0;")]), cE("after-content", `
60827
+ `, [c$1("h1", "font-size: var(--u-message-bubble-markdown-h1-font-size);"), c$1("h2", "font-size: var(--u-message-bubble-markdown-h2-font-size);"), c$1("h3", "font-size: var(--u-message-bubble-markdown-h3-font-size);"), c$1("ul, ol", "list-style-position: inside;"), c$1("blockquote", `
60828
+ position: relative;
60829
+ border-radius: 4px;
60830
+ padding: 0 8px;
60831
+ margin: 0;
60832
+ background-color: var(--u-message-bubble-markdown-quote-background-color);
60833
+ color: var(--u-message-bubble-markdown-quote-text-color);
60834
+ `, [c$1("&::before", `
60835
+ content: "";
60836
+ width: 2px;
60837
+ position: absolute;
60838
+ left: 2px;
60839
+ top: 2px;
60840
+ bottom: 2px;
60841
+ border-radius: 30px;
60842
+ background-color: var(--u-message-bubble-markdown-quote-marker-color);
60843
+ `)]), c$1("& > *:first-child", "margin-top: 0;"), c$1("& > *:last-child", "margin-bottom: 0;")]), cE("after-content", `
60821
60844
  white-space: normal;
60822
60845
  `), cE("meta", `
60823
60846
  display: flex;
@@ -60954,6 +60977,8 @@
60954
60977
  markdownQuoteBorderColorOwn,
60955
60978
  markdownQuoteBorderColorOther,
60956
60979
  markdownQuoteTextColor,
60980
+ markdownQuoteBackgroundColor,
60981
+ markdownQuoteMarkerColor,
60957
60982
  markdownDividerColorOwn,
60958
60983
  markdownDividerColorOther,
60959
60984
  markdownH1FontSize,
@@ -60983,6 +61008,8 @@
60983
61008
  "--u-message-bubble-markdown-quote-border-color-own": markdownQuoteBorderColorOwn,
60984
61009
  "--u-message-bubble-markdown-quote-border-color-other": markdownQuoteBorderColorOther,
60985
61010
  "--u-message-bubble-markdown-quote-text-color": markdownQuoteTextColor,
61011
+ "--u-message-bubble-markdown-quote-background-color": markdownQuoteBackgroundColor,
61012
+ "--u-message-bubble-markdown-quote-marker-color": markdownQuoteMarkerColor,
60986
61013
  "--u-message-bubble-markdown-divider-color-own": markdownDividerColorOwn,
60987
61014
  "--u-message-bubble-markdown-divider-color-other": markdownDividerColorOther,
60988
61015
  "--u-message-bubble-markdown-h1-font-size": markdownH1FontSize,
@@ -62085,6 +62112,8 @@
62085
62112
  markdownQuoteBorderColorOwn: self.markdownQuoteBorderColorOwn,
62086
62113
  markdownQuoteBorderColorOther: self.markdownQuoteBorderColorOther,
62087
62114
  markdownQuoteTextColor: self.markdownQuoteTextColor,
62115
+ markdownQuoteBackgroundColor: self.markdownQuoteBackgroundColor,
62116
+ markdownQuoteMarkerColor: self.markdownQuoteMarkerColor,
62088
62117
  markdownDividerColorOwn: self.markdownDividerColorOwn,
62089
62118
  markdownDividerColorOther: self.markdownDividerColorOther,
62090
62119
  ...peerOverrides.MessageBubble
@@ -123607,7 +123636,7 @@ ${icon.label}`.toLowerCase()
123607
123636
  });
123608
123637
  }
123609
123638
 
123610
- var version = "2.3.6";
123639
+ var version = "2.3.7";
123611
123640
 
123612
123641
  function create({
123613
123642
  componentPrefix = "U",
package/dist/index.mjs CHANGED
@@ -45394,7 +45394,9 @@ function self$17(vars) {
45394
45394
  textPrimary,
45395
45395
  textSecondary,
45396
45396
  textTertiary,
45397
+ brandPrimary100,
45397
45398
  brandPrimary400,
45399
+ brandPrimary500,
45398
45400
  staticGreen,
45399
45401
  staticRed,
45400
45402
  staticWhite
@@ -45418,7 +45420,9 @@ function self$17(vars) {
45418
45420
  messageTitleColor: textPrimary,
45419
45421
  markdownQuoteBorderColorOwn: textPrimary,
45420
45422
  markdownQuoteBorderColorOther: textPrimary,
45421
- markdownQuoteTextColor: textSecondary,
45423
+ markdownQuoteTextColor: textPrimary,
45424
+ markdownQuoteBackgroundColor: brandPrimary100,
45425
+ markdownQuoteMarkerColor: brandPrimary500,
45422
45426
  markdownDividerColorOwn: textPrimary,
45423
45427
  markdownDividerColorOther: textPrimary,
45424
45428
  markdownH1FontSize: "20px",
@@ -45626,8 +45630,9 @@ function self$14(vars) {
45626
45630
  textPrimary,
45627
45631
  textSecondary,
45628
45632
  surfacePrimary,
45629
- brandPrimary500,
45633
+ brandPrimary100,
45630
45634
  brandPrimary400,
45635
+ brandPrimary500,
45631
45636
  transparencySecondary,
45632
45637
  elementsSecondary,
45633
45638
  elementsDarkQuinary,
@@ -45667,7 +45672,9 @@ function self$14(vars) {
45667
45672
  unreadNotificationTextColor: elementsSecondary,
45668
45673
  markdownQuoteBorderColorOwn: textPrimary,
45669
45674
  markdownQuoteBorderColorOther: textPrimary,
45670
- markdownQuoteTextColor: textSecondary,
45675
+ markdownQuoteTextColor: textPrimary,
45676
+ markdownQuoteBackgroundColor: brandPrimary100,
45677
+ markdownQuoteMarkerColor: brandPrimary500,
45671
45678
  markdownDividerColorOwn: textPrimary,
45672
45679
  markdownDividerColorOther: textPrimary,
45673
45680
  typingIndicatorColor: textSecondary,
@@ -60813,7 +60820,23 @@ var style$16 = cB("message-bubble", `
60813
60820
  `), cE("markdown", `
60814
60821
  white-space: normal;
60815
60822
  font-size: var(--u-message-bubble-markdown-text-font-size);
60816
- `, [c$1("h1", "font-size: var(--u-message-bubble-markdown-h1-font-size);"), c$1("h2", "font-size: var(--u-message-bubble-markdown-h2-font-size);"), c$1("h3", "font-size: var(--u-message-bubble-markdown-h3-font-size);"), c$1("& > *:first-child", "margin-top: 0;"), c$1("& > *:last-child", "margin-bottom: 0;")]), cE("after-content", `
60823
+ `, [c$1("h1", "font-size: var(--u-message-bubble-markdown-h1-font-size);"), c$1("h2", "font-size: var(--u-message-bubble-markdown-h2-font-size);"), c$1("h3", "font-size: var(--u-message-bubble-markdown-h3-font-size);"), c$1("ul, ol", "list-style-position: inside;"), c$1("blockquote", `
60824
+ position: relative;
60825
+ border-radius: 4px;
60826
+ padding: 0 8px;
60827
+ margin: 0;
60828
+ background-color: var(--u-message-bubble-markdown-quote-background-color);
60829
+ color: var(--u-message-bubble-markdown-quote-text-color);
60830
+ `, [c$1("&::before", `
60831
+ content: "";
60832
+ width: 2px;
60833
+ position: absolute;
60834
+ left: 2px;
60835
+ top: 2px;
60836
+ bottom: 2px;
60837
+ border-radius: 30px;
60838
+ background-color: var(--u-message-bubble-markdown-quote-marker-color);
60839
+ `)]), c$1("& > *:first-child", "margin-top: 0;"), c$1("& > *:last-child", "margin-bottom: 0;")]), cE("after-content", `
60817
60840
  white-space: normal;
60818
60841
  `), cE("meta", `
60819
60842
  display: flex;
@@ -60950,6 +60973,8 @@ var _UMessageBubble = defineComponent({
60950
60973
  markdownQuoteBorderColorOwn,
60951
60974
  markdownQuoteBorderColorOther,
60952
60975
  markdownQuoteTextColor,
60976
+ markdownQuoteBackgroundColor,
60977
+ markdownQuoteMarkerColor,
60953
60978
  markdownDividerColorOwn,
60954
60979
  markdownDividerColorOther,
60955
60980
  markdownH1FontSize,
@@ -60979,6 +61004,8 @@ var _UMessageBubble = defineComponent({
60979
61004
  "--u-message-bubble-markdown-quote-border-color-own": markdownQuoteBorderColorOwn,
60980
61005
  "--u-message-bubble-markdown-quote-border-color-other": markdownQuoteBorderColorOther,
60981
61006
  "--u-message-bubble-markdown-quote-text-color": markdownQuoteTextColor,
61007
+ "--u-message-bubble-markdown-quote-background-color": markdownQuoteBackgroundColor,
61008
+ "--u-message-bubble-markdown-quote-marker-color": markdownQuoteMarkerColor,
60982
61009
  "--u-message-bubble-markdown-divider-color-own": markdownDividerColorOwn,
60983
61010
  "--u-message-bubble-markdown-divider-color-other": markdownDividerColorOther,
60984
61011
  "--u-message-bubble-markdown-h1-font-size": markdownH1FontSize,
@@ -62081,6 +62108,8 @@ var _UChatMessages = defineComponent({
62081
62108
  markdownQuoteBorderColorOwn: self.markdownQuoteBorderColorOwn,
62082
62109
  markdownQuoteBorderColorOther: self.markdownQuoteBorderColorOther,
62083
62110
  markdownQuoteTextColor: self.markdownQuoteTextColor,
62111
+ markdownQuoteBackgroundColor: self.markdownQuoteBackgroundColor,
62112
+ markdownQuoteMarkerColor: self.markdownQuoteMarkerColor,
62084
62113
  markdownDividerColorOwn: self.markdownDividerColorOwn,
62085
62114
  markdownDividerColorOther: self.markdownDividerColorOther,
62086
62115
  ...peerOverrides.MessageBubble
@@ -123603,7 +123632,7 @@ function useThemeVars() {
123603
123632
  });
123604
123633
  }
123605
123634
 
123606
- var version = "2.3.6";
123635
+ var version = "2.3.7";
123607
123636
 
123608
123637
  function create({
123609
123638
  componentPrefix = "U",