@uzum-tech/ui 1.8.0 → 1.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/dist/index.js +378 -197
  2. package/dist/index.prod.js +3 -3
  3. package/es/_internal/scrollbar/src/Scrollbar.js +1 -1
  4. package/es/button/src/Button.d.ts +72 -0
  5. package/es/button/src/Button.js +13 -7
  6. package/es/button/src/styles/index.cssr.js +1 -2
  7. package/es/button/styles/light.d.ts +8 -0
  8. package/es/button/styles/light.js +7 -7
  9. package/es/calendar/src/Calendar.d.ts +80 -0
  10. package/es/calendar/styles/light.d.ts +8 -0
  11. package/es/chat/index.d.ts +2 -1
  12. package/es/chat/index.js +1 -0
  13. package/es/chat/src/Chat.d.ts +87 -7
  14. package/es/chat/src/Chat.js +12 -12
  15. package/es/chat/src/ChatListItems.d.ts +1847 -4
  16. package/es/chat/src/ChatListItems.js +16 -12
  17. package/es/chat/src/ChatMessages.d.ts +1848 -4
  18. package/es/chat/src/ChatMessages.js +27 -10
  19. package/es/chat/src/ChatParts/MainArea.js +10 -10
  20. package/es/chat/src/ChatParts/Sidebar.js +2 -2
  21. package/es/chat/src/interface.d.ts +4 -0
  22. package/es/chat/src/styles/index.cssr.js +14 -17
  23. package/es/chat/styles/dark.d.ts +8 -0
  24. package/es/chat/styles/light.d.ts +9 -1
  25. package/es/chat/styles/light.js +15 -3
  26. package/es/color-picker/src/ColorInputUnit.d.ts +8 -0
  27. package/es/color-picker/src/ColorPicker.d.ts +72 -0
  28. package/es/color-picker/styles/light.d.ts +8 -0
  29. package/es/data-table/src/DataTable.d.ts +56 -0
  30. package/es/data-table/src/HeaderButton/FilterButton.d.ts +8 -0
  31. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +8 -0
  32. package/es/data-table/src/TableParts/Body.d.ts +8 -0
  33. package/es/data-table/src/TableParts/Header.d.ts +8 -0
  34. package/es/data-table/src/interface.d.ts +24 -0
  35. package/es/data-table/styles/light.d.ts +8 -0
  36. package/es/date-picker/src/DatePicker.d.ts +168 -0
  37. package/es/date-picker/src/panel/date.d.ts +24 -0
  38. package/es/date-picker/src/panel/daterange.d.ts +24 -0
  39. package/es/date-picker/src/panel/datetime.d.ts +24 -0
  40. package/es/date-picker/src/panel/datetimerange.d.ts +24 -0
  41. package/es/date-picker/src/panel/panelMonth.d.ts +48 -0
  42. package/es/date-picker/src/panel/panelMonthContent.d.ts +24 -0
  43. package/es/date-picker/src/panel/panelYear.d.ts +48 -0
  44. package/es/date-picker/src/panel/panelYearContent.d.ts +24 -0
  45. package/es/date-picker/src/panel/use-calendar.d.ts +24 -0
  46. package/es/date-picker/src/panel/use-dual-calendar.d.ts +24 -0
  47. package/es/date-picker/src/panel/use-panel-common.d.ts +24 -0
  48. package/es/date-picker/styles/light.d.ts +16 -0
  49. package/es/dialog/src/Dialog.d.ts +56 -0
  50. package/es/dialog/src/DialogProvider.d.ts +16 -0
  51. package/es/dialog/styles/light.d.ts +8 -0
  52. package/es/dynamic-input/src/DynamicInput.d.ts +80 -0
  53. package/es/dynamic-input/src/InputPreset.d.ts +8 -0
  54. package/es/dynamic-input/src/PairPreset.d.ts +8 -0
  55. package/es/dynamic-input/styles/light.d.ts +8 -0
  56. package/es/dynamic-tags/src/DynamicTags.d.ts +80 -0
  57. package/es/dynamic-tags/styles/light.d.ts +8 -0
  58. package/es/input-number/src/InputNumber.d.ts +80 -0
  59. package/es/input-number/styles/light.d.ts +8 -0
  60. package/es/legacy-transfer/src/Transfer.d.ts +80 -0
  61. package/es/legacy-transfer/src/TransferFilter.d.ts +8 -0
  62. package/es/legacy-transfer/src/TransferList.d.ts +8 -0
  63. package/es/legacy-transfer/src/TransferListItem.d.ts +8 -0
  64. package/es/legacy-transfer/styles/light.d.ts +8 -0
  65. package/es/modal/src/BodyWrapper.d.ts +16 -0
  66. package/es/modal/src/Modal.d.ts +72 -0
  67. package/es/modal/styles/light.d.ts +8 -0
  68. package/es/notification/src/Notification.d.ts +5 -0
  69. package/es/notification/src/Notification.js +16 -6
  70. package/es/notification/src/NotificationContainer.d.ts +12 -0
  71. package/es/notification/src/NotificationProvider.d.ts +108 -0
  72. package/es/notification/src/styles/index.cssr.js +12 -8
  73. package/es/notification/styles/light.d.ts +24 -0
  74. package/es/notification/styles/light.js +9 -8
  75. package/es/popconfirm/src/Popconfirm.d.ts +80 -0
  76. package/es/popconfirm/styles/light.d.ts +8 -0
  77. package/es/time-picker/src/Panel.d.ts +8 -0
  78. package/es/time-picker/src/TimePicker.d.ts +80 -0
  79. package/es/time-picker/styles/light.d.ts +8 -0
  80. package/es/transfer/src/Transfer.d.ts +80 -0
  81. package/es/transfer/src/TransferFilter.d.ts +8 -0
  82. package/es/transfer/src/TransferList.d.ts +8 -0
  83. package/es/transfer/src/TransferListItem.d.ts +8 -0
  84. package/es/transfer/styles/light.d.ts +8 -0
  85. package/es/upload/src/Upload.d.ts +90 -0
  86. package/es/upload/src/Upload.js +2 -1
  87. package/es/upload/src/UploadFile.d.ts +9 -0
  88. package/es/upload/src/UploadProgress.d.ts +9 -0
  89. package/es/upload/src/styles/index.cssr.js +1 -0
  90. package/es/upload/src/useUploadActionsRender.js +5 -1
  91. package/es/upload/styles/light.d.ts +10 -0
  92. package/es/upload/styles/light.js +6 -5
  93. package/es/version.d.ts +1 -1
  94. package/es/version.js +1 -1
  95. package/lib/_internal/scrollbar/src/Scrollbar.js +1 -1
  96. package/lib/button/src/Button.d.ts +72 -0
  97. package/lib/button/src/Button.js +13 -7
  98. package/lib/button/src/styles/index.cssr.js +1 -2
  99. package/lib/button/styles/light.d.ts +8 -0
  100. package/lib/button/styles/light.js +7 -7
  101. package/lib/calendar/src/Calendar.d.ts +80 -0
  102. package/lib/calendar/styles/light.d.ts +8 -0
  103. package/lib/chat/index.d.ts +2 -1
  104. package/lib/chat/index.js +5 -1
  105. package/lib/chat/src/Chat.d.ts +87 -7
  106. package/lib/chat/src/Chat.js +12 -12
  107. package/lib/chat/src/ChatListItems.d.ts +1847 -4
  108. package/lib/chat/src/ChatListItems.js +14 -10
  109. package/lib/chat/src/ChatMessages.d.ts +1848 -4
  110. package/lib/chat/src/ChatMessages.js +25 -8
  111. package/lib/chat/src/ChatParts/MainArea.js +10 -10
  112. package/lib/chat/src/ChatParts/Sidebar.js +2 -2
  113. package/lib/chat/src/interface.d.ts +4 -0
  114. package/lib/chat/src/styles/index.cssr.js +14 -17
  115. package/lib/chat/styles/dark.d.ts +8 -0
  116. package/lib/chat/styles/light.d.ts +9 -1
  117. package/lib/chat/styles/light.js +15 -3
  118. package/lib/color-picker/src/ColorInputUnit.d.ts +8 -0
  119. package/lib/color-picker/src/ColorPicker.d.ts +72 -0
  120. package/lib/color-picker/styles/light.d.ts +8 -0
  121. package/lib/data-table/src/DataTable.d.ts +56 -0
  122. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +8 -0
  123. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +8 -0
  124. package/lib/data-table/src/TableParts/Body.d.ts +8 -0
  125. package/lib/data-table/src/TableParts/Header.d.ts +8 -0
  126. package/lib/data-table/src/interface.d.ts +24 -0
  127. package/lib/data-table/styles/light.d.ts +8 -0
  128. package/lib/date-picker/src/DatePicker.d.ts +168 -0
  129. package/lib/date-picker/src/panel/date.d.ts +24 -0
  130. package/lib/date-picker/src/panel/daterange.d.ts +24 -0
  131. package/lib/date-picker/src/panel/datetime.d.ts +24 -0
  132. package/lib/date-picker/src/panel/datetimerange.d.ts +24 -0
  133. package/lib/date-picker/src/panel/panelMonth.d.ts +48 -0
  134. package/lib/date-picker/src/panel/panelMonthContent.d.ts +24 -0
  135. package/lib/date-picker/src/panel/panelYear.d.ts +48 -0
  136. package/lib/date-picker/src/panel/panelYearContent.d.ts +24 -0
  137. package/lib/date-picker/src/panel/use-calendar.d.ts +24 -0
  138. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +24 -0
  139. package/lib/date-picker/src/panel/use-panel-common.d.ts +24 -0
  140. package/lib/date-picker/styles/light.d.ts +16 -0
  141. package/lib/dialog/src/Dialog.d.ts +56 -0
  142. package/lib/dialog/src/DialogProvider.d.ts +16 -0
  143. package/lib/dialog/styles/light.d.ts +8 -0
  144. package/lib/dynamic-input/src/DynamicInput.d.ts +80 -0
  145. package/lib/dynamic-input/src/InputPreset.d.ts +8 -0
  146. package/lib/dynamic-input/src/PairPreset.d.ts +8 -0
  147. package/lib/dynamic-input/styles/light.d.ts +8 -0
  148. package/lib/dynamic-tags/src/DynamicTags.d.ts +80 -0
  149. package/lib/dynamic-tags/styles/light.d.ts +8 -0
  150. package/lib/input-number/src/InputNumber.d.ts +80 -0
  151. package/lib/input-number/styles/light.d.ts +8 -0
  152. package/lib/legacy-transfer/src/Transfer.d.ts +80 -0
  153. package/lib/legacy-transfer/src/TransferFilter.d.ts +8 -0
  154. package/lib/legacy-transfer/src/TransferList.d.ts +8 -0
  155. package/lib/legacy-transfer/src/TransferListItem.d.ts +8 -0
  156. package/lib/legacy-transfer/styles/light.d.ts +8 -0
  157. package/lib/modal/src/BodyWrapper.d.ts +16 -0
  158. package/lib/modal/src/Modal.d.ts +72 -0
  159. package/lib/modal/styles/light.d.ts +8 -0
  160. package/lib/notification/src/Notification.d.ts +5 -0
  161. package/lib/notification/src/Notification.js +14 -4
  162. package/lib/notification/src/NotificationContainer.d.ts +12 -0
  163. package/lib/notification/src/NotificationProvider.d.ts +108 -0
  164. package/lib/notification/src/styles/index.cssr.js +12 -8
  165. package/lib/notification/styles/light.d.ts +24 -0
  166. package/lib/notification/styles/light.js +9 -8
  167. package/lib/popconfirm/src/Popconfirm.d.ts +80 -0
  168. package/lib/popconfirm/styles/light.d.ts +8 -0
  169. package/lib/time-picker/src/Panel.d.ts +8 -0
  170. package/lib/time-picker/src/TimePicker.d.ts +80 -0
  171. package/lib/time-picker/styles/light.d.ts +8 -0
  172. package/lib/transfer/src/Transfer.d.ts +80 -0
  173. package/lib/transfer/src/TransferFilter.d.ts +8 -0
  174. package/lib/transfer/src/TransferList.d.ts +8 -0
  175. package/lib/transfer/src/TransferListItem.d.ts +8 -0
  176. package/lib/transfer/styles/light.d.ts +8 -0
  177. package/lib/upload/src/Upload.d.ts +90 -0
  178. package/lib/upload/src/Upload.js +2 -1
  179. package/lib/upload/src/UploadFile.d.ts +9 -0
  180. package/lib/upload/src/UploadProgress.d.ts +9 -0
  181. package/lib/upload/src/styles/index.cssr.js +1 -0
  182. package/lib/upload/src/useUploadActionsRender.js +5 -1
  183. package/lib/upload/styles/light.d.ts +10 -0
  184. package/lib/upload/styles/light.js +6 -5
  185. package/lib/version.d.ts +1 -1
  186. package/lib/version.js +1 -1
  187. package/package.json +1 -1
  188. package/web-types.json +4 -4
@@ -152,16 +152,24 @@ export declare const modalProps: {
152
152
  colorSecondary: string;
153
153
  colorSecondaryHover: string;
154
154
  colorSecondaryPressed: string;
155
+ colorSecondaryFocus: string;
156
+ colorSecondaryDisabled: string;
157
+ textColorSecondaryDisabled: string;
155
158
  waveColorSecondary: string;
156
159
  colorTertiary: string;
157
160
  colorTertiaryHover: string;
158
161
  colorTertiaryPressed: string;
162
+ colorTertiaryFocus: string;
159
163
  colorTertiaryDisalbed: string;
160
164
  waveColorTertiary: string;
161
165
  textColorTextTertiary: string;
166
+ rippleColorTertiary: string;
162
167
  colorQuaternary: string;
163
168
  colorQuaternaryHover: string;
164
169
  colorQuaternaryPressed: string;
170
+ colorQuaternaryFocus: string;
171
+ rippleColorQuaternary: string;
172
+ waveColorQuaternary: string;
165
173
  color: string;
166
174
  colorHover: string;
167
175
  colorPressed: string;
@@ -453,16 +461,24 @@ export declare const modalProps: {
453
461
  colorSecondary: string;
454
462
  colorSecondaryHover: string;
455
463
  colorSecondaryPressed: string;
464
+ colorSecondaryFocus: string;
465
+ colorSecondaryDisabled: string;
466
+ textColorSecondaryDisabled: string;
456
467
  waveColorSecondary: string;
457
468
  colorTertiary: string;
458
469
  colorTertiaryHover: string;
459
470
  colorTertiaryPressed: string;
471
+ colorTertiaryFocus: string;
460
472
  colorTertiaryDisalbed: string;
461
473
  waveColorTertiary: string;
462
474
  textColorTextTertiary: string;
475
+ rippleColorTertiary: string;
463
476
  colorQuaternary: string;
464
477
  colorQuaternaryHover: string;
465
478
  colorQuaternaryPressed: string;
479
+ colorQuaternaryFocus: string;
480
+ rippleColorQuaternary: string;
481
+ waveColorQuaternary: string;
466
482
  color: string;
467
483
  colorHover: string;
468
484
  colorPressed: string;
@@ -754,16 +770,24 @@ export declare const modalProps: {
754
770
  colorSecondary: string;
755
771
  colorSecondaryHover: string;
756
772
  colorSecondaryPressed: string;
773
+ colorSecondaryFocus: string;
774
+ colorSecondaryDisabled: string;
775
+ textColorSecondaryDisabled: string;
757
776
  waveColorSecondary: string;
758
777
  colorTertiary: string;
759
778
  colorTertiaryHover: string;
760
779
  colorTertiaryPressed: string;
780
+ colorTertiaryFocus: string;
761
781
  colorTertiaryDisalbed: string;
762
782
  waveColorTertiary: string;
763
783
  textColorTextTertiary: string;
784
+ rippleColorTertiary: string;
764
785
  colorQuaternary: string;
765
786
  colorQuaternaryHover: string;
766
787
  colorQuaternaryPressed: string;
788
+ colorQuaternaryFocus: string;
789
+ rippleColorQuaternary: string;
790
+ waveColorQuaternary: string;
767
791
  color: string;
768
792
  colorHover: string;
769
793
  colorPressed: string;
@@ -1141,16 +1165,24 @@ declare const _default: import("vue").DefineComponent<{
1141
1165
  colorSecondary: string;
1142
1166
  colorSecondaryHover: string;
1143
1167
  colorSecondaryPressed: string;
1168
+ colorSecondaryFocus: string;
1169
+ colorSecondaryDisabled: string;
1170
+ textColorSecondaryDisabled: string;
1144
1171
  waveColorSecondary: string;
1145
1172
  colorTertiary: string;
1146
1173
  colorTertiaryHover: string;
1147
1174
  colorTertiaryPressed: string;
1175
+ colorTertiaryFocus: string;
1148
1176
  colorTertiaryDisalbed: string;
1149
1177
  waveColorTertiary: string;
1150
1178
  textColorTextTertiary: string;
1179
+ rippleColorTertiary: string;
1151
1180
  colorQuaternary: string;
1152
1181
  colorQuaternaryHover: string;
1153
1182
  colorQuaternaryPressed: string;
1183
+ colorQuaternaryFocus: string;
1184
+ rippleColorQuaternary: string;
1185
+ waveColorQuaternary: string;
1154
1186
  color: string;
1155
1187
  colorHover: string;
1156
1188
  colorPressed: string;
@@ -1442,16 +1474,24 @@ declare const _default: import("vue").DefineComponent<{
1442
1474
  colorSecondary: string;
1443
1475
  colorSecondaryHover: string;
1444
1476
  colorSecondaryPressed: string;
1477
+ colorSecondaryFocus: string;
1478
+ colorSecondaryDisabled: string;
1479
+ textColorSecondaryDisabled: string;
1445
1480
  waveColorSecondary: string;
1446
1481
  colorTertiary: string;
1447
1482
  colorTertiaryHover: string;
1448
1483
  colorTertiaryPressed: string;
1484
+ colorTertiaryFocus: string;
1449
1485
  colorTertiaryDisalbed: string;
1450
1486
  waveColorTertiary: string;
1451
1487
  textColorTextTertiary: string;
1488
+ rippleColorTertiary: string;
1452
1489
  colorQuaternary: string;
1453
1490
  colorQuaternaryHover: string;
1454
1491
  colorQuaternaryPressed: string;
1492
+ colorQuaternaryFocus: string;
1493
+ rippleColorQuaternary: string;
1494
+ waveColorQuaternary: string;
1455
1495
  color: string;
1456
1496
  colorHover: string;
1457
1497
  colorPressed: string;
@@ -1743,16 +1783,24 @@ declare const _default: import("vue").DefineComponent<{
1743
1783
  colorSecondary: string;
1744
1784
  colorSecondaryHover: string;
1745
1785
  colorSecondaryPressed: string;
1786
+ colorSecondaryFocus: string;
1787
+ colorSecondaryDisabled: string;
1788
+ textColorSecondaryDisabled: string;
1746
1789
  waveColorSecondary: string;
1747
1790
  colorTertiary: string;
1748
1791
  colorTertiaryHover: string;
1749
1792
  colorTertiaryPressed: string;
1793
+ colorTertiaryFocus: string;
1750
1794
  colorTertiaryDisalbed: string;
1751
1795
  waveColorTertiary: string;
1752
1796
  textColorTextTertiary: string;
1797
+ rippleColorTertiary: string;
1753
1798
  colorQuaternary: string;
1754
1799
  colorQuaternaryHover: string;
1755
1800
  colorQuaternaryPressed: string;
1801
+ colorQuaternaryFocus: string;
1802
+ rippleColorQuaternary: string;
1803
+ waveColorQuaternary: string;
1756
1804
  color: string;
1757
1805
  colorHover: string;
1758
1806
  colorPressed: string;
@@ -2151,16 +2199,24 @@ declare const _default: import("vue").DefineComponent<{
2151
2199
  colorSecondary: string;
2152
2200
  colorSecondaryHover: string;
2153
2201
  colorSecondaryPressed: string;
2202
+ colorSecondaryFocus: string;
2203
+ colorSecondaryDisabled: string;
2204
+ textColorSecondaryDisabled: string;
2154
2205
  waveColorSecondary: string;
2155
2206
  colorTertiary: string;
2156
2207
  colorTertiaryHover: string;
2157
2208
  colorTertiaryPressed: string;
2209
+ colorTertiaryFocus: string;
2158
2210
  colorTertiaryDisalbed: string;
2159
2211
  waveColorTertiary: string;
2160
2212
  textColorTextTertiary: string;
2213
+ rippleColorTertiary: string;
2161
2214
  colorQuaternary: string;
2162
2215
  colorQuaternaryHover: string;
2163
2216
  colorQuaternaryPressed: string;
2217
+ colorQuaternaryFocus: string;
2218
+ rippleColorQuaternary: string;
2219
+ waveColorQuaternary: string;
2164
2220
  color: string;
2165
2221
  colorHover: string;
2166
2222
  colorPressed: string;
@@ -2452,16 +2508,24 @@ declare const _default: import("vue").DefineComponent<{
2452
2508
  colorSecondary: string;
2453
2509
  colorSecondaryHover: string;
2454
2510
  colorSecondaryPressed: string;
2511
+ colorSecondaryFocus: string;
2512
+ colorSecondaryDisabled: string;
2513
+ textColorSecondaryDisabled: string;
2455
2514
  waveColorSecondary: string;
2456
2515
  colorTertiary: string;
2457
2516
  colorTertiaryHover: string;
2458
2517
  colorTertiaryPressed: string;
2518
+ colorTertiaryFocus: string;
2459
2519
  colorTertiaryDisalbed: string;
2460
2520
  waveColorTertiary: string;
2461
2521
  textColorTextTertiary: string;
2522
+ rippleColorTertiary: string;
2462
2523
  colorQuaternary: string;
2463
2524
  colorQuaternaryHover: string;
2464
2525
  colorQuaternaryPressed: string;
2526
+ colorQuaternaryFocus: string;
2527
+ rippleColorQuaternary: string;
2528
+ waveColorQuaternary: string;
2465
2529
  color: string;
2466
2530
  colorHover: string;
2467
2531
  colorPressed: string;
@@ -2753,16 +2817,24 @@ declare const _default: import("vue").DefineComponent<{
2753
2817
  colorSecondary: string;
2754
2818
  colorSecondaryHover: string;
2755
2819
  colorSecondaryPressed: string;
2820
+ colorSecondaryFocus: string;
2821
+ colorSecondaryDisabled: string;
2822
+ textColorSecondaryDisabled: string;
2756
2823
  waveColorSecondary: string;
2757
2824
  colorTertiary: string;
2758
2825
  colorTertiaryHover: string;
2759
2826
  colorTertiaryPressed: string;
2827
+ colorTertiaryFocus: string;
2760
2828
  colorTertiaryDisalbed: string;
2761
2829
  waveColorTertiary: string;
2762
2830
  textColorTextTertiary: string;
2831
+ rippleColorTertiary: string;
2763
2832
  colorQuaternary: string;
2764
2833
  colorQuaternaryHover: string;
2765
2834
  colorQuaternaryPressed: string;
2835
+ colorQuaternaryFocus: string;
2836
+ rippleColorQuaternary: string;
2837
+ waveColorQuaternary: string;
2766
2838
  color: string;
2767
2839
  colorHover: string;
2768
2840
  colorPressed: string;
@@ -77,16 +77,24 @@ declare const modalLight: import("../../_mixins").Theme<"Modal", {
77
77
  colorSecondary: string;
78
78
  colorSecondaryHover: string;
79
79
  colorSecondaryPressed: string;
80
+ colorSecondaryFocus: string;
81
+ colorSecondaryDisabled: string;
82
+ textColorSecondaryDisabled: string;
80
83
  waveColorSecondary: string;
81
84
  colorTertiary: string;
82
85
  colorTertiaryHover: string;
83
86
  colorTertiaryPressed: string;
87
+ colorTertiaryFocus: string;
84
88
  colorTertiaryDisalbed: string;
85
89
  waveColorTertiary: string;
86
90
  textColorTextTertiary: string;
91
+ rippleColorTertiary: string;
87
92
  colorQuaternary: string;
88
93
  colorQuaternaryHover: string;
89
94
  colorQuaternaryPressed: string;
95
+ colorQuaternaryFocus: string;
96
+ rippleColorQuaternary: string;
97
+ waveColorQuaternary: string;
90
98
  color: string;
91
99
  colorHover: string;
92
100
  colorPressed: string;
@@ -88,6 +88,11 @@ export declare const Notification: import("vue").DefineComponent<{
88
88
  '--u-meta-font-size': string;
89
89
  '--u-description-font-size': string;
90
90
  '--u-avatar-size': string;
91
+ '--u-icon-wrapper-color': string;
92
+ '--u-icon-wrapper-pulse-color': string;
93
+ iconColor: string;
94
+ iconWrapperColor: string;
95
+ iconWrapperPulseColor: string;
91
96
  }> | undefined;
92
97
  themeClass: import("vue").Ref<string> | undefined;
93
98
  onRender: (() => void) | undefined;
@@ -1,10 +1,12 @@
1
1
  import { h, defineComponent, computed, inject } from 'vue';
2
2
  import { getPadding } from 'seemly';
3
- import { InfoOutlineIcon } from '../../_internal/icons';
3
+ import { SuccessIcon, InfoIcon } from '../../_internal/icons';
4
4
  import { createKey, keysOf, render } from '../../_utils';
5
- import { UBaseIcon, UBaseClose } from '../../_internal';
5
+ import { UBaseClose } from '../../_internal';
6
6
  import { useConfig, useThemeClass, useRtl } from '../../_mixins';
7
7
  import { notificationProviderInjectionKey } from './context';
8
+ import { UIconWrapper } from '../../icon-wrapper';
9
+ import { UIcon } from '../../icon';
8
10
  export const notificationProps = {
9
11
  closable: {
10
12
  type: Boolean,
@@ -41,7 +43,7 @@ export const Notification = defineComponent({
41
43
  const rtlEnabledRef = useRtl('Notification', mergedRtlRef, mergedClsPrefixRef);
42
44
  const cssVarsRef = computed(() => {
43
45
  const { type } = props;
44
- const { self: { borderRadius, titleFontWeight, titleLineHeight, lineHeight, fontSize, fontWeight, closeMargin, closeSize, width, padding, closeIconSize, closeBorderRadius, titleFontSize, metaFontSize, descriptionFontSize, descriptionFontWeight, descriptionLineHeight, avatarSize, [createKey('closeColorHover', type)]: closeColorHover, [createKey('closeColorPressed', type)]: closeColorPressed, [createKey('iconColor', type)]: iconColor, [createKey('color', type)]: color, [createKey('textColor', type)]: textColor, [createKey('closeIconColor', type)]: closeIconColor, [createKey('closeIconColorHover', type)]: closeIconColorHover, [createKey('closeIconColorPressed', type)]: closeIconColorPressed, [createKey('titleTextColor', type)]: titleTextColor, [createKey('descriptionTextColor', type)]: descriptionTextColor, [createKey('actionTextColor', type)]: actionTextColor }, common: { cubicBezierEaseOut, cubicBezierEaseIn, cubicBezierEaseInOut } } = mergedThemeRef.value;
46
+ const { self: { borderRadius, titleFontWeight, titleLineHeight, lineHeight, fontSize, fontWeight, closeMargin, closeSize, width, padding, closeIconSize, closeBorderRadius, titleFontSize, metaFontSize, descriptionFontSize, descriptionFontWeight, descriptionLineHeight, avatarSize, [createKey('closeColorHover', type)]: closeColorHover, [createKey('closeColorPressed', type)]: closeColorPressed, [createKey('iconColor', type)]: iconColor, [createKey('color', type)]: color, [createKey('textColor', type)]: textColor, [createKey('closeIconColor', type)]: closeIconColor, [createKey('closeIconColorHover', type)]: closeIconColorHover, [createKey('closeIconColorPressed', type)]: closeIconColorPressed, [createKey('titleTextColor', type)]: titleTextColor, [createKey('descriptionTextColor', type)]: descriptionTextColor, [createKey('actionTextColor', type)]: actionTextColor, [createKey('iconWrapperColor', type)]: iconWrapperColor, [createKey('iconWrapperPulseColor', type)]: iconWrapperPulseColor }, common: { cubicBezierEaseOut, cubicBezierEaseIn, cubicBezierEaseInOut } } = mergedThemeRef.value;
45
47
  const { left, right, top, bottom } = getPadding(padding);
46
48
  return {
47
49
  '--u-color': color,
@@ -78,7 +80,12 @@ export const Notification = defineComponent({
78
80
  '--u-padding-bottom': bottom,
79
81
  '--u-meta-font-size': metaFontSize,
80
82
  '--u-description-font-size': descriptionFontSize,
81
- '--u-avatar-size': avatarSize
83
+ '--u-avatar-size': avatarSize,
84
+ '--u-icon-wrapper-color': iconWrapperColor,
85
+ '--u-icon-wrapper-pulse-color': iconWrapperPulseColor,
86
+ iconColor,
87
+ iconWrapperColor,
88
+ iconWrapperPulseColor
82
89
  };
83
90
  });
84
91
  const themeClassHandle = inlineThemeDisabled
@@ -100,7 +107,9 @@ export const Notification = defineComponent({
100
107
  },
101
108
  render() {
102
109
  var _a;
103
- const { mergedClsPrefix } = this;
110
+ const { mergedClsPrefix, cssVars } = this;
111
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
112
+ const { iconColor, iconWrapperColor, iconWrapperPulseColor } = cssVars;
104
113
  (_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
105
114
  return (h("div", { class: [`${mergedClsPrefix}-notification-wrapper`, this.themeClass], onMouseenter: this.onMouseenter, onMouseleave: this.onMouseleave, style: this.cssVars },
106
115
  h("div", { class: [
@@ -112,7 +121,8 @@ export const Notification = defineComponent({
112
121
  [`${mergedClsPrefix}-notification--show-avatar`]: this.showAvatar
113
122
  }
114
123
  ], style: this.cssVars },
115
- this.showAvatar ? (h("div", { class: `${mergedClsPrefix}-notification__avatar` }, this.avatar ? (render(this.avatar)) : (h(UBaseIcon, { clsPrefix: mergedClsPrefix }, () => h(InfoOutlineIcon, null))))) : null,
124
+ this.showAvatar ? (this.avatar ? (h("div", { class: `${mergedClsPrefix}-notification__avatar` }, render(this.avatar))) : (h(UIconWrapper, { pulseSize: 52, size: 36, color: iconWrapperColor, pulseColor: iconWrapperPulseColor, variant: "pulse", borderRadius: 60 },
125
+ h(UIcon, { color: iconColor, size: 24 }, () => this.type === 'success' ? h(SuccessIcon, null) : h(InfoIcon, null))))) : null,
116
126
  this.closable ? (h(UBaseClose, { clsPrefix: mergedClsPrefix, class: `${mergedClsPrefix}-notification__close`, onClick: this.handleCloseClick })) : null,
117
127
  h("div", { ref: "bodyRef", class: `${mergedClsPrefix}-notification-main` },
118
128
  this.title ? (h("div", { class: `${mergedClsPrefix}-notification-main__header` }, render(this.title))) : null,
@@ -40,6 +40,8 @@ export declare const NotificationContainer: import("vue").DefineComponent<{
40
40
  titleTextColor: string;
41
41
  descriptionTextColor: string;
42
42
  actionTextColor: string;
43
+ iconWrapperColor: string;
44
+ iconWrapperPulseColor: string;
43
45
  colorSuccess: string;
44
46
  iconColorSuccess: string;
45
47
  textColorSuccess: string;
@@ -51,6 +53,8 @@ export declare const NotificationContainer: import("vue").DefineComponent<{
51
53
  titleTextColorSuccess: string;
52
54
  descriptionTextColorSuccess: string;
53
55
  actionTextColorSuccess: string;
56
+ iconWrapperColorSuccess: string;
57
+ iconWrapperPulseColorSuccess: string;
54
58
  colorInfo: string;
55
59
  iconColorInfo: string;
56
60
  textColorInfo: string;
@@ -62,6 +66,8 @@ export declare const NotificationContainer: import("vue").DefineComponent<{
62
66
  titleTextColorInfo: string;
63
67
  descriptionTextColorInfo: string;
64
68
  actionTextColorInfo: string;
69
+ iconWrapperColorInfo: string;
70
+ iconWrapperPulseColorInfo: string;
65
71
  colorWarning: string;
66
72
  iconColorWarning: string;
67
73
  textColorWarning: string;
@@ -73,6 +79,8 @@ export declare const NotificationContainer: import("vue").DefineComponent<{
73
79
  titleTextColorWarning: string;
74
80
  descriptionTextColorWarning: string;
75
81
  actionTextColorWarning: string;
82
+ iconWrapperColorWarning: string;
83
+ iconWrapperPulseColorWarning: string;
76
84
  colorError: string;
77
85
  iconColorError: string;
78
86
  textColorError: string;
@@ -84,6 +92,8 @@ export declare const NotificationContainer: import("vue").DefineComponent<{
84
92
  titleTextColorError: string;
85
93
  descriptionTextColorError: string;
86
94
  actionTextColorError: string;
95
+ iconWrapperColorError: string;
96
+ iconWrapperPulseColorError: string;
87
97
  colorPrimary: string;
88
98
  iconColorPrimary: string;
89
99
  textColorPrimary: string;
@@ -95,6 +105,8 @@ export declare const NotificationContainer: import("vue").DefineComponent<{
95
105
  titleTextColorPrimary: string;
96
106
  descriptionTextColorPrimary: string;
97
107
  actionTextColorPrimary: string;
108
+ iconWrapperColorPrimary: string;
109
+ iconWrapperPulseColorPrimary: string;
98
110
  width: string;
99
111
  padding: string;
100
112
  closeBorderRadius: string;