From 8fc17098aa4465ed039185f048bd3ccf612c2308 Mon Sep 17 00:00:00 2001 From: Matthias Goudjil Date: Fri, 20 Sep 2024 18:18:14 +0200 Subject: [PATCH 1/4] fix: #237 - [Webpack Warning] - deprecated division scss method --- scss/_variables.scss | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scss/_variables.scss b/scss/_variables.scss index 33d079e1..fa1e4cc6 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -229,18 +229,16 @@ $enable-grid-classes: true !default; $enable-print-styles: true !default; // Spacing -$spacer: 1.875rem; - $spacers: ( 0: 0, 1: ( - $spacer / 6, + calc($spacer / 6), ), 2: ( - $spacer / 3, + calc($spacer / 3), ), 3: ( - $spacer / 2, + calc($spacer / 2), ), 4: $spacer, 5: ( @@ -248,6 +246,7 @@ $spacers: ( ), ); + // Body $body-bg: map-get($map: $cdk-common, $key: "white"); $body-color: map-get($map: $cdk-primary, $key: "primary-800"); From 82275dd10c83510eaea4f0b38ca9c590db31c602 Mon Sep 17 00:00:00 2001 From: Matthias Goudjil Date: Fri, 20 Sep 2024 18:19:16 +0200 Subject: [PATCH 2/4] fix: #237 - [Webpack Warning] - deprecated division scss method --- scss/_variables.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scss/_variables.scss b/scss/_variables.scss index fa1e4cc6..e76e4ad9 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -229,6 +229,8 @@ $enable-grid-classes: true !default; $enable-print-styles: true !default; // Spacing +$spacer: 1.875rem; + $spacers: ( 0: 0, 1: ( @@ -246,7 +248,6 @@ $spacers: ( ), ); - // Body $body-bg: map-get($map: $cdk-common, $key: "white"); $body-color: map-get($map: $cdk-primary, $key: "primary-800"); From fda7416d9669d6a33e4196d0d299fd0deb60907b Mon Sep 17 00:00:00 2001 From: Matthias Goudjil Date: Mon, 23 Sep 2024 10:52:59 +0200 Subject: [PATCH 3/4] fix: #237 - [_variable.scss] spacers var :remove useless parentheses around calc() function --- scss/_variables.scss | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/scss/_variables.scss b/scss/_variables.scss index e76e4ad9..e6409aa1 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -233,19 +233,11 @@ $spacer: 1.875rem; $spacers: ( 0: 0, - 1: ( - calc($spacer / 6), - ), - 2: ( - calc($spacer / 3), - ), - 3: ( - calc($spacer / 2), - ), + 1: calc($spacer / 6), + 2: calc($spacer / 3), + 3: calc($spacer / 2), 4: $spacer, - 5: ( - $spacer * 2, - ), + 5: calc($spacer * 2), ); // Body From 606cff415483a5e65b3de93398f941bf77e354bb Mon Sep 17 00:00:00 2001 From: Jonathan LELIEVRE Date: Mon, 30 Sep 2024 10:29:53 +0200 Subject: [PATCH 4/4] Bump version to 2.0.2 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6cc6a948..71d68dfb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prestakit", - "version": "2.0.1", + "version": "2.0.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "prestakit", - "version": "2.0.1", + "version": "2.0.2", "license": "OSL-3.0", "dependencies": { "@fontsource/ibm-plex-sans": "^5.0.20", diff --git a/package.json b/package.json index ba49c170..87f09f2c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prestakit", - "version": "2.0.1", + "version": "2.0.2", "description": "Prestashop UI Kit integration", "repository": { "type": "git",