@uzum-tech/ui 1.11.1 → 1.12.0

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 (281) hide show
  1. package/dist/index.js +10830 -6653
  2. package/dist/index.prod.js +4 -4
  3. package/es/_internal/icons/BurgerMenuIcon.d.ts +2 -0
  4. package/es/_internal/icons/BurgerMenuIcon.js +4 -0
  5. package/es/_internal/icons/Logout.d.ts +2 -0
  6. package/es/_internal/icons/Logout.js +4 -0
  7. package/es/_internal/icons/OzbekFlag.d.ts +2 -0
  8. package/es/_internal/icons/OzbekFlag.js +15 -0
  9. package/es/_internal/icons/RussiaFlag.d.ts +2 -0
  10. package/es/_internal/icons/RussiaFlag.js +11 -0
  11. package/es/_internal/icons/SendFilled.d.ts +2 -0
  12. package/es/_internal/icons/SendFilled.js +9 -0
  13. package/es/_internal/icons/index.d.ts +5 -0
  14. package/es/_internal/icons/index.js +5 -0
  15. package/es/_styles/common/dark.js +1 -1
  16. package/es/_styles/common/light.d.ts +1 -0
  17. package/es/_styles/common/light.js +1 -1
  18. package/es/chat/src/Chat.d.ts +464 -83
  19. package/es/chat/src/Chat.js +17 -2
  20. package/es/chat/src/ChatListItems.d.ts +497 -94
  21. package/es/chat/src/ChatListItems.js +1 -1
  22. package/es/chat/src/ChatMessages.d.ts +501 -94
  23. package/es/chat/src/ChatMessages.js +115 -22
  24. package/es/chat/src/ChatParts/MainArea.d.ts +7 -3
  25. package/es/chat/src/ChatParts/MainArea.js +110 -14
  26. package/es/chat/src/ChatParts/Sidebar.d.ts +64 -11
  27. package/es/chat/src/interface.d.ts +18 -0
  28. package/es/chat/src/interface.js +6 -0
  29. package/es/chat/src/styles/index.cssr.js +22 -1
  30. package/es/chat/styles/dark.d.ts +41 -8
  31. package/es/chat/styles/dark.js +6 -2
  32. package/es/chat/styles/light.d.ts +42 -8
  33. package/es/chat/styles/light.js +7 -2
  34. package/es/components.d.ts +3 -0
  35. package/es/components.js +3 -0
  36. package/es/config-provider/src/internal-interface.d.ts +17 -0
  37. package/es/dialog/src/DialogProvider.d.ts +2 -0
  38. package/es/form/src/FormItemCol.d.ts +2 -2
  39. package/es/form/src/FormItemGridItem.d.ts +2 -2
  40. package/es/form/src/FormItemRow.d.ts +1 -1
  41. package/es/grid/src/Grid.d.ts +1 -1
  42. package/es/grid/src/GridItem.d.ts +2 -2
  43. package/es/header/demos/mock.d.ts +2 -0
  44. package/es/header/demos/mock.js +235 -0
  45. package/es/header/index.d.ts +12 -0
  46. package/es/header/index.js +10 -0
  47. package/es/header/src/Header.d.ts +604 -0
  48. package/es/header/src/Header.js +320 -0
  49. package/es/header/src/HeaderActions.d.ts +120 -0
  50. package/es/header/src/HeaderActions.js +166 -0
  51. package/es/header/src/HeaderDesktopLayout.d.ts +25 -0
  52. package/es/header/src/HeaderDesktopLayout.js +24 -0
  53. package/es/header/src/HeaderMobileLayout.d.ts +25 -0
  54. package/es/header/src/HeaderMobileLayout.js +21 -0
  55. package/es/header/src/HeaderNavigation.d.ts +128 -0
  56. package/es/header/src/HeaderNavigation.js +172 -0
  57. package/es/header/src/HeaderSearchDesktop.d.ts +79 -0
  58. package/es/header/src/HeaderSearchDesktop.js +77 -0
  59. package/es/header/src/HeaderSearchMobile.d.ts +73 -0
  60. package/es/header/src/HeaderSearchMobile.js +126 -0
  61. package/es/header/src/HeaderSearchResults.d.ts +81 -0
  62. package/es/header/src/HeaderSearchResults.js +74 -0
  63. package/es/header/src/constants.d.ts +1 -0
  64. package/es/header/src/constants.js +1 -0
  65. package/es/header/src/interface.d.ts +58 -0
  66. package/es/header/src/interface.js +1 -0
  67. package/es/header/src/mobile/HeaderMobile.d.ts +218 -0
  68. package/es/header/src/mobile/HeaderMobile.js +241 -0
  69. package/es/header/src/styles/index.cssr.d.ts +6 -0
  70. package/es/header/src/styles/index.cssr.js +519 -0
  71. package/es/header/src/utils.d.ts +12 -0
  72. package/es/header/src/utils.js +47 -0
  73. package/es/header/styles/dark.d.ts +36 -0
  74. package/es/header/styles/dark.js +9 -0
  75. package/es/header/styles/index.d.ts +3 -0
  76. package/es/header/styles/index.js +2 -0
  77. package/es/header/styles/light.d.ts +72 -0
  78. package/es/header/styles/light.js +45 -0
  79. package/es/icon/src/Icon.d.ts +3 -0
  80. package/es/icon/src/Icon.js +3 -2
  81. package/es/icon-bar/index.d.ts +4 -0
  82. package/es/icon-bar/index.js +2 -0
  83. package/es/icon-bar/src/IconBar.d.ts +175 -0
  84. package/es/icon-bar/src/IconBar.js +57 -0
  85. package/es/icon-bar/src/IconBarItem.d.ts +163 -0
  86. package/es/icon-bar/src/IconBarItem.js +50 -0
  87. package/es/icon-bar/src/styles/index.cssr.d.ts +2 -0
  88. package/es/icon-bar/src/styles/index.cssr.js +62 -0
  89. package/es/icon-bar/styles/dark.d.ts +3 -0
  90. package/es/icon-bar/styles/dark.js +8 -0
  91. package/es/icon-bar/styles/index.d.ts +3 -0
  92. package/es/icon-bar/styles/index.js +2 -0
  93. package/es/icon-bar/styles/light.d.ts +19 -0
  94. package/es/icon-bar/styles/light.js +23 -0
  95. package/es/locales/common/arDZ.js +11 -1
  96. package/es/locales/common/deDE.js +11 -1
  97. package/es/locales/common/enGB.js +11 -1
  98. package/es/locales/common/enUS.d.ts +10 -0
  99. package/es/locales/common/enUS.js +11 -1
  100. package/es/locales/common/eo.js +11 -1
  101. package/es/locales/common/esAR.js +11 -1
  102. package/es/locales/common/faIR.js +11 -1
  103. package/es/locales/common/frFR.js +11 -1
  104. package/es/locales/common/idID.js +11 -1
  105. package/es/locales/common/itIT.js +11 -1
  106. package/es/locales/common/jaJP.js +11 -1
  107. package/es/locales/common/koKR.js +11 -1
  108. package/es/locales/common/nbNO.js +11 -1
  109. package/es/locales/common/nlNL.js +11 -1
  110. package/es/locales/common/plPL.js +11 -1
  111. package/es/locales/common/ptBR.js +11 -1
  112. package/es/locales/common/ruRU.js +11 -1
  113. package/es/locales/common/skSK.js +11 -1
  114. package/es/locales/common/svSE.js +11 -1
  115. package/es/locales/common/thTH.js +11 -1
  116. package/es/locales/common/trTR.js +11 -1
  117. package/es/locales/common/ukUA.js +11 -1
  118. package/es/locales/common/viVN.js +11 -1
  119. package/es/locales/common/zhCN.js +11 -1
  120. package/es/locales/common/zhTW.js +11 -1
  121. package/es/modal-fullscreen/src/ModalFull.js +1 -1
  122. package/es/qr-code/index.d.ts +2 -0
  123. package/es/qr-code/index.js +1 -0
  124. package/es/qr-code/src/QrCode.d.ts +171 -0
  125. package/es/qr-code/src/QrCode.js +229 -0
  126. package/es/qr-code/src/qrcodegen.d.ts +95 -0
  127. package/es/qr-code/src/qrcodegen.js +949 -0
  128. package/es/qr-code/src/styles/index.cssr.d.ts +2 -0
  129. package/es/qr-code/src/styles/index.cssr.js +8 -0
  130. package/es/qr-code/styles/dark.d.ts +3 -0
  131. package/es/qr-code/styles/dark.js +11 -0
  132. package/es/qr-code/styles/index.d.ts +3 -0
  133. package/es/qr-code/styles/index.js +2 -0
  134. package/es/qr-code/styles/light.d.ts +9 -0
  135. package/es/qr-code/styles/light.js +12 -0
  136. package/es/theme-editor/src/ThemeEditor.d.ts +1 -0
  137. package/es/themes/dark.js +7 -1
  138. package/es/themes/light.js +7 -1
  139. package/es/version.d.ts +1 -1
  140. package/es/version.js +1 -1
  141. package/lib/_internal/icons/BurgerMenuIcon.d.ts +2 -0
  142. package/lib/_internal/icons/BurgerMenuIcon.js +6 -0
  143. package/lib/_internal/icons/Logout.d.ts +2 -0
  144. package/lib/_internal/icons/Logout.js +6 -0
  145. package/lib/_internal/icons/OzbekFlag.d.ts +2 -0
  146. package/lib/_internal/icons/OzbekFlag.js +17 -0
  147. package/lib/_internal/icons/RussiaFlag.d.ts +2 -0
  148. package/lib/_internal/icons/RussiaFlag.js +13 -0
  149. package/lib/_internal/icons/SendFilled.d.ts +2 -0
  150. package/lib/_internal/icons/SendFilled.js +11 -0
  151. package/lib/_internal/icons/index.d.ts +5 -0
  152. package/lib/_internal/icons/index.js +11 -1
  153. package/lib/_styles/common/dark.js +1 -1
  154. package/lib/_styles/common/light.d.ts +1 -0
  155. package/lib/_styles/common/light.js +1 -1
  156. package/lib/chat/src/Chat.d.ts +464 -83
  157. package/lib/chat/src/Chat.js +17 -2
  158. package/lib/chat/src/ChatListItems.d.ts +497 -94
  159. package/lib/chat/src/ChatListItems.js +1 -1
  160. package/lib/chat/src/ChatMessages.d.ts +501 -94
  161. package/lib/chat/src/ChatMessages.js +113 -20
  162. package/lib/chat/src/ChatParts/MainArea.d.ts +7 -3
  163. package/lib/chat/src/ChatParts/MainArea.js +108 -12
  164. package/lib/chat/src/ChatParts/Sidebar.d.ts +64 -11
  165. package/lib/chat/src/interface.d.ts +18 -0
  166. package/lib/chat/src/interface.js +7 -1
  167. package/lib/chat/src/styles/index.cssr.js +22 -1
  168. package/lib/chat/styles/dark.d.ts +41 -8
  169. package/lib/chat/styles/dark.js +6 -2
  170. package/lib/chat/styles/light.d.ts +42 -8
  171. package/lib/chat/styles/light.js +7 -2
  172. package/lib/components.d.ts +3 -0
  173. package/lib/components.js +3 -0
  174. package/lib/config-provider/src/internal-interface.d.ts +17 -0
  175. package/lib/dialog/src/DialogProvider.d.ts +2 -0
  176. package/lib/form/src/FormItemCol.d.ts +2 -2
  177. package/lib/form/src/FormItemGridItem.d.ts +2 -2
  178. package/lib/form/src/FormItemRow.d.ts +1 -1
  179. package/lib/grid/src/Grid.d.ts +1 -1
  180. package/lib/grid/src/GridItem.d.ts +2 -2
  181. package/lib/header/demos/mock.d.ts +2 -0
  182. package/lib/header/demos/mock.js +238 -0
  183. package/lib/header/index.d.ts +12 -0
  184. package/lib/header/index.js +48 -0
  185. package/lib/header/src/Header.d.ts +604 -0
  186. package/lib/header/src/Header.js +349 -0
  187. package/lib/header/src/HeaderActions.d.ts +120 -0
  188. package/lib/header/src/HeaderActions.js +172 -0
  189. package/lib/header/src/HeaderDesktopLayout.d.ts +25 -0
  190. package/lib/header/src/HeaderDesktopLayout.js +27 -0
  191. package/lib/header/src/HeaderMobileLayout.d.ts +25 -0
  192. package/lib/header/src/HeaderMobileLayout.js +24 -0
  193. package/lib/header/src/HeaderNavigation.d.ts +128 -0
  194. package/lib/header/src/HeaderNavigation.js +175 -0
  195. package/lib/header/src/HeaderSearchDesktop.d.ts +79 -0
  196. package/lib/header/src/HeaderSearchDesktop.js +83 -0
  197. package/lib/header/src/HeaderSearchMobile.d.ts +73 -0
  198. package/lib/header/src/HeaderSearchMobile.js +132 -0
  199. package/lib/header/src/HeaderSearchResults.d.ts +81 -0
  200. package/lib/header/src/HeaderSearchResults.js +77 -0
  201. package/lib/header/src/constants.d.ts +1 -0
  202. package/lib/header/src/constants.js +4 -0
  203. package/lib/header/src/interface.d.ts +58 -0
  204. package/lib/header/src/interface.js +2 -0
  205. package/lib/header/src/mobile/HeaderMobile.d.ts +218 -0
  206. package/lib/header/src/mobile/HeaderMobile.js +244 -0
  207. package/lib/header/src/styles/index.cssr.d.ts +6 -0
  208. package/lib/header/src/styles/index.cssr.js +525 -0
  209. package/lib/header/src/utils.d.ts +12 -0
  210. package/lib/header/src/utils.js +58 -0
  211. package/lib/header/styles/dark.d.ts +36 -0
  212. package/lib/header/styles/dark.js +11 -0
  213. package/lib/header/styles/index.d.ts +3 -0
  214. package/lib/header/styles/index.js +10 -0
  215. package/lib/header/styles/light.d.ts +72 -0
  216. package/lib/header/styles/light.js +49 -0
  217. package/lib/icon/src/Icon.d.ts +3 -0
  218. package/lib/icon/src/Icon.js +3 -2
  219. package/lib/icon-bar/index.d.ts +4 -0
  220. package/lib/icon-bar/index.js +12 -0
  221. package/lib/icon-bar/src/IconBar.d.ts +175 -0
  222. package/lib/icon-bar/src/IconBar.js +63 -0
  223. package/lib/icon-bar/src/IconBarItem.d.ts +163 -0
  224. package/lib/icon-bar/src/IconBarItem.js +56 -0
  225. package/lib/icon-bar/src/styles/index.cssr.d.ts +2 -0
  226. package/lib/icon-bar/src/styles/index.cssr.js +67 -0
  227. package/lib/icon-bar/styles/dark.d.ts +3 -0
  228. package/lib/icon-bar/styles/dark.js +10 -0
  229. package/lib/icon-bar/styles/index.d.ts +3 -0
  230. package/lib/icon-bar/styles/index.js +10 -0
  231. package/lib/icon-bar/styles/light.d.ts +19 -0
  232. package/lib/icon-bar/styles/light.js +27 -0
  233. package/lib/locales/common/arDZ.js +11 -1
  234. package/lib/locales/common/deDE.js +11 -1
  235. package/lib/locales/common/enGB.js +11 -1
  236. package/lib/locales/common/enUS.d.ts +10 -0
  237. package/lib/locales/common/enUS.js +11 -1
  238. package/lib/locales/common/eo.js +11 -1
  239. package/lib/locales/common/esAR.js +11 -1
  240. package/lib/locales/common/faIR.js +11 -1
  241. package/lib/locales/common/frFR.js +11 -1
  242. package/lib/locales/common/idID.js +11 -1
  243. package/lib/locales/common/itIT.js +11 -1
  244. package/lib/locales/common/jaJP.js +11 -1
  245. package/lib/locales/common/koKR.js +11 -1
  246. package/lib/locales/common/nbNO.js +11 -1
  247. package/lib/locales/common/nlNL.js +11 -1
  248. package/lib/locales/common/plPL.js +11 -1
  249. package/lib/locales/common/ptBR.js +11 -1
  250. package/lib/locales/common/ruRU.js +11 -1
  251. package/lib/locales/common/skSK.js +11 -1
  252. package/lib/locales/common/svSE.js +11 -1
  253. package/lib/locales/common/thTH.js +11 -1
  254. package/lib/locales/common/trTR.js +11 -1
  255. package/lib/locales/common/ukUA.js +11 -1
  256. package/lib/locales/common/viVN.js +11 -1
  257. package/lib/locales/common/zhCN.js +11 -1
  258. package/lib/locales/common/zhTW.js +11 -1
  259. package/lib/modal-fullscreen/src/ModalFull.js +1 -1
  260. package/lib/qr-code/index.d.ts +2 -0
  261. package/lib/qr-code/index.js +9 -0
  262. package/lib/qr-code/src/QrCode.d.ts +171 -0
  263. package/lib/qr-code/src/QrCode.js +235 -0
  264. package/lib/qr-code/src/qrcodegen.d.ts +95 -0
  265. package/lib/qr-code/src/qrcodegen.js +950 -0
  266. package/lib/qr-code/src/styles/index.cssr.d.ts +2 -0
  267. package/lib/qr-code/src/styles/index.cssr.js +13 -0
  268. package/lib/qr-code/styles/dark.d.ts +3 -0
  269. package/lib/qr-code/styles/dark.js +13 -0
  270. package/lib/qr-code/styles/index.d.ts +3 -0
  271. package/lib/qr-code/styles/index.js +10 -0
  272. package/lib/qr-code/styles/light.d.ts +9 -0
  273. package/lib/qr-code/styles/light.js +14 -0
  274. package/lib/theme-editor/src/ThemeEditor.d.ts +1 -0
  275. package/lib/themes/dark.js +7 -1
  276. package/lib/themes/light.js +7 -1
  277. package/lib/version.d.ts +1 -1
  278. package/lib/version.js +1 -1
  279. package/package.json +1 -1
  280. package/volar.d.ts +12 -0
  281. package/web-types.json +854 -2
@@ -333,7 +333,6 @@ export default cB('chat', `
333
333
  justify-content: flex-start;
334
334
  margin-bottom: 8px;
335
335
  `), cE('footer', `
336
- border-top: 1px solid var(--u-border-color);
337
336
  padding: 0px 20px;
338
337
  flex-shrink: 0;
339
338
  `), cE('input-container', `
@@ -341,6 +340,28 @@ export default cB('chat', `
341
340
  padding: 16px 0px;
342
341
  `), cE('input', `
343
342
  flex: 1;
343
+ `, [c('.u-input-wrapper', `
344
+ flex-wrap: wrap;
345
+ padding: 0 4px;
346
+ `, [c('.u-input__prefix', `
347
+ width: 100%;
348
+ margin: 0;
349
+ margin-top: 4px;
350
+ white-space: wrap;
351
+ `, [c('ul', `
352
+ border-top-left-radius: 12px;
353
+ border-top-right-radius: 12px;
354
+ `), c('li', `
355
+ padding: 12px;
356
+ `)]), c('.u-input__input-el', `
357
+ padding: 8px;
358
+ `), c('.u-input__placeholder', `
359
+ margin: 8px;
360
+ `)])]), cE('editing-block', `
361
+ width: 100%;
362
+ `), cE('input-suffix', `
363
+ color: var(--u-input-suffix-color) !important;
364
+ cursor: pointer;
344
365
  margin-right: 4px;
345
366
  `), cE('attach-btn', `
346
367
  margin-left: 4px;
@@ -26,6 +26,7 @@ declare const chatDark: import("../../_mixins").Theme<"Chat", {
26
26
  footerBorderColor: string;
27
27
  inputBackgroundColor: string;
28
28
  inputBorderColor: string;
29
+ inputSuffixColor: string;
29
30
  unreadNotificationBackgroundColor: string;
30
31
  unreadNotificationTextColor: string;
31
32
  typingIndicatorColor: string;
@@ -559,14 +560,6 @@ declare const chatDark: import("../../_mixins").Theme<"Chat", {
559
560
  iconSizeLarge: string;
560
561
  rippleDuration: string;
561
562
  }, any>;
562
- Icon: import("../../_mixins").Theme<"Icon", {
563
- color: string;
564
- opacity1Depth: string;
565
- opacity2Depth: string;
566
- opacity3Depth: string;
567
- opacity4Depth: string;
568
- opacity5Depth: string;
569
- }, any>;
570
563
  List: import("../../_mixins").Theme<"List", {
571
564
  iconSize: string;
572
565
  iconSpace: string;
@@ -662,6 +655,46 @@ declare const chatDark: import("../../_mixins").Theme<"Chat", {
662
655
  codeColor: string;
663
656
  codeBorder: string;
664
657
  }, any>;
658
+ StatusIcon: import("../../_mixins").Theme<"Icon", {
659
+ color: string;
660
+ opacity1Depth: string;
661
+ opacity2Depth: string;
662
+ opacity3Depth: string;
663
+ opacity4Depth: string;
664
+ opacity5Depth: string;
665
+ }, any>;
666
+ FooterAttachIcon: import("../../_mixins").Theme<"Icon", {
667
+ color: string;
668
+ opacity1Depth: string;
669
+ opacity2Depth: string;
670
+ opacity3Depth: string;
671
+ opacity4Depth: string;
672
+ opacity5Depth: string;
673
+ }, any>;
674
+ FooterSuffixIcon: import("../../_mixins").Theme<"Icon", {
675
+ color: string;
676
+ opacity1Depth: string;
677
+ opacity2Depth: string;
678
+ opacity3Depth: string;
679
+ opacity4Depth: string;
680
+ opacity5Depth: string;
681
+ }, any>;
682
+ HeaderShareIcon: import("../../_mixins").Theme<"Icon", {
683
+ color: string;
684
+ opacity1Depth: string;
685
+ opacity2Depth: string;
686
+ opacity3Depth: string;
687
+ opacity4Depth: string;
688
+ opacity5Depth: string;
689
+ }, any>;
690
+ HeaderProfileIcon: import("../../_mixins").Theme<"Icon", {
691
+ color: string;
692
+ opacity1Depth: string;
693
+ opacity2Depth: string;
694
+ opacity3Depth: string;
695
+ opacity4Depth: string;
696
+ opacity5Depth: string;
697
+ }, any>;
665
698
  }>;
666
699
  export default chatDark;
667
700
  export type ChatTheme = typeof chatDark;
@@ -20,9 +20,13 @@ const chatDark = createTheme({
20
20
  Avatar: avatarDark,
21
21
  Badge: badgeDark,
22
22
  Button: buttonDark,
23
- Icon: iconDark,
24
23
  List: listDark,
25
- Typography: typographyDark
24
+ Typography: typographyDark,
25
+ StatusIcon: iconDark,
26
+ FooterAttachIcon: iconDark,
27
+ FooterSuffixIcon: iconDark,
28
+ HeaderShareIcon: iconDark,
29
+ HeaderProfileIcon: iconDark
26
30
  },
27
31
  self: (vars) => {
28
32
  const lightVars = self(vars);
@@ -27,6 +27,7 @@ export declare const self: (vars: ThemeCommonVars) => {
27
27
  footerBorderColor: string;
28
28
  inputBackgroundColor: string;
29
29
  inputBorderColor: string;
30
+ inputSuffixColor: string;
30
31
  unreadNotificationBackgroundColor: string;
31
32
  unreadNotificationTextColor: string;
32
33
  typingIndicatorColor: string;
@@ -63,6 +64,7 @@ declare const chatLight: import("../../_mixins").Theme<"Chat", {
63
64
  footerBorderColor: string;
64
65
  inputBackgroundColor: string;
65
66
  inputBorderColor: string;
67
+ inputSuffixColor: string;
66
68
  unreadNotificationBackgroundColor: string;
67
69
  unreadNotificationTextColor: string;
68
70
  typingIndicatorColor: string;
@@ -596,14 +598,6 @@ declare const chatLight: import("../../_mixins").Theme<"Chat", {
596
598
  iconSizeLarge: string;
597
599
  rippleDuration: string;
598
600
  }, any>;
599
- Icon: import("../../_mixins").Theme<"Icon", {
600
- color: string;
601
- opacity1Depth: string;
602
- opacity2Depth: string;
603
- opacity3Depth: string;
604
- opacity4Depth: string;
605
- opacity5Depth: string;
606
- }, any>;
607
601
  List: import("../../_mixins").Theme<"List", {
608
602
  iconSize: string;
609
603
  iconSpace: string;
@@ -699,6 +693,46 @@ declare const chatLight: import("../../_mixins").Theme<"Chat", {
699
693
  codeColor: string;
700
694
  codeBorder: string;
701
695
  }, any>;
696
+ StatusIcon: import("../../_mixins").Theme<"Icon", {
697
+ color: string;
698
+ opacity1Depth: string;
699
+ opacity2Depth: string;
700
+ opacity3Depth: string;
701
+ opacity4Depth: string;
702
+ opacity5Depth: string;
703
+ }, any>;
704
+ FooterAttachIcon: import("../../_mixins").Theme<"Icon", {
705
+ color: string;
706
+ opacity1Depth: string;
707
+ opacity2Depth: string;
708
+ opacity3Depth: string;
709
+ opacity4Depth: string;
710
+ opacity5Depth: string;
711
+ }, any>;
712
+ FooterSuffixIcon: import("../../_mixins").Theme<"Icon", {
713
+ color: string;
714
+ opacity1Depth: string;
715
+ opacity2Depth: string;
716
+ opacity3Depth: string;
717
+ opacity4Depth: string;
718
+ opacity5Depth: string;
719
+ }, any>;
720
+ HeaderShareIcon: import("../../_mixins").Theme<"Icon", {
721
+ color: string;
722
+ opacity1Depth: string;
723
+ opacity2Depth: string;
724
+ opacity3Depth: string;
725
+ opacity4Depth: string;
726
+ opacity5Depth: string;
727
+ }, any>;
728
+ HeaderProfileIcon: import("../../_mixins").Theme<"Icon", {
729
+ color: string;
730
+ opacity1Depth: string;
731
+ opacity2Depth: string;
732
+ opacity3Depth: string;
733
+ opacity4Depth: string;
734
+ opacity5Depth: string;
735
+ }, any>;
702
736
  }>;
703
737
  export default chatLight;
704
738
  export type ChatThemeVars = ReturnType<typeof self>;
@@ -51,6 +51,7 @@ export const self = (vars) => {
51
51
  footerBorderColor: elementsQuaternary,
52
52
  inputBackgroundColor: surfacePrimary,
53
53
  inputBorderColor: elementsQuaternary,
54
+ inputSuffixColor: brandPrimary400,
54
55
  unreadNotificationBackgroundColor: brandPrimary400,
55
56
  unreadNotificationTextColor: elementsSecondary,
56
57
  typingIndicatorColor: textSecondary,
@@ -70,9 +71,13 @@ const chatLight = createTheme({
70
71
  Avatar: avatarLight,
71
72
  Badge: chatBadgeLight,
72
73
  Button: buttonLight,
73
- Icon: iconLight,
74
74
  List: listLight,
75
- Typography: typographyLight
75
+ Typography: typographyLight,
76
+ StatusIcon: iconLight,
77
+ FooterAttachIcon: iconLight,
78
+ FooterSuffixIcon: iconLight,
79
+ HeaderShareIcon: iconLight,
80
+ HeaderProfileIcon: iconLight
76
81
  },
77
82
  self
78
83
  });
@@ -99,3 +99,6 @@ export * from './equation';
99
99
  export * from './toggle-button';
100
100
  export * from './flex';
101
101
  export * from './crop';
102
+ export * from './header';
103
+ export * from './icon-bar';
104
+ export * from './qr-code';
package/es/components.js CHANGED
@@ -99,3 +99,6 @@ export * from './equation';
99
99
  export * from './toggle-button';
100
100
  export * from './flex';
101
101
  export * from './crop';
102
+ export * from './header';
103
+ export * from './icon-bar';
104
+ export * from './qr-code';
@@ -105,6 +105,9 @@ import { ChatTheme } from '../../chat/styles';
105
105
  import { ModalFullscreenTheme } from '../../modal-fullscreen/styles';
106
106
  import { CropTheme } from '../../crop/styles';
107
107
  import { SafeTopScrollbarTheme } from '../../_internal/safe-top-scrollbar/styles';
108
+ import { IconBarTheme } from '../../icon-bar/styles';
109
+ import { HeaderTheme } from '../../header/styles';
110
+ import { QrCodeTheme } from '../../qr-code/styles';
108
111
  export interface GlobalThemeWithoutCommon {
109
112
  Alert?: AlertTheme;
110
113
  Anchor?: AnchorTheme;
@@ -196,10 +199,13 @@ export interface GlobalThemeWithoutCommon {
196
199
  Chat?: ChatTheme;
197
200
  ModalFullscreen?: ModalFullscreenTheme;
198
201
  Crop?: CropTheme;
202
+ IconBar?: IconBarTheme;
203
+ QrCode?: QrCodeTheme;
199
204
  InternalSelectMenu?: InternalSelectMenuTheme;
200
205
  InternalSelection?: InternalSelectionTheme;
201
206
  AccountOption?: AccountOptionTheme;
202
207
  InputOtp?: InputOtpTheme;
208
+ Header?: HeaderTheme;
203
209
  }
204
210
  export interface GlobalComponentConfig {
205
211
  Pagination?: {
@@ -241,6 +247,17 @@ export interface GlobalIconConfig {
241
247
  rotateCounterclockwise?: () => VNodeChild;
242
248
  zoomIn?: () => VNodeChild;
243
249
  zoomOut?: () => VNodeChild;
250
+ logout?: () => VNodeChild;
251
+ burgerMenu?: () => VNodeChild;
252
+ eye?: () => VNodeChild;
253
+ eyeOff?: () => VNodeChild;
254
+ file?: () => VNodeChild;
255
+ search?: () => VNodeChild;
256
+ chevronDown?: () => VNodeChild;
257
+ chevronLeft?: () => VNodeChild;
258
+ chevronRight?: () => VNodeChild;
259
+ ozbekFlag?: () => VNodeChild;
260
+ russiaFlag?: () => VNodeChild;
244
261
  }
245
262
  export interface RtlItem {
246
263
  name: keyof GlobalThemeWithoutCommon;
@@ -300,6 +300,7 @@ export declare const UDialogProvider: import("vue").DefineComponent<{
300
300
  brandPrimary500: string;
301
301
  brandPrimary550: string;
302
302
  brandPrimary600: string;
303
+ brandSecondary400: string;
303
304
  brandSecondary500: string;
304
305
  brandSecondary300: string;
305
306
  brandSecondary600: string;
@@ -667,6 +668,7 @@ export declare const UDialogProvider: import("vue").DefineComponent<{
667
668
  brandPrimary500: string;
668
669
  brandPrimary550: string;
669
670
  brandPrimary600: string;
671
+ brandSecondary400: string;
670
672
  brandSecondary500: string;
671
673
  brandSecondary300: string;
672
674
  brandSecondary600: string;
@@ -151,7 +151,7 @@ export declare const formItemColProps: {
151
151
  readonly default: 0;
152
152
  };
153
153
  };
154
- export declare const formItemColPropKeys: ("push" | "theme" | "themeOverrides" | "builtinThemeOverrides" | "offset" | "value" | "label" | "size" | "required" | "span" | "path" | "first" | "labelWidth" | "labelAlign" | "labelPlacement" | "showRequireMark" | "requireMarkPlacement" | "showFeedback" | "showLabel" | "labelStyle" | "rulePath" | "rule" | "ignorePathChange" | "validationStatus" | "feedback" | "labelProps" | "pull")[];
154
+ export declare const formItemColPropKeys: ("push" | "theme" | "themeOverrides" | "builtinThemeOverrides" | "offset" | "value" | "label" | "size" | "span" | "required" | "path" | "first" | "labelWidth" | "labelAlign" | "labelPlacement" | "showRequireMark" | "requireMarkPlacement" | "showFeedback" | "showLabel" | "labelStyle" | "rulePath" | "rule" | "ignorePathChange" | "validationStatus" | "feedback" | "labelProps" | "pull")[];
155
155
  export type FormItemColProps = ExtractPublicPropTypes<typeof formItemColProps>;
156
156
  declare const _default: import("vue").DefineComponent<{
157
157
  readonly label: StringConstructor;
@@ -468,8 +468,8 @@ declare const _default: import("vue").DefineComponent<{
468
468
  readonly push: import("../../legacy-grid/src/interface").Span;
469
469
  readonly offset: import("../../legacy-grid/src/interface").Span;
470
470
  readonly value: any;
471
- readonly required: boolean;
472
471
  readonly span: import("../../legacy-grid/src/interface").Span;
472
+ readonly required: boolean;
473
473
  readonly first: boolean;
474
474
  readonly showRequireMark: boolean | undefined;
475
475
  readonly showFeedback: boolean | undefined;
@@ -151,7 +151,7 @@ export declare const formItemGiProps: {
151
151
  readonly default: true;
152
152
  };
153
153
  };
154
- export declare const formItemGiPropKeys: ("theme" | "themeOverrides" | "builtinThemeOverrides" | "offset" | "value" | "label" | "size" | "suffix" | "required" | "span" | "path" | "first" | "labelWidth" | "labelAlign" | "labelPlacement" | "showRequireMark" | "requireMarkPlacement" | "showFeedback" | "showLabel" | "privateSpan" | "privateColStart" | "privateShow" | "privateOffset" | "labelStyle" | "rulePath" | "rule" | "ignorePathChange" | "validationStatus" | "feedback" | "labelProps")[];
154
+ export declare const formItemGiPropKeys: ("theme" | "themeOverrides" | "builtinThemeOverrides" | "offset" | "value" | "label" | "size" | "span" | "suffix" | "required" | "path" | "first" | "labelWidth" | "labelAlign" | "labelPlacement" | "showRequireMark" | "requireMarkPlacement" | "showFeedback" | "showLabel" | "privateSpan" | "privateColStart" | "privateShow" | "privateOffset" | "labelStyle" | "rulePath" | "rule" | "ignorePathChange" | "validationStatus" | "feedback" | "labelProps")[];
155
155
  export type FormItemGiProps = ExtractPublicPropTypes<typeof formItemGiProps>;
156
156
  declare const _default: import("vue").DefineComponent<{
157
157
  readonly label: StringConstructor;
@@ -467,9 +467,9 @@ declare const _default: import("vue").DefineComponent<{
467
467
  }>>, {
468
468
  readonly offset: string | number;
469
469
  readonly value: any;
470
+ readonly span: string | number;
470
471
  readonly suffix: boolean;
471
472
  readonly required: boolean;
472
- readonly span: string | number;
473
473
  readonly first: boolean;
474
474
  readonly showRequireMark: boolean | undefined;
475
475
  readonly showFeedback: boolean | undefined;
@@ -485,8 +485,8 @@ declare const _default: import("vue").DefineComponent<{
485
485
  push: import("../../legacy-grid/src/interface").Span;
486
486
  offset: import("../../legacy-grid/src/interface").Span;
487
487
  value: any;
488
- required: boolean;
489
488
  span: import("../../legacy-grid/src/interface").Span;
489
+ required: boolean;
490
490
  first: boolean;
491
491
  showRequireMark: boolean | undefined;
492
492
  showFeedback: boolean | undefined;
@@ -96,8 +96,8 @@ declare const _default: import("vue").DefineComponent<{
96
96
  readonly default: 0;
97
97
  };
98
98
  }>>, {
99
- readonly responsive: "self" | "screen";
100
99
  readonly cols: string | number;
100
+ readonly responsive: "self" | "screen";
101
101
  readonly layoutShiftDisabled: boolean;
102
102
  readonly itemResponsive: boolean;
103
103
  readonly collapsed: boolean;
@@ -19,7 +19,7 @@ export declare const gridItemProps: {
19
19
  readonly default: true;
20
20
  };
21
21
  };
22
- export declare const gridItemPropKeys: ("offset" | "suffix" | "span" | "privateSpan" | "privateColStart" | "privateShow" | "privateOffset")[];
22
+ export declare const gridItemPropKeys: ("offset" | "span" | "suffix" | "privateSpan" | "privateColStart" | "privateShow" | "privateOffset")[];
23
23
  export type GridItemProps = ExtractPublicPropTypes<typeof gridItemProps>;
24
24
  declare const _default: import("vue").DefineComponent<{
25
25
  readonly span: {
@@ -67,8 +67,8 @@ declare const _default: import("vue").DefineComponent<{
67
67
  };
68
68
  }>>, {
69
69
  readonly offset: string | number;
70
- readonly suffix: boolean;
71
70
  readonly span: string | number;
71
+ readonly suffix: boolean;
72
72
  readonly privateShow: boolean;
73
73
  }, {}>;
74
74
  export default _default;
@@ -0,0 +1,2 @@
1
+ import type { HeaderSearchResult } from '../src/interface';
2
+ export declare const mockSearchResults: HeaderSearchResult[];
@@ -0,0 +1,235 @@
1
+ import { h } from 'vue';
2
+ import { UIcon } from '../../icon';
3
+ import { Card as CardIcon, Cash as CashIcon, PhonePortrait as PhoneIcon, Document as DocumentIcon, Settings as SettingsIcon, Home as HomeIcon } from '@vicons/ionicons5';
4
+ export const mockSearchResults = [
5
+ {
6
+ key: 'card-credit-1',
7
+ label: 'Кредитные карты 1',
8
+ description: 'Оформите кредитную карту онлайн за 5 минут',
9
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CardIcon) }),
10
+ extra: 'Карты',
11
+ onClick: () => {
12
+ console.log('card-credit-1');
13
+ }
14
+ },
15
+ {
16
+ key: 'card-debit-1',
17
+ label: 'Дебетовые карты 1',
18
+ description: 'Дебетовые карты с кэшбэком до 10%',
19
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CardIcon) }),
20
+ extra: 'Карты',
21
+ onClick: () => {
22
+ console.log('card-debit-1');
23
+ }
24
+ },
25
+ {
26
+ key: 'card-credit-2',
27
+ label: 'Кредитные карты 2',
28
+ description: 'Оформите кредитную карту онлайн за 5 минут',
29
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CardIcon) }),
30
+ extra: 'Карты',
31
+ onClick: () => {
32
+ console.log('card-credit-2');
33
+ }
34
+ },
35
+ {
36
+ key: 'card-debit-2',
37
+ label: 'Дебетовые карты 2',
38
+ description: 'Дебетовые карты с кэшбэком до 10%',
39
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CardIcon) }),
40
+ extra: 'Карты',
41
+ onClick: () => {
42
+ console.log('card-debit-2');
43
+ }
44
+ },
45
+ {
46
+ key: 'card-credit-3',
47
+ label: 'Кредитные карты 3',
48
+ description: 'Оформите кредитную карту онлайн за 5 минут',
49
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CardIcon) }),
50
+ extra: 'Карты',
51
+ onClick: () => {
52
+ console.log('card-credit-3');
53
+ }
54
+ },
55
+ {
56
+ key: 'card-debit-3',
57
+ label: 'Дебетовые карты 3',
58
+ description: 'Дебетовые карты с кэшбэком до 10%',
59
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CardIcon) }),
60
+ extra: 'Карты',
61
+ onClick: () => {
62
+ console.log('card-debit-3');
63
+ }
64
+ },
65
+ {
66
+ key: 'card-credit-4',
67
+ label: 'Кредитные карты 4',
68
+ description: 'Оформите кредитную карту онлайн за 5 минут',
69
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CardIcon) }),
70
+ extra: 'Карты',
71
+ onClick: () => {
72
+ console.log('card-credit-4');
73
+ }
74
+ },
75
+ {
76
+ key: 'card-debit-4',
77
+ label: 'Дебетовые карты 4',
78
+ description: 'Дебетовые карты с кэшбэком до 10%',
79
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CardIcon) }),
80
+ extra: 'Карты',
81
+ onClick: () => {
82
+ console.log('card-debit-4');
83
+ }
84
+ },
85
+ {
86
+ key: 'card-credit-5',
87
+ label: 'Кредитные карты 5',
88
+ description: 'Оформите кредитную карту онлайн за 5 минут',
89
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CardIcon) }),
90
+ extra: 'Карты',
91
+ onClick: () => {
92
+ console.log('card-credit-5');
93
+ }
94
+ },
95
+ {
96
+ key: 'card-debit-5',
97
+ label: 'Дебетовые карты 5',
98
+ description: 'Дебетовые карты с кэшбэком до 10%',
99
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CardIcon) }),
100
+ extra: 'Карты',
101
+ onClick: () => {
102
+ console.log('card-debit-5');
103
+ }
104
+ },
105
+ {
106
+ key: 'card-credit-6',
107
+ label: 'Кредитные карты 6',
108
+ description: 'Оформите кредитную карту онлайн за 5 минут',
109
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CardIcon) }),
110
+ extra: 'Карты',
111
+ onClick: () => {
112
+ console.log('card-credit-6');
113
+ }
114
+ },
115
+ {
116
+ key: 'card-debit-6',
117
+ label: 'Дебетовые карты 6',
118
+ description: 'Дебетовые карты с кэшбэком до 10%',
119
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CardIcon) }),
120
+ extra: 'Карты',
121
+ onClick: () => {
122
+ console.log('card-debit-6');
123
+ }
124
+ },
125
+ {
126
+ key: 'card-credit-7',
127
+ label: 'Кредитные карты 7',
128
+ description: 'Оформите кредитную карту онлайн за 5 минут',
129
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CardIcon) }),
130
+ extra: 'Карты',
131
+ onClick: () => {
132
+ console.log('card-credit-7');
133
+ }
134
+ },
135
+ {
136
+ key: 'card-debit-7',
137
+ label: 'Дебетовые карты 7',
138
+ description: 'Дебетовые карты с кэшбэком до 10%',
139
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CardIcon) }),
140
+ extra: 'Карты',
141
+ onClick: () => {
142
+ console.log('card-debit-7');
143
+ }
144
+ },
145
+ {
146
+ key: 'card-credit-8',
147
+ label: 'Кредитные карты 8',
148
+ description: 'Оформите кредитную карту онлайн за 5 минут',
149
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CardIcon) }),
150
+ extra: 'Карты',
151
+ onClick: () => {
152
+ console.log('card-credit-8');
153
+ }
154
+ },
155
+ {
156
+ key: 'card-debit-8',
157
+ label: 'Дебетовые карты 8',
158
+ description: 'Дебетовые карты с кэшбэком до 10%',
159
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CardIcon) }),
160
+ extra: 'Карты',
161
+ onClick: () => {
162
+ console.log('card-debit-8');
163
+ }
164
+ },
165
+ {
166
+ key: 'deposit',
167
+ label: 'Вклады',
168
+ description: 'Выгодные вклады со ставкой до 18% годовых',
169
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CashIcon) }),
170
+ extra: 'Вклады',
171
+ onClick: () => {
172
+ console.log('deposit');
173
+ }
174
+ },
175
+ {
176
+ key: 'deposit-saving',
177
+ label: 'Накопительный счет',
178
+ description: 'Проценты на остаток каждый день',
179
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CashIcon) }),
180
+ extra: 'Вклады',
181
+ onClick: () => {
182
+ console.log('deposit-saving');
183
+ }
184
+ },
185
+ {
186
+ key: 'mobile-app',
187
+ label: 'Мобильное приложение',
188
+ description: 'Скачайте приложение Uzum Bank для iOS и Android',
189
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(PhoneIcon) }),
190
+ extra: 'Сервисы',
191
+ onClick: () => {
192
+ console.log('mobile-app');
193
+ }
194
+ },
195
+ {
196
+ key: 'business-account',
197
+ label: 'Расчетный счет для бизнеса',
198
+ description: 'Откройте счет для ИП и ООО онлайн',
199
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(SettingsIcon) }),
200
+ extra: 'Бизнес',
201
+ onClick: () => {
202
+ console.log('business-account');
203
+ }
204
+ },
205
+ {
206
+ key: 'transfer',
207
+ label: 'Переводы',
208
+ description: 'Переводы по номеру телефона без комиссии',
209
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(CashIcon) }),
210
+ extra: 'Переводы',
211
+ onClick: () => {
212
+ console.log('transfer');
213
+ }
214
+ },
215
+ {
216
+ key: 'documents',
217
+ label: 'Тарифы и документы',
218
+ description: 'Полный список тарифов и условий',
219
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(DocumentIcon) }),
220
+ extra: 'Информация',
221
+ onClick: () => {
222
+ console.log('documents');
223
+ }
224
+ },
225
+ {
226
+ key: 'support',
227
+ label: 'Поддержка',
228
+ description: 'Контакты службы поддержки',
229
+ icon: () => h(UIcon, { size: 20 }, { default: () => h(HomeIcon) }),
230
+ extra: 'Помощь',
231
+ onClick: () => {
232
+ console.log('support');
233
+ }
234
+ }
235
+ ];
@@ -0,0 +1,12 @@
1
+ export { default as UHeader, headerProps } from './src/Header';
2
+ export { default as UHeaderNavigation, headerNavigationProps } from './src/HeaderNavigation';
3
+ export { default as UHeaderMobile, headerMobileProps } from './src/mobile/HeaderMobile';
4
+ export { default as UHeaderActions, headerActionsProps } from './src/HeaderActions';
5
+ export { default as UHeaderDesktopLayout, headerDesktopLayoutProps } from './src/HeaderDesktopLayout';
6
+ export { default as UHeaderMobileLayout, headerMobileLayoutProps } from './src/HeaderMobileLayout';
7
+ export { default as UHeaderSearchMobile, headerSearchMobileProps } from './src/HeaderSearchMobile';
8
+ export { default as UHeaderSearchDesktop, headerSearchDesktopProps } from './src/HeaderSearchDesktop';
9
+ export type { HeaderProps } from './src/Header';
10
+ export { default as UHeaderSearchResults, headerSearchResultsProps } from './src/HeaderSearchResults';
11
+ export type { HeaderMenuOption, HeaderMenuColumnOption, HeaderMenuChildOption, HeaderMenuGroupOption, HeaderMenuDividerOption, HeaderMenuPlacement, HeaderMenuTrigger, HeaderMenuTabsProps, LangOption, HeaderSearchResult, HeaderSearchHandler } from './src/interface';
12
+ export * from './src/utils';
@@ -0,0 +1,10 @@
1
+ export { default as UHeader, headerProps } from './src/Header';
2
+ export { default as UHeaderNavigation, headerNavigationProps } from './src/HeaderNavigation';
3
+ export { default as UHeaderMobile, headerMobileProps } from './src/mobile/HeaderMobile';
4
+ export { default as UHeaderActions, headerActionsProps } from './src/HeaderActions';
5
+ export { default as UHeaderDesktopLayout, headerDesktopLayoutProps } from './src/HeaderDesktopLayout';
6
+ export { default as UHeaderMobileLayout, headerMobileLayoutProps } from './src/HeaderMobileLayout';
7
+ export { default as UHeaderSearchMobile, headerSearchMobileProps } from './src/HeaderSearchMobile';
8
+ export { default as UHeaderSearchDesktop, headerSearchDesktopProps } from './src/HeaderSearchDesktop';
9
+ export { default as UHeaderSearchResults, headerSearchResultsProps } from './src/HeaderSearchResults';
10
+ export * from './src/utils';