Skip to content

Commit

Permalink
Chore(release): Publish version 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraM committed Jan 11, 2024
1 parent 0ef63d0 commit e7e73d5
Show file tree
Hide file tree
Showing 20 changed files with 964 additions and 166 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
<a name="2.5.0"></a>
# [2.5.0](https://github.com/lmc-eu/cookie-consent-manager/compare/2.4.1...2.5.0) (2024-01-11)

### Documentation

- Rebrand to Alma Career also in documentation and meta information ([a9f9a1c](https://github.com/lmc-eu/cookie-consent-manager/commit/a9f9a1c))

### Features

- Add Croatian (hr) translation ([2ee50f3](https://github.com/lmc-eu/cookie-consent-manager/commit/2ee50f3))
- Add Slovenian (sl) translation ([aee08f7](https://github.com/lmc-eu/cookie-consent-manager/commit/aee08f7))
- Extend types to allow cookie tables settings ([33313ac](https://github.com/lmc-eu/cookie-consent-manager/commit/33313ac))
- Update translations and unify Cookie policy document naming ([0ef63d0](https://github.com/lmc-eu/cookie-consent-manager/commit/0ef63d0))

### Chores

- **deps:** Update dependency @lmc-eu/spirit-design-tokens to v1 ([8ab4715](https://github.com/lmc-eu/cookie-consent-manager/commit/8ab4715))
- Fix ts-jest config deprecations ([135288d](https://github.com/lmc-eu/cookie-consent-manager/commit/135288d))


<a name="2.4.1"></a>
# [2.4.1](https://github.com/lmc-eu/cookie-consent-manager/compare/2.4.0...2.4.1) (2023-12-27)

Expand Down
262 changes: 226 additions & 36 deletions dist/LmcCookieConsentManager.cjs

Large diffs are not rendered by default.

262 changes: 226 additions & 36 deletions dist/LmcCookieConsentManager.js

Large diffs are not rendered by default.

262 changes: 226 additions & 36 deletions dist/LmcCookieConsentManager.mjs

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/LmcCookieConsentManager.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* LMC Cookie Consent Manager
* Copyright 2021–2022 LMC s.r.o.
* Alma Career Cookie Consent Manager
* Copyright 2021–2024 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/src/cookieconsent.css';

// LMC Cookie Consent Manager CSS by LMC.
// Alma Career Cookie Consent Manager CSS by LMC.
@use 'scss';
262 changes: 226 additions & 36 deletions dist/init.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions dist/languages/cs.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ExtraMessages, Values } from '../types';
import { ExtraMessages, Values, VanillaCookieConsent } from '../types';
import { SecondaryButtonMode } from '../constants';
import { VanillaCookieConsent } from '../types/vanilla-cookieconsent';
/**
* @param {ExtraMessages} [extraMessages] - Object with extra messages
* @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown
Expand Down
3 changes: 1 addition & 2 deletions dist/languages/de.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ExtraMessages, Values } from '../types';
import { ExtraMessages, Values, VanillaCookieConsent } from '../types';
import { SecondaryButtonMode } from '../constants';
import { VanillaCookieConsent } from '../types/vanilla-cookieconsent';
/**
* @param {ExtraMessages} [extraMessages] - Object with extra messages
* @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown
Expand Down
3 changes: 1 addition & 2 deletions dist/languages/en.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ExtraMessages, Values } from '../types';
import { ExtraMessages, Values, VanillaCookieConsent } from '../types';
import { SecondaryButtonMode } from '../constants';
import { VanillaCookieConsent } from '../types/vanilla-cookieconsent';
/**
* @param {ExtraMessages} [extraMessages] - Object with extra messages
* @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown
Expand Down
9 changes: 9 additions & 0 deletions dist/languages/hr.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { ExtraMessages, Values, VanillaCookieConsent } from '../types';
import { SecondaryButtonMode } from '../constants';
/**
* @param {ExtraMessages} [extraMessages] - Object with extra messages
* @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown
* @returns {VanillaCookieConsent.Languages} Object with translated messages
*/
export declare const config: (extraMessages: ExtraMessages, secondaryButtonMode: Values<typeof SecondaryButtonMode>) => VanillaCookieConsent.Languages;
export default config;
3 changes: 1 addition & 2 deletions dist/languages/hu.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ExtraMessages, Values } from '../types';
import { ExtraMessages, Values, VanillaCookieConsent } from '../types';
import { SecondaryButtonMode } from '../constants';
import { VanillaCookieConsent } from '../types/vanilla-cookieconsent';
/**
* @param {ExtraMessages} [extraMessages] - Object with extra messages
* @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown
Expand Down
3 changes: 1 addition & 2 deletions dist/languages/pl.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ExtraMessages, Values } from '../types';
import { ExtraMessages, Values, VanillaCookieConsent } from '../types';
import { SecondaryButtonMode } from '../constants';
import { VanillaCookieConsent } from '../types/vanilla-cookieconsent';
/**
* @param {ExtraMessages} [extraMessages] - Object with extra messages
* @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown
Expand Down
3 changes: 1 addition & 2 deletions dist/languages/ru.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ExtraMessages, Values } from '../types';
import { ExtraMessages, Values, VanillaCookieConsent } from '../types';
import { SecondaryButtonMode } from '../constants';
import { VanillaCookieConsent } from '../types/vanilla-cookieconsent';
/**
* @param {ExtraMessages} [extraMessages] - Object with extra messages
* @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown
Expand Down
3 changes: 1 addition & 2 deletions dist/languages/sk.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ExtraMessages, Values } from '../types';
import { ExtraMessages, Values, VanillaCookieConsent } from '../types';
import { SecondaryButtonMode } from '../constants';
import { VanillaCookieConsent } from '../types/vanilla-cookieconsent';
/**
* @param {ExtraMessages} [extraMessages] - Object with extra messages
* @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown
Expand Down
9 changes: 9 additions & 0 deletions dist/languages/sl.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { ExtraMessages, Values, VanillaCookieConsent } from '../types';
import { SecondaryButtonMode } from '../constants';
/**
* @param {ExtraMessages} [extraMessages] - Object with extra messages
* @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown
* @returns {VanillaCookieConsent.Languages} Object with translated messages
*/
export declare const config: (extraMessages: ExtraMessages, secondaryButtonMode: Values<typeof SecondaryButtonMode>) => VanillaCookieConsent.Languages;
export default config;
3 changes: 1 addition & 2 deletions dist/languages/uk.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ExtraMessages, Values } from '../types';
import { ExtraMessages, Values, VanillaCookieConsent } from '../types';
import { SecondaryButtonMode } from '../constants';
import { VanillaCookieConsent } from '../types/vanilla-cookieconsent';
/**
* @param {ExtraMessages} [extraMessages] - Object with extra messages
* @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown
Expand Down
2 changes: 1 addition & 1 deletion dist/scss/theme/_default-to-vanilla.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Map LMC CCM **private** theming API to the original (vanilla) Cookie Consent custom properties.
// Map Alma Career CCM **private** theming API to the original (vanilla) Cookie Consent custom properties.
//
// Assignment below is applied through `.cc_div` instead of `:root`, so it works for both light and
// dark theme.
Expand Down
2 changes: 1 addition & 1 deletion dist/scss/theme/_default.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Read from LMC CCM public theming API and assign to private theming layer.
// Read from Alma Career CCM public theming API and assign to private theming layer.
//
// `--lmcccm-p-*` (`p` for private) are internally used custom properties that either obtain
// corresponding `--lmcccm-*` custom property from public API, or default to a specified Spirit
Expand Down
8 changes: 8 additions & 0 deletions dist/types/vanilla-cookieconsent.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,17 @@ export declare namespace VanillaCookieConsent {
enabled?: boolean;
readonly?: boolean;
}
interface CookieTableItem {
domain?: string;
path?: string;
is_regex?: boolean;
[key: string]: string | boolean | undefined;
}
interface ModalBlock {
title?: string;
description?: string;
toggle?: ModalBlockToggle;
cookie_table?: CookieTableItem[];
}
interface ConsentModal {
title?: string;
Expand All @@ -66,6 +73,7 @@ export declare namespace VanillaCookieConsent {
accept_all_btn?: string;
reject_all_btn?: string;
save_settings_btn?: string;
cookie_table_headers?: Record<string, string>[];
blocks?: ModalBlock[];
}
export interface Languages {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lmc-eu/cookie-consent-manager",
"version": "2.4.1",
"version": "2.5.0",
"description": "Cookie Consent Manager mainly for Alma Career products",
"keywords": [
"alma-career",
Expand Down

0 comments on commit e7e73d5

Please sign in to comment.