-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: Rename LmcCookieConsentManager to CookieConsentManag…
…er (part of #392)
- Loading branch information
Showing
17 changed files
with
49 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/LmcCookieConsentManager.scss → src/CookieConsentManager.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
/*! | ||
* Alma Career Cookie Consent Manager | ||
* Copyright 2021–2024 Alma Career Czechia s.r.o. | ||
* Copyright 2021–2025 Alma Career Czechia s.r.o. | ||
* Licensed under MIT (https://github.com/lmc-eu/cookie-consent-manager/blob/main/LICENSE.md) | ||
*/ | ||
|
||
// Vanilla Cookie Consent CSS by Orest Bida. | ||
@use 'vanilla-cookieconsent/dist/cookieconsent.css'; | ||
|
||
// Alma Career Cookie Consent Manager CSS by LMC. | ||
// Alma Career Cookie Consent Manager CSS by Alma Career. | ||
@use 'scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { CookieConsentCategoryValues, VanillaCookieConsent } from './types'; | ||
import LmcCookieConsentManager from './LmcCookieConsentManager'; | ||
import CookieConsentManager from './CookieConsentManager'; | ||
|
||
declare global { | ||
interface Window { | ||
dataLayer: any[]; | ||
initCookieConsent: () => VanillaCookieConsent.CookieConsent<CookieConsentCategoryValues>; | ||
initLmcCookieConsentManager: typeof LmcCookieConsentManager; | ||
initCookieConsentManager: typeof CookieConsentManager; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import { LmcCookieConsentManager } from './LmcCookieConsentManager'; | ||
import { CookieConsentManager } from './CookieConsentManager'; | ||
|
||
(function initialize() { | ||
const init = 'initLmcCookieConsentManager'; | ||
const init = 'initCookieConsentManager'; | ||
/** | ||
* Make LmcCookieConsent object accessible globally | ||
* Make CookieConsentManager object accessible globally | ||
*/ | ||
if (typeof window[init] !== 'function') { | ||
/** @inheritdoc */ | ||
window[init] = LmcCookieConsentManager; | ||
window[init] = CookieConsentManager; | ||
} | ||
})(); |