tessellate 0.1.6 → 0.1.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ba1e87454fa25052a84586eae168f1e62c17c48657d83cbf60db4e50c86f2020
4
- data.tar.gz: 86a24f0e948e42f680e0ad9026f6a2f8da9ddbbc35d78e85a6cf3e620bc101bd
3
+ metadata.gz: 418a7d909307aa3300b53445e02730e4f617e68882412d59d0a8823c4357c131
4
+ data.tar.gz: 782a65160b381bba43640d1b3b221ffe5b37278dda9611d3e6a7c18cb563df21
5
5
  SHA512:
6
- metadata.gz: efaef2c4e6a86d88da402569164d1e67379e40aba05822b7e4e1fbaf9f009631ea8f6f3373caf17e9e3e2bdcfb8b36cdac49fe3bcc999837b2b60f0f1b94d4a8
7
- data.tar.gz: 6030f0740912ed6d6ca588625e2d9cc04f7503251ba27d9927db024d537ca90b086cc4888e17d35fecec09741c80d3e0e79a7003dc045ebd948a9d948ddd9b10
6
+ metadata.gz: f85ae7aa1efdf48772d7363ddaca0c6264fed4cc1ad2ea7c16276488925e1c88b14954718ea7b8470f16ef47d7086a982eb1a85a006fd5c73e266928afd9a324
7
+ data.tar.gz: 2377c299ae46d9ac8d7023e8e691c51ad3846d1458e4ee5b1bc9a6f2be0be63654d587a4b845bebbe5063b142bdf49a35abf0443d0e2a40719e565ed7503b2bb
@@ -1,5 +1,10 @@
1
1
  // breakpoints.scss v1.0 | @ajlkn | MIT licensed */
2
2
 
3
+ @use "sass:string";
4
+ @use "sass:map";
5
+ @use "sass:meta";
6
+ @use "sass:list";
7
+
3
8
  // Vars.
4
9
 
5
10
  /// Breakpoints.
@@ -33,42 +38,42 @@
33
38
  // Determine operator, breakpoint.
34
39
 
35
40
  // Greater than or equal.
36
- @if (str-slice($query, 0, 2) == '>=') {
41
+ @if (string.slice($query, 0, 2) == '>=') {
37
42
 
38
43
  $op: 'gte';
39
- $breakpoint: str-slice($query, 3);
44
+ $breakpoint: string.slice($query, 3);
40
45
 
41
46
  }
42
47
 
43
48
  // Less than or equal.
44
- @else if (str-slice($query, 0, 2) == '<=') {
49
+ @else if (string.slice($query, 0, 2) == '<=') {
45
50
 
46
51
  $op: 'lte';
47
- $breakpoint: str-slice($query, 3);
52
+ $breakpoint: string.slice($query, 3);
48
53
 
49
54
  }
50
55
 
51
56
  // Greater than.
52
- @else if (str-slice($query, 0, 1) == '>') {
57
+ @else if (string.slice($query, 0, 1) == '>') {
53
58
 
54
59
  $op: 'gt';
55
- $breakpoint: str-slice($query, 2);
60
+ $breakpoint: string.slice($query, 2);
56
61
 
57
62
  }
58
63
 
59
64
  // Less than.
60
- @else if (str-slice($query, 0, 1) == '<') {
65
+ @else if (string.slice($query, 0, 1) == '<') {
61
66
 
62
67
  $op: 'lt';
63
- $breakpoint: str-slice($query, 2);
68
+ $breakpoint: string.slice($query, 2);
64
69
 
65
70
  }
66
71
 
67
72
  // Not.
68
- @else if (str-slice($query, 0, 1) == '!') {
73
+ @else if (string.slice($query, 0, 1) == '!') {
69
74
 
70
75
  $op: 'not';
71
- $breakpoint: str-slice($query, 2);
76
+ $breakpoint: string.slice($query, 2);
72
77
 
73
78
  }
74
79
 
@@ -81,15 +86,15 @@
81
86
  }
82
87
 
83
88
  // Build media.
84
- @if ($breakpoint and map-has-key($breakpoints, $breakpoint)) {
89
+ @if ($breakpoint and map.has-key($breakpoints, $breakpoint)) {
85
90
 
86
- $a: map-get($breakpoints, $breakpoint);
91
+ $a: map.get($breakpoints, $breakpoint);
87
92
 
88
93
  // Range.
89
- @if (type-of($a) == 'list') {
94
+ @if (meta.type-of($a) == 'list') {
90
95
 
91
- $x: nth($a, 1);
92
- $y: nth($a, 2);
96
+ $x: list.nth($a, 1);
97
+ $y: list.nth($a, 2);
93
98
 
94
99
  // Max only.
95
100
  @if ($x == null) {
@@ -202,7 +207,7 @@
202
207
  @else {
203
208
 
204
209
  // Missing a media type? Prefix with "screen".
205
- @if (str-slice($a, 0, 1) == '(') {
210
+ @if (string.slice($a, 0, 1) == '(') {
206
211
  $media: 'screen and ' + $a;
207
212
  }
208
213
 
@@ -1,5 +1,8 @@
1
1
  // html-grid.scss v1.0 | @ajlkn | MIT licensed */
2
2
 
3
+ @use "sass:list";
4
+ @use "sass:meta";
5
+
3
6
  // Mixins.
4
7
 
5
8
  /// Initializes the current element as an HTML grid.
@@ -15,7 +18,7 @@
15
18
  // Suffixes.
16
19
  $suffixes: null;
17
20
 
18
- @if (type-of($suffix) == 'list') {
21
+ @if (meta.type-of($suffix) == 'list') {
19
22
  $suffixes: $suffix;
20
23
  }
21
24
  @else {
@@ -26,10 +29,10 @@
26
29
  $guttersCols: null;
27
30
  $guttersRows: null;
28
31
 
29
- @if (type-of($gutters) == 'list') {
32
+ @if (meta.type-of($gutters) == 'list') {
30
33
 
31
- $guttersCols: nth($gutters, 1);
32
- $guttersRows: nth($gutters, 2);
34
+ $guttersCols: list.nth($gutters, 1);
35
+ $guttersRows: list.nth($gutters, 2);
33
36
 
34
37
  }
35
38
  @else {
@@ -1,5 +1,8 @@
1
1
  // vendor.scss v1.0 | @ajlkn | MIT licensed */
2
2
 
3
+ @use "sass:string";
4
+ @use "sass:list";
5
+
3
6
  // Vars.
4
7
 
5
8
  /// Vendor prefixes.
@@ -294,10 +297,10 @@
294
297
  /// @return {string} Updated string.
295
298
  @function str-replace($string, $search, $replace: '') {
296
299
 
297
- $index: str-index($string, $search);
300
+ $index: string.index($string, $search);
298
301
 
299
302
  @if $index {
300
- @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
303
+ @return string.slice($string, 1, $index - 1) + $replace + str-replace(string.slice($string, $index + string.length($search)), $search, $replace);
301
304
  }
302
305
 
303
306
  @return $string;
@@ -312,7 +315,7 @@
312
315
  @function str-replace-all($strings, $search, $replace: '') {
313
316
 
314
317
  @each $string in $strings {
315
- $strings: set-nth($strings, index($strings, $string), str-replace($string, $search, $replace));
318
+ $strings: list.set-nth($strings, list.index($strings, $string), str-replace($string, $search, $replace));
316
319
  }
317
320
 
318
321
  @return $strings;
@@ -338,16 +341,16 @@
338
341
  @mixin vendor($property, $value) {
339
342
 
340
343
  // Determine if property should expand.
341
- $expandProperty: index($vendor-properties, $property);
344
+ $expandProperty: list.index($vendor-properties, $property);
342
345
 
343
346
  // Determine if value should expand (and if so, add '-prefix-' placeholder).
344
347
  $expandValue: false;
345
348
 
346
349
  @each $x in $value {
347
350
  @each $y in $vendor-values {
348
- @if $y == str-slice($x, 1, str-length($y)) {
351
+ @if $y == string.slice($x, 1, string.length($y)) {
349
352
 
350
- $value: set-nth($value, index($value, $x), '-prefix-' + $x);
353
+ $value: list.set-nth($value, list.index($value, $x), '-prefix-' + $x);
351
354
  $expandValue: true;
352
355
 
353
356
  }
@@ -1,9 +1,9 @@
1
- @import 'libs/vars';
2
- @import 'libs/functions';
3
- @import 'libs/mixins';
4
- @import 'libs/vendor';
5
- @import 'libs/breakpoints';
6
- @import 'libs/html-grid';
1
+ @use 'libs/vars' as *;
2
+ @use 'libs/mixins' as *;
3
+ @use 'libs/vendor' as *;
4
+ @use 'libs/breakpoints' as *;
5
+ @use 'libs/html-grid' as *;
6
+
7
7
  @import url("fontawesome-all.min.css");
8
8
  @import url("https://fonts.googleapis.com/css?family=Roboto:100,100italic,300,300italic,400,400italic");
9
9
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  ---
3
3
 
4
- @import 'tessellate';
5
- @import 'custom';
4
+ @use 'tessellate';
5
+ @use 'custom';
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tessellate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Preston Hager
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 1980-01-01 00:00:00.000000000 Z
11
+ date: 2025-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
107
  requirements: []
108
- rubygems_version: 3.5.16
108
+ rubygems_version: 3.5.11
109
109
  signing_key:
110
110
  specification_version: 4
111
111
  summary: Tessellate Jekyll theme based on Tessellate from HTML5UP