@peax/consent-banner-react 0.11.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 +1 -3
  2. package/package.json +5 -9
package/README.md CHANGED
@@ -213,11 +213,9 @@ Keyboard order follows visual order where `reading-flow` is supported; otherwise
213
213
 
214
214
  ## Development
215
215
 
216
- Run `yarn workspace @peax/consent-banner-react dev` from the repository. The demo supports `?variant=stacked`, `?locale=de`, `?showCustomizePreferences=false`, `?edgeToEdge=1` (open it in the mobile layout: below 768px, or up to `?mobileBreakpoint`), and `?mobileBreakpoint=1024`. Theme edits update live from source.
217
-
218
216
  See [Banner verification](https://github.com/peaxco/consent/blob/main/docs/engineering/banner-verification.md) for browser setup and snapshot checks, and [Contributing](https://github.com/peaxco/consent/blob/main/CONTRIBUTING.md) for repository commands.
219
217
 
220
- The adapter shares pure presentation contracts and UI state helpers with `@peax/consent-banner-shared`. Existing React exports and callback behavior remain unchanged. See [Vue integration](../../docs/vue.md) for the equivalent Vue package.
218
+ The adapter shares pure presentation contracts and UI state helpers with `@peax/consent-banner-shared`. Existing React exports and callback behavior remain unchanged.
221
219
 
222
220
  ## Optional translations
223
221
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peax/consent-banner-react",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "Accessible React bindings and components for Peax Consent.",
5
5
  "keywords": [
6
6
  "consent-management",
@@ -43,29 +43,26 @@
43
43
  },
44
44
  "scripts": {
45
45
  "build": "vite build",
46
- "dev": "vite src/demo --config vite.config.ts",
47
46
  "test": "vitest run",
48
47
  "test:browser": "node ../../scripts/test-browser.mjs react",
49
48
  "test:browser:native": "vitest run --config vitest.browser.config.ts --testTimeout 30000",
50
49
  "typecheck": "tsc --noEmit"
51
50
  },
52
51
  "peerDependencies": {
53
- "@peax/consent-banner-locales": "^0.11.0",
52
+ "@peax/consent-banner-locales": "^0.12.0",
54
53
  "react": "^18.2.0 || ^19.0.0",
55
54
  "react-dom": "^18.2.0 || ^19.0.0"
56
55
  },
57
56
  "dependencies": {
58
57
  "@base-ui/react": "^1.8.0",
59
- "@peax/consent-banner-shared": "^0.11.0",
60
- "@peax/consent-banner-theme": "^0.11.0",
58
+ "@peax/consent-banner-shared": "^0.12.0",
59
+ "@peax/consent-banner-theme": "^0.12.0",
61
60
  "clsx": "^2.1.1",
62
61
  "framer-motion": "^14.0.0"
63
62
  },
64
63
  "devDependencies": {
65
64
  "@axe-core/playwright": "^4.13.0",
66
- "@fontsource/figtree": "^5.3.0",
67
- "@fontsource/poppins": "^5.3.0",
68
- "@peax/consent-banner-locales": "^0.11.0",
65
+ "@peax/consent-banner-locales": "^0.12.0",
69
66
  "@testing-library/dom": "^10.4.2",
70
67
  "@testing-library/jest-dom": "^7.0.1",
71
68
  "@testing-library/react": "^16.3.3",
@@ -74,7 +71,6 @@
74
71
  "@types/node": "^26.6.4",
75
72
  "@types/react": "^19.3.0",
76
73
  "@types/react-dom": "^19.3.0",
77
- "@unocss/reset": "^66.10.5",
78
74
  "@vitejs/plugin-react": "^6.1.1",
79
75
  "jest-image-snapshot": "^6.5.2",
80
76
  "jsdom": "30.1.1",