griffincss-utils 0.21.4 → 0.22.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.
@@ -27,11 +27,14 @@
27
27
  @include meta.load-css('borders');
28
28
  @include meta.load-css('colors');
29
29
  @include meta.load-css('effects');
30
+ @include meta.load-css('filters');
31
+ @include meta.load-css('gradients');
30
32
  @include meta.load-css('interactivity');
31
33
  @include meta.load-css('position');
32
34
  @include meta.load-css('shadows');
33
35
  @include meta.load-css('sizing');
34
36
  @include meta.load-css('spacing');
37
+ @include meta.load-css('transforms');
35
38
  @include meta.load-css('typography');
36
39
  @include meta.load-css('visibility');
37
40
  }
@@ -28,11 +28,14 @@
28
28
  @include meta.load-css('borders');
29
29
  @include meta.load-css('colors');
30
30
  @include meta.load-css('effects');
31
+ @include meta.load-css('filters');
32
+ @include meta.load-css('gradients');
31
33
  @include meta.load-css('interactivity');
32
34
  @include meta.load-css('position');
33
35
  @include meta.load-css('shadows');
34
36
  @include meta.load-css('sizing');
35
37
  @include meta.load-css('spacing');
38
+ @include meta.load-css('transforms');
36
39
  @include meta.load-css('typography');
37
40
  @include meta.load-css('visibility');
38
41
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Griffincss Utils — Runtime v0.21.4
2
+ * Griffincss Utils — Runtime v0.22.0
3
3
  * Достраивает то, чего статический CSS выразить не может.
4
4
  * Пишется руками и не компилируется — правится этот файл.
5
5
  */
@@ -23,7 +23,7 @@
23
23
  })(function () {
24
24
  'use strict';
25
25
 
26
- var VERSION = '0.21.4';
26
+ var VERSION = '0.22.0';
27
27
 
28
28
  // Таблица правил выводится из SCSS-карт скриптом scripts/sync-rule-table.mjs.
29
29
  // Правьте карты в SCSS, а не этот блок: npm run sync -- --fix перепишет его.
@@ -275,6 +275,14 @@
275
275
  // а `.gr-text-white` — цвет, и `.gr-text-[13px]` пришлось бы угадывать.
276
276
  // Угадывать рантайм не будет.
277
277
  //
278
+ // Физических односторонних свойств в таблице нет с Этапа 36: таблица
279
+ // повторяет статические классы один в один, а статические удалены.
280
+ // Привязку к строке произвольным значением дают gr-start-/gr-end- —
281
+ // логическая пара, заведённая взамен gr-left-/gr-right- тем же этапом:
282
+ // удаление без пары забрало бы возможность, а не перевело её. Верх
283
+ // и низ (mt/mb, pt/pb, top/bottom) — физические по устройству
284
+ // и остаются.
285
+ //
278
286
  // Запись единая — `свойство:{}` в каждой строке, даже там, где
279
287
  // объявление одно. Короткая форма замерена и отвергнута: gzip
280
288
  // повторение съедает сам, и выигрыш в 11 Б не стоит второй формы
@@ -282,18 +290,14 @@
282
290
  var PROPS = {
283
291
  'gr-m-': 'margin:{}',
284
292
  'gr-mt-': 'margin-top:{}',
285
- 'gr-mr-': 'margin-right:{}',
286
293
  'gr-mb-': 'margin-bottom:{}',
287
- 'gr-ml-': 'margin-left:{}',
288
294
  'gr-ms-': 'margin-inline-start:{}',
289
295
  'gr-me-': 'margin-inline-end:{}',
290
296
  'gr-mx-': 'margin-inline:{}',
291
297
  'gr-my-': 'margin-top:{};margin-bottom:{}',
292
298
  'gr-p-': '--gr-p:{};padding:var(--gr-p)',
293
299
  'gr-pt-': 'padding-top:{}',
294
- 'gr-pr-': 'padding-right:{}',
295
300
  'gr-pb-': 'padding-bottom:{}',
296
- 'gr-pl-': 'padding-left:{}',
297
301
  'gr-ps-': 'padding-inline-start:{}',
298
302
  'gr-pe-': 'padding-inline-end:{}',
299
303
  'gr-px-': 'padding-inline:{}',
@@ -307,9 +311,9 @@
307
311
  'gr-min-h-': 'min-height:{}',
308
312
  'gr-max-h-': 'max-height:{}',
309
313
  'gr-top-': 'top:{}',
310
- 'gr-right-': 'right:{}',
311
314
  'gr-bottom-': 'bottom:{}',
312
- 'gr-left-': 'left:{}',
315
+ 'gr-start-': 'inset-inline-start:{}',
316
+ 'gr-end-': 'inset-inline-end:{}',
313
317
  'gr-inset-': 'inset:{}',
314
318
  'gr-z-': 'z-index:{}'
315
319
  };