@mobilon-dev/chotto 0.3.33 → 0.3.35
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.
- package/dist/chotto.css +1 -1
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js +2 -2
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue2.js +28 -27
- package/dist/components/1_atoms/ContextMenu/ContextMenu.vue.js +36 -22
- package/dist/components/1_icons/SettingsIcon.vue.js +6 -6
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +164 -156
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +4 -103
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +135 -0
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.js +33 -11
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue2.js +4 -0
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +4 -102
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue2.js +135 -0
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.js +21 -18
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue2.js +4 -0
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +2 -2
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +89 -55
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.js +17 -14
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue2.js +4 -0
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.js +4 -337
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue2.js +360 -0
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue.js +56 -11
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue2.js +4 -0
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +2 -2
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +164 -100
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +1 -1
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +184 -134
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +3 -3
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +1 -1
- package/dist/components/3_compounds/ChatList/ChatList.vue.js +101 -91
- package/dist/components/3_compounds/SideBar/SideBar.vue.js +68 -67
- package/dist/hooks/messages/useChannelAccentColor.js +35 -19
- package/dist/themes/dark.css +1 -1
- package/dist/themes/default.css +1 -1
- package/dist/themes/glass.css +1 -0
- package/dist/themes/green.css +1 -1
- package/dist/themes/mobilon1.css +1 -1
- package/dist/types/apps/data/messages.d.ts +117 -86
- package/dist/types/components/1_atoms/ContextMenu/ContextMenu.vue.d.ts +5 -1
- package/dist/types/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.d.ts +2 -0
- package/dist/types/components/2_blocks/CommunicationPanel/stories/CommunicationPanel.stories.d.ts +2 -0
- package/dist/types/components/2_blocks/CommunicationPanel/styles/types.d.ts +4 -0
- package/dist/types/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.d.ts +31 -7
- package/dist/types/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.d.ts +6 -1
- package/dist/types/components/2_chatinput_elements/ButtonEmojiPicker/styles/types.d.ts +6 -0
- package/dist/types/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.d.ts +59 -11
- package/dist/types/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.d.ts +6 -1
- package/dist/types/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.d.ts +6 -1
- package/dist/types/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.d.ts +22 -10
- package/dist/types/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue.d.ts +6 -1
- package/dist/types/components/2_chatlist_elements/ChatItem/ChatItem.vue.d.ts +2 -0
- package/dist/types/components/2_chatlist_elements/ChatItem/styles/types.d.ts +2 -0
- package/dist/types/components/2_elements/ChatInfo/styles/types.d.ts +2 -0
- package/dist/types/components/2_feed_elements/AudioMessage/styles/types.d.ts +18 -0
- package/dist/types/components/2_feed_elements/CallMessage/styles/types.d.ts +24 -0
- package/dist/types/components/2_feed_elements/DateMessage/styles/types.d.ts +6 -0
- package/dist/types/components/2_feed_elements/DateMessageSticky/styles/types.d.ts +4 -0
- package/dist/types/components/2_feed_elements/FeedKeyboard/styles/types.d.ts +2 -0
- package/dist/types/components/2_feed_elements/FileMessage/styles/types.d.ts +12 -0
- package/dist/types/components/2_feed_elements/ImageMessage/styles/types.d.ts +126 -0
- package/dist/types/components/2_feed_elements/MessageReactions/styles/types.d.ts +8 -0
- package/dist/types/components/2_feed_elements/TextMessage/styles/types.d.ts +16 -0
- package/dist/types/components/3_compounds/ChatInput/styles/types.d.ts +2 -0
- package/dist/types/components/3_compounds/ChatList/ChatList.vue.d.ts +2 -0
- package/dist/types/components/3_compounds/ChatList/styles/types.d.ts +8 -0
- package/dist/types/components/3_compounds/SideBar/styles/types.d.ts +6 -16
- package/dist/types/components/4_layouts/ChatWrapper/styles/types.d.ts +4 -0
- package/dist/types/components/4_layouts/ExtendedLayout/styles/types.d.ts +8 -0
- package/package.json +2 -1
|
@@ -6,8 +6,18 @@ export interface ImageMessageThemeCSSVariables {
|
|
|
6
6
|
'--chotto-imagemessage-content-position': string;
|
|
7
7
|
/** Максимальная ширина контейнера контента изображения */
|
|
8
8
|
'--chotto-imagemessage-content-max-width': string;
|
|
9
|
+
/** Ширина контейнера контента изображения */
|
|
10
|
+
'--chotto-imagemessage-content-width': string;
|
|
9
11
|
/** Скругление контейнера контента изображения */
|
|
10
12
|
'--chotto-imagemessage-content-border-radius': string;
|
|
13
|
+
/** Выравнивание элементов контейнера контента */
|
|
14
|
+
'--chotto-imagemessage-content-align-items': string;
|
|
15
|
+
/** Отображение контейнера контента */
|
|
16
|
+
'--chotto-imagemessage-content-display': string;
|
|
17
|
+
/** Направление флекс-контейнера контента */
|
|
18
|
+
'--chotto-imagemessage-content-flex-direction': string;
|
|
19
|
+
/** Минимальная ширина контейнера контента */
|
|
20
|
+
'--chotto-imagemessage-content-min-width': string;
|
|
11
21
|
/** Ряд грида аватара */
|
|
12
22
|
'--chotto-imagemessage-avatar-grid-row': string;
|
|
13
23
|
/** Выравнивание аватара относительно себя */
|
|
@@ -42,6 +52,8 @@ export interface ImageMessageThemeCSSVariables {
|
|
|
42
52
|
'--chotto-imagemessage-info-container-color': string;
|
|
43
53
|
/** Цвет фона контейнера информации */
|
|
44
54
|
'--chotto-imagemessage-info-container-background-color': string;
|
|
55
|
+
/** Z-index контейнера информации */
|
|
56
|
+
'--chotto-imagemessage-info-container-z-index': string;
|
|
45
57
|
/** Позиционирование кнопки скачивания */
|
|
46
58
|
'--chotto-imagemessage-download-button-position': string;
|
|
47
59
|
/** Отступ кнопки скачивания слева */
|
|
@@ -68,6 +80,8 @@ export interface ImageMessageThemeCSSVariables {
|
|
|
68
80
|
'--chotto-imagemessage-download-button-span-color': string;
|
|
69
81
|
/** Размер текста/иконки внутри кнопки */
|
|
70
82
|
'--chotto-imagemessage-download-button-span-font-size': string;
|
|
83
|
+
/** Z-index кнопки скачивания */
|
|
84
|
+
'--chotto-imagemessage-download-button-z-index': string;
|
|
71
85
|
/** Отображение блока просмотров */
|
|
72
86
|
'--chotto-imagemessage-views-display': string;
|
|
73
87
|
/** Выравнивание элементов блока просмотров */
|
|
@@ -108,12 +122,98 @@ export interface ImageMessageThemeCSSVariables {
|
|
|
108
122
|
'--chotto-imagemessage-preview-button-flex-direction': string;
|
|
109
123
|
/** Внутренние отступы кнопки превью */
|
|
110
124
|
'--chotto-imagemessage-preview-button-padding': string;
|
|
125
|
+
/** Максимальная ширина кнопки превью */
|
|
126
|
+
'--chotto-imagemessage-preview-button-max-width': string;
|
|
127
|
+
/** Максимальная высота кнопки превью */
|
|
128
|
+
'--chotto-imagemessage-preview-button-max-height': string;
|
|
129
|
+
/** Ширина кнопки превью */
|
|
130
|
+
'--chotto-imagemessage-preview-button-width': string;
|
|
131
|
+
/** Высота кнопки превью */
|
|
132
|
+
'--chotto-imagemessage-preview-button-height': string;
|
|
133
|
+
/** Переполнение кнопки превью */
|
|
134
|
+
'--chotto-imagemessage-preview-button-overflow': string;
|
|
135
|
+
/** Переполнение кнопки превью с blur-эффектом */
|
|
136
|
+
'--chotto-imagemessage-preview-button-blur-edges-overflow': string;
|
|
137
|
+
/** Ширина кнопки превью с blur-эффектом */
|
|
138
|
+
'--chotto-imagemessage-preview-button-blur-edges-width': string;
|
|
139
|
+
/** Максимальная ширина кнопки превью с blur-эффектом */
|
|
140
|
+
'--chotto-imagemessage-preview-button-blur-edges-max-width': string;
|
|
141
|
+
/** Выравнивание по главной оси кнопки превью с blur-эффектом */
|
|
142
|
+
'--chotto-imagemessage-preview-button-blur-edges-justify-content': string;
|
|
143
|
+
/** Выравнивание по поперечной оси кнопки превью с blur-эффектом */
|
|
144
|
+
'--chotto-imagemessage-preview-button-blur-edges-align-items': string;
|
|
145
|
+
/** Минимальная высота кнопки превью с blur-эффектом */
|
|
146
|
+
'--chotto-imagemessage-preview-button-blur-edges-min-height': string;
|
|
147
|
+
/** Скругление кнопки превью с blur-эффектом */
|
|
148
|
+
'--chotto-imagemessage-preview-button-blur-edges-border-radius': string;
|
|
111
149
|
/** Ширина превью-изображения */
|
|
112
150
|
'--chotto-imagemessage-preview-image-width': string;
|
|
151
|
+
/** Высота превью-изображения */
|
|
152
|
+
'--chotto-imagemessage-preview-image-height': string;
|
|
153
|
+
/** Максимальная ширина превью-изображения */
|
|
154
|
+
'--chotto-imagemessage-preview-image-max-width': string;
|
|
113
155
|
/** Максимальная высота превью-изображения */
|
|
114
156
|
'--chotto-imagemessage-preview-image-max-height': string;
|
|
115
157
|
/** Курсор при наведении на превью */
|
|
116
158
|
'--chotto-imagemessage-preview-image-cursor': string;
|
|
159
|
+
/** Отображение превью-изображения */
|
|
160
|
+
'--chotto-imagemessage-preview-image-display': string;
|
|
161
|
+
/** Позиционирование превью-изображения */
|
|
162
|
+
'--chotto-imagemessage-preview-image-position': string;
|
|
163
|
+
/** Z-index превью-изображения */
|
|
164
|
+
'--chotto-imagemessage-preview-image-z-index': string;
|
|
165
|
+
/** Ширина превью-изображения с blur-эффектом */
|
|
166
|
+
'--chotto-imagemessage-preview-image-blur-edges-width': string;
|
|
167
|
+
/** Максимальная ширина превью-изображения с blur-эффектом */
|
|
168
|
+
'--chotto-imagemessage-preview-image-blur-edges-max-width': string;
|
|
169
|
+
/** Отступ превью-изображения с blur-эффектом */
|
|
170
|
+
'--chotto-imagemessage-preview-image-blur-edges-margin': string;
|
|
171
|
+
/** Сжатие превью-изображения с blur-эффектом */
|
|
172
|
+
'--chotto-imagemessage-preview-image-blur-edges-flex-shrink': string;
|
|
173
|
+
/** Позиционирование обёртки blur-эффекта */
|
|
174
|
+
'--chotto-imagemessage-blur-wrapper-position': string;
|
|
175
|
+
/** Отступ сверху обёртки blur-эффекта */
|
|
176
|
+
'--chotto-imagemessage-blur-wrapper-top': string;
|
|
177
|
+
/** Отступ слева обёртки blur-эффекта */
|
|
178
|
+
'--chotto-imagemessage-blur-wrapper-left': string;
|
|
179
|
+
/** Отступ справа обёртки blur-эффекта */
|
|
180
|
+
'--chotto-imagemessage-blur-wrapper-right': string;
|
|
181
|
+
/** Отступ снизу обёртки blur-эффекта */
|
|
182
|
+
'--chotto-imagemessage-blur-wrapper-bottom': string;
|
|
183
|
+
/** Ширина обёртки blur-эффекта */
|
|
184
|
+
'--chotto-imagemessage-blur-wrapper-width': string;
|
|
185
|
+
/** Высота обёртки blur-эффекта */
|
|
186
|
+
'--chotto-imagemessage-blur-wrapper-height': string;
|
|
187
|
+
/** События указателя обёртки blur-эффекта */
|
|
188
|
+
'--chotto-imagemessage-blur-wrapper-pointer-events': string;
|
|
189
|
+
/** Z-index обёртки blur-эффекта */
|
|
190
|
+
'--chotto-imagemessage-blur-wrapper-z-index': string;
|
|
191
|
+
/** Отображение обёртки blur-эффекта */
|
|
192
|
+
'--chotto-imagemessage-blur-wrapper-display': string;
|
|
193
|
+
/** Переполнение обёртки blur-эффекта */
|
|
194
|
+
'--chotto-imagemessage-blur-wrapper-overflow': string;
|
|
195
|
+
/** Выравнивание элементов обёртки blur-эффекта */
|
|
196
|
+
'--chotto-imagemessage-blur-wrapper-align-items': string;
|
|
197
|
+
/** Растяжение blur-изображений */
|
|
198
|
+
'--chotto-imagemessage-blur-flex': string;
|
|
199
|
+
/** Минимальная ширина blur-изображений */
|
|
200
|
+
'--chotto-imagemessage-blur-min-width': string;
|
|
201
|
+
/** Высота blur-изображений */
|
|
202
|
+
'--chotto-imagemessage-blur-height': string;
|
|
203
|
+
/** Вписывание blur-изображений */
|
|
204
|
+
'--chotto-imagemessage-blur-object-fit': string;
|
|
205
|
+
/** Фильтр blur-изображений */
|
|
206
|
+
'--chotto-imagemessage-blur-filter': string;
|
|
207
|
+
/** Прозрачность blur-изображений */
|
|
208
|
+
'--chotto-imagemessage-blur-opacity': string;
|
|
209
|
+
/** Z-index blur-изображений */
|
|
210
|
+
'--chotto-imagemessage-blur-z-index': string;
|
|
211
|
+
/** Трансформация blur-изображений */
|
|
212
|
+
'--chotto-imagemessage-blur-transform': string;
|
|
213
|
+
/** Позиция объекта blur-изображения слева */
|
|
214
|
+
'--chotto-imagemessage-blur-left-object-position': string;
|
|
215
|
+
/** Позиция объекта blur-изображения справа */
|
|
216
|
+
'--chotto-imagemessage-blur-right-object-position': string;
|
|
117
217
|
/** Позиционирование кнопки меню сообщения */
|
|
118
218
|
'--chotto-imagemessage-menu-button-position': string;
|
|
119
219
|
/** Прозрачный фон кнопки меню */
|
|
@@ -140,14 +240,28 @@ export interface ImageMessageThemeCSSVariables {
|
|
|
140
240
|
'--chotto-imagemessage-text-container-padding': string;
|
|
141
241
|
/** Скругление контейнера текста */
|
|
142
242
|
'--chotto-imagemessage-text-container-border-radius': string;
|
|
243
|
+
/** Ширина контейнера текста */
|
|
244
|
+
'--chotto-imagemessage-text-container-width': string;
|
|
245
|
+
/** Минимальная ширина контейнера текста */
|
|
246
|
+
'--chotto-imagemessage-text-container-min-width': string;
|
|
143
247
|
/** Перенос слов в контейнере текста */
|
|
144
248
|
'--chotto-imagemessage-text-container-word-wrap': string;
|
|
249
|
+
/** Перенос переполнения в контейнере текста */
|
|
250
|
+
'--chotto-imagemessage-text-container-overflow-wrap': string;
|
|
251
|
+
/** Переносы слов в контейнере текста */
|
|
252
|
+
'--chotto-imagemessage-text-container-hyphens': string;
|
|
145
253
|
/** Размер шрифта абзаца текста */
|
|
146
254
|
'--chotto-imagemessage-text-container-p-font-size': string;
|
|
147
255
|
/** Перенос слов в абзаце текста */
|
|
148
256
|
'--chotto-imagemessage-text-container-p-word-break': string;
|
|
257
|
+
/** Перенос переполнения в абзаце текста */
|
|
258
|
+
'--chotto-imagemessage-text-container-p-overflow-wrap': string;
|
|
149
259
|
/** Правила перевода строк текста */
|
|
150
260
|
'--chotto-imagemessage-text-container-p-white-space': string;
|
|
261
|
+
/** Отступы абзаца текста */
|
|
262
|
+
'--chotto-imagemessage-text-container-p-margin': string;
|
|
263
|
+
/** Высота строки абзаца текста */
|
|
264
|
+
'--chotto-imagemessage-text-container-p-line-height': string;
|
|
151
265
|
/** Жирность жирного текста (markdown **текст**) */
|
|
152
266
|
'--chotto-imagemessage-markdown-strong-font-weight': string;
|
|
153
267
|
/** Стиль курсива (markdown *текст*) */
|
|
@@ -202,6 +316,12 @@ export interface ImageMessageThemeCSSVariables {
|
|
|
202
316
|
'--chotto-imagemessage-left-content-grid-column': string;
|
|
203
317
|
/** Фон пузыря слева */
|
|
204
318
|
'--chotto-imagemessage-left-bg': string;
|
|
319
|
+
/** Эффект размытия фона пузыря слева */
|
|
320
|
+
'--chotto-imagemessage-left-backdrop-filter': string;
|
|
321
|
+
/** Граница пузыря слева */
|
|
322
|
+
'--chotto-imagemessage-left-border': string;
|
|
323
|
+
/** Тень пузыря слева */
|
|
324
|
+
'--chotto-imagemessage-left-box-shadow': string;
|
|
205
325
|
/** Отступ контента слева с учётом аватара */
|
|
206
326
|
'--chotto-imagemessage-left-content-with-avatar-indent-margin-left': string;
|
|
207
327
|
/** Положение кнопки меню слева (top) */
|
|
@@ -232,6 +352,12 @@ export interface ImageMessageThemeCSSVariables {
|
|
|
232
352
|
'--chotto-imagemessage-right-content-margin-left': string;
|
|
233
353
|
/** Фон пузыря справа */
|
|
234
354
|
'--chotto-imagemessage-right-bg': string;
|
|
355
|
+
/** Эффект размытия фона пузыря справа */
|
|
356
|
+
'--chotto-imagemessage-right-backdrop-filter': string;
|
|
357
|
+
/** Граница пузыря справа */
|
|
358
|
+
'--chotto-imagemessage-right-border': string;
|
|
359
|
+
/** Тень пузыря справа */
|
|
360
|
+
'--chotto-imagemessage-right-box-shadow': string;
|
|
235
361
|
/** Отступ контента справа с учётом аватара */
|
|
236
362
|
'--chotto-imagemessage-right-content-with-avatar-indent-margin-right': string;
|
|
237
363
|
/** Отступ текстового контейнера справа */
|
|
@@ -122,6 +122,14 @@ export interface MessageReactionsThemeCSSVariables {
|
|
|
122
122
|
'--chotto-messagereactions-add-has-chip-opacity': string;
|
|
123
123
|
/** События указателя кнопки добавления реакции когда есть чипы */
|
|
124
124
|
'--chotto-messagereactions-add-has-chip-pointer-events': string;
|
|
125
|
+
/** Высота строки span внутри кнопки добавления реакции */
|
|
126
|
+
'--chotto-messagereactions-add-span-line-height': string;
|
|
127
|
+
/** Отображение span внутри кнопки добавления реакции */
|
|
128
|
+
'--chotto-messagereactions-add-span-display': string;
|
|
129
|
+
/** Вертикальное выравнивание span внутри кнопки добавления реакции */
|
|
130
|
+
'--chotto-messagereactions-add-span-align-items': string;
|
|
131
|
+
/** Горизонтальное выравнивание span внутри кнопки добавления реакции */
|
|
132
|
+
'--chotto-messagereactions-add-span-justify-content': string;
|
|
125
133
|
/** Позиционирование панели быстрых реакций */
|
|
126
134
|
'--chotto-messagereactions-quick-panel-position': string;
|
|
127
135
|
/** Отступ сверху панели быстрых реакций */
|
|
@@ -32,6 +32,8 @@ export interface TextMessageThemeCSSVariables {
|
|
|
32
32
|
'--chotto-textmessage-left-before-border-top': string;
|
|
33
33
|
/** Слой псевдоэлемента слева */
|
|
34
34
|
'--chotto-textmessage-left-before-z-index': string;
|
|
35
|
+
/** Фильтр псевдоэлемента слева */
|
|
36
|
+
'--chotto-textmessage-left-before-filter': string;
|
|
35
37
|
/** Содержимое псевдоэлемента "хвостик" справа */
|
|
36
38
|
'--chotto-textmessage-right-after-content': string;
|
|
37
39
|
/** Позиционирование псевдоэлемента справа */
|
|
@@ -48,6 +50,8 @@ export interface TextMessageThemeCSSVariables {
|
|
|
48
50
|
'--chotto-textmessage-right-after-border': string;
|
|
49
51
|
/** Слой псевдоэлемента справа */
|
|
50
52
|
'--chotto-textmessage-right-after-z-index': string;
|
|
53
|
+
/** Фильтр псевдоэлемента справа */
|
|
54
|
+
'--chotto-textmessage-right-after-filter': string;
|
|
51
55
|
/** Отображение контейнера информации */
|
|
52
56
|
'--chotto-textmessage-info-container-display': string;
|
|
53
57
|
/** Выравнивание элементов контейнера информации по поперечной оси */
|
|
@@ -184,6 +188,12 @@ export interface TextMessageThemeCSSVariables {
|
|
|
184
188
|
'--chotto-textmessage-left-content-grid-column': string;
|
|
185
189
|
/** Фон пузыря слева */
|
|
186
190
|
'--chotto-textmessage-left-bg': string;
|
|
191
|
+
/** Эффект размытия фона пузыря слева */
|
|
192
|
+
'--chotto-textmessage-left-backdrop-filter': string;
|
|
193
|
+
/** Граница пузыря слева */
|
|
194
|
+
'--chotto-textmessage-left-border': string;
|
|
195
|
+
/** Тень пузыря слева */
|
|
196
|
+
'--chotto-textmessage-left-box-shadow': string;
|
|
187
197
|
/** Отступ контента слева с учётом аватара */
|
|
188
198
|
'--chotto-textmessage-left-content-with-avatar-indent-margin-left': string;
|
|
189
199
|
/** Положение кнопки меню слева (top) */
|
|
@@ -214,6 +224,12 @@ export interface TextMessageThemeCSSVariables {
|
|
|
214
224
|
'--chotto-textmessage-right-content-margin-left': string;
|
|
215
225
|
/** Фон пузыря справа */
|
|
216
226
|
'--chotto-textmessage-right-bg': string;
|
|
227
|
+
/** Эффект размытия фона пузыря справа */
|
|
228
|
+
'--chotto-textmessage-right-backdrop-filter': string;
|
|
229
|
+
/** Граница пузыря справа */
|
|
230
|
+
'--chotto-textmessage-right-border': string;
|
|
231
|
+
/** Тень пузыря справа */
|
|
232
|
+
'--chotto-textmessage-right-box-shadow': string;
|
|
217
233
|
/** Отступ контента справа с учётом аватара */
|
|
218
234
|
'--chotto-textmessage-right-content-with-avatar-indent-margin-right': string;
|
|
219
235
|
/** Положение кнопки меню справа (top) */
|
|
@@ -98,6 +98,8 @@ export interface ChatInputThemeCSSVariables {
|
|
|
98
98
|
'--chotto-chatinput-button-align-self': string;
|
|
99
99
|
/** Отступ снизу кнопки */
|
|
100
100
|
'--chotto-chatinput-button-margin-bottom': string;
|
|
101
|
+
/** Прозрачность кнопки */
|
|
102
|
+
'--chotto-chatinput-button-opacity': string;
|
|
101
103
|
/** Отображение span кнопки */
|
|
102
104
|
'--chotto-chatinput-button-span-display': string;
|
|
103
105
|
/** Курсор span кнопки */
|
|
@@ -8,6 +8,7 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
8
8
|
chats: unknown[];
|
|
9
9
|
searchQuery: string;
|
|
10
10
|
showDialogs: boolean;
|
|
11
|
+
contextMenuTrigger: string;
|
|
11
12
|
isLoading: boolean;
|
|
12
13
|
filterEnabled: boolean;
|
|
13
14
|
filterQuery: string;
|
|
@@ -20,6 +21,7 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
20
21
|
readonly chats?: unknown[] | undefined;
|
|
21
22
|
readonly searchQuery?: string | undefined;
|
|
22
23
|
readonly showDialogs?: boolean | undefined;
|
|
24
|
+
readonly contextMenuTrigger?: string | undefined;
|
|
23
25
|
readonly isLoading?: boolean | undefined;
|
|
24
26
|
readonly filterEnabled?: boolean | undefined;
|
|
25
27
|
readonly filterQuery?: string | undefined;
|
|
@@ -46,10 +46,18 @@ export interface ChatListThemeCSSVariables {
|
|
|
46
46
|
'--chotto-chatlist-fixed-position': string;
|
|
47
47
|
/** Цвет фона зафиксированных элементов */
|
|
48
48
|
'--chotto-chatlist-fixed-background-color': string;
|
|
49
|
+
/** Эффект размытия фона зафиксированных элементов */
|
|
50
|
+
'--chotto-chatlist-fixed-backdrop-filter': string;
|
|
49
51
|
/** Позиция зафиксированных элементов сверху */
|
|
50
52
|
'--chotto-chatlist-fixed-top': string;
|
|
51
53
|
/** Позиция зафиксированных элементов снизу */
|
|
52
54
|
'--chotto-chatlist-fixed-bottom': string;
|
|
55
|
+
/** Тень зафиксированных элементов */
|
|
56
|
+
'--chotto-chatlist-fixed-box-shadow': string;
|
|
57
|
+
/** Отступ снизу для зафиксированных элементов сверху */
|
|
58
|
+
'--chotto-chatlist-fixed-top-margin-bottom': string;
|
|
59
|
+
/** Отступ сверху для зафиксированных элементов снизу */
|
|
60
|
+
'--chotto-chatlist-fixed-bottom-margin-top': string;
|
|
53
61
|
/** Позиционирование контейнера заголовка */
|
|
54
62
|
'--chotto-chatlist-title-container-position': string;
|
|
55
63
|
/** Отображение контейнера заголовка */
|
|
@@ -42,12 +42,6 @@ export interface SideBarThemeCSSVariables {
|
|
|
42
42
|
'--chotto-sidebar-scroll-container-ms-overflow-style': string;
|
|
43
43
|
/** Отображение webkit скроллбара контейнера прокрутки */
|
|
44
44
|
'--chotto-sidebar-scroll-container-webkit-scrollbar-display': string;
|
|
45
|
-
/** Позиционирование фиксированного списка */
|
|
46
|
-
'--chotto-sidebar-list-fixed-position': string;
|
|
47
|
-
/** Позиция фиксированного списка сверху */
|
|
48
|
-
'--chotto-sidebar-list-fixed-top': string;
|
|
49
|
-
/** Z-index фиксированного списка */
|
|
50
|
-
'--chotto-sidebar-list-fixed-z-index': string;
|
|
51
45
|
/** Фон расширенной первой колонки лэйаута */
|
|
52
46
|
'--chotto-sidebar-layout-extended-first-col-bg': string;
|
|
53
47
|
/** Отступы фиксированного списка */
|
|
@@ -182,20 +176,14 @@ export interface SideBarThemeCSSVariables {
|
|
|
182
176
|
'--chotto-sidebar-image-opacity': string;
|
|
183
177
|
/** Прозрачность активного изображения */
|
|
184
178
|
'--chotto-sidebar-image-active-opacity': string;
|
|
185
|
-
/** Позиционирование контейнера настроек */
|
|
186
|
-
'--chotto-sidebar-settings-container-position': string;
|
|
187
|
-
/** Позиция контейнера настроек снизу */
|
|
188
|
-
'--chotto-sidebar-settings-container-bottom': string;
|
|
189
|
-
/** Позиция контейнера настроек слева */
|
|
190
|
-
'--chotto-sidebar-settings-container-left': string;
|
|
191
|
-
/** Позиция контейнера настроек справа */
|
|
192
|
-
'--chotto-sidebar-settings-container-right': string;
|
|
193
179
|
/** Отображение контейнера настроек */
|
|
194
180
|
'--chotto-sidebar-settings-container-display': string;
|
|
195
181
|
/** Выравнивание по главной оси контейнера настроек */
|
|
196
182
|
'--chotto-sidebar-settings-container-justify-content': string;
|
|
197
|
-
/**
|
|
198
|
-
'--chotto-sidebar-settings-container-
|
|
183
|
+
/** Отступы контейнера настроек */
|
|
184
|
+
'--chotto-sidebar-settings-container-padding': string;
|
|
185
|
+
/** Отступ сверху контейнера настроек */
|
|
186
|
+
'--chotto-sidebar-settings-container-margin-top': string;
|
|
199
187
|
/** Цвет фона кнопки настроек */
|
|
200
188
|
'--chotto-sidebar-settings-btn-background': string;
|
|
201
189
|
/** Граница кнопки настроек */
|
|
@@ -220,6 +208,8 @@ export interface SideBarThemeCSSVariables {
|
|
|
220
208
|
'--chotto-sidebar-settings-btn-transition': string;
|
|
221
209
|
/** Цвет фона hover кнопки настроек */
|
|
222
210
|
'--chotto-sidebar-settings-btn-hover-background-color': string;
|
|
211
|
+
/** Цвет иконки настроек */
|
|
212
|
+
'--chotto-sidebar-settings-icon-color': string;
|
|
223
213
|
/** Позиционирование выбранной полосы */
|
|
224
214
|
'--chotto-sidebar-selected-bar-position': string;
|
|
225
215
|
/** Ширина выбранной полосы */
|
|
@@ -22,12 +22,16 @@ export interface ChatWrapperThemeCSSVariables {
|
|
|
22
22
|
'--chotto-chatwrapper-selected-chat-align-items': string;
|
|
23
23
|
/** Цвет фона панели чата */
|
|
24
24
|
'--chotto-chatwrapper-chat-panel-background-color': string;
|
|
25
|
+
/** Эффект размытия фона панели чата (для glassmorphism) */
|
|
26
|
+
'--chotto-chatwrapper-chat-panel-backdrop-filter': string;
|
|
25
27
|
/** Левая граница панели чата */
|
|
26
28
|
'--chotto-chatwrapper-chat-panel-border-left': string;
|
|
27
29
|
/** Правая граница панели чата */
|
|
28
30
|
'--chotto-chatwrapper-chat-panel-border-right': string;
|
|
29
31
|
/** Радиус границы панели чата */
|
|
30
32
|
'--chotto-chatwrapper-chat-panel-border-radius': string;
|
|
33
|
+
/** Тень панели чата */
|
|
34
|
+
'--chotto-chatwrapper-chat-panel-box-shadow': string;
|
|
31
35
|
/** Позиционирование панели чата */
|
|
32
36
|
'--chotto-chatwrapper-chat-panel-position': string;
|
|
33
37
|
/** Высота панели чата */
|
|
@@ -16,6 +16,8 @@ export interface ExtendedLayoutThemeCSSVariables {
|
|
|
16
16
|
'--chotto-extendedlayout-container-border-top': string;
|
|
17
17
|
/** Левая граница контейнера расширенного макета */
|
|
18
18
|
'--chotto-extendedlayout-container-border-left': string;
|
|
19
|
+
/** Фон контейнера расширенного макета */
|
|
20
|
+
'--chotto-extendedlayout-container-background': string;
|
|
19
21
|
/** Позиционирование первой колонки */
|
|
20
22
|
'--chotto-extendedlayout-first-col-position': string;
|
|
21
23
|
/** Колонка сетки первой колонки */
|
|
@@ -34,6 +36,8 @@ export interface ExtendedLayoutThemeCSSVariables {
|
|
|
34
36
|
'--chotto-extendedlayout-first-col-border-bottom': string;
|
|
35
37
|
/** Цвет фона первой колонки */
|
|
36
38
|
'--chotto-extendedlayout-first-col-background-color': string;
|
|
39
|
+
/** Эффект размытия фона первой колонки */
|
|
40
|
+
'--chotto-extendedlayout-first-col-backdrop-filter': string;
|
|
37
41
|
/** Позиционирование второй колонки */
|
|
38
42
|
'--chotto-extendedlayout-second-col-position': string;
|
|
39
43
|
/** Колонка сетки второй колонки */
|
|
@@ -54,6 +58,8 @@ export interface ExtendedLayoutThemeCSSVariables {
|
|
|
54
58
|
'--chotto-extendedlayout-second-col-border-bottom': string;
|
|
55
59
|
/** Цвет фона второй колонки */
|
|
56
60
|
'--chotto-extendedlayout-second-col-background-color': string;
|
|
61
|
+
/** Эффект размытия фона второй колонки */
|
|
62
|
+
'--chotto-extendedlayout-second-col-backdrop-filter': string;
|
|
57
63
|
/** Позиционирование третьей колонки */
|
|
58
64
|
'--chotto-extendedlayout-third-col-position': string;
|
|
59
65
|
/** Отображение третьей колонки */
|
|
@@ -70,6 +76,8 @@ export interface ExtendedLayoutThemeCSSVariables {
|
|
|
70
76
|
'--chotto-extendedlayout-third-col-border-bottom': string;
|
|
71
77
|
/** Цвет фона третьей колонки */
|
|
72
78
|
'--chotto-extendedlayout-third-col-background-color': string;
|
|
79
|
+
/** Эффект размытия фона третьей колонки */
|
|
80
|
+
'--chotto-extendedlayout-third-col-backdrop-filter': string;
|
|
73
81
|
/** Переход для активного состояния Vue Transition */
|
|
74
82
|
'--chotto-extendedlayout-transition-enter-active-transition': string;
|
|
75
83
|
/** Непрозрачность для активного состояния Vue Transition */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mobilon-dev/chotto",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.35",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"./style.css": "./dist/chotto.css",
|
|
13
13
|
"./themes/default.css": "./dist/themes/default.css",
|
|
14
14
|
"./themes/dark.css": "./dist/themes/dark.css",
|
|
15
|
+
"./themes/glass.css": "./dist/themes/glass.css",
|
|
15
16
|
"./themes/green.css": "./dist/themes/green.css",
|
|
16
17
|
"./themes/mobilon1.css": "./dist/themes/mobilon1.css"
|
|
17
18
|
},
|