@linear_non/stellar-kit 3.0.3 → 3.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -310,4 +310,4 @@ export class ApplicationManager {
310
310
  if (document.readyState !== "loading") return Promise.resolve()
311
311
  return new Promise(res => document.addEventListener("DOMContentLoaded", res, { once: true }))
312
312
  }
313
- }
313
+ }
@@ -163,13 +163,13 @@ export default class PageEngine {
163
163
  delta = nextScroll - this.scroll.current
164
164
  }
165
165
 
166
- Debug.log("ENGINE", "Tick scroll:", { nextScroll })
167
166
  this.scroll.current = nextScroll
168
167
  this.scroll.direction = delta > 0 ? "down" : "up"
169
-
168
+
170
169
  this.mouse.x = mouse.x
171
170
  this.mouse.y = mouse.y
172
-
171
+
172
+ // Debug.log("ENGINE", "Tick scroll:", this.scroll)
173
173
  this.manager.tick?.({
174
174
  mouse: this.mouse,
175
175
  scroll: this.scroll,
@@ -242,4 +242,4 @@ export default class PageEngine {
242
242
  this.smooth = null
243
243
  }
244
244
  }
245
- }
245
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linear_non/stellar-kit",
3
- "version": "3.0.3",
3
+ "version": "3.0.5",
4
4
  "description": "Stellar frontend core for Non-Linear Studio projects.",
5
5
  "type": "module",
6
6
  "main": "/core/index.js",
File without changes
@@ -15,3 +15,9 @@
15
15
  @function tovh($size, $height) {
16
16
  @return math.div($size * 100, $height) + vh;
17
17
  }
18
+
19
+ @function col($col) {
20
+ $colWidth: 4;
21
+ $cols: $colWidth * $col;
22
+ @return $cols + rem;
23
+ }