From f12dd0cc8fee9eaff3d2a20ea5a8cef5e79658e0 Mon Sep 17 00:00:00 2001 From: Lars van Vianen Date: Sun, 4 Feb 2024 23:44:54 +0100 Subject: [PATCH] v0.0.34 --- VERSION | 2 +- dist/package.json | 2 +- dist/scss/functions/_index.scss | 7 +++++++ dist/scss/functions/_ratio.scss | 2 +- dist/scss/index.scss | 1 + dist/scss/variables/_layer.scss | 27 +++++++++++++++++++++++---- package.json | 2 +- src/scss/functions/_index.scss | 7 +++++++ src/scss/functions/_ratio.scss | 2 +- src/scss/index.scss | 1 + src/scss/variables/_layer.scss | 27 +++++++++++++++++++++++---- 11 files changed, 67 insertions(+), 13 deletions(-) diff --git a/VERSION b/VERSION index 2b80db2..cdd2fd6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.33 \ No newline at end of file +0.0.34 \ No newline at end of file diff --git a/dist/package.json b/dist/package.json index 25501de..b4b0753 100644 --- a/dist/package.json +++ b/dist/package.json @@ -1,6 +1,6 @@ { "name": "unit.gl", - "version": "0.0.33", + "version": "0.0.34", "description": "Layout Engine.", "keywords": [ "unit.gl", diff --git a/dist/scss/functions/_index.scss b/dist/scss/functions/_index.scss index 96efd04..37bf853 100644 --- a/dist/scss/functions/_index.scss +++ b/dist/scss/functions/_index.scss @@ -11,3 +11,10 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + + +@forward "ratio"; +@forward "arithmetic"; +@forward "scale"; +@forward "sequence"; + diff --git a/dist/scss/functions/_ratio.scss b/dist/scss/functions/_ratio.scss index 8c7f2cf..0f445ac 100644 --- a/dist/scss/functions/_ratio.scss +++ b/dist/scss/functions/_ratio.scss @@ -155,7 +155,7 @@ $ratio: ( @return $base * pow($ratio, $increment); } - $ratio: map-get($ratio, $ratio-name); +// $ratio: map-get($ratio, $ratio-name); // body { diff --git a/dist/scss/index.scss b/dist/scss/index.scss index 8f6c44c..dceb672 100644 --- a/dist/scss/index.scss +++ b/dist/scss/index.scss @@ -30,6 +30,7 @@ @use "sass:math"; @forward "variables"; +@forward "functions"; @forward "mixins"; @forward "reset"; diff --git a/dist/scss/variables/_layer.scss b/dist/scss/variables/_layer.scss index 87d7c2e..479df2c 100644 --- a/dist/scss/variables/_layer.scss +++ b/dist/scss/variables/_layer.scss @@ -17,12 +17,31 @@ /// Layer Map /// Z-index Layers $layers: ( - 'guides': 1000, + + // Guides + "guides": 9998, + "guide_baseline": 3000, + "guide_graph": 3100, + + // Overlays + "modal": 7000, + + // Interface + "ribbon": 5000, + "interface": 4000, + "control": 3000, + + // Content + "content": 2000, + + // Canvas + "canvas": -1000, + // "canvas": 5000, // - "max": 9999, - "mid": 0, - "min": -9999, + "max": 9999, + "mid": 0, + "min": -9999, // Add more layers as needed diff --git a/package.json b/package.json index 7b2015e..3e9d0dd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "unit.gl", "description": "Layout Engine.", - "version": "0.0.33", + "version": "0.0.34", "config": { "version_short": "0.0" }, diff --git a/src/scss/functions/_index.scss b/src/scss/functions/_index.scss index 96efd04..37bf853 100644 --- a/src/scss/functions/_index.scss +++ b/src/scss/functions/_index.scss @@ -11,3 +11,10 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + + +@forward "ratio"; +@forward "arithmetic"; +@forward "scale"; +@forward "sequence"; + diff --git a/src/scss/functions/_ratio.scss b/src/scss/functions/_ratio.scss index 8c7f2cf..0f445ac 100644 --- a/src/scss/functions/_ratio.scss +++ b/src/scss/functions/_ratio.scss @@ -155,7 +155,7 @@ $ratio: ( @return $base * pow($ratio, $increment); } - $ratio: map-get($ratio, $ratio-name); +// $ratio: map-get($ratio, $ratio-name); // body { diff --git a/src/scss/index.scss b/src/scss/index.scss index 8f6c44c..dceb672 100644 --- a/src/scss/index.scss +++ b/src/scss/index.scss @@ -30,6 +30,7 @@ @use "sass:math"; @forward "variables"; +@forward "functions"; @forward "mixins"; @forward "reset"; diff --git a/src/scss/variables/_layer.scss b/src/scss/variables/_layer.scss index 87d7c2e..479df2c 100644 --- a/src/scss/variables/_layer.scss +++ b/src/scss/variables/_layer.scss @@ -17,12 +17,31 @@ /// Layer Map /// Z-index Layers $layers: ( - 'guides': 1000, + + // Guides + "guides": 9998, + "guide_baseline": 3000, + "guide_graph": 3100, + + // Overlays + "modal": 7000, + + // Interface + "ribbon": 5000, + "interface": 4000, + "control": 3000, + + // Content + "content": 2000, + + // Canvas + "canvas": -1000, + // "canvas": 5000, // - "max": 9999, - "mid": 0, - "min": -9999, + "max": 9999, + "mid": 0, + "min": -9999, // Add more layers as needed