@adminforth/i18n 1.4.0 → 1.4.1

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/build.log CHANGED
@@ -17,5 +17,5 @@ custom/package-lock.json
17
17
  custom/package.json
18
18
  custom/tsconfig.json
19
19
 
20
- sent 32,912 bytes received 248 bytes 66,320.00 bytes/sec
21
- total size is 31,979 speedup is 0.96
20
+ sent 32,964 bytes received 248 bytes 66,424.00 bytes/sec
21
+ total size is 32,031 speedup is 0.96
@@ -1,18 +1,19 @@
1
1
  <template>
2
2
  <div class="min-w-40">
3
- <div class="cursor-pointer flex items-center gap-1 block px-4 py-2 text-sm text-black
3
+ <div class="cursor-pointer flex items-center justify-between gap-1 block px-4 py-2 text-sm text-black
4
4
  hover:bg-html dark:text-darkSidebarTextHover dark:hover:bg-darkSidebarItemHover dark:hover:text-darkSidebarTextActive
5
5
  w-full select-none "
6
6
  :class="{ 'bg-black bg-opacity-10 ': showDropdown }"
7
7
  @click="showDropdown = !showDropdown"
8
8
  >
9
- <span class="mr-1">
10
- <span class="flag-icon"
11
- :class="`flag-icon-${getCountryCodeFromLangCode(selectedOption.value)}`"
12
- ></span>
13
- </span>
14
- <span>{{ selectedOption.label }}</span>
15
-
9
+ <div>
10
+ <span class="mr-1">
11
+ <span class="flag-icon"
12
+ :class="`flag-icon-${getCountryCodeFromLangCode(selectedOption.value)}`"
13
+ ></span>
14
+ </span>
15
+ <span>{{ selectedOption.label }}</span>
16
+ </div>
16
17
  <IconCaretDownSolid class="h-5 w-5 text-lightPrimary dark:text-gray-400 opacity-50 transition duration-150 ease-in"
17
18
  :class="{ 'transform rotate-180': showDropdown }"
18
19
  />
@@ -1,18 +1,19 @@
1
1
  <template>
2
2
  <div class="min-w-40">
3
- <div class="cursor-pointer flex items-center gap-1 block px-4 py-2 text-sm text-black
3
+ <div class="cursor-pointer flex items-center justify-between gap-1 block px-4 py-2 text-sm text-black
4
4
  hover:bg-html dark:text-darkSidebarTextHover dark:hover:bg-darkSidebarItemHover dark:hover:text-darkSidebarTextActive
5
5
  w-full select-none "
6
6
  :class="{ 'bg-black bg-opacity-10 ': showDropdown }"
7
7
  @click="showDropdown = !showDropdown"
8
8
  >
9
- <span class="mr-1">
10
- <span class="flag-icon"
11
- :class="`flag-icon-${getCountryCodeFromLangCode(selectedOption.value)}`"
12
- ></span>
13
- </span>
14
- <span>{{ selectedOption.label }}</span>
15
-
9
+ <div>
10
+ <span class="mr-1">
11
+ <span class="flag-icon"
12
+ :class="`flag-icon-${getCountryCodeFromLangCode(selectedOption.value)}`"
13
+ ></span>
14
+ </span>
15
+ <span>{{ selectedOption.label }}</span>
16
+ </div>
16
17
  <IconCaretDownSolid class="h-5 w-5 text-lightPrimary dark:text-gray-400 opacity-50 transition duration-150 ease-in"
17
18
  :class="{ 'transform rotate-180': showDropdown }"
18
19
  />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/i18n",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",