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.
@@ -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
  *
@@ -754,7 +754,7 @@ var LanguageSelect_default = /* @__PURE__ */ (0, import_vue.defineComponent)({
754
754
  "5b09cc17-COLORS.text.secondary": (0, import_vue2.unref)(COLORS).text.secondary,
755
755
  "5b09cc17-COLORS.neutral.gray400": (0, import_vue2.unref)(COLORS).neutral.gray400
756
756
  }));
757
- const COMBOBOX_ARIA = { "aria-multiselectable": void 0 };
757
+ const COMBOBOX_ARIA = { "aria-multiselectable": void 0, "aria-placeholder": void 0 };
758
758
  const multiselectId = (0, import_vue3.useId)();
759
759
  const getFlagCode = (lang) => {
760
760
  const flagCode = lang.flag_country || lang.code;
@@ -769,6 +769,7 @@ var LanguageSelect_default = /* @__PURE__ */ (0, import_vue.defineComponent)({
769
769
  });
770
770
  const searchQuery = (0, import_vue3.ref)("");
771
771
  const transliterate = (0, import_vue3.shallowRef)(null);
772
+ const searchInputAttrs = (0, import_vue3.computed)(() => ({ placeholder: props.placeholder }));
772
773
  const validLanguages = (0, import_vue3.computed)(() => {
773
774
  return props.languages.filter((lang) => lang && lang.code && lang.name && lang.native_name);
774
775
  });
@@ -937,6 +938,7 @@ var LanguageSelect_default = /* @__PURE__ */ (0, import_vue.defineComponent)({
937
938
  "filter-results": false,
938
939
  id: (0, import_vue2.unref)(multiselectId),
939
940
  aria: COMBOBOX_ARIA,
941
+ attrs: searchInputAttrs.value,
940
942
  onKeydown: handleKeydown
941
943
  }, {
942
944
  singlelabel: (0, import_vue2.withCtx)(({ value }) => [
@@ -1014,7 +1016,7 @@ var LanguageSelect_default = /* @__PURE__ */ (0, import_vue.defineComponent)({
1014
1016
  ]),
1015
1017
  _: 1
1016
1018
  /* STABLE */
1017
- }, 8, ["modelValue", "options", "placeholder", "disabled", "loading", "id"])) : isLoading.value && validLanguages.value.length === 0 ? ((0, import_vue2.openBlock)(), (0, import_vue2.createElementBlock)(
1019
+ }, 8, ["modelValue", "options", "placeholder", "disabled", "loading", "id", "attrs"])) : isLoading.value && validLanguages.value.length === 0 ? ((0, import_vue2.openBlock)(), (0, import_vue2.createElementBlock)(
1018
1020
  import_vue2.Fragment,
1019
1021
  { key: 1 },
1020
1022
  [