@adminforth/i18n 1.0.18-next.11 → 1.0.18-next.12

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.
@@ -18,21 +18,25 @@
18
18
  />
19
19
  </div>
20
20
 
21
- <div v-if="showDropdown" class="cursor-pointer flex items-center gap-1 block px-4 py-2 text-sm
22
- text-black dark:text-darkSidebarTextHover
23
- bg-black bg-opacity-10
24
- hover:bg-html dark:hover:bg-darkSidebarItemHover dark:hover:text-darkSidebarTextActive
25
- w-full text-select-none pl-5 select-none"
26
- v-for="option in options.filter((opt) => opt.value !== selectedOption.value)"
27
- @click="doChangeLang(option.value)"
28
- >
29
- <span class="mr-1">
30
- <span class="flag-icon"
31
- :class="`flag-icon-${getCountryCodeFromLangCode(option.value)}`"
32
- ></span>
33
- </span>
34
- <span>{{ option.label }}</span>
35
-
21
+ <div v-if="showDropdown" >
22
+
23
+ <div class="cursor-pointer flex items-center gap-1 block px-4 py-1 text-sm
24
+ text-black dark:text-darkSidebarTextHover
25
+ bg-black bg-opacity-10
26
+ hover:brightness-110
27
+ hover:bg-lightPrimaryContrast dark:hover:bg-darkPrimaryContrasts
28
+ w-full text-select-none pl-5 select-none"
29
+ v-for="option in options.filter((opt) => opt.value !== selectedOption.value)"
30
+ @click="doChangeLang(option.value)"
31
+ >
32
+ <span class="mr-1">
33
+ <span class="flag-icon"
34
+ :class="`flag-icon-${getCountryCodeFromLangCode(option.value)}`"
35
+ ></span>
36
+ </span>
37
+ <span>{{ option.label }}</span>
38
+
39
+ </div>
36
40
  </div>
37
41
 
38
42
 
@@ -18,21 +18,25 @@
18
18
  />
19
19
  </div>
20
20
 
21
- <div v-if="showDropdown" class="cursor-pointer flex items-center gap-1 block px-4 py-2 text-sm
22
- text-black dark:text-darkSidebarTextHover
23
- bg-black bg-opacity-10
24
- hover:bg-html dark:hover:bg-darkSidebarItemHover dark:hover:text-darkSidebarTextActive
25
- w-full text-select-none pl-5 select-none"
26
- v-for="option in options.filter((opt) => opt.value !== selectedOption.value)"
27
- @click="doChangeLang(option.value)"
28
- >
29
- <span class="mr-1">
30
- <span class="flag-icon"
31
- :class="`flag-icon-${getCountryCodeFromLangCode(option.value)}`"
32
- ></span>
33
- </span>
34
- <span>{{ option.label }}</span>
35
-
21
+ <div v-if="showDropdown" >
22
+
23
+ <div class="cursor-pointer flex items-center gap-1 block px-4 py-1 text-sm
24
+ text-black dark:text-darkSidebarTextHover
25
+ bg-black bg-opacity-10
26
+ hover:brightness-110
27
+ hover:bg-lightPrimaryContrast dark:hover:bg-darkPrimaryContrasts
28
+ w-full text-select-none pl-5 select-none"
29
+ v-for="option in options.filter((opt) => opt.value !== selectedOption.value)"
30
+ @click="doChangeLang(option.value)"
31
+ >
32
+ <span class="mr-1">
33
+ <span class="flag-icon"
34
+ :class="`flag-icon-${getCountryCodeFromLangCode(option.value)}`"
35
+ ></span>
36
+ </span>
37
+ <span>{{ option.label }}</span>
38
+
39
+ </div>
36
40
  </div>
37
41
 
38
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/i18n",
3
- "version": "1.0.18-next.11",
3
+ "version": "1.0.18-next.12",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",