@peax/consent-banner-locales 0.10.0 → 0.12.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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @peax/consent-banner-locales
2
2
 
3
- Optional, framework-independent dictionaries for all 24 official EU languages plus Russian. React and Vue banners provide English fallback without this package.
3
+ Optional, framework-independent dictionaries for all 24 official EU languages plus Russian. The React banner provides English fallback without this package.
4
4
 
5
5
  ```sh
6
6
  npm install @peax/consent-banner-locales
@@ -16,7 +16,7 @@ import { fr } from '@peax/consent-banner-locales/fr'
16
16
  <Banner locale="de-AT" locales={{ de, fr }} />
17
17
  ```
18
18
 
19
- Each entry exports one readonly composite dictionary: `de.banner` contains banner/preferences controls and `de.preferences` contains section titles/descriptions. Vue accepts the same map through `:locales="locales"`.
19
+ Each entry exports one readonly composite dictionary: `de.banner` contains banner/preferences controls and `de.preferences` contains section titles/descriptions.
20
20
 
21
21
  ## All languages and root imports
22
22
 
@@ -67,4 +67,4 @@ Replace `dePreferences` with `de.preferences` and old banner fields with `de.ban
67
67
 
68
68
  The package publishes ESM and self-contained TypeScript declarations with no runtime dependencies. Only declared export paths are public.
69
69
 
70
- See the [localization guide](https://github.com/peaxco/consent/blob/main/docs/localization.md) for custom maps, Vue examples, fallback, and migration details.
70
+ See the [localization guide](https://github.com/peaxco/consent/blob/main/docs/localization.md) for custom maps, fallback, and migration details.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@peax/consent-banner-locales",
3
3
  "description": "Optional framework-independent translation dictionaries for Peax Consent banners.",
4
- "version": "0.10.0",
4
+ "version": "0.12.0",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/peaxco/consent",
7
7
  "repository": {
@@ -164,7 +164,7 @@
164
164
  },
165
165
  "devDependencies": {
166
166
  "@microsoft/api-extractor": "^7.59.3",
167
- "@peax/consent-banner-shared": "^0.10.0",
167
+ "@peax/consent-banner-shared": "^0.12.0",
168
168
  "@types/node": "^26.6.4",
169
169
  "typescript": "5.9.3",
170
170
  "vite": "^8.3.2",