Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Reverted change that removes a focus from an element created by the "Settings modal trigger selector" option after the settings modal is closed. Even if it prevented the page from scrolling, it is a violation of accessibility rules.

### Fixed
- Fixed accessibility for third button in the consent modal.
- Fixed accessibility in both modals after a language update.
- Third button is now re-translated after a language update.
- Buttons in the settings modal are physically reordered in the DOM if they are ordered visually using CSS flexbox property `order` to keep right tabindex flow.

## [1.3.6] - 2025-05-15
### Added
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ An extended integration of [orestbida/cookieconsent](https://github.com/orestbid
- :white_check_mark: Configurable storages standardized by Google
- :white_check_mark: Possibility to synchronize consents between more storages
- :white_check_mark: Default translations
- :white_check_mark: WCAG 2 compliant
- :white_check_mark: Support for storing consents via [CMP](https://github.com/68publishers/consent-management-platform)

## Table of contents

Expand Down
2 changes: 1 addition & 1 deletion dist/cookie-consent.min.js

Large diffs are not rendered by default.

122 changes: 73 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@68publishers/cookie-consent",
"version": "1.3.6",
"version": "1.4.0-beta.3",
"description": "Cookie consent wrapper based on orestbida/cookieconsent with GTM integration.",
"homepage": "http://www.68publishers.io/",
"main": "index.mjs",
Expand Down Expand Up @@ -41,6 +41,7 @@
"postcss": "^8.4.49",
"postcss-custom-properties": "^14.0.4",
"postcss-loader": "^8.1.1",
"string-replace-loader": "^3.1.0",
"terser-webpack-plugin": "^5.2.5",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1",
Expand Down
2 changes: 2 additions & 0 deletions src/Config/PluginOptions.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export class PluginOptions extends AbstractOptions {
exportCookieConsentConfig() {
const config = {...this};
delete config.init_after_dom_content_loaded;
config.autorun = false;
config.delay = 0;

const configDomain = 0 === config.cookie_domain.indexOf('.') ? config.cookie_domain.substring(1) : config.cookie_domain;
const currentDomain = window.location.hostname;
Expand Down
Loading