@uzum-tech/ui 2.3.8 → 2.4.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 (335) hide show
  1. package/dist/index.js +63596 -32483
  2. package/dist/index.mjs +64978 -33874
  3. package/dist/index.prod.js +3 -3
  4. package/dist/index.prod.mjs +3 -3
  5. package/es/_internal/icons/Bold.d.ts +2 -0
  6. package/es/_internal/icons/Bold.mjs +29 -0
  7. package/es/_internal/icons/BulletList.d.ts +2 -0
  8. package/es/_internal/icons/BulletList.mjs +23 -0
  9. package/es/_internal/icons/HorizontalRule.d.ts +2 -0
  10. package/es/_internal/icons/HorizontalRule.mjs +14 -0
  11. package/es/_internal/icons/Italic.d.ts +2 -0
  12. package/es/_internal/icons/Italic.mjs +19 -0
  13. package/es/_internal/icons/NumberedList.d.ts +2 -0
  14. package/es/_internal/icons/NumberedList.mjs +23 -0
  15. package/es/_internal/icons/Quote.d.ts +2 -0
  16. package/es/_internal/icons/Quote.mjs +23 -0
  17. package/es/_internal/icons/SettingsLine.d.ts +2 -0
  18. package/es/_internal/icons/SettingsLine.mjs +19 -0
  19. package/es/_internal/icons/Strikethrough.d.ts +2 -0
  20. package/es/_internal/icons/Strikethrough.mjs +14 -0
  21. package/es/_internal/icons/index.d.ts +8 -0
  22. package/es/_internal/icons/index.mjs +8 -0
  23. package/es/_styles/markdown/markdown-content.cssr.d.ts +6 -0
  24. package/es/_styles/markdown/markdown-content.cssr.mjs +22 -0
  25. package/es/_utils/markdown/index.d.ts +3 -2
  26. package/es/_utils/markdown/index.mjs +2 -1
  27. package/es/_utils/markdown/render-markdown.d.ts +2 -1
  28. package/es/_utils/markdown/render-markdown.mjs +1 -1
  29. package/es/chat/src/Chat.d.ts +261 -24
  30. package/es/chat/src/Chat.mjs +2 -0
  31. package/es/chat/src/ChatMainArea.d.ts +81 -8
  32. package/es/chat/src/ChatMainArea.mjs +111 -355
  33. package/es/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +9084 -0
  34. package/es/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.mjs +70 -0
  35. package/es/chat/src/ChatParts/ChatAttachmentButton/interface.d.ts +2645 -0
  36. package/es/chat/src/ChatParts/ChatAttachmentButton/interface.mjs +19 -0
  37. package/es/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.d.ts +9070 -0
  38. package/es/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.mjs +78 -0
  39. package/es/chat/src/ChatParts/ChatEditingBlock/interface.d.ts +2637 -0
  40. package/es/chat/src/ChatParts/ChatEditingBlock/interface.mjs +15 -0
  41. package/es/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.d.ts +89 -0
  42. package/es/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.mjs +63 -0
  43. package/es/chat/src/ChatParts/ChatEditorInput/interface.d.ts +42 -0
  44. package/es/chat/src/ChatParts/ChatEditorInput/interface.mjs +34 -0
  45. package/es/chat/src/ChatParts/ChatFooter/ChatFooter.d.ts +115 -0
  46. package/es/chat/src/ChatParts/ChatFooter/ChatFooter.mjs +99 -0
  47. package/es/chat/src/ChatParts/ChatFooter/interface.d.ts +56 -0
  48. package/es/chat/src/ChatParts/ChatFooter/interface.mjs +46 -0
  49. package/es/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +9205 -0
  50. package/es/chat/src/ChatParts/ChatHeader/ChatHeader.mjs +219 -0
  51. package/es/chat/src/ChatParts/ChatHeader/interface.d.ts +2694 -0
  52. package/es/chat/src/ChatParts/ChatHeader/interface.mjs +67 -0
  53. package/es/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.d.ts +9142 -0
  54. package/es/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.mjs +130 -0
  55. package/es/chat/src/ChatParts/ChatLegacyInput/interface.d.ts +2654 -0
  56. package/es/chat/src/ChatParts/ChatLegacyInput/interface.mjs +27 -0
  57. package/es/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.d.ts +148 -0
  58. package/es/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.mjs +92 -0
  59. package/es/chat/src/ChatParts/ChatMessagesArea/interface.d.ts +72 -0
  60. package/es/chat/src/ChatParts/ChatMessagesArea/interface.mjs +58 -0
  61. package/es/chat/src/interface.d.ts +7 -0
  62. package/es/chat/src/interface.mjs +4 -0
  63. package/es/chat/src/styles/index.cssr.mjs +11 -12
  64. package/es/chat/styles/light.d.ts +4 -0
  65. package/es/chat/styles/light.mjs +20 -1
  66. package/es/components.d.ts +13087 -103
  67. package/es/components.mjs +5 -0
  68. package/es/config-provider/src/ConfigProvider.mjs +6 -2
  69. package/es/config-provider/src/internal-interface.d.ts +2 -0
  70. package/es/data-table/index.d.ts +1 -1
  71. package/es/data-table/src/ColumnSettings/ColumnSettingsDrawer.d.ts +156 -0
  72. package/es/data-table/src/ColumnSettings/ColumnSettingsDrawer.mjs +220 -0
  73. package/es/data-table/src/ColumnSettings/styles.cssr.d.ts +2 -0
  74. package/es/data-table/src/ColumnSettings/styles.cssr.mjs +25 -0
  75. package/es/data-table/src/DataTable.d.ts +60 -2
  76. package/es/data-table/src/DataTable.mjs +99 -23
  77. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +14 -0
  78. package/es/data-table/src/interface.d.ts +53 -1
  79. package/es/data-table/src/interface.mjs +18 -1
  80. package/es/data-table/src/styles/index.cssr.mjs +17 -1
  81. package/es/data-table/src/use-column-settings.d.ts +2 -0
  82. package/es/data-table/src/use-column-settings.mjs +124 -0
  83. package/es/data-table/src/utils/column-utils.d.ts +2 -1
  84. package/es/data-table/src/utils/column-utils.mjs +6 -0
  85. package/es/editor/index.d.ts +10 -0
  86. package/es/editor/index.mjs +5 -0
  87. package/es/editor/src/Editor.d.ts +3922 -0
  88. package/es/editor/src/Editor.mjs +230 -0
  89. package/es/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.d.ts +37 -0
  90. package/es/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.mjs +63 -0
  91. package/es/editor/src/EditorParts/BlockTypeSelect/interface.d.ts +21 -0
  92. package/es/editor/src/EditorParts/BlockTypeSelect/interface.mjs +14 -0
  93. package/es/editor/src/EditorParts/EditorContent/EditorContent.d.ts +4102 -0
  94. package/es/editor/src/EditorParts/EditorContent/EditorContent.mjs +154 -0
  95. package/es/editor/src/EditorParts/EditorContent/index.d.ts +2 -0
  96. package/es/editor/src/EditorParts/EditorContent/index.mjs +2 -0
  97. package/es/editor/src/EditorParts/EditorContent/interface.d.ts +1918 -0
  98. package/es/editor/src/EditorParts/EditorContent/interface.mjs +17 -0
  99. package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +4606 -0
  100. package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.mjs +170 -0
  101. package/es/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.d.ts +11 -0
  102. package/es/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.mjs +56 -0
  103. package/es/editor/src/EditorParts/EditorToolbar/index.d.ts +2 -0
  104. package/es/editor/src/EditorParts/EditorToolbar/index.mjs +2 -0
  105. package/es/editor/src/EditorParts/EditorToolbar/interface.d.ts +1924 -0
  106. package/es/editor/src/EditorParts/EditorToolbar/interface.mjs +18 -0
  107. package/es/editor/src/EditorParts/SendButton/SendButton.d.ts +23 -0
  108. package/es/editor/src/EditorParts/SendButton/SendButton.mjs +44 -0
  109. package/es/editor/src/EditorParts/SendButton/interface.d.ts +18 -0
  110. package/es/editor/src/EditorParts/SendButton/interface.mjs +8 -0
  111. package/es/editor/src/EditorParts/ToolbarButton/ToolbarButton.d.ts +32 -0
  112. package/es/editor/src/EditorParts/ToolbarButton/ToolbarButton.mjs +44 -0
  113. package/es/editor/src/EditorParts/ToolbarButton/interface.d.ts +20 -0
  114. package/es/editor/src/EditorParts/ToolbarButton/interface.mjs +13 -0
  115. package/es/editor/src/composables/use-editor-commands.d.ts +8 -0
  116. package/es/editor/src/composables/use-editor-commands.mjs +69 -0
  117. package/es/editor/src/composables/use-editor-css-vars.d.ts +4 -0
  118. package/es/editor/src/composables/use-editor-css-vars.mjs +89 -0
  119. package/es/editor/src/constants.d.ts +12 -0
  120. package/es/editor/src/constants.mjs +25 -0
  121. package/es/editor/src/extensions.d.ts +7 -0
  122. package/es/editor/src/extensions.mjs +135 -0
  123. package/es/editor/src/interface.d.ts +2037 -0
  124. package/es/editor/src/interface.mjs +53 -0
  125. package/es/editor/src/markdown/constants.d.ts +8 -0
  126. package/es/editor/src/markdown/constants.mjs +206 -0
  127. package/es/editor/src/markdown/editor-serializer.d.ts +9 -0
  128. package/es/editor/src/markdown/editor-serializer.mjs +18 -0
  129. package/es/editor/src/markdown/escape.d.ts +2 -0
  130. package/es/editor/src/markdown/escape.mjs +24 -0
  131. package/es/editor/src/markdown/html.d.ts +1 -0
  132. package/es/editor/src/markdown/html.mjs +4 -0
  133. package/es/editor/src/markdown/parser.d.ts +4 -0
  134. package/es/editor/src/markdown/parser.mjs +36 -0
  135. package/es/editor/src/markdown/serializer-state.d.ts +10 -0
  136. package/es/editor/src/markdown/serializer-state.mjs +12 -0
  137. package/es/editor/src/markdown/serializer.d.ts +3 -0
  138. package/es/editor/src/markdown/serializer.mjs +8 -0
  139. package/es/editor/src/styles/index.cssr.d.ts +2 -0
  140. package/es/editor/src/styles/index.cssr.mjs +131 -0
  141. package/es/editor/styles/dark.d.ts +634 -0
  142. package/es/editor/styles/dark.mjs +21 -0
  143. package/es/editor/styles/index.d.ts +3 -0
  144. package/es/editor/styles/index.mjs +2 -0
  145. package/es/editor/styles/light.d.ts +685 -0
  146. package/es/editor/styles/light.mjs +91 -0
  147. package/es/editor/tests/fixtures/round-trip.d.ts +12 -0
  148. package/es/editor/tests/fixtures/round-trip.mjs +98 -0
  149. package/es/editor/tests/utils.d.ts +7 -0
  150. package/es/editor/tests/utils.mjs +27 -0
  151. package/es/locales/common/enUS.d.ts +22 -0
  152. package/es/locales/common/enUS.mjs +23 -1
  153. package/es/locales/common/ruRU.mjs +28 -8
  154. package/es/locales/common/uzUZ.mjs +23 -1
  155. package/es/locales/common/zhCN.mjs +23 -1
  156. package/es/locales/utils/date-locale.d.ts +2 -0
  157. package/es/locales/utils/date-locale.mjs +8 -0
  158. package/es/message-bubble/src/MessageBubble.d.ts +9 -0
  159. package/es/message-bubble/src/MessageBubble.mjs +9 -8
  160. package/es/message-bubble/src/interface.d.ts +5 -1
  161. package/es/message-bubble/src/interface.mjs +4 -0
  162. package/es/message-bubble/src/styles/index.cssr.mjs +4 -17
  163. package/es/styles.d.ts +1 -0
  164. package/es/styles.mjs +1 -0
  165. package/es/themes/dark.mjs +2 -0
  166. package/es/themes/light.mjs +2 -0
  167. package/es/version.d.ts +1 -1
  168. package/es/version.mjs +1 -1
  169. package/lib/_internal/icons/Bold.d.ts +2 -0
  170. package/lib/_internal/icons/Bold.js +13 -0
  171. package/lib/_internal/icons/BulletList.d.ts +2 -0
  172. package/lib/_internal/icons/BulletList.js +13 -0
  173. package/lib/_internal/icons/HorizontalRule.d.ts +2 -0
  174. package/lib/_internal/icons/HorizontalRule.js +10 -0
  175. package/lib/_internal/icons/Italic.d.ts +2 -0
  176. package/lib/_internal/icons/Italic.js +11 -0
  177. package/lib/_internal/icons/NumberedList.d.ts +2 -0
  178. package/lib/_internal/icons/NumberedList.js +13 -0
  179. package/lib/_internal/icons/Quote.d.ts +2 -0
  180. package/lib/_internal/icons/Quote.js +13 -0
  181. package/lib/_internal/icons/SettingsLine.d.ts +2 -0
  182. package/lib/_internal/icons/SettingsLine.js +11 -0
  183. package/lib/_internal/icons/Strikethrough.d.ts +2 -0
  184. package/lib/_internal/icons/Strikethrough.js +10 -0
  185. package/lib/_internal/icons/index.d.ts +8 -0
  186. package/lib/_internal/icons/index.js +18 -2
  187. package/lib/_styles/markdown/markdown-content.cssr.d.ts +6 -0
  188. package/lib/_styles/markdown/markdown-content.cssr.js +28 -0
  189. package/lib/_utils/markdown/index.d.ts +3 -2
  190. package/lib/_utils/markdown/index.js +4 -1
  191. package/lib/_utils/markdown/render-markdown.d.ts +2 -1
  192. package/lib/_utils/markdown/render-markdown.js +1 -0
  193. package/lib/chat/src/Chat.d.ts +261 -24
  194. package/lib/chat/src/Chat.js +2 -0
  195. package/lib/chat/src/ChatMainArea.d.ts +81 -8
  196. package/lib/chat/src/ChatMainArea.js +93 -223
  197. package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +9084 -0
  198. package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.js +52 -0
  199. package/lib/chat/src/ChatParts/ChatAttachmentButton/interface.d.ts +2645 -0
  200. package/lib/chat/src/ChatParts/ChatAttachmentButton/interface.js +17 -0
  201. package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.d.ts +9070 -0
  202. package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.js +55 -0
  203. package/lib/chat/src/ChatParts/ChatEditingBlock/interface.d.ts +2637 -0
  204. package/lib/chat/src/ChatParts/ChatEditingBlock/interface.js +14 -0
  205. package/lib/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.d.ts +89 -0
  206. package/lib/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.js +45 -0
  207. package/lib/chat/src/ChatParts/ChatEditorInput/interface.d.ts +42 -0
  208. package/lib/chat/src/ChatParts/ChatEditorInput/interface.js +37 -0
  209. package/lib/chat/src/ChatParts/ChatFooter/ChatFooter.d.ts +115 -0
  210. package/lib/chat/src/ChatParts/ChatFooter/ChatFooter.js +66 -0
  211. package/lib/chat/src/ChatParts/ChatFooter/interface.d.ts +56 -0
  212. package/lib/chat/src/ChatParts/ChatFooter/interface.js +49 -0
  213. package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +9205 -0
  214. package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.js +164 -0
  215. package/lib/chat/src/ChatParts/ChatHeader/interface.d.ts +2694 -0
  216. package/lib/chat/src/ChatParts/ChatHeader/interface.js +53 -0
  217. package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.d.ts +9142 -0
  218. package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.js +98 -0
  219. package/lib/chat/src/ChatParts/ChatLegacyInput/interface.d.ts +2654 -0
  220. package/lib/chat/src/ChatParts/ChatLegacyInput/interface.js +23 -0
  221. package/lib/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.d.ts +148 -0
  222. package/lib/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.js +49 -0
  223. package/lib/chat/src/ChatParts/ChatMessagesArea/interface.d.ts +72 -0
  224. package/lib/chat/src/ChatParts/ChatMessagesArea/interface.js +61 -0
  225. package/lib/chat/src/interface.d.ts +7 -0
  226. package/lib/chat/src/interface.js +3 -0
  227. package/lib/chat/src/styles/index.cssr.js +11 -12
  228. package/lib/chat/styles/light.d.ts +4 -0
  229. package/lib/chat/styles/light.js +22 -1
  230. package/lib/components.d.ts +13087 -103
  231. package/lib/components.js +17 -7
  232. package/lib/config-provider/src/ConfigProvider.js +7 -4
  233. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  234. package/lib/data-table/index.d.ts +1 -1
  235. package/lib/data-table/src/ColumnSettings/ColumnSettingsDrawer.d.ts +156 -0
  236. package/lib/data-table/src/ColumnSettings/ColumnSettingsDrawer.js +181 -0
  237. package/lib/data-table/src/ColumnSettings/styles.cssr.d.ts +2 -0
  238. package/lib/data-table/src/ColumnSettings/styles.cssr.js +30 -0
  239. package/lib/data-table/src/DataTable.d.ts +60 -2
  240. package/lib/data-table/src/DataTable.js +65 -23
  241. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +14 -0
  242. package/lib/data-table/src/interface.d.ts +53 -1
  243. package/lib/data-table/src/interface.js +17 -2
  244. package/lib/data-table/src/styles/index.cssr.js +17 -1
  245. package/lib/data-table/src/use-column-settings.d.ts +2 -0
  246. package/lib/data-table/src/use-column-settings.js +144 -0
  247. package/lib/data-table/src/utils/column-utils.d.ts +2 -1
  248. package/lib/data-table/src/utils/column-utils.js +5 -0
  249. package/lib/editor/index.d.ts +10 -0
  250. package/lib/editor/index.js +19 -0
  251. package/lib/editor/src/Editor.d.ts +3922 -0
  252. package/lib/editor/src/Editor.js +224 -0
  253. package/lib/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.d.ts +37 -0
  254. package/lib/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.js +47 -0
  255. package/lib/editor/src/EditorParts/BlockTypeSelect/interface.d.ts +21 -0
  256. package/lib/editor/src/EditorParts/BlockTypeSelect/interface.js +17 -0
  257. package/lib/editor/src/EditorParts/EditorContent/EditorContent.d.ts +4102 -0
  258. package/lib/editor/src/EditorParts/EditorContent/EditorContent.js +121 -0
  259. package/lib/editor/src/EditorParts/EditorContent/index.d.ts +2 -0
  260. package/lib/editor/src/EditorParts/EditorContent/index.js +10 -0
  261. package/lib/editor/src/EditorParts/EditorContent/interface.d.ts +1918 -0
  262. package/lib/editor/src/EditorParts/EditorContent/interface.js +8 -0
  263. package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +4606 -0
  264. package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.js +126 -0
  265. package/lib/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.d.ts +11 -0
  266. package/lib/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.js +52 -0
  267. package/lib/editor/src/EditorParts/EditorToolbar/index.d.ts +2 -0
  268. package/lib/editor/src/EditorParts/EditorToolbar/index.js +10 -0
  269. package/lib/editor/src/EditorParts/EditorToolbar/interface.d.ts +1924 -0
  270. package/lib/editor/src/EditorParts/EditorToolbar/interface.js +11 -0
  271. package/lib/editor/src/EditorParts/SendButton/SendButton.d.ts +23 -0
  272. package/lib/editor/src/EditorParts/SendButton/SendButton.js +31 -0
  273. package/lib/editor/src/EditorParts/SendButton/interface.d.ts +18 -0
  274. package/lib/editor/src/EditorParts/SendButton/interface.js +11 -0
  275. package/lib/editor/src/EditorParts/ToolbarButton/ToolbarButton.d.ts +32 -0
  276. package/lib/editor/src/EditorParts/ToolbarButton/ToolbarButton.js +34 -0
  277. package/lib/editor/src/EditorParts/ToolbarButton/interface.d.ts +20 -0
  278. package/lib/editor/src/EditorParts/ToolbarButton/interface.js +16 -0
  279. package/lib/editor/src/composables/use-editor-commands.d.ts +8 -0
  280. package/lib/editor/src/composables/use-editor-commands.js +70 -0
  281. package/lib/editor/src/composables/use-editor-css-vars.d.ts +4 -0
  282. package/lib/editor/src/composables/use-editor-css-vars.js +50 -0
  283. package/lib/editor/src/constants.d.ts +12 -0
  284. package/lib/editor/src/constants.js +56 -0
  285. package/lib/editor/src/extensions.d.ts +7 -0
  286. package/lib/editor/src/extensions.js +141 -0
  287. package/lib/editor/src/interface.d.ts +2037 -0
  288. package/lib/editor/src/interface.js +22 -0
  289. package/lib/editor/src/markdown/constants.d.ts +8 -0
  290. package/lib/editor/src/markdown/constants.js +201 -0
  291. package/lib/editor/src/markdown/editor-serializer.d.ts +9 -0
  292. package/lib/editor/src/markdown/editor-serializer.js +20 -0
  293. package/lib/editor/src/markdown/escape.d.ts +2 -0
  294. package/lib/editor/src/markdown/escape.js +31 -0
  295. package/lib/editor/src/markdown/html.d.ts +1 -0
  296. package/lib/editor/src/markdown/html.js +9 -0
  297. package/lib/editor/src/markdown/parser.d.ts +4 -0
  298. package/lib/editor/src/markdown/parser.js +42 -0
  299. package/lib/editor/src/markdown/serializer-state.d.ts +10 -0
  300. package/lib/editor/src/markdown/serializer-state.js +16 -0
  301. package/lib/editor/src/markdown/serializer.d.ts +3 -0
  302. package/lib/editor/src/markdown/serializer.js +9 -0
  303. package/lib/editor/src/styles/index.cssr.d.ts +2 -0
  304. package/lib/editor/src/styles/index.cssr.js +136 -0
  305. package/lib/editor/styles/dark.d.ts +634 -0
  306. package/lib/editor/styles/dark.js +23 -0
  307. package/lib/editor/styles/index.d.ts +3 -0
  308. package/lib/editor/styles/index.js +10 -0
  309. package/lib/editor/styles/light.d.ts +685 -0
  310. package/lib/editor/styles/light.js +75 -0
  311. package/lib/editor/tests/fixtures/round-trip.d.ts +12 -0
  312. package/lib/editor/tests/fixtures/round-trip.js +125 -0
  313. package/lib/editor/tests/utils.d.ts +7 -0
  314. package/lib/editor/tests/utils.js +26 -0
  315. package/lib/locales/common/enUS.d.ts +22 -0
  316. package/lib/locales/common/enUS.js +23 -1
  317. package/lib/locales/common/ruRU.js +28 -8
  318. package/lib/locales/common/uzUZ.js +23 -1
  319. package/lib/locales/common/zhCN.js +23 -1
  320. package/lib/locales/utils/date-locale.d.ts +2 -0
  321. package/lib/locales/utils/date-locale.js +14 -0
  322. package/lib/message-bubble/src/MessageBubble.d.ts +9 -0
  323. package/lib/message-bubble/src/MessageBubble.js +12 -7
  324. package/lib/message-bubble/src/interface.d.ts +5 -1
  325. package/lib/message-bubble/src/interface.js +3 -0
  326. package/lib/message-bubble/src/styles/index.cssr.js +4 -17
  327. package/lib/styles.d.ts +1 -0
  328. package/lib/styles.js +127 -125
  329. package/lib/themes/dark.js +136 -134
  330. package/lib/themes/light.js +136 -134
  331. package/lib/version.d.ts +1 -1
  332. package/lib/version.js +1 -1
  333. package/package.json +8 -1
  334. package/volar.d.ts +3 -0
  335. package/web-types.json +454 -2
package/web-types.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "@uzum-tech/ui",
5
- "version": "2.3.8",
5
+ "version": "2.4.1",
6
6
  "js-types-syntax": "typescript",
7
7
  "contributions": {
8
8
  "html": {
@@ -3748,6 +3748,24 @@
3748
3748
  "description-sections": {
3749
3749
  "since": "2.34.0"
3750
3750
  }
3751
+ },
3752
+ {
3753
+ "name": "filters",
3754
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/data-table",
3755
+ "type": "()",
3756
+ "description": "Content rendered in the toolbar above the table on the left. Shown on the same row as the column settings button when `column-settings` is enabled.",
3757
+ "description-sections": {
3758
+ "since": "2.4.0"
3759
+ }
3760
+ },
3761
+ {
3762
+ "name": "column-settings-trigger",
3763
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/data-table",
3764
+ "type": "()",
3765
+ "description": "Custom trigger for the column settings drawer. Rendered above the table on the right when `column-settings` is enabled.",
3766
+ "description-sections": {
3767
+ "since": "2.4.0"
3768
+ }
3751
3769
  }
3752
3770
  ],
3753
3771
  "attributes": [],
@@ -3804,6 +3822,26 @@
3804
3822
  "description": "Columns to display.",
3805
3823
  "default": "[]"
3806
3824
  },
3825
+ {
3826
+ "name": "column-settings",
3827
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/data-table",
3828
+ "type": "boolean",
3829
+ "description": "Enable column visibility/order settings drawer. Requires `local-storage-key`. Persists `columnsConfig` separately from resizable `columnWidths`.",
3830
+ "default": "false",
3831
+ "description-sections": {
3832
+ "since": "2.4.0"
3833
+ }
3834
+ },
3835
+ {
3836
+ "name": "column-settings-trigger-props",
3837
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/data-table",
3838
+ "type": "Partial<ButtonProps>",
3839
+ "description": "Props passed to the default column settings trigger button.",
3840
+ "default": "undefined",
3841
+ "description-sections": {
3842
+ "since": "2.4.0"
3843
+ }
3844
+ },
3807
3845
  {
3808
3846
  "name": "data",
3809
3847
  "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/data-table",
@@ -4012,7 +4050,7 @@
4012
4050
  "name": "localStorage-key",
4013
4051
  "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/data-table",
4014
4052
  "type": "string",
4015
- "description": "Key for localStorage to persist table state (column widths, page, pageSize, filters, sort, checkedRowKeys, expandedRowKeys). When set, state is restored on mount and saved on change.",
4053
+ "description": "Key for localStorage to persist table state (column widths, columnsConfig, page, pageSize, filters, sort, checkedRowKeys, expandedRowKeys). When set, state is restored on mount and saved on change.",
4016
4054
  "default": "undefined"
4017
4055
  },
4018
4056
  {
@@ -5431,6 +5469,413 @@
5431
5469
  ]
5432
5470
  }
5433
5471
  },
5472
+ {
5473
+ "name": "UEditor",
5474
+ "description": "Markdown message editor built on Tiptap.\n\nThe value is a Markdown string exposed through `v-model:value`; the ProseMirror document and the HTML stay internal. The document schema is deliberately limited to the syntax the Markdown pipeline can express — `Document`, `Paragraph`, `Text`, `HardBreak`, undo/redo history, `Bold`, `Italic`, `Strike`, `Link`, `Heading` (levels 1–3), `BulletList`, `OrderedList`, `ListItem`, `Blockquote`, `HorizontalRule` and `Placeholder`. Code, inline code and underline are switched off on purpose: anything present in the schema but absent from Markdown would be silently lost on save. `Link` is there only to preserve the address while editing — it has no toolbar button and no visual treatment.",
5475
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5476
+ "source": {
5477
+ "symbol": "UEditor"
5478
+ },
5479
+ "slots": [
5480
+ {
5481
+ "name": "toolbar",
5482
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5483
+ "description": "Replaces the toolbar entirely.",
5484
+ "description-sections": {
5485
+ "since": "2.4.0"
5486
+ }
5487
+ },
5488
+ {
5489
+ "name": "content",
5490
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5491
+ "description": "Replaces the input area together with the send button.",
5492
+ "description-sections": {
5493
+ "since": "2.4.0"
5494
+ }
5495
+ },
5496
+ {
5497
+ "name": "send-icon",
5498
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5499
+ "description": "Replaces the `SendFilled` glyph on the send button.",
5500
+ "description-sections": {
5501
+ "since": "2.4.0"
5502
+ }
5503
+ }
5504
+ ],
5505
+ "attributes": [],
5506
+ "props": [
5507
+ {
5508
+ "name": "value",
5509
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5510
+ "type": "string",
5511
+ "description": "Markdown value. Use with `v-model:value`.",
5512
+ "default": "undefined",
5513
+ "description-sections": {
5514
+ "since": "2.4.0"
5515
+ }
5516
+ },
5517
+ {
5518
+ "name": "default-value",
5519
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5520
+ "type": "string",
5521
+ "description": "Markdown value used when the editor is uncontrolled.",
5522
+ "default": "''",
5523
+ "description-sections": {
5524
+ "since": "2.4.0"
5525
+ }
5526
+ },
5527
+ {
5528
+ "name": "placeholder",
5529
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5530
+ "type": "string",
5531
+ "description": "Hint shown while the editor is empty. Reactive: follows both the prop and the locale of the config provider.",
5532
+ "default": "locale",
5533
+ "description-sections": {
5534
+ "since": "2.4.0"
5535
+ }
5536
+ },
5537
+ {
5538
+ "name": "disabled",
5539
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5540
+ "type": "boolean",
5541
+ "description": "Makes the document non-editable and greys the toolbar and the send button out.",
5542
+ "default": "false",
5543
+ "description-sections": {
5544
+ "since": "2.4.0"
5545
+ }
5546
+ },
5547
+ {
5548
+ "name": "readonly",
5549
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5550
+ "type": "boolean",
5551
+ "description": "Makes the document non-editable but leaves the controls usable.",
5552
+ "default": "false",
5553
+ "description-sections": {
5554
+ "since": "2.4.0"
5555
+ }
5556
+ },
5557
+ {
5558
+ "name": "autofocus",
5559
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5560
+ "type": "boolean",
5561
+ "description": "Puts the caret into the document on mount. _At creation._",
5562
+ "default": "false",
5563
+ "description-sections": {
5564
+ "since": "2.4.0"
5565
+ }
5566
+ },
5567
+ {
5568
+ "name": "max-length",
5569
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5570
+ "type": "number",
5571
+ "description": "Caps the **visible text**, not the Markdown. _At creation._",
5572
+ "default": "undefined",
5573
+ "description-sections": {
5574
+ "since": "2.4.0"
5575
+ }
5576
+ },
5577
+ {
5578
+ "name": "max-rows",
5579
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5580
+ "type": "number",
5581
+ "description": "Caps the height of the input area at that many rows of body text; the content scrolls past it.",
5582
+ "default": "undefined",
5583
+ "description-sections": {
5584
+ "since": "2.4.0"
5585
+ }
5586
+ },
5587
+ {
5588
+ "name": "show-send-button",
5589
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5590
+ "type": "boolean",
5591
+ "description": "Renders the send button on the right of the input area.",
5592
+ "default": "true",
5593
+ "description-sections": {
5594
+ "since": "2.4.0"
5595
+ }
5596
+ },
5597
+ {
5598
+ "name": "send-on-enter",
5599
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5600
+ "type": "boolean",
5601
+ "description": "Enter sends; Shift+Enter edits structure instead.",
5602
+ "default": "true",
5603
+ "description-sections": {
5604
+ "since": "2.4.0"
5605
+ }
5606
+ },
5607
+ {
5608
+ "name": "markdown-options",
5609
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5610
+ "type": "MarkdownOptions",
5611
+ "description": "Feature set of the dialect. Drives the schema, the toolbar and the serializer at once. _At creation._",
5612
+ "default": "undefined",
5613
+ "description-sections": {
5614
+ "since": "2.4.0"
5615
+ }
5616
+ },
5617
+ {
5618
+ "name": "toolbar",
5619
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5620
+ "type": "EditorToolbarItemKey[][] | boolean",
5621
+ "description": "Toolbar layout. Each nested array is a block of buttons preceded by a divider. `true` uses the default layout, `false` hides the toolbar. Buttons of features switched off in `markdown-options` are not rendered.",
5622
+ "default": "true",
5623
+ "description-sections": {
5624
+ "since": "2.4.0"
5625
+ }
5626
+ },
5627
+ {
5628
+ "name": "extensions",
5629
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5630
+ "type": "Extensions",
5631
+ "description": "Tiptap extensions appended after the base set, so they can extend or override it. _At creation._",
5632
+ "default": "[]",
5633
+ "description-sections": {
5634
+ "since": "2.4.0"
5635
+ }
5636
+ },
5637
+ {
5638
+ "name": "node-props",
5639
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5640
+ "type": "{ bulletList?: HTMLAttributes, orderedList?: HTMLAttributes }",
5641
+ "description": "Attributes put on the list elements of the document, most notably `class`, so the content can be styled from the outside. _At creation._",
5642
+ "default": "undefined",
5643
+ "description-sections": {
5644
+ "since": "2.4.1"
5645
+ }
5646
+ },
5647
+ {
5648
+ "name": "toolbar-button-props",
5649
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5650
+ "type": "Partial<ButtonProps>",
5651
+ "description": "Passed to every toolbar button.",
5652
+ "default": "undefined",
5653
+ "description-sections": {
5654
+ "since": "2.4.0"
5655
+ }
5656
+ },
5657
+ {
5658
+ "name": "toolbar-icon-props",
5659
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5660
+ "type": "Partial<IconProps>",
5661
+ "description": "Passed to every toolbar icon.",
5662
+ "default": "undefined",
5663
+ "description-sections": {
5664
+ "since": "2.4.0"
5665
+ }
5666
+ },
5667
+ {
5668
+ "name": "toolbar-dropdown-props",
5669
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5670
+ "type": "Partial<SelectProps>",
5671
+ "description": "Passed to the text style select.",
5672
+ "default": "undefined",
5673
+ "description-sections": {
5674
+ "since": "2.4.0"
5675
+ }
5676
+ },
5677
+ {
5678
+ "name": "send-button-props",
5679
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5680
+ "type": "Partial<ButtonProps>",
5681
+ "description": "Passed to the send button.",
5682
+ "default": "undefined",
5683
+ "description-sections": {
5684
+ "since": "2.4.0"
5685
+ }
5686
+ },
5687
+ {
5688
+ "name": "send-icon-props",
5689
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5690
+ "type": "Partial<IconProps>",
5691
+ "description": "Passed to the send icon.",
5692
+ "default": "undefined",
5693
+ "description-sections": {
5694
+ "since": "2.4.0"
5695
+ }
5696
+ },
5697
+ {
5698
+ "name": "content-props",
5699
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5700
+ "type": "HTMLAttributes",
5701
+ "description": "Attributes for the root of the input area.",
5702
+ "default": "undefined",
5703
+ "description-sections": {
5704
+ "since": "2.4.0"
5705
+ }
5706
+ },
5707
+ {
5708
+ "name": "send-tooltip",
5709
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5710
+ "type": "string",
5711
+ "description": "Overrides the send button label; also used as its `aria-label`.",
5712
+ "default": "locale",
5713
+ "description-sections": {
5714
+ "since": "2.4.0"
5715
+ }
5716
+ },
5717
+ {
5718
+ "name": "bold-tooltip",
5719
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5720
+ "type": "string",
5721
+ "description": "Overrides the bold tooltip.",
5722
+ "default": "locale",
5723
+ "description-sections": {
5724
+ "since": "2.4.0"
5725
+ }
5726
+ },
5727
+ {
5728
+ "name": "italic-tooltip",
5729
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5730
+ "type": "string",
5731
+ "description": "Overrides the italic tooltip.",
5732
+ "default": "locale",
5733
+ "description-sections": {
5734
+ "since": "2.4.0"
5735
+ }
5736
+ },
5737
+ {
5738
+ "name": "strikethrough-tooltip",
5739
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5740
+ "type": "string",
5741
+ "description": "Overrides the strikethrough tooltip.",
5742
+ "default": "locale",
5743
+ "description-sections": {
5744
+ "since": "2.4.0"
5745
+ }
5746
+ },
5747
+ {
5748
+ "name": "blockquote-tooltip",
5749
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5750
+ "type": "string",
5751
+ "description": "Overrides the quote tooltip.",
5752
+ "default": "locale",
5753
+ "description-sections": {
5754
+ "since": "2.4.0"
5755
+ }
5756
+ },
5757
+ {
5758
+ "name": "divider-tooltip",
5759
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5760
+ "type": "string",
5761
+ "description": "Overrides the divider tooltip.",
5762
+ "default": "locale",
5763
+ "description-sections": {
5764
+ "since": "2.4.0"
5765
+ }
5766
+ },
5767
+ {
5768
+ "name": "bullet-list-tooltip",
5769
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5770
+ "type": "string",
5771
+ "description": "Overrides the bulleted list tooltip.",
5772
+ "default": "locale",
5773
+ "description-sections": {
5774
+ "since": "2.4.0"
5775
+ }
5776
+ },
5777
+ {
5778
+ "name": "ordered-list-tooltip",
5779
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5780
+ "type": "string",
5781
+ "description": "Overrides the numbered list tooltip.",
5782
+ "default": "locale",
5783
+ "description-sections": {
5784
+ "since": "2.4.0"
5785
+ }
5786
+ },
5787
+ {
5788
+ "name": "theme",
5789
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5790
+ "type": "Theme",
5791
+ "description": "Theme of the component.",
5792
+ "default": "undefined",
5793
+ "description-sections": {
5794
+ "since": "2.4.0"
5795
+ }
5796
+ },
5797
+ {
5798
+ "name": "theme-overrides",
5799
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5800
+ "type": "ThemeOverrides",
5801
+ "description": "Theme overrides of the component.",
5802
+ "default": "undefined",
5803
+ "description-sections": {
5804
+ "since": "2.4.0"
5805
+ }
5806
+ }
5807
+ ],
5808
+ "js": {
5809
+ "events": [
5810
+ {
5811
+ "name": "update:value",
5812
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5813
+ "type": "(value: string) => void",
5814
+ "description": "Called with the Markdown value whenever the document changes.",
5815
+ "default": "undefined",
5816
+ "description-sections": {
5817
+ "since": "2.4.0"
5818
+ }
5819
+ },
5820
+ {
5821
+ "name": "send",
5822
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5823
+ "type": "(value: string) => void",
5824
+ "description": "Called with the Markdown value on send. The editor clears itself right after.",
5825
+ "default": "undefined",
5826
+ "description-sections": {
5827
+ "since": "2.4.0"
5828
+ }
5829
+ },
5830
+ {
5831
+ "name": "focus",
5832
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5833
+ "type": "(event: FocusEvent) => void",
5834
+ "description": "Called when the document takes focus.",
5835
+ "default": "undefined",
5836
+ "description-sections": {
5837
+ "since": "2.4.0"
5838
+ }
5839
+ },
5840
+ {
5841
+ "name": "blur",
5842
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5843
+ "type": "(event: FocusEvent) => void",
5844
+ "description": "Called when the document loses focus.",
5845
+ "default": "undefined",
5846
+ "description-sections": {
5847
+ "since": "2.4.0"
5848
+ }
5849
+ }
5850
+ ]
5851
+ }
5852
+ },
5853
+ {
5854
+ "name": "UEditorContent",
5855
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5856
+ "source": {
5857
+ "symbol": "UEditorContent"
5858
+ },
5859
+ "slots": [],
5860
+ "attributes": [],
5861
+ "props": [],
5862
+ "js": {
5863
+ "events": []
5864
+ }
5865
+ },
5866
+ {
5867
+ "name": "UEditorToolbar",
5868
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
5869
+ "source": {
5870
+ "symbol": "UEditorToolbar"
5871
+ },
5872
+ "slots": [],
5873
+ "attributes": [],
5874
+ "props": [],
5875
+ "js": {
5876
+ "events": []
5877
+ }
5878
+ },
5434
5879
  {
5435
5880
  "name": "UEl",
5436
5881
  "description": "Element has many theme variables provided by Uzum UI.",
@@ -10457,6 +10902,13 @@
10457
10902
  "description": "Options to customize Markdown rendering — see MarkdownOptions Type below.",
10458
10903
  "default": "undefined"
10459
10904
  },
10905
+ {
10906
+ "name": "markdown-props",
10907
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/message-bubble",
10908
+ "type": "HTMLAttributes",
10909
+ "description": "Attributes for the Markdown container, most notably `class`. A selector rooted in that class — `.your-class ul { padding-inline-start: 24px }` — outweighs the tag rules of the library. List indentation itself is left to the browser default, so a project with a CSS reset should set it this way.",
10910
+ "default": "undefined"
10911
+ },
10460
10912
  {
10461
10913
  "name": "timestamp",
10462
10914
  "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/message-bubble",