@less/test-data 4.7.0 → 4.8.0

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
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "4.7.0",
6
+ "version": "4.8.0",
7
7
  "description": "Less files and CSS results",
8
8
  "author": "Alexis Sellier <self@cloudhead.net>",
9
9
  "contributors": [
@@ -226,6 +226,7 @@ html {
226
226
  c: false;
227
227
  d: true;
228
228
  e: false;
229
+ f: true;
229
230
  }
230
231
  #if {
231
232
  a: 1;
@@ -259,6 +259,7 @@ html {
259
259
  // not without parentheses (should behave the same as with parentheses)
260
260
  d: boolean(not false);
261
261
  e: boolean(not true);
262
+ f: boolean((2 > 1) = (3 > 2));
262
263
  }
263
264
 
264
265
  #if {
@@ -25,3 +25,9 @@
25
25
  height: 29%;
26
26
  color: #123456;
27
27
  }
28
+ .arity-positional {
29
+ value: 3;
30
+ }
31
+ .arity-named {
32
+ value: 4;
33
+ }
@@ -34,3 +34,18 @@
34
34
  .named-args3 {
35
35
  .mixin2(@b: 30%, @c: #123456);
36
36
  }
37
+
38
+ .arity-mixin(@a) {
39
+ value: @a;
40
+ }
41
+ .arity-mixin(@a: 1, @b) {
42
+ value: @a + @b;
43
+ }
44
+
45
+ .arity-positional {
46
+ .arity-mixin(3);
47
+ }
48
+
49
+ .arity-named {
50
+ .arity-mixin(@b: 3);
51
+ }