@mobilon-dev/chotto 0.3.36 → 0.3.38
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/ContactContextMenu/ContactContextMenu.vue.js +2 -2
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue2.js +1 -1
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.js +2 -2
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue2.js +181 -208
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +2 -2
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +29 -29
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +1 -1
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue2.js +2 -2
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js +1 -1
- package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +2 -2
- package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +71 -65
- package/dist/components/3_compounds/ChatList/composables/useChatListFilter.js +14 -17
- package/dist/locale/en.js +4 -0
- package/dist/locale/ru.js +6 -2
- package/dist/themes/dark.css +1 -1
- package/dist/themes/default.css +1 -1
- package/dist/themes/glass.css +1 -1
- package/dist/themes/green.css +1 -1
- package/dist/themes/mobilon1.css +1 -1
- package/dist/types/components/2_chatlist_elements/ChatItem/styles/types.d.ts +8 -0
- package/dist/types/components/3_compounds/ChatList/composables/useChatListFilter.d.ts +3 -3
- package/dist/types/locale/en.d.ts +4 -0
- package/dist/types/locale/ru.d.ts +4 -0
- package/package.json +16 -16
|
@@ -178,6 +178,12 @@ export interface ChatItemThemeCSSVariables {
|
|
|
178
178
|
'--chotto-chatitem-unread-justify': string;
|
|
179
179
|
/** Выравнивание по поперечной оси непрочитанных сообщений */
|
|
180
180
|
'--chotto-chatitem-unread-align': string;
|
|
181
|
+
/** Радиус границы бейджа непрочитанного */
|
|
182
|
+
'--chotto-chatitem-unread-border-radius': string;
|
|
183
|
+
/** Минимальная ширина бейджа непрочитанного */
|
|
184
|
+
'--chotto-chatitem-unread-min-width': string;
|
|
185
|
+
/** Минимальная высота бейджа непрочитанного */
|
|
186
|
+
'--chotto-chatitem-unread-min-height': string;
|
|
181
187
|
/** Отступ слева от непрочитанных сообщений */
|
|
182
188
|
'--chotto-chatitem-unread-margin-left': string;
|
|
183
189
|
/** Отступ сверху от непрочитанных сообщений */
|
|
@@ -188,6 +194,8 @@ export interface ChatItemThemeCSSVariables {
|
|
|
188
194
|
'--chotto-chatitem-unread-padding': string;
|
|
189
195
|
/** Размер шрифта бейджа непрочитанного */
|
|
190
196
|
'--chotto-chatitem-unread-font-size': string;
|
|
197
|
+
/** Толщина шрифта бейджа непрочитанного */
|
|
198
|
+
'--chotto-chatitem-unread-font-weight': string;
|
|
191
199
|
/** Цвет текста бейджа непрочитанного */
|
|
192
200
|
'--chotto-chatitem-unread-text-color': string;
|
|
193
201
|
/** Цвет фона бейджа непрочитанного */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Композабл для фильтрации
|
|
3
|
-
* Инкапсулирует логику
|
|
4
|
-
*
|
|
2
|
+
* Композабл для фильтрации списка чатов.
|
|
3
|
+
* Инкапсулирует логику фильтрации по табам, тегам и текстовому поиску.
|
|
4
|
+
* Примечание: сортировка чатов выполняется в родительском компоненте.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* Тип элемента чата.
|
|
@@ -4,6 +4,10 @@ export const en: {
|
|
|
4
4
|
'layout.ChatWrapper.noSelectedChat': string;
|
|
5
5
|
'component.ChatItem.typing': string;
|
|
6
6
|
'component.ChatInput.InputPlaceholder': string;
|
|
7
|
+
'component.ChatInput.TelegramInputPlaceholder': string;
|
|
8
|
+
'component.ChatInput.WhatsappInputPlaceholder': string;
|
|
9
|
+
'component.ChatInput.SmsInputPlaceholder': string;
|
|
10
|
+
'component.ChatInput.MaxInputPlaceholder': string;
|
|
7
11
|
'component.FeedFoundObjects.results': string;
|
|
8
12
|
'component.FeedFoundObjects.notFound': string;
|
|
9
13
|
'component.FeedFoundObjects.notSearched': string;
|
|
@@ -4,6 +4,10 @@ export const ru: {
|
|
|
4
4
|
'layout.ChatWrapper.noSelectedChat': string;
|
|
5
5
|
'component.ChatItem.typing': string;
|
|
6
6
|
'component.ChatInput.InputPlaceholder': string;
|
|
7
|
+
'component.ChatInput.WhatsappInputPlaceholder': string;
|
|
8
|
+
'component.ChatInput.TelegramInputPlaceholder': string;
|
|
9
|
+
'component.ChatInput.SmsInputPlaceholder': string;
|
|
10
|
+
'component.ChatInput.MaxInputPlaceholder': string;
|
|
7
11
|
'component.FeedFoundObjects.results': string;
|
|
8
12
|
'component.FeedFoundObjects.notFound': string;
|
|
9
13
|
'component.FeedFoundObjects.notSearched': string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mobilon-dev/chotto",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.38",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -41,31 +41,31 @@
|
|
|
41
41
|
"linkifyjs": "^4.3.2",
|
|
42
42
|
"markdown-it": "^14.1.0",
|
|
43
43
|
"primeicons": "^7.0.0",
|
|
44
|
-
"sass-embedded": "^1.
|
|
45
|
-
"vue": "^3.5.
|
|
44
|
+
"sass-embedded": "^1.96.0",
|
|
45
|
+
"vue": "^3.5.25",
|
|
46
46
|
"vue3-emoji-picker-ru": "^1.1.9"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@chromatic-com/storybook": "^4.1.
|
|
50
|
-
"@eslint/js": "^9.
|
|
51
|
-
"@storybook/addon-docs": "^9.1.
|
|
52
|
-
"@storybook/addon-links": "^9.1.
|
|
53
|
-
"@storybook/vue3-vite": "^9.1.
|
|
49
|
+
"@chromatic-com/storybook": "^4.1.3",
|
|
50
|
+
"@eslint/js": "^9.39.2",
|
|
51
|
+
"@storybook/addon-docs": "^9.1.16",
|
|
52
|
+
"@storybook/addon-links": "^9.1.16",
|
|
53
|
+
"@storybook/vue3-vite": "^9.1.16",
|
|
54
54
|
"@types/glob": "^8.1.0",
|
|
55
55
|
"@types/markdown-it": "^14.1.2",
|
|
56
|
-
"@types/node": "^22.
|
|
56
|
+
"@types/node": "^22.19.3",
|
|
57
57
|
"@vitejs/plugin-vue": "^5.2.4",
|
|
58
|
-
"eslint": "^9.
|
|
59
|
-
"eslint-plugin-storybook": "9.1.
|
|
58
|
+
"eslint": "^9.39.2",
|
|
59
|
+
"eslint-plugin-storybook": "9.1.16",
|
|
60
60
|
"eslint-plugin-vue": "^9.33.0",
|
|
61
|
-
"glob": "^11.0
|
|
61
|
+
"glob": "^11.1.0",
|
|
62
62
|
"moment": "^2.30.1",
|
|
63
63
|
"pinia": "^2.3.1",
|
|
64
|
-
"storybook": "^9.1.
|
|
65
|
-
"tsx": "^4.
|
|
64
|
+
"storybook": "^9.1.16",
|
|
65
|
+
"tsx": "^4.21.0",
|
|
66
66
|
"typescript": "^5.9.3",
|
|
67
|
-
"typescript-eslint": "^8.
|
|
68
|
-
"vite": "^6.
|
|
67
|
+
"typescript-eslint": "^8.50.0",
|
|
68
|
+
"vite": "^6.4.1",
|
|
69
69
|
"vite-plugin-static-copy": "^2.3.2",
|
|
70
70
|
"vue-tsc": "^2.2.12"
|
|
71
71
|
}
|