unit.gl 0.0.32 → 0.0.34

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unit.gl",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "description": "Layout Engine.",
5
5
  "keywords": [
6
6
  "unit.gl",
@@ -11,3 +11,10 @@
11
11
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
+
15
+
16
+ @forward "ratio";
17
+ @forward "arithmetic";
18
+ @forward "scale";
19
+ @forward "sequence";
20
+
@@ -155,7 +155,7 @@ $ratio: (
155
155
  @return $base * pow($ratio, $increment);
156
156
  }
157
157
 
158
- $ratio: map-get($ratio, $ratio-name);
158
+ // $ratio: map-get($ratio, $ratio-name);
159
159
 
160
160
 
161
161
  // body {
package/scss/index.scss CHANGED
@@ -30,6 +30,7 @@
30
30
  @use "sass:math";
31
31
 
32
32
  @forward "variables";
33
+ @forward "functions";
33
34
  @forward "mixins";
34
35
 
35
36
  @forward "reset";
@@ -17,12 +17,31 @@
17
17
  /// Layer Map
18
18
  /// Z-index Layers
19
19
  $layers: (
20
- 'guides': 1000,
20
+
21
+ // Guides
22
+ "guides": 9998,
23
+ "guide_baseline": 3000,
24
+ "guide_graph": 3100,
25
+
26
+ // Overlays
27
+ "modal": 7000,
28
+
29
+ // Interface
30
+ "ribbon": 5000,
31
+ "interface": 4000,
32
+ "control": 3000,
33
+
34
+ // Content
35
+ "content": 2000,
36
+
37
+ // Canvas
38
+ "canvas": -1000,
39
+ // "canvas": 5000,
21
40
 
22
41
  //
23
- "max": 9999,
24
- "mid": 0,
25
- "min": -9999,
42
+ "max": 9999,
43
+ "mid": 0,
44
+ "min": -9999,
26
45
 
27
46
  // Add more layers as needed
28
47