@conduction/nextcloud-vue 2.2.0-vue3.11 → 2.2.0-vue3.13

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.
@@ -3463,6 +3463,50 @@
3463
3463
  z-index: 100001 !important;
3464
3464
  }
3465
3465
 
3466
+ /*
3467
+ * vue-select's search input must not look like a second field.
3468
+ *
3469
+ * `NcSelect` wraps vue-select, whose `.vs__search` is the type-to-filter input
3470
+ * that sits BESIDE the selected value inside one control. Stock vue-select
3471
+ * gives it a transparent border; the LA SUITE theme sets
3472
+ *
3473
+ * input[type="text"], input[type="search"], … {
3474
+ * border: 1px solid var(--lasuite-color-gray-300) !important;
3475
+ * }
3476
+ *
3477
+ * which lands on it and draws an empty bordered box to the right of the
3478
+ * selected value — a second, broken-looking field on every Provider, Agent and
3479
+ * Execution dropdown in the fleet.
3480
+ *
3481
+ * `!important` is REQUIRED here and not laziness: the theme's rule carries it,
3482
+ * so no amount of specificity can win. The override is narrow — `.vs__search`
3483
+ * is never a standalone input, always the inner field of a composite control —
3484
+ * so this cannot reach a real text box the theme meant to style.
3485
+ *
3486
+ * The root cause is the theme reaching into a composite control it does not
3487
+ * own; fixing it there would be better, and this stays until it does.
3488
+ *
3489
+ * Unscoped and here rather than in a component, because the control belongs to
3490
+ * @nextcloud/vue: no Conduction component owns the element, and each app
3491
+ * patching it locally is the same rule written sixteen times.
3492
+ *
3493
+ * The input keeps its focus ring — it is a real, typable control, and removing
3494
+ * the visible focus would trade one defect for a WCAG 2.4.7 failure.
3495
+ */
3496
+
3497
+ .v-select .vs__search,
3498
+ .v-select .vs__search:focus {
3499
+ border: none !important;
3500
+ box-shadow: none !important;
3501
+ min-height: unset;
3502
+ background-color: transparent;
3503
+ }
3504
+
3505
+ .v-select .vs__search:focus-visible {
3506
+ outline: 2px solid var(--color-primary-element);
3507
+ outline-offset: -2px;
3508
+ }
3509
+
3466
3510
 
3467
3511
  .cn-label-widget[data-v-4dc338aa] {
3468
3512
  width: 100%;
@@ -3463,6 +3463,50 @@
3463
3463
  z-index: 100001 !important;
3464
3464
  }
3465
3465
 
3466
+ /*
3467
+ * vue-select's search input must not look like a second field.
3468
+ *
3469
+ * `NcSelect` wraps vue-select, whose `.vs__search` is the type-to-filter input
3470
+ * that sits BESIDE the selected value inside one control. Stock vue-select
3471
+ * gives it a transparent border; the LA SUITE theme sets
3472
+ *
3473
+ * input[type="text"], input[type="search"], … {
3474
+ * border: 1px solid var(--lasuite-color-gray-300) !important;
3475
+ * }
3476
+ *
3477
+ * which lands on it and draws an empty bordered box to the right of the
3478
+ * selected value — a second, broken-looking field on every Provider, Agent and
3479
+ * Execution dropdown in the fleet.
3480
+ *
3481
+ * `!important` is REQUIRED here and not laziness: the theme's rule carries it,
3482
+ * so no amount of specificity can win. The override is narrow — `.vs__search`
3483
+ * is never a standalone input, always the inner field of a composite control —
3484
+ * so this cannot reach a real text box the theme meant to style.
3485
+ *
3486
+ * The root cause is the theme reaching into a composite control it does not
3487
+ * own; fixing it there would be better, and this stays until it does.
3488
+ *
3489
+ * Unscoped and here rather than in a component, because the control belongs to
3490
+ * @nextcloud/vue: no Conduction component owns the element, and each app
3491
+ * patching it locally is the same rule written sixteen times.
3492
+ *
3493
+ * The input keeps its focus ring — it is a real, typable control, and removing
3494
+ * the visible focus would trade one defect for a WCAG 2.4.7 failure.
3495
+ */
3496
+
3497
+ .v-select .vs__search,
3498
+ .v-select .vs__search:focus {
3499
+ border: none !important;
3500
+ box-shadow: none !important;
3501
+ min-height: unset;
3502
+ background-color: transparent;
3503
+ }
3504
+
3505
+ .v-select .vs__search:focus-visible {
3506
+ outline: 2px solid var(--color-primary-element);
3507
+ outline-offset: -2px;
3508
+ }
3509
+
3466
3510
 
3467
3511
  .cn-label-widget[data-v-4dc338aa] {
3468
3512
  width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduction/nextcloud-vue",
3
- "version": "2.2.0-vue3.11",
3
+ "version": "2.2.0-vue3.13",
4
4
  "description": "Shared Vue component library for Conduction Nextcloud apps — complements @nextcloud/vue with higher-level components, OpenRegister integration, and NL Design System support",
5
5
  "license": "EUPL-1.2",
6
6
  "author": "Conduction B.V. <info@conduction.nl>",
@@ -217,3 +217,46 @@
217
217
  .vs__dropdown-menu--floating {
218
218
  z-index: 100001 !important;
219
219
  }
220
+
221
+ /*
222
+ * vue-select's search input must not look like a second field.
223
+ *
224
+ * `NcSelect` wraps vue-select, whose `.vs__search` is the type-to-filter input
225
+ * that sits BESIDE the selected value inside one control. Stock vue-select
226
+ * gives it a transparent border; the LA SUITE theme sets
227
+ *
228
+ * input[type="text"], input[type="search"], … {
229
+ * border: 1px solid var(--lasuite-color-gray-300) !important;
230
+ * }
231
+ *
232
+ * which lands on it and draws an empty bordered box to the right of the
233
+ * selected value — a second, broken-looking field on every Provider, Agent and
234
+ * Execution dropdown in the fleet.
235
+ *
236
+ * `!important` is REQUIRED here and not laziness: the theme's rule carries it,
237
+ * so no amount of specificity can win. The override is narrow — `.vs__search`
238
+ * is never a standalone input, always the inner field of a composite control —
239
+ * so this cannot reach a real text box the theme meant to style.
240
+ *
241
+ * The root cause is the theme reaching into a composite control it does not
242
+ * own; fixing it there would be better, and this stays until it does.
243
+ *
244
+ * Unscoped and here rather than in a component, because the control belongs to
245
+ * @nextcloud/vue: no Conduction component owns the element, and each app
246
+ * patching it locally is the same rule written sixteen times.
247
+ *
248
+ * The input keeps its focus ring — it is a real, typable control, and removing
249
+ * the visible focus would trade one defect for a WCAG 2.4.7 failure.
250
+ */
251
+ .v-select .vs__search,
252
+ .v-select .vs__search:focus {
253
+ border: none !important;
254
+ box-shadow: none !important;
255
+ min-height: unset;
256
+ background-color: transparent;
257
+ }
258
+
259
+ .v-select .vs__search:focus-visible {
260
+ outline: 2px solid var(--color-primary-element);
261
+ outline-offset: -2px;
262
+ }