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.
@@ -33,10 +33,8 @@ withDefaults(defineProps<{
33
33
  }
34
34
 
35
35
  .auth-icon__icon {
36
- --size: 32px;
37
-
38
- width: var(--size);
39
- height: var(--size);
36
+ width: $popup-auth-size;
37
+ height: $popup-auth-size;
40
38
  color: $popup-auth-icon;
41
39
  }
42
40
  </style>
@@ -234,7 +234,7 @@ async function submit() {
234
234
  }
235
235
 
236
236
  .auth-register .ui-input:nth-last-child(1 of .ui-input) {
237
- padding-bottom: 12px;
237
+ padding-bottom: 16px;
238
238
  }
239
239
 
240
240
  .auth-register__login {
@@ -110,6 +110,7 @@ const handleSwitch = (newLocale: string) => {
110
110
  width: 192px;
111
111
  border: 1px solid $footer-language-menu-border;
112
112
  background-color: $footer-language-menu-bg;
113
+ overflow: hidden;
113
114
  }
114
115
 
115
116
  .layout-footer-language__menu-item {
@@ -327,7 +327,9 @@ function changeCountry(item: ISelectItem) {
327
327
  }
328
328
 
329
329
  .layout-language__details:not(:last-child) {
330
- margin-bottom: 12px;
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: 400;
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.toggle.set(!!$event)"
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 {
@@ -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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "itube-specs",
3
3
  "type": "module",
4
- "version": "0.0.833",
4
+ "version": "0.0.835",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "./types/index.d.ts",
7
7
  "scripts": {