Removed 'font-weight: bolder' on accept btn

This commit is contained in:
noah.lancien 2024-01-29 16:39:38 +00:00 • committed by Vincent BRIDIER
parent 3d34dbbaa5
commit bb15994820
15 changed files with 37 additions and 34 deletions

View file

@ -1,5 +1,9 @@
# Changelog
## 4.0.1
- Removed `font-weight: bolder` property on the accept button.
## 4.0.0
- Bump to major version in order to prevent breaking projects,

View file

@ -50,7 +50,7 @@
transform: scale(0.99);
}
/** 4.0.0 */
/** 4.0.1 */
/* FENETRE D'ACCUEIL */
/* Title settings */
/* Text settings */
@ -407,7 +407,6 @@
width: 50%;
border-right: 1px solid #6d6d6d;
border-left: 1px solid #6d6d6d;
font-weight: bolder;
}
#cn-wrapper .cn-nav #cn-settings-banner {
width: 100%;
@ -458,4 +457,4 @@
left: 0.5rem;
transition: all 1s;
}
}
}

View file

@ -1,4 +1,4 @@
/** 4.0.0 */
/** 4.0.1 */
export default class CookieNotice {
browserCookieName: string;
/** Cookie life time */
@ -234,4 +234,5 @@ export type CookieOptions = {
*/
fallback: () => void | null;
};
export {};
export { };

View file

@ -1,4 +1,4 @@
/** 4.0.0 */
/** 4.0.1 */
export default class CookieNotice {
constructor(config) {
this.browserCookieName = "cn-init";

View file

@ -1,4 +1,4 @@
/** 4.0.0 */
/** 4.0.1 */
export default class CookieNotice {
browserCookieName: string;
/** Cookie life time */
@ -234,4 +234,5 @@ export type CookieOptions = {
*/
fallback: () => void | null;
};
export {};
export { };

View file

@ -50,7 +50,7 @@
transform: scale(0.99);
}
/** 4.0.0 */
/** 4.0.1 */
/* FENETRE D'ACCUEIL */
/* Title settings */
/* Text settings */
@ -407,7 +407,6 @@
width: 50%;
border-right: 1px solid #6d6d6d;
border-left: 1px solid #6d6d6d;
font-weight: bolder;
}
#cn-wrapper .cn-nav #cn-settings-banner {
width: 100%;
@ -458,4 +457,4 @@
left: 0.5rem;
transition: all 1s;
}
}
}

26
dist/umd/main.js vendored
View file

@ -40,7 +40,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
/** 4.0.0 */
/** 4.0.1 */
var CookieNotice = /*#__PURE__*/function () {
/** Cookie expiration date as specified in the cookie itself */
@ -867,7 +867,7 @@ module.exports = __webpack_require__.p + "css/standard.css";
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
@ -881,14 +881,14 @@ module.exports = __webpack_require__.p + "css/standard.css";
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/************************************************************************/
/******/ /* webpack/runtime/define property getters */
/******/ !function() {
@ -901,7 +901,7 @@ module.exports = __webpack_require__.p + "css/standard.css";
/******/ }
/******/ };
/******/ }();
/******/
/******/
/******/ /* webpack/runtime/global */
/******/ !function() {
/******/ __webpack_require__.g = (function() {
@ -913,12 +913,12 @@ module.exports = __webpack_require__.p + "css/standard.css";
/******/ }
/******/ })();
/******/ }();
/******/
/******/
/******/ /* webpack/runtime/hasOwnProperty shorthand */
/******/ !function() {
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
/******/ }();
/******/
/******/
/******/ /* webpack/runtime/make namespace object */
/******/ !function() {
/******/ // define __esModule on exports
@ -929,7 +929,7 @@ module.exports = __webpack_require__.p + "css/standard.css";
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/ }();
/******/
/******/
/******/ /* webpack/runtime/publicPath */
/******/ !function() {
/******/ var scriptUrl;
@ -952,17 +952,17 @@ module.exports = __webpack_require__.p + "css/standard.css";
/******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
/******/ __webpack_require__.p = scriptUrl;
/******/ }();
/******/
/******/
/************************************************************************/
/******/
/******/
/******/ // startup
/******/ // Load entry module and return exports
/******/ __webpack_require__("./src/ts/index.ts");
/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined
/******/ var __webpack_exports__ = __webpack_require__("./src/scss/themes/standard.scss");
/******/
/******/
/******/ return __webpack_exports__;
/******/ })()
;
});
//# sourceMappingURL=main.js.map
//# sourceMappingURL=main.js.map

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
<?php
// * Version 4.0.0
// * Version 4.0.1
// phpcs:disable
return [
'button_customize_cookies' => 'Cookie-Einstellungen',

View file

@ -1,6 +1,6 @@
<?php
// * Version 4.0.0
// * Version 4.0.1
// phpcs:disable
return [
'button_customize_cookies' => 'Customize cookies',

View file

@ -1,6 +1,6 @@
<?php
// * Version 4.0.0
// * Version 4.0.1
// phpcs:disable
return [
'button_customize_cookies' => 'Personnaliser les cookies',

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "@ldc-web/cookie-notice",
"version": "4.0.0",
"version": "4.0.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@ldc-web/cookie-notice",
"version": "4.0.0",
"version": "4.0.1",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.22.11",

View file

@ -1,6 +1,6 @@
{
"name": "@ldc-web/cookie-notice",
"version": "4.0.0",
"version": "4.0.1",
"description": "Web cookie notice for websites usage",
"main": "./dist/umd/main.js",
"module": "./dist/esm/ts/index.js",

View file

@ -3,7 +3,7 @@
@import "./../mixins";
@import "./../reset";
/** 4.0.0 */
/** 4.0.1 */
/* FENETRE D'ACCUEIL */
$ck-bg-color: $ck-background-color;
@ -493,7 +493,6 @@ $breakpoint-mobile: 535px;
width: 50%;
border-right: 1px solid #{$ck-borders-color};
border-left: 1px solid #{$ck-borders-color};
font-weight: bolder;
}
#cn-settings-banner {

View file

@ -1,4 +1,4 @@
/** 4.0.0 */
/** 4.0.1 */
export default class CookieNotice {
browserCookieName = "cn-init";