Implements the EU-compliant cookie consent banner with: - modal + banner variants, CNIL equal-prominence Reject/Accept buttons - granular category toggles (essential non-toggleable) - __consent_state cookie management (SameSite=Lax, Secure, 1-yr, _v:1) - render-prop overrides: renderHeader, renderCategoryRow, renderActions - useConsent() integration when ConsentProvider is present - CookieConsentBannerLoader SSR-safe wrapper - RTL behavioral tests: Reject All, Save Selected, ESC=Reject, focus-trap - Storybook stories for modal, banner, render-prop, and a11y tab demo - jsdom configured with HTTPS origin for Secure cookie testing Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
175 lines
3.2 KiB
JSON
175 lines
3.2 KiB
JSON
{
|
|
"generatedAt": "2026-05-19T21:20:25.856Z",
|
|
"commit": "de17803",
|
|
"repo": {
|
|
"statements": 97.34,
|
|
"branches": 91.98,
|
|
"functions": 97.09,
|
|
"lines": 97.34,
|
|
"counts": {
|
|
"lf": 5742,
|
|
"lh": 5589,
|
|
"brf": 1147,
|
|
"brh": 1055,
|
|
"fnf": 344,
|
|
"fnh": 334
|
|
}
|
|
},
|
|
"byPackage": {
|
|
"@repo/auth": {
|
|
"statements": 93.81,
|
|
"branches": 90.82,
|
|
"functions": 100,
|
|
"lines": 93.81,
|
|
"counts": {
|
|
"lf": 791,
|
|
"lh": 742,
|
|
"brf": 98,
|
|
"brh": 89,
|
|
"fnf": 44,
|
|
"fnh": 44
|
|
}
|
|
},
|
|
"@repo/blog": {
|
|
"statements": 96.35,
|
|
"branches": 88.65,
|
|
"functions": 100,
|
|
"lines": 96.35,
|
|
"counts": {
|
|
"lf": 739,
|
|
"lh": 712,
|
|
"brf": 141,
|
|
"brh": 125,
|
|
"fnf": 29,
|
|
"fnh": 29
|
|
}
|
|
},
|
|
"@repo/core-analytics": {
|
|
"statements": 100,
|
|
"branches": 100,
|
|
"functions": 100,
|
|
"lines": 100,
|
|
"counts": {
|
|
"lf": 52,
|
|
"lh": 52,
|
|
"brf": 12,
|
|
"brh": 12,
|
|
"fnf": 10,
|
|
"fnh": 10
|
|
}
|
|
},
|
|
"@repo/core-api": {
|
|
"statements": 100,
|
|
"branches": 100,
|
|
"functions": 100,
|
|
"lines": 100,
|
|
"counts": {
|
|
"lf": 17,
|
|
"lh": 17,
|
|
"brf": 0,
|
|
"brh": 0,
|
|
"fnf": 0,
|
|
"fnh": 0
|
|
}
|
|
},
|
|
"@repo/core-consent": {
|
|
"statements": 99.72,
|
|
"branches": 94.85,
|
|
"functions": 97.06,
|
|
"lines": 99.72,
|
|
"counts": {
|
|
"lf": 351,
|
|
"lh": 350,
|
|
"brf": 97,
|
|
"brh": 92,
|
|
"fnf": 34,
|
|
"fnh": 33
|
|
}
|
|
},
|
|
"@repo/core-dsr": {
|
|
"statements": 100,
|
|
"branches": 92.48,
|
|
"functions": 97.44,
|
|
"lines": 100,
|
|
"counts": {
|
|
"lf": 697,
|
|
"lh": 697,
|
|
"brf": 133,
|
|
"brh": 123,
|
|
"fnf": 39,
|
|
"fnh": 38
|
|
}
|
|
},
|
|
"@repo/core-shared": {
|
|
"statements": 98.03,
|
|
"branches": 95.89,
|
|
"functions": 92.08,
|
|
"lines": 98.03,
|
|
"counts": {
|
|
"lf": 1067,
|
|
"lh": 1046,
|
|
"brf": 316,
|
|
"brh": 303,
|
|
"fnf": 101,
|
|
"fnh": 93
|
|
}
|
|
},
|
|
"@repo/core-ui": {
|
|
"statements": 99.49,
|
|
"branches": 90.2,
|
|
"functions": 100,
|
|
"lines": 99.49,
|
|
"counts": {
|
|
"lf": 396,
|
|
"lh": 394,
|
|
"brf": 102,
|
|
"brh": 92,
|
|
"fnf": 18,
|
|
"fnh": 18
|
|
}
|
|
},
|
|
"@repo/marketing-pages": {
|
|
"statements": 95.93,
|
|
"branches": 83.93,
|
|
"functions": 100,
|
|
"lines": 95.93,
|
|
"counts": {
|
|
"lf": 762,
|
|
"lh": 731,
|
|
"brf": 112,
|
|
"brh": 94,
|
|
"fnf": 32,
|
|
"fnh": 32
|
|
}
|
|
},
|
|
"@repo/media": {
|
|
"statements": 97.15,
|
|
"branches": 90.63,
|
|
"functions": 100,
|
|
"lines": 97.15,
|
|
"counts": {
|
|
"lf": 561,
|
|
"lh": 545,
|
|
"brf": 96,
|
|
"brh": 87,
|
|
"fnf": 24,
|
|
"fnh": 24
|
|
}
|
|
},
|
|
"@repo/navigation": {
|
|
"statements": 98.06,
|
|
"branches": 95,
|
|
"functions": 100,
|
|
"lines": 98.06,
|
|
"counts": {
|
|
"lf": 309,
|
|
"lh": 303,
|
|
"brf": 40,
|
|
"brh": 38,
|
|
"fnf": 13,
|
|
"fnh": 13
|
|
}
|
|
}
|
|
}
|
|
}
|