@prefabs.tech/vue3-i18n 0.16.0 → 0.17.0

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 +1 @@
1
- .country[data-v-c1291edf]{bottom:-.35rem;background:var(--locale-switcher-badge-country-bf-color, #007aff);color:var(--locale-switcher-badge-country-color, #fff);font-size:.5rem;font-weight:700;line-height:1.25;padding:1px 2px;position:absolute;right:-.25rem}.badge[data-v-c1291edf]{align-items:center;background-color:var(--locale-switcher-badge-bg-color, #007aff);border-radius:50%;display:flex;font-size:.9rem;height:2em;justify-content:center;position:relative;text-align:center;width:2em}.locale{align-items:center;display:flex;gap:.5rem;justify-content:flex-start}nav.locale-switcher{--_hover-bg: var(--nav-item-hover-bg, #f0f2f7ad);--_hover-color: var(--nav-item-hover-color, #2c2c2c);--_width: var(--locale-switcher-width, 10rem);border-radius:.325rem;cursor:pointer;padding:0;position:relative;width:var(--_width)}nav.locale-switcher.expanded,nav.locale-switcher:hover{background:var(--_hover-bg);color:var(--_hover-color)}nav.locale-switcher>.locale-trigger{--_padding-h: var(--locale-switcher-padding-h, 1rem);--_padding-v: var(--locale-switcher-padding-v, .625rem);align-items:center;display:flex;gap:0;justify-content:space-between;padding:var(--_padding-v) var(--_padding-h)}.locale{flex:1}nav.locale-switcher>.locale-trigger>span{font-size:1.5rem;line-height:1.25rem;text-align:center;width:1rem}nav.locale-switcher>ul.dropdown{--_bg-color: var(--locale-switcher-bg-color, #fff);--_border: var(--locale-switcher-border, 1px solid #e5e5e5);--_min-width: var(--locale-switcher-width, 10rem);background-color:var(--_bg-color);border:var(--_border);border-radius:.325rem;box-shadow:0 2px 5px #0000001a;display:none;list-style:none;min-width:var(--_min-width);padding-inline-start:0;padding:.15rem 0;position:absolute;right:0;top:120%;z-index:1000}nav.locale-switcher.expanded ul{display:block}nav.locale-switcher>.dropdown>li{--_active-bg: var(--nav-item-active-bg, #eff6ff);--_active-color: var(--nav-item-active-color, #2c2c2c);--_hover-bg: var(--nav-item-hover-bg, #f0f2f7ad);--_hover-color: var(--nav-item-hover-color, #2c2c2c);cursor:pointer;list-style:none;padding:.7rem 1.25rem}nav.locale-switcher.expanded li:hover{background:var(--_hover-bg);color:var(--_hover-color)}nav.locale-switcher>.dropdown>li.current{background-color:var(--_active-bg);color:var(--_active-color)}.locale-switcher .truncated{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.locale-switcher .truncated>svg{transition:transform .3s ease}nav.locale-switcher.expanded .truncated>svg{transform:rotate(-180deg)}
1
+ .country[data-v-c1291edf]{bottom:-.35rem;background:var(--locale-switcher-badge-country-bf-color, #007aff);color:var(--locale-switcher-badge-country-color, #fff);font-size:.5rem;font-weight:700;line-height:1.25;padding:1px 2px;position:absolute;right:-.25rem}.badge[data-v-c1291edf]{align-items:center;background-color:var(--locale-switcher-badge-bg-color, #007aff);border-radius:50%;display:flex;font-size:.9rem;height:2em;justify-content:center;position:relative;text-align:center;width:2em}.locale{align-items:center;display:flex;gap:.5rem;justify-content:flex-start}nav.locale-switcher{--_hover-bg: var(--nav-item-hover-bg, #f0f2f7ad);--_hover-color: var(--nav-item-hover-color, #2c2c2c);--_width: var(--locale-switcher-width, 10rem);border-radius:.325rem;cursor:pointer;padding:0;position:relative;width:var(--_width)}nav.locale-switcher.expanded,nav.locale-switcher:hover{background:var(--_hover-bg);color:var(--_hover-color)}nav.locale-switcher>.locale-trigger{--_padding-h: var(--locale-switcher-padding-h, 1rem);--_padding-v: var(--locale-switcher-padding-v, .625rem);align-items:center;display:flex;gap:0;justify-content:space-between;padding:var(--_padding-v) var(--_padding-h)}.locale{flex:1}nav.locale-switcher>.locale-trigger>span{font-size:1.5rem;line-height:1.25rem;text-align:center;width:1rem}nav.locale-switcher>ul.dropdown{--_bg-color: var(--locale-switcher-bg-color, #fff);--_min-width: var(--locale-switcher-width, 10rem);background-color:var(--_bg-color);border:var(--_border);border-radius:.325rem;max-height:0;inset:0 0 auto auto;list-style:none;min-width:var(--_min-width);overflow-y:hidden;padding-inline-start:0;position:absolute;transform:translate3d(0,56px,0);transition:max-height .3s ease-out;z-index:1000}nav.locale-switcher.expanded ul{--_border: var(--locale-switcher-border, 1px solid #e5e5e5);box-shadow:1px 1px 5px 1px #e5e5e5;height:auto;max-height:30rem;padding-block:.15rem}nav.locale-switcher>.dropdown>li{--_active-bg: var(--nav-item-active-bg, #eff6ff);--_active-color: var(--nav-item-active-color, #2c2c2c);--_hover-bg: var(--nav-item-hover-bg, #f0f2f7ad);--_hover-color: var(--nav-item-hover-color, #2c2c2c);cursor:pointer;list-style:none;padding:.7rem 1.25rem}nav.locale-switcher.expanded li:hover{background:var(--_hover-bg);color:var(--_hover-color)}nav.locale-switcher>.dropdown>li.current{background-color:var(--_active-bg);color:var(--_active-color)}.locale-switcher .truncated{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.locale-switcher .truncated>svg{transition:transform .3s ease}nav.locale-switcher.expanded .truncated>svg{transform:rotate(-180deg)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prefabs.tech/vue3-i18n",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "description": "Vue3 I18n Plugin",
5
5
  "type": "module",
6
6
  "exports": {
@@ -22,7 +22,7 @@
22
22
  "devDependencies": {
23
23
  "@prefabs.tech/eslint-config": "0.2.0",
24
24
  "@prefabs.tech/tsconfig": "0.2.0",
25
- "@prefabs.tech/vue3-config": "0.16.0",
25
+ "@prefabs.tech/vue3-config": "0.17.0",
26
26
  "@types/node": "22.13.5",
27
27
  "@typescript-eslint/eslint-plugin": "8.24.1",
28
28
  "@typescript-eslint/parser": "8.24.1",
@@ -49,7 +49,7 @@
49
49
  "vue-tsc": "1.2.0"
50
50
  },
51
51
  "peerDependencies": {
52
- "@prefabs.tech/vue3-config": "0.16.0",
52
+ "@prefabs.tech/vue3-config": "0.17.0",
53
53
  "@vueuse/core": ">=9.4.0",
54
54
  "pinia": ">=2.0",
55
55
  "vue": ">=3.2"