itube-specs 0.0.833 → 0.0.835
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/components/auth/icon.vue +2 -4
- package/components/auth/register.vue +1 -1
- package/components/layout/footer-language.vue +1 -0
- package/components/layout/language.vue +3 -1
- package/components/layout/nav.vue +2 -1
- package/components/player/menu.vue +15 -2
- package/components/ui/input.vue +2 -0
- package/package.json +1 -1
package/components/auth/icon.vue
CHANGED
|
@@ -327,7 +327,9 @@ function changeCountry(item: ISelectItem) {
|
|
|
327
327
|
}
|
|
328
328
|
|
|
329
329
|
.layout-language__details:not(:last-child) {
|
|
330
|
-
|
|
330
|
+
@include to-br(sm) {
|
|
331
|
+
margin-bottom: 12px;
|
|
332
|
+
}
|
|
331
333
|
}
|
|
332
334
|
|
|
333
335
|
.layout-language__details[open] .layout-language__angle {
|
|
@@ -85,6 +85,7 @@ function isCurrent(link: string) {
|
|
|
85
85
|
justify-content: center;
|
|
86
86
|
gap: 8px;
|
|
87
87
|
background-color: $nav-container-bg;
|
|
88
|
+
border-bottom: 1px solid $nav-container-border;
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
.layout-nav__item {
|
|
@@ -98,7 +99,7 @@ function isCurrent(link: string) {
|
|
|
98
99
|
color: $nav-text;
|
|
99
100
|
border-radius: $radius-full;
|
|
100
101
|
border-color: $nav-border;
|
|
101
|
-
font-weight:
|
|
102
|
+
font-weight: $nav-font-weight;
|
|
102
103
|
|
|
103
104
|
@include hover(background-color) {
|
|
104
105
|
background-color: $nav-bg--hover;
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
>
|
|
53
53
|
<span class="player-menu__label">{{ entry.label }}</span>
|
|
54
54
|
<UiToggle
|
|
55
|
-
:model-value="entry.toggle.value"
|
|
56
|
-
@update:model-value="entry
|
|
55
|
+
:model-value="toggleOverrides[entry.key] ?? entry.toggle.value"
|
|
56
|
+
@update:model-value="setToggle(entry, !!$event)"
|
|
57
57
|
/>
|
|
58
58
|
</div>
|
|
59
59
|
<button
|
|
@@ -188,10 +188,23 @@ const open = defineModel<boolean>('open', { required: true });
|
|
|
188
188
|
// Стек дрилла «Настройки → опция». Сбрасываем на каждый новый запрос (плеер эмитит
|
|
189
189
|
// menurequest на каждое нажатие кнопки — открываем корень меню заново).
|
|
190
190
|
const drill = shallowRef<Drill | null>(null);
|
|
191
|
+
|
|
192
|
+
// Плеер отдаёт toggle.value разовым снимком и НЕ переэмитит menurequest на
|
|
193
|
+
// переключение — держим локальный оверрайд, чтобы тумблер сразу двигался.
|
|
194
|
+
// Сбрасываем на каждый новый запрос (свежие значения из плеера).
|
|
195
|
+
const toggleOverrides = reactive<Record<string, boolean>>({});
|
|
196
|
+
|
|
191
197
|
watch(() => props.request, () => {
|
|
192
198
|
drill.value = null;
|
|
199
|
+
for (const key in toggleOverrides) delete toggleOverrides[key];
|
|
193
200
|
});
|
|
194
201
|
|
|
202
|
+
function setToggle(entry: SettingsEntry, on: boolean): void {
|
|
203
|
+
if (!entry.toggle) return;
|
|
204
|
+
entry.toggle.set(on);
|
|
205
|
+
toggleOverrides[entry.key] = on;
|
|
206
|
+
}
|
|
207
|
+
|
|
195
208
|
// select у плеера сам делает setRate/seek/play и шлёт свои события — руками ничего не
|
|
196
209
|
// дёргаем, просто закрываем шторку.
|
|
197
210
|
function pick(select: (value: string) => void, value: string): void {
|
package/components/ui/input.vue
CHANGED
|
@@ -300,6 +300,7 @@ const normalizedValue = computed(() => {
|
|
|
300
300
|
.ui-input__button-icon {
|
|
301
301
|
width: 20px;
|
|
302
302
|
height: 20px;
|
|
303
|
+
color: $input-icon;
|
|
303
304
|
|
|
304
305
|
@include from-br(sm) {
|
|
305
306
|
transition: var(--transition) color;
|
|
@@ -338,6 +339,7 @@ const normalizedValue = computed(() => {
|
|
|
338
339
|
.ui-input.ui-input--s .ui-input__input {
|
|
339
340
|
padding: 8px 16px;
|
|
340
341
|
background-color: $input-s-bg;
|
|
342
|
+
border: 1px solid $input-s-border;
|
|
341
343
|
|
|
342
344
|
@include from-br(sm) {
|
|
343
345
|
@include font-sm;
|