langie 2.0.1 → 2.0.2

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/core.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * langie v2.0.1
2
+ * langie v2.0.2
3
3
  * (c) 2026 nlit
4
4
  * @license Apache-2.0
5
5
  *
package/dist/core.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * langie v2.0.1
2
+ * langie v2.0.2
3
3
  * (c) 2026 nlit
4
4
  * @license Apache-2.0
5
5
  *
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * langie v2.0.1
2
+ * langie v2.0.2
3
3
  * (c) 2026 nlit
4
4
  * @license Apache-2.0
5
5
  *
@@ -2225,7 +2225,7 @@ var LanguageSelect_default = /* @__PURE__ */ (0, import_vue3.defineComponent)({
2225
2225
  "5b09cc17-COLORS.text.secondary": (0, import_vue4.unref)(COLORS).text.secondary,
2226
2226
  "5b09cc17-COLORS.neutral.gray400": (0, import_vue4.unref)(COLORS).neutral.gray400
2227
2227
  }));
2228
- const COMBOBOX_ARIA = { "aria-multiselectable": void 0 };
2228
+ const COMBOBOX_ARIA = { "aria-multiselectable": void 0, "aria-placeholder": void 0 };
2229
2229
  const multiselectId = (0, import_vue5.useId)();
2230
2230
  const getFlagCode = (lang) => {
2231
2231
  const flagCode = lang.flag_country || lang.code;
@@ -2240,6 +2240,7 @@ var LanguageSelect_default = /* @__PURE__ */ (0, import_vue3.defineComponent)({
2240
2240
  });
2241
2241
  const searchQuery = (0, import_vue5.ref)("");
2242
2242
  const transliterate = (0, import_vue5.shallowRef)(null);
2243
+ const searchInputAttrs = (0, import_vue5.computed)(() => ({ placeholder: props.placeholder }));
2243
2244
  const validLanguages = (0, import_vue5.computed)(() => {
2244
2245
  return props.languages.filter((lang) => lang && lang.code && lang.name && lang.native_name);
2245
2246
  });
@@ -2408,6 +2409,7 @@ var LanguageSelect_default = /* @__PURE__ */ (0, import_vue3.defineComponent)({
2408
2409
  "filter-results": false,
2409
2410
  id: (0, import_vue4.unref)(multiselectId),
2410
2411
  aria: COMBOBOX_ARIA,
2412
+ attrs: searchInputAttrs.value,
2411
2413
  onKeydown: handleKeydown
2412
2414
  }, {
2413
2415
  singlelabel: (0, import_vue4.withCtx)(({ value }) => [
@@ -2485,7 +2487,7 @@ var LanguageSelect_default = /* @__PURE__ */ (0, import_vue3.defineComponent)({
2485
2487
  ]),
2486
2488
  _: 1
2487
2489
  /* STABLE */
2488
- }, 8, ["modelValue", "options", "placeholder", "disabled", "loading", "id"])) : isLoading.value && validLanguages.value.length === 0 ? ((0, import_vue4.openBlock)(), (0, import_vue4.createElementBlock)(
2490
+ }, 8, ["modelValue", "options", "placeholder", "disabled", "loading", "id", "attrs"])) : isLoading.value && validLanguages.value.length === 0 ? ((0, import_vue4.openBlock)(), (0, import_vue4.createElementBlock)(
2489
2491
  import_vue4.Fragment,
2490
2492
  { key: 1 },
2491
2493
  [