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:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user