@mobilon-dev/chotto 0.2.25 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -5
- package/dist/chotto.css +1 -1
- package/dist/vuessages.es.js +21173 -83
- package/dist/vuessages.umd.js +6 -7
- package/package.json +5 -1
- package/dist/CreateChat-B7Kq9eRQ.js +0 -30
- package/dist/CreateChat2-A8L9xv_j.js +0 -41
- package/dist/CreateDialog-B6g-ij6E.js +0 -77
- package/dist/ModalVideoRecorder-K2AOjOdR.js +0 -143
- package/dist/SelectUser2-DF4XQSJw.js +0 -46
- package/dist/index-9X5xBqLk.js +0 -29761
package/README.md
CHANGED
@@ -116,7 +116,7 @@ import {
|
|
116
116
|
ChatInput,
|
117
117
|
ThemeMode
|
118
118
|
} from '@mobilon-dev/chotto'
|
119
|
-
import '@mobilon-dev/chotto/
|
119
|
+
import '@mobilon-dev/chotto/themes/index.scss'
|
120
120
|
|
121
121
|
// Ваша логика...
|
122
122
|
</script>
|
@@ -167,11 +167,20 @@ src/
|
|
167
167
|
├── helpers/ # Утилиты и хелперы
|
168
168
|
├── types/ # TypeScript типы
|
169
169
|
├── data/ # Mock данные для демонстрации
|
170
|
-
├──
|
171
|
-
│ └── themes/ # CSS темы (default, dark, green)
|
170
|
+
├── themes/ # Стили и темы (default, dark, green)
|
172
171
|
└── locale/ # Локализация (EN, RU)
|
173
172
|
```
|
174
173
|
|
174
|
+
Дополнительно в корне:
|
175
|
+
|
176
|
+
```
|
177
|
+
.storybook/ # Storybook конфигурация
|
178
|
+
docs/ # Сборка Storybook (output)
|
179
|
+
scripts/ # Скрипты (валидатор тем)
|
180
|
+
PUBLISH.md # Шаги публикации пакета
|
181
|
+
THEME_ARCHITECTURE_PROMPT.md # Черновик архитектуры тем
|
182
|
+
```
|
183
|
+
|
175
184
|
## 🎨 Темы и кастомизация
|
176
185
|
|
177
186
|
### Доступные темы
|
@@ -182,8 +191,8 @@ src/
|
|
182
191
|
### Кастомизация CSS переменных
|
183
192
|
```css
|
184
193
|
[data-theme="light"] {
|
185
|
-
--chotto-primary-color: #10b981;
|
186
|
-
--chotto-secondary-color: #6b7280;
|
194
|
+
--chotto-theme-primary-color: #10b981;
|
195
|
+
--chotto-theme-secondary-color: #6b7280;
|
187
196
|
--chotto-background-color: #ffffff;
|
188
197
|
/* ... другие переменные */
|
189
198
|
}
|