@medyll/cssfabric 0.0.14 → 0.0.15

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.
Files changed (66) hide show
  1. package/css/mystyles.css +280 -0
  2. package/css/mystyles.css.map +1 -0
  3. package/lib/styles/core/animation/animation.css +0 -215
  4. package/lib/styles/core/animation/animation.min.css +0 -1
  5. package/lib/styles/core/box/box.css +832 -832
  6. package/lib/styles/core/box/box.min.css +1 -1
  7. package/lib/styles/core/box/box.responsive.css +4165 -6430
  8. package/lib/styles/core/box/box.responsive.min.css +1 -1
  9. package/lib/styles/core/color/color.responsive.css +5 -930
  10. package/lib/styles/core/color/color.responsive.min.css +1 -1
  11. package/lib/styles/core/flex/flex.css +56 -72
  12. package/lib/styles/core/flex/flex.min.css +1 -1
  13. package/lib/styles/core/flex/flex.responsive.css +286 -508
  14. package/lib/styles/core/flex/flex.responsive.min.css +1 -1
  15. package/lib/styles/core/grid/grid.css +103 -34
  16. package/lib/styles/core/grid/grid.min.css +1 -1
  17. package/lib/styles/core/grid/grid.responsive.css +506 -213
  18. package/lib/styles/core/grid/grid.responsive.min.css +1 -1
  19. package/lib/styles/core/menu/menu.responsive.css +5 -86
  20. package/lib/styles/core/menu/menu.responsive.min.css +1 -1
  21. package/lib/styles/core/overflow/overflow.css +59 -83
  22. package/lib/styles/core/overflow/overflow.min.css +1 -1
  23. package/lib/styles/core/overflow/overflow.responsive.css +305 -486
  24. package/lib/styles/core/overflow/overflow.responsive.min.css +1 -1
  25. package/lib/styles/core/scale/scale.css +192 -192
  26. package/lib/styles/core/scale/scale.min.css +1 -1
  27. package/lib/styles/core/scale/scale.responsive.css +965 -1606
  28. package/lib/styles/core/scale/scale.responsive.min.css +1 -1
  29. package/lib/styles/core/table/table.css +71 -70
  30. package/lib/styles/core/table/table.responsive.css +5 -79
  31. package/lib/styles/core/table/table.responsive.min.css +1 -1
  32. package/lib/styles/core/text/text.responsive.css +5 -154
  33. package/lib/styles/core/text/text.responsive.min.css +1 -1
  34. package/lib/styles/core/vars.css +36 -36
  35. package/lib/styles/core/vars.min.css +1 -1
  36. package/lib/styles/core/zindex/zindex.css +42 -348
  37. package/lib/styles/core/zindex/zindex.min.css +1 -1
  38. package/lib/styles/cssfabric.css +1650 -4096
  39. package/lib/styles/cssfabric.min.css +7 -7
  40. package/lib/styles/cssfabric.responsive.css +13802 -17927
  41. package/lib/styles/cssfabric.responsive.min.css +9 -9
  42. package/package.json +1 -1
  43. package/src/_generated/export.variables.json +125 -121
  44. package/src/cssfabric/_utils.scss +1 -1
  45. package/src/cssfabric/modules/_cssfabric-config.scss +5 -6
  46. package/src/cssfabric/modules/animation/animation.scss +2 -2
  47. package/src/cssfabric/modules/box/_box-build.scss +2 -2
  48. package/src/cssfabric/modules/box/box-responsive.scss +2 -2
  49. package/src/cssfabric/modules/color/color-responsive.scss +1 -1
  50. package/src/cssfabric/modules/flex/_flex-build.scss +35 -54
  51. package/src/cssfabric/modules/flex/_flex-vars.scss +3 -6
  52. package/src/cssfabric/modules/grid/_grid-build.scss +42 -49
  53. package/src/cssfabric/modules/grid/_grid-vars.scss +6 -5
  54. package/src/cssfabric/modules/grid/grid-responsive.scss +1 -1
  55. package/src/cssfabric/modules/menu/menu-responsive.scss +1 -1
  56. package/src/cssfabric/modules/overflow/overflow-responsive.scss +1 -1
  57. package/src/cssfabric/modules/scale/_scale-build.scss +1 -1
  58. package/src/cssfabric/modules/scale/scale-responsive.scss +1 -1
  59. package/src/cssfabric/modules/table/table-responsive.scss +1 -1
  60. package/src/cssfabric/modules/text/text-responsive.scss +1 -1
  61. package/src/cssfabric/modules/theme/_theme-build.scss +2 -0
  62. package/src/cssfabric/modules/vars.scss +4 -5
  63. package/src/cssfabric/modules/zindex/_zindex-vars.scss +8 -13
  64. package/src/cssfabric/modules/zindex/zindex.scss +6 -10
  65. package/lib/styles/core/main.css +0 -2263
  66. package/src/cssfabric/modules/main.scss +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medyll/cssfabric",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "private": false,
5
5
  "main": "./lib",
6
6
  "repository": "https://github.com/medyll/cssfabric",
@@ -183,120 +183,6 @@
183
183
  }
184
184
  }
185
185
 
186
- ,
187
- "color": {
188
- "_data": {
189
- "gray-config": {
190
- "start": "#f4f4f4", "end": "#999", "steps": 8
191
- }
192
-
193
- ,
194
- "color-types-config": ["color",
195
- "bg",
196
- "bg-themed",
197
- "border-color"],
198
- "theme": {
199
- "primary": "#0288d1", "secondary": "#0288d1", "tertiary": "#0288d1", "foreground": "#282230", "background": "#f1f1f1"
200
- }
201
-
202
- ,
203
- "scheme": {
204
- "discrete": "#ccc", "success": "green", "info": "#ffdd57", "warning": "#e6b905", "alert": "#ff7300", "error": "red"
205
- }
206
-
207
- ,
208
- "palette": {
209
- "yellow": "#ffb900", "orange": "#d83b01", "red": "#d13438", "magenta": "#b4009e", "purple": "#5c2d91", "green": "#107c10", "teal": "#008272", "blue": "#0078d4", "dark": "#323232"
210
- }
211
-
212
- ,
213
- "gray": "getGraySteps(8, #f4f4f4, #999)"
214
- }
215
-
216
- ,
217
- "_metadata": {
218
- "title": "color", "title_tag": "its about colors", "description": "cssfabric color system: its about colors"
219
- }
220
-
221
- ,
222
- "_docs": {
223
- "attributes": {
224
- "color": {
225
-
226
- "tag": "color",
227
- "keys": ["scheme",
228
- "palette",
229
- "gray"],
230
- "levelsLinked": {
231
- "scheme": ["discrete", "success", "info", "warning", "alert", "error"], "palette": ["yellow", "orange", "red", "magenta", "purple", "green", "teal", "blue", "dark"], "gray": ["getGraySteps(8, #f4f4f4, #999)"]
232
- }
233
-
234
- ,
235
- "levelsDeclin": {
236
- "palette": ["_", "lighter", "light", "dark", "darker", "complement"]
237
- }
238
-
239
- ,
240
- "about": "color for text level html elements"
241
- }
242
-
243
- ,
244
- "background-color": {
245
-
246
- "tag": "bg",
247
- "keys": ["scheme",
248
- "palette",
249
- "gray"],
250
- "levelsLinked": {
251
- "scheme": ["discrete", "success", "info", "warning", "alert", "error"], "palette": ["yellow", "orange", "red", "magenta", "purple", "green", "teal", "blue", "dark"], "gray": ["getGraySteps(8, #f4f4f4, #999)"]
252
- }
253
-
254
- ,
255
- "levelsDeclin": {
256
- "palette": ["_", "lighter", "light", "dark", "darker", "complement"]
257
- }
258
-
259
- ,
260
- "about": "background colors"
261
- }
262
-
263
- ,
264
- "background-themed": {
265
-
266
- "tag": "bg-themed",
267
- "keys": ["scheme",
268
- "palette",
269
- "gray"],
270
- "levelsLinked": {
271
- "gray": ["getGraySteps(8, #f4f4f4, #999)"], "scheme": ["discrete", "success", "info", "warning", "alert", "error"], "palette": ["yellow", "orange", "red", "magenta", "purple", "green", "teal", "blue", "dark"]
272
- }
273
-
274
- ,
275
- "levelsDeclin": {
276
- "palette": ["_", "lighter", "light", "dark", "darker", "complement"]
277
- }
278
-
279
- ,
280
- "about": "same as background-color, but with added contrasted color to text"
281
- }
282
-
283
- ,
284
- "border-color": {
285
-
286
- "tag": "border-color",
287
- "keys": ["palette",
288
- "gray"],
289
- "levelsLinked": {
290
- "gray": ["getGraySteps(8, #f4f4f4, #999)"], "scheme": ["discrete", "success", "info", "warning", "alert", "error"], "palette": ["yellow", "orange", "red", "magenta", "purple", "green", "teal", "blue", "dark"]
291
- }
292
-
293
- ,
294
- "about": "border colors are slightly darker to maximize surrounding effect"
295
- }
296
- }
297
- }
298
- }
299
-
300
186
  ,
301
187
  "flex": {
302
188
  "_data": {
@@ -306,7 +192,7 @@
306
192
  "horCode": "h",
307
193
  "vertCode": "v",
308
194
  "gridFullWidth": "main",
309
- "grow-shrink-steps": 4,
195
+ "grow-shrink-steps": 2,
310
196
  "cssProps": {
311
197
  "flexWrap": {
312
198
  "wrap": "wrap", "wrap-reverse": "wrap-reverse"
@@ -354,12 +240,12 @@
354
240
  }
355
241
 
356
242
  ,
357
- "about": "a classic grid system, and hey, it gets height !"
243
+ "about": "a classic flex grid system, and hey, it gets height !"
358
244
  }
359
245
 
360
246
  ,
361
247
  "self": {
362
- "tag": "self", "keys": ["start", "end", "stretch"], "about": "grid children specific classnames"
248
+ "tag": "self", "keys": ["start", "end", "stretch"], "about": "flex children specific classnames"
363
249
  }
364
250
  }
365
251
  }
@@ -402,6 +288,10 @@
402
288
  "start": "flex-start", "end": "flex-end", "stretch": "stretch"
403
289
  }
404
290
  }
291
+
292
+ ,
293
+ "grid-max-rows": 8,
294
+ "grid-max-cols": 12
405
295
  }
406
296
 
407
297
  ,
@@ -422,7 +312,7 @@
422
312
  }
423
313
 
424
314
  ,
425
- "about": "a classic grid system, and hey, it gets height !"
315
+ "about": "a classic grid system"
426
316
  }
427
317
 
428
318
  ,
@@ -692,7 +582,7 @@
692
582
  "moduleName": "theme",
693
583
  "moduleNameShort": "theme",
694
584
  "color-default-config": {
695
- "primary": "#0288d1", "secondary": "#0288d1", "tertiary": "#0288d1", "foreground": "#282230", "background": "#f1f1f1"
585
+ "primary": "#0288d1", "secondary": "#D14B02", "tertiary": "#88D102", "foreground": "#282230", "background": "#f1f1f1"
696
586
  }
697
587
 
698
588
  ,
@@ -709,7 +599,7 @@
709
599
  "bg",
710
600
  "border"],
711
601
  "color": {
712
- "primary": "#0288d1", "primary-light": "#23b0fd", "primary-lighter": "#6ecbfe", "primary-dark": "#02679e", "primary-darker": "#01466c", "primary-complement": "#d14b02", "primary-invert": "#fd772e", "secondary": "#0288d1", "secondary-light": "#23b0fd", "secondary-lighter": "#6ecbfe", "secondary-dark": "#02679e", "secondary-darker": "#01466c", "secondary-complement": "#d14b02", "secondary-invert": "#fd772e", "tertiary": "#0288d1", "tertiary-light": "#23b0fd", "tertiary-lighter": "#6ecbfe", "tertiary-dark": "#02679e", "tertiary-darker": "#01466c", "tertiary-complement": "#d14b02", "tertiary-invert": "#fd772e"
602
+ "primary": "#0288d1", "primary-light": "#23b0fd", "primary-lighter": "#6ecbfe", "primary-dark": "#02679e", "primary-darker": "#01466c", "primary-complement": "#d14b02", "primary-invert": "#fd772e", "secondary": "#D14B02", "secondary-light": "#fd7023", "secondary-lighter": "#fea16e", "secondary-dark": "#9e3902", "secondary-darker": "#6c2701", "secondary-complement": "#0288d1", "secondary-invert": "#2eb4fd", "tertiary": "#88D102", "tertiary-light": "#b0fd23", "tertiary-lighter": "#cbfe6e", "tertiary-dark": "#679e02", "tertiary-darker": "#466c01", "tertiary-complement": "#4b02d1", "tertiary-invert": "#772efd"
713
603
  }
714
604
  }
715
605
 
@@ -738,7 +628,7 @@
738
628
  ,
739
629
  "zindex": {
740
630
  "_data": {
741
- "z_groups": ["a", "b", "c", "d", "e", "f", "g"]
631
+ "z_groups": ["a", "z"]
742
632
  }
743
633
 
744
634
  ,
@@ -751,6 +641,120 @@
751
641
  "z_groups": "_"
752
642
  }
753
643
  }
644
+
645
+ ,
646
+ "color": {
647
+ "_data": {
648
+ "gray-config": {
649
+ "start": "#f4f4f4", "end": "#999", "steps": 8
650
+ }
651
+
652
+ ,
653
+ "color-types-config": ["color",
654
+ "bg",
655
+ "bg-themed",
656
+ "border-color"],
657
+ "theme": {
658
+ "primary": "#0288d1", "secondary": "#D14B02", "tertiary": "#88D102", "foreground": "#282230", "background": "#f1f1f1"
659
+ }
660
+
661
+ ,
662
+ "scheme": {
663
+ "discrete": "#ccc", "success": "green", "info": "#ffdd57", "warning": "#e6b905", "alert": "#ff7300", "error": "red"
664
+ }
665
+
666
+ ,
667
+ "palette": {
668
+ "yellow": "#ffb900", "orange": "#d83b01", "red": "#d13438", "magenta": "#b4009e", "purple": "#5c2d91", "green": "#107c10", "teal": "#008272", "blue": "#0078d4", "dark": "#323232"
669
+ }
670
+
671
+ ,
672
+ "gray": "getGraySteps(8, #f4f4f4, #999)"
673
+ }
674
+
675
+ ,
676
+ "_metadata": {
677
+ "title": "color", "title_tag": "its about colors", "description": "cssfabric color system: its about colors"
678
+ }
679
+
680
+ ,
681
+ "_docs": {
682
+ "attributes": {
683
+ "color": {
684
+
685
+ "tag": "color",
686
+ "keys": ["scheme",
687
+ "palette",
688
+ "gray"],
689
+ "levelsLinked": {
690
+ "scheme": ["discrete", "success", "info", "warning", "alert", "error"], "palette": ["yellow", "orange", "red", "magenta", "purple", "green", "teal", "blue", "dark"], "gray": ["getGraySteps(8, #f4f4f4, #999)"]
691
+ }
692
+
693
+ ,
694
+ "levelsDeclin": {
695
+ "palette": ["_", "lighter", "light", "dark", "darker", "complement"]
696
+ }
697
+
698
+ ,
699
+ "about": "color for text level html elements"
700
+ }
701
+
702
+ ,
703
+ "background-color": {
704
+
705
+ "tag": "bg",
706
+ "keys": ["scheme",
707
+ "palette",
708
+ "gray"],
709
+ "levelsLinked": {
710
+ "scheme": ["discrete", "success", "info", "warning", "alert", "error"], "palette": ["yellow", "orange", "red", "magenta", "purple", "green", "teal", "blue", "dark"], "gray": ["getGraySteps(8, #f4f4f4, #999)"]
711
+ }
712
+
713
+ ,
714
+ "levelsDeclin": {
715
+ "palette": ["_", "lighter", "light", "dark", "darker", "complement"]
716
+ }
717
+
718
+ ,
719
+ "about": "background colors"
720
+ }
721
+
722
+ ,
723
+ "background-themed": {
724
+
725
+ "tag": "bg-themed",
726
+ "keys": ["scheme",
727
+ "palette",
728
+ "gray"],
729
+ "levelsLinked": {
730
+ "gray": ["getGraySteps(8, #f4f4f4, #999)"], "scheme": ["discrete", "success", "info", "warning", "alert", "error"], "palette": ["yellow", "orange", "red", "magenta", "purple", "green", "teal", "blue", "dark"]
731
+ }
732
+
733
+ ,
734
+ "levelsDeclin": {
735
+ "palette": ["_", "lighter", "light", "dark", "darker", "complement"]
736
+ }
737
+
738
+ ,
739
+ "about": "same as background-color, but with added contrasted color to text"
740
+ }
741
+
742
+ ,
743
+ "border-color": {
744
+
745
+ "tag": "border-color",
746
+ "keys": ["palette",
747
+ "gray"],
748
+ "levelsLinked": {
749
+ "gray": ["getGraySteps(8, #f4f4f4, #999)"], "scheme": ["discrete", "success", "info", "warning", "alert", "error"], "palette": ["yellow", "orange", "red", "magenta", "purple", "green", "teal", "blue", "dark"]
750
+ }
751
+
752
+ ,
753
+ "about": "border colors are slightly darker to maximize surrounding effect"
754
+ }
755
+ }
756
+ }
757
+ }
754
758
  }
755
759
  }
756
760
  }
@@ -26,7 +26,7 @@
26
26
  $width: if($mq_size_value==180 , $mq_min_size_value , $mq_size_value);
27
27
 
28
28
  // @debug (#{$type-width}-width: $width + rem) ;
29
- @media only screen and (#{$type-width}-width: $width + rem) {
29
+ @media only screen and (#{$type-width}-width: $width + px) {
30
30
  @content;
31
31
  }
32
32
  }
@@ -21,12 +21,11 @@ $cssfabric-config: (
21
21
  full: 100%
22
22
  ),
23
23
  media_quey_sizes: (
24
- xxxl: 180,
25
- xxl: 120,
26
- xl: 90,
27
- lg: 64,
28
- md: 48,
29
- sm: 35.7
24
+ xxl: 1300,
25
+ xl: 1200,
26
+ lg: 960,
27
+ md: 760,
28
+ sm: 0
30
29
  ),
31
30
  themes:(
32
31
  light:(
@@ -1,3 +1,3 @@
1
- @use 'animation-build' as build;
1
+ // @use 'animation-build' as build;
2
2
 
3
- @include build.buildAnimation();
3
+ // @include build.buildAnimation();
@@ -57,7 +57,7 @@ $css-shorthands: (
57
57
 
58
58
  //
59
59
  @if ($css_prop== "padding" or $css_prop== "margin") {
60
- $computed_value: var(--box-sp-#{$grid_size_value});
60
+ $computed_value: var(--box-unit-#{$grid_size_value});
61
61
  }
62
62
 
63
63
  // complex write method: 1px value
@@ -72,7 +72,7 @@ $css-shorthands: (
72
72
  $iterator: $box-sizes-config;
73
73
  @for $grid_size_value from 1 through $iterator {
74
74
  $css_size_value: ($grid_size_value * $box-unit-size-config) + $box-unit-config;
75
- --box-sp-#{$grid_size_value} : #{$css_size_value};
75
+ --box-unit-#{$grid_size_value} : #{$css_size_value};
76
76
  }
77
77
  }
78
78
 
@@ -7,11 +7,11 @@ $config: cssfabric-config.$cssfabric-config;
7
7
 
8
8
  $_media_quey_sizes: map-get($config, media_quey_sizes);
9
9
 
10
- // builder responsive
10
+ // responsive builder here
11
11
  $min_value: 0;
12
12
 
13
13
  @each $mq_size_key, $mq_size_value in $_media_quey_sizes {
14
- @include utils.responsive_encloser($mq_size_value, $min_value) {
14
+ @include utils.fabricResponsiveEncloser($mq_size_value, $min_value) {
15
15
  @include build.buildBox($mq_size_key);
16
16
  }
17
17
  $min_value: $mq_size_value;
@@ -16,7 +16,7 @@ $min_value: 0;
16
16
 
17
17
  @each $mq_size_key,
18
18
  $mq_size_value in $_media_quey_sizes {
19
- @include utils.responsive_encloser($mq_size_value,$min_value) {
19
+ @include utils.fabricResponsiveEncloser($mq_size_value,$min_value) {
20
20
  @include build.buildColor($mq_size_key);
21
21
  }
22
22
  $min_value: $mq_size_value;
@@ -21,7 +21,7 @@ $grow-shrink-steps: map-get($flex-config, grow-shrink-steps);
21
21
 
22
22
  $grid-code-sep: #{$grid-code}#{$sep};
23
23
 
24
- @mixin makeGrid($mqKey) {
24
+ @mixin makeGrid($mqKey) {
25
25
  $prefix: if($mqKey, #{$grid-code}-#{$mqKey}, #{$grid-code});
26
26
  $h_prop: #{$prefix}#{$sep}#{$grid-h};
27
27
  $v_prop: #{$prefix}#{$sep}#{$grid-v};
@@ -30,6 +30,7 @@ $grid-code-sep: #{$grid-code}#{$sep};
30
30
  display: flex;
31
31
  }
32
32
 
33
+ .#{$grid-code},
33
34
  .#{$h_prop} {
34
35
  display: flex;
35
36
  flex-direction: row;
@@ -38,39 +39,37 @@ $grid-code-sep: #{$grid-code}#{$sep};
38
39
  flex: 1 1 0;
39
40
  }
40
41
 
41
- &.align-middle, &.#{$grid-code-sep}align-middle {
42
+ &.#{$grid-code-sep}align-middle {
42
43
  align-items: center;
43
44
  }
44
45
 
45
- &.align-top, &.#{$grid-code-sep}align-top {
46
+ &.#{$grid-code-sep}align-top {
46
47
  align-items: flex-start;
47
48
  }
48
49
 
49
- &.align-left, &.#{$grid-code-sep}align-left {
50
- // justify-content: flex-start;
50
+ &.#{$grid-code-sep}align-left {
51
51
  align-items: flex-start;
52
52
  }
53
53
 
54
- &.align-right, &.#{$grid-code-sep}align-right {
54
+ &.#{$grid-code-sep}align-right {
55
55
  justify-content: flex-end;
56
- // align-items: end;
57
56
  }
58
57
 
59
- &.align-bottom, &.#{$grid-code-sep}align-bottom {
58
+ &.#{$grid-code-sep}align-bottom {
60
59
  align-items: flex-end;
61
60
  }
62
61
 
63
- &.align-center, &.#{$grid-code-sep}align-center {
62
+ &.#{$grid-code-sep}align-center {
64
63
  justify-content: center;
65
64
  }
66
65
 
67
- &.align-middle-center, &.#{$grid-code-sep}align-middle-center {
66
+ &.#{$grid-code-sep}align-middle-center {
68
67
  justify-content: center;
69
68
  align-content: center;
70
69
  align-items: center;
71
70
  }
72
71
 
73
- &.align-stretch , &.#{$grid-code-sep}align-stretch {
72
+ &.#{$grid-code-sep}align-stretch {
74
73
  color: blue;
75
74
  align-items: stretch;
76
75
  }
@@ -85,85 +84,67 @@ $grid-code-sep: #{$grid-code}#{$sep};
85
84
  max-height: 100%;
86
85
  }
87
86
 
88
- &.align-middle, &.#{$grid-code-sep}align-middle {
87
+ &.#{$grid-code-sep}align-middle {
89
88
  justify-content: center;
90
89
  }
91
90
 
92
- &.align-top, &.#{$grid-code-sep}align-top {
91
+ &.#{$grid-code-sep}align-top {
93
92
  justify-content: flex-start;
94
93
  }
95
94
 
96
- &.align-left, &.#{$grid-code-sep}align-left {
95
+ &.#{$grid-code-sep}align-left {
97
96
  align-items: flex-start;
98
97
  }
99
98
 
100
- &.align-right, &.#{$grid-code-sep}align-right {
99
+ &.#{$grid-code-sep}align-right {
101
100
  align-items: flex-end;
102
101
  }
103
102
 
104
- &.align-bottom, &.#{$grid-code-sep}align-bottom {
103
+ &.#{$grid-code-sep}align-bottom {
105
104
  justify-content: flex-end;
106
105
  }
107
106
 
108
- &.align-center, &.#{$grid-code-sep}align-center {
107
+ &.#{$grid-code-sep}align-center {
109
108
  align-items: center;
110
109
  }
111
110
 
112
- &.align-middle-center, &.#{$grid-code-sep}align-middle-center {
111
+ &.#{$grid-code-sep}align-middle-center {
113
112
  align-items: center;
114
113
  justify-content: center;
115
114
  }
116
115
 
117
- &.align-stretch, &.#{$grid-code-sep}align-stretch {
116
+ &.#{$grid-code-sep}align-stretch {
118
117
  color: red;
119
118
  align-items: stretch;
120
119
  }
121
120
  }
122
121
 
123
- .#{$h_prop},
124
- .#{$v_prop} {
125
- box-sizing: border-box;
126
-
127
- & > * {
128
- box-sizing: border-box;
129
- }
130
122
 
131
- & > *:not(.#{$grid-code-sep}#{$gridFullWidth}) {
132
- flex: 0 0 auto;
133
- }
123
+ .#{$grid-code-sep}inline {
124
+ display: inline-flex;
125
+ }
134
126
 
135
- &.#{$grid-code-sep}inline {
136
- display: inline-flex;
127
+ // wrap rules
128
+ .#{$grid-code} {
129
+ @each $fabricRule, $value in map-get($cssProps, flexWrap) {
130
+ @include utils.fabricAttributes('&'+$sep, $fabricRule, 'flex-wrap', $value);
137
131
  }
132
+ }
138
133
 
139
- @for $i from 1 through $grow-shrink-steps {
140
- & .#{$grid-code-sep}grow#{$sep}#{$i} {
141
- flex-grow: $i;
142
- }
143
-
144
- & .#{$grid-code-sep}shrink#{$sep}#{$i} {
145
- flex-shrink: $i;
146
- }
134
+ // align-self rules for children */
135
+ .self {
136
+ @each $fabricRule, $value in map-get($cssItemsProps, self) {
137
+ @include utils.fabricAttributes('&-', $fabricRule, 'align-self', $value);
147
138
  }
148
139
  }
149
-
150
- /** raw css properties distribution */
151
- .#{$h_prop},
152
- .#{$v_prop} {
153
- // wrap rules
154
- &.#{$grid-code} {
155
- @each $fabricRule, $value in map-get($cssProps, flexWrap) {
156
- @include utils.fabricAttributes('&'+$sep, $fabricRule, 'flex-wrap', $value);
157
- }
140
+ @for $i from 0 through $grow-shrink-steps {
141
+ .#{$grid-code-sep}grow#{$sep}#{$i} {
142
+ flex-grow: #{$i};
158
143
  }
159
144
 
160
- // align-self rules for children */
161
- & .self {
162
- @each $fabricRule, $value in map-get($cssItemsProps, self) {
163
- @include utils.fabricAttributes('&-', $fabricRule, 'align-self', $value);
164
- }
145
+ .#{$grid-code-sep}shrink#{$sep}#{$i} {
146
+ flex-shrink: $i;
165
147
  }
166
148
  }
167
149
 
168
-
169
150
  }
@@ -1,7 +1,7 @@
1
1
  @use '../../utils';
2
2
 
3
3
 
4
- $_grow-shrink-steps: 4;
4
+ $_grow-shrink-steps: 2;
5
5
 
6
6
 
7
7
  $_grid-align: (top middle bottom left right center middle-center stretch);
@@ -72,16 +72,13 @@ $flex-docs: (// add align-middle non generated className // grow + shrink
72
72
  classNames: (
73
73
  align: $_grid-align,
74
74
  grid:utils.getObjectKeys(map-get($_cssProps, flexWrap)), // add inline !
75
- //items: utils.getObjectKeys(map-get($_cssProps, grid-items)),
76
- //content:utils.getObjectKeys(map-get($_cssProps, grid-content)),
77
- //justify:utils.getObjectKeys(map-get($_cssProps, grid-justify))
78
75
  ),
79
- about: "a classic grid system, and hey, it gets height !"
76
+ about: "a classic flex grid system, and hey, it gets height !"
80
77
  ),
81
78
  self:(
82
79
  tag: self,
83
80
  keys: utils.getObjectKeys(map-get($_cssItemsProps, self)),
84
- about: "grid children specific classnames"
81
+ about: "flex children specific classnames"
85
82
  )
86
83
  )
87
84
  );