Rename default banner to themed banner

Rename src/default/ to src/themed-banner/, update class names
(ProboDefaultBanner → ProboThemedBanner), style constant
(DEFAULT_STYLES → THEMED_STYLES), registration function
(registerDefault → registerThemedBanner), and adjust build
entrypoints and package.json exports accordingly.

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-04-16 17:31:14 +04:00
parent 2e066c82ad
commit 1e306e5076
6 changed files with 494 additions and 6 deletions

View File

@@ -12,6 +12,11 @@
"import": "./dist/cookie-banner.mjs",
"default": "./dist/cookie-banner.mjs"
},
"./themed-banner": {
"types": "./dist/themed-banner/index.d.ts",
"import": "./dist/cookie-banner-themed.mjs",
"default": "./dist/cookie-banner-themed.mjs"
},
"./iife": "./dist/cookie-banner.iife.js"
},
"scripts": {