bourbon 4.2.3 → 4.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -1
  3. data/.npmignore +2 -1
  4. data/.scss-lint.yml +142 -1
  5. data/CHANGELOG.md +47 -0
  6. data/LICENSE.md +1 -1
  7. data/README.md +21 -7
  8. data/app/assets/stylesheets/_bourbon-deprecate.scss +19 -0
  9. data/app/assets/stylesheets/_bourbon-deprecated-upcoming.scss +28 -14
  10. data/app/assets/stylesheets/_bourbon.scss +5 -2
  11. data/app/assets/stylesheets/addons/_border-color.scss +3 -0
  12. data/app/assets/stylesheets/addons/_border-style.scss +3 -0
  13. data/app/assets/stylesheets/addons/_border-width.scss +3 -0
  14. data/app/assets/stylesheets/addons/_buttons.scss +5 -0
  15. data/app/assets/stylesheets/addons/_margin.scss +3 -0
  16. data/app/assets/stylesheets/addons/_padding.scss +3 -0
  17. data/app/assets/stylesheets/addons/_position.scss +3 -0
  18. data/app/assets/stylesheets/addons/_retina-image.scss +2 -0
  19. data/app/assets/stylesheets/addons/_size.scss +5 -0
  20. data/app/assets/stylesheets/addons/_text-inputs.scss +6 -0
  21. data/app/assets/stylesheets/css3/_animation.scss +18 -0
  22. data/app/assets/stylesheets/css3/_appearance.scss +2 -0
  23. data/app/assets/stylesheets/css3/_backface-visibility.scss +2 -0
  24. data/app/assets/stylesheets/css3/_background-image.scss +4 -2
  25. data/app/assets/stylesheets/css3/_background.scss +4 -2
  26. data/app/assets/stylesheets/css3/_border-image.scss +4 -2
  27. data/app/assets/stylesheets/css3/_calc.scss +2 -0
  28. data/app/assets/stylesheets/css3/_columns.scss +21 -1
  29. data/app/assets/stylesheets/css3/_filter.scss +2 -0
  30. data/app/assets/stylesheets/css3/_flex-box.scss +40 -0
  31. data/app/assets/stylesheets/css3/_font-face.scss +5 -0
  32. data/app/assets/stylesheets/css3/_font-feature-settings.scss +2 -0
  33. data/app/assets/stylesheets/css3/_hidpi-media-query.scss +2 -0
  34. data/app/assets/stylesheets/css3/_hyphens.scss +2 -0
  35. data/app/assets/stylesheets/css3/_image-rendering.scss +1 -0
  36. data/app/assets/stylesheets/css3/_keyframes.scss +2 -0
  37. data/app/assets/stylesheets/css3/_linear-gradient.scss +2 -0
  38. data/app/assets/stylesheets/css3/_perspective.scss +4 -0
  39. data/app/assets/stylesheets/css3/_placeholder.scss +2 -0
  40. data/app/assets/stylesheets/css3/_radial-gradient.scss +3 -2
  41. data/app/assets/stylesheets/css3/_selection.scss +2 -0
  42. data/app/assets/stylesheets/css3/_text-decoration.scss +8 -0
  43. data/app/assets/stylesheets/css3/_transform.scss +6 -0
  44. data/app/assets/stylesheets/css3/_transition.scss +10 -0
  45. data/app/assets/stylesheets/css3/_user-select.scss +2 -0
  46. data/app/assets/stylesheets/functions/_assign-inputs.scss +5 -0
  47. data/app/assets/stylesheets/functions/_contains-falsy.scss +5 -0
  48. data/app/assets/stylesheets/functions/_contains.scss +5 -0
  49. data/app/assets/stylesheets/functions/_is-length.scss +5 -0
  50. data/app/assets/stylesheets/functions/_is-light.scss +5 -0
  51. data/app/assets/stylesheets/functions/_is-number.scss +5 -0
  52. data/app/assets/stylesheets/functions/_is-size.scss +10 -0
  53. data/app/assets/stylesheets/functions/_modular-scale.scss +5 -0
  54. data/app/assets/stylesheets/functions/_px-to-em.scss +11 -0
  55. data/app/assets/stylesheets/functions/_px-to-rem.scss +11 -0
  56. data/app/assets/stylesheets/functions/_strip-units.scss +5 -0
  57. data/app/assets/stylesheets/functions/_transition-property-name.scss +15 -0
  58. data/app/assets/stylesheets/functions/_unpack.scss +5 -0
  59. data/app/assets/stylesheets/helpers/_convert-units.scss +5 -0
  60. data/app/assets/stylesheets/helpers/_directional-values.scss +12 -0
  61. data/app/assets/stylesheets/helpers/_font-source-declaration.scss +10 -0
  62. data/app/assets/stylesheets/helpers/_gradient-positions-parser.scss +11 -0
  63. data/app/assets/stylesheets/helpers/_linear-angle-parser.scss +10 -0
  64. data/app/assets/stylesheets/helpers/_linear-gradient-parser.scss +12 -2
  65. data/app/assets/stylesheets/helpers/_linear-positions-parser.scss +18 -2
  66. data/app/assets/stylesheets/helpers/_linear-side-corner-parser.scss +12 -2
  67. data/app/assets/stylesheets/helpers/_radial-arg-parser.scss +5 -0
  68. data/app/assets/stylesheets/helpers/_radial-gradient-parser.scss +6 -1
  69. data/app/assets/stylesheets/helpers/_radial-positions-parser.scss +10 -0
  70. data/app/assets/stylesheets/helpers/_render-gradients.scss +5 -0
  71. data/app/assets/stylesheets/helpers/_shape-size-stripper.scss +5 -0
  72. data/app/assets/stylesheets/helpers/_str-to-num.scss +5 -0
  73. data/app/assets/stylesheets/settings/_deprecation-warnings.scss +8 -0
  74. data/bourbon.gemspec +6 -6
  75. data/bower.json +1 -1
  76. data/circle.yml +10 -0
  77. data/eyeglass-exports.js +7 -0
  78. data/index.js +7 -0
  79. data/lib/bourbon/version.rb +1 -1
  80. data/package.json +7 -2
  81. data/spec/bourbon/addons/text_inputs_spec.rb +1 -0
  82. data/spec/bourbon/functions/shade_spec.rb +2 -2
  83. data/spec/bourbon/functions/tint_spec.rb +2 -2
  84. data/spec/fixtures/functions/shade.scss +2 -2
  85. data/spec/fixtures/functions/tint.scss +2 -2
  86. metadata +34 -30
  87. data/.travis.yml +0 -7
@@ -21,5 +21,8 @@
21
21
  /// @output `border-style`
22
22
 
23
23
  @mixin border-style($vals...) {
24
+ $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
25
+ $output-bourbon-deprecation-warnings: false !global;
24
26
  @include directional-property(border, style, $vals...);
27
+ $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global;
25
28
  }
@@ -21,5 +21,8 @@
21
21
  /// @output `border-width`
22
22
 
23
23
  @mixin border-width($vals...) {
24
+ $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
25
+ $output-bourbon-deprecation-warnings: false !global;
24
26
  @include directional-property(border, width, $vals...);
27
+ $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global;
25
28
  }
@@ -53,11 +53,16 @@ $buttons-list: 'button',
53
53
  'input[type="reset"]',
54
54
  'input[type="submit"]';
55
55
 
56
+ $user-output-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
57
+ $output-bourbon-deprecation-warnings: false;
58
+
56
59
  $all-buttons: assign-inputs($buttons-list);
57
60
  $all-buttons-active: assign-inputs($buttons-list, active);
58
61
  $all-buttons-focus: assign-inputs($buttons-list, focus);
59
62
  $all-buttons-hover: assign-inputs($buttons-list, hover);
60
63
 
64
+ $output-bourbon-deprecation-warnings: $user-output-deprecation-warnings-setting;
65
+
61
66
  $all-button-inputs: $all-buttons;
62
67
  $all-button-inputs-active: $all-buttons-active;
63
68
  $all-button-inputs-focus: $all-buttons-focus;
@@ -22,5 +22,8 @@
22
22
  /// @output `margin`
23
23
 
24
24
  @mixin margin($vals...) {
25
+ $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
26
+ $output-bourbon-deprecation-warnings: false !global;
25
27
  @include directional-property(margin, false, $vals...);
28
+ $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global;
26
29
  }
@@ -22,5 +22,8 @@
22
22
  /// @output `padding`
23
23
 
24
24
  @mixin padding($vals...) {
25
+ $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
26
+ $output-bourbon-deprecation-warnings: false !global;
25
27
  @include directional-property(padding, false, $vals...);
28
+ $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global;
26
29
  }
@@ -29,6 +29,8 @@
29
29
  $position: relative;
30
30
  }
31
31
 
32
+ $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
33
+ $output-bourbon-deprecation-warnings: false !global;
32
34
  $coordinates: unpack($coordinates);
33
35
 
34
36
  $offsets: (
@@ -45,4 +47,5 @@
45
47
  #{$offset}: $value;
46
48
  }
47
49
  }
50
+ $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global;
48
51
  }
@@ -1,4 +1,6 @@
1
1
  @mixin retina-image($filename, $background-size, $extension: png, $retina-filename: null, $retina-suffix: _2x, $asset-pipeline: $asset-pipeline) {
2
+ @include _bourbon-deprecate("retina-image");
3
+
2
4
  @if $asset-pipeline {
3
5
  background-image: image-url("#{$filename}.#{$extension}");
4
6
  } @else {
@@ -37,6 +37,9 @@
37
37
  $height: nth($value, 2);
38
38
  }
39
39
 
40
+ $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
41
+ $output-bourbon-deprecation-warnings: false !global;
42
+
40
43
  @if is-size($height) {
41
44
  height: $height;
42
45
  } @else {
@@ -48,4 +51,6 @@
48
51
  } @else {
49
52
  @warn "`#{$width}` is not a valid length for the `$width` parameter in the `size` mixin.";
50
53
  }
54
+
55
+ $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global;
51
56
  }
@@ -104,9 +104,15 @@ $text-inputs-list: 'input[type="color"]',
104
104
  'input[type="time"]',
105
105
  'input[type="url"]',
106
106
  'input[type="week"]',
107
+ 'input:not([type])',
107
108
  'textarea';
108
109
 
110
+ $user-output-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
111
+ $output-bourbon-deprecation-warnings: false;
112
+
109
113
  $all-text-inputs: assign-inputs($text-inputs-list);
110
114
  $all-text-inputs-active: assign-inputs($text-inputs-list, active);
111
115
  $all-text-inputs-focus: assign-inputs($text-inputs-list, focus);
112
116
  $all-text-inputs-hover: assign-inputs($text-inputs-list, hover);
117
+
118
+ $output-bourbon-deprecation-warnings: $user-output-deprecation-warnings-setting;
@@ -2,42 +2,60 @@
2
2
  // Each of these mixins support comma separated lists of values, which allows different transitions for individual properties to be described in a single style rule. Each value in the list corresponds to the value at that same position in the other properties.
3
3
 
4
4
  @mixin animation($animations...) {
5
+ @include _bourbon-deprecate-for-prefixing("animation");
6
+
5
7
  @include prefixer(animation, $animations, webkit moz spec);
6
8
  }
7
9
 
8
10
  @mixin animation-name($names...) {
11
+ @include _bourbon-deprecate-for-prefixing("animation-name");
12
+
9
13
  @include prefixer(animation-name, $names, webkit moz spec);
10
14
  }
11
15
 
12
16
  @mixin animation-duration($times...) {
17
+ @include _bourbon-deprecate-for-prefixing("animation-duration");
18
+
13
19
  @include prefixer(animation-duration, $times, webkit moz spec);
14
20
  }
15
21
 
16
22
  @mixin animation-timing-function($motions...) {
23
+ @include _bourbon-deprecate-for-prefixing("animation-timing-function");
24
+
17
25
  // ease | linear | ease-in | ease-out | ease-in-out
18
26
  @include prefixer(animation-timing-function, $motions, webkit moz spec);
19
27
  }
20
28
 
21
29
  @mixin animation-iteration-count($values...) {
30
+ @include _bourbon-deprecate-for-prefixing("animation-iteration-count");
31
+
22
32
  // infinite | <number>
23
33
  @include prefixer(animation-iteration-count, $values, webkit moz spec);
24
34
  }
25
35
 
26
36
  @mixin animation-direction($directions...) {
37
+ @include _bourbon-deprecate-for-prefixing("animation-direction");
38
+
27
39
  // normal | alternate
28
40
  @include prefixer(animation-direction, $directions, webkit moz spec);
29
41
  }
30
42
 
31
43
  @mixin animation-play-state($states...) {
44
+ @include _bourbon-deprecate-for-prefixing("animation-play-state");
45
+
32
46
  // running | paused
33
47
  @include prefixer(animation-play-state, $states, webkit moz spec);
34
48
  }
35
49
 
36
50
  @mixin animation-delay($times...) {
51
+ @include _bourbon-deprecate-for-prefixing("animation-delay");
52
+
37
53
  @include prefixer(animation-delay, $times, webkit moz spec);
38
54
  }
39
55
 
40
56
  @mixin animation-fill-mode($modes...) {
57
+ @include _bourbon-deprecate-for-prefixing("animation-fill-mode");
58
+
41
59
  // none | forwards | backwards | both
42
60
  @include prefixer(animation-fill-mode, $modes, webkit moz spec);
43
61
  }
@@ -1,3 +1,5 @@
1
1
  @mixin appearance($value) {
2
+ @include _bourbon-deprecate-for-prefixing("appearance");
3
+
2
4
  @include prefixer(appearance, $value, webkit moz ms o spec);
3
5
  }
@@ -1,3 +1,5 @@
1
1
  @mixin backface-visibility($visibility) {
2
+ @include _bourbon-deprecate-for-prefixing("backface-visibility");
3
+
2
4
  @include prefixer(backface-visibility, $visibility, webkit spec);
3
5
  }
@@ -4,6 +4,8 @@
4
4
  //************************************************************************//
5
5
 
6
6
  @mixin background-image($images...) {
7
+ @include _bourbon-deprecate-for-prefixing("background-image");
8
+
7
9
  $webkit-images: ();
8
10
  $spec-images: ();
9
11
 
@@ -12,8 +14,8 @@
12
14
  $spec-image: ();
13
15
 
14
16
  @if (type-of($image) == string) {
15
- $url-str: str-slice($image, 0, 3);
16
- $gradient-type: str-slice($image, 0, 6);
17
+ $url-str: str-slice($image, 1, 3);
18
+ $gradient-type: str-slice($image, 1, 6);
17
19
 
18
20
  @if $url-str == "url" {
19
21
  $webkit-image: $image;
@@ -4,6 +4,8 @@
4
4
  //************************************************************************//
5
5
 
6
6
  @mixin background($backgrounds...) {
7
+ @include _bourbon-deprecate-for-prefixing("background");
8
+
7
9
  $webkit-backgrounds: ();
8
10
  $spec-backgrounds: ();
9
11
 
@@ -15,8 +17,8 @@
15
17
  @if $background-type == string or $background-type == list {
16
18
  $background-str: if($background-type == list, nth($background, 1), $background);
17
19
 
18
- $url-str: str-slice($background-str, 0, 3);
19
- $gradient-type: str-slice($background-str, 0, 6);
20
+ $url-str: str-slice($background-str, 1, 3);
21
+ $gradient-type: str-slice($background-str, 1, 6);
20
22
 
21
23
  @if $url-str == "url" {
22
24
  $webkit-background: $background;
@@ -1,4 +1,6 @@
1
1
  @mixin border-image($borders...) {
2
+ @include _bourbon-deprecate-for-prefixing("border-image");
3
+
2
4
  $webkit-borders: ();
3
5
  $spec-borders: ();
4
6
 
@@ -10,8 +12,8 @@
10
12
  @if $border-type == string or list {
11
13
  $border-str: if($border-type == list, nth($border, 1), $border);
12
14
 
13
- $url-str: str-slice($border-str, 0, 3);
14
- $gradient-type: str-slice($border-str, 0, 6);
15
+ $url-str: str-slice($border-str, 1, 3);
16
+ $gradient-type: str-slice($border-str, 1, 6);
15
17
 
16
18
  @if $url-str == "url" {
17
19
  $webkit-border: $border;
@@ -1,4 +1,6 @@
1
1
  @mixin calc($property, $value) {
2
+ @include _bourbon-deprecate-for-prefixing("calc");
3
+
2
4
  #{$property}: -webkit-calc(#{$value});
3
5
  #{$property}: calc(#{$value});
4
6
  }
@@ -1,47 +1,67 @@
1
1
  @mixin columns($arg: auto) {
2
+ @include _bourbon-deprecate-for-prefixing("columns");
3
+
2
4
  // <column-count> || <column-width>
3
5
  @include prefixer(columns, $arg, webkit moz spec);
4
6
  }
5
7
 
6
8
  @mixin column-count($int: auto) {
9
+ @include _bourbon-deprecate-for-prefixing("column-count");
10
+
7
11
  // auto || integer
8
12
  @include prefixer(column-count, $int, webkit moz spec);
9
13
  }
10
14
 
11
15
  @mixin column-gap($length: normal) {
16
+ @include _bourbon-deprecate-for-prefixing("column-gap");
17
+
12
18
  // normal || length
13
19
  @include prefixer(column-gap, $length, webkit moz spec);
14
20
  }
15
21
 
16
22
  @mixin column-fill($arg: auto) {
23
+ @include _bourbon-deprecate-for-prefixing("column-fill");
24
+
17
25
  // auto || length
18
26
  @include prefixer(column-fill, $arg, webkit moz spec);
19
27
  }
20
28
 
21
29
  @mixin column-rule($arg) {
30
+ @include _bourbon-deprecate-for-prefixing("column-rule");
31
+
22
32
  // <border-width> || <border-style> || <color>
23
33
  @include prefixer(column-rule, $arg, webkit moz spec);
24
34
  }
25
35
 
26
36
  @mixin column-rule-color($color) {
37
+ @include _bourbon-deprecate-for-prefixing("column-rule-color");
38
+
27
39
  @include prefixer(column-rule-color, $color, webkit moz spec);
28
40
  }
29
41
 
30
42
  @mixin column-rule-style($style: none) {
43
+ @include _bourbon-deprecate-for-prefixing("column-rule-style");
44
+
31
45
  // none | hidden | dashed | dotted | double | groove | inset | inset | outset | ridge | solid
32
46
  @include prefixer(column-rule-style, $style, webkit moz spec);
33
47
  }
34
48
 
35
- @mixin column-rule-width ($width: none) {
49
+ @mixin column-rule-width($width: none) {
50
+ @include _bourbon-deprecate-for-prefixing("column-rule-width");
51
+
36
52
  @include prefixer(column-rule-width, $width, webkit moz spec);
37
53
  }
38
54
 
39
55
  @mixin column-span($arg: none) {
56
+ @include _bourbon-deprecate-for-prefixing("column-span");
57
+
40
58
  // none || all
41
59
  @include prefixer(column-span, $arg, webkit moz spec);
42
60
  }
43
61
 
44
62
  @mixin column-width($length: auto) {
63
+ @include _bourbon-deprecate-for-prefixing("column-width");
64
+
45
65
  // auto || length
46
66
  @include prefixer(column-width, $length, webkit moz spec);
47
67
  }
@@ -1,4 +1,6 @@
1
1
  @mixin filter($function: none) {
2
+ @include _bourbon-deprecate-for-prefixing("filter");
3
+
2
4
  // <filter-function> [<filter-function]* | none
3
5
  @include prefixer(filter, $function, webkit spec);
4
6
  }
@@ -2,6 +2,8 @@
2
2
 
3
3
  // Custom shorthand notation for flexbox
4
4
  @mixin box($orient: inline-axis, $pack: start, $align: stretch) {
5
+ @include _bourbon-deprecate-for-prefixing("box");
6
+
5
7
  @include display-box;
6
8
  @include box-orient($orient);
7
9
  @include box-pack($pack);
@@ -9,6 +11,8 @@
9
11
  }
10
12
 
11
13
  @mixin display-box {
14
+ @include _bourbon-deprecate-for-prefixing("display-box");
15
+
12
16
  display: -webkit-box;
13
17
  display: -moz-box;
14
18
  display: -ms-flexbox; // IE 10
@@ -16,44 +20,60 @@
16
20
  }
17
21
 
18
22
  @mixin box-orient($orient: inline-axis) {
23
+ @include _bourbon-deprecate-for-prefixing("box-orient");
24
+
19
25
  // horizontal|vertical|inline-axis|block-axis|inherit
20
26
  @include prefixer(box-orient, $orient, webkit moz spec);
21
27
  }
22
28
 
23
29
  @mixin box-pack($pack: start) {
30
+ @include _bourbon-deprecate-for-prefixing("box-pack");
31
+
24
32
  // start|end|center|justify
25
33
  @include prefixer(box-pack, $pack, webkit moz spec);
26
34
  -ms-flex-pack: $pack; // IE 10
27
35
  }
28
36
 
29
37
  @mixin box-align($align: stretch) {
38
+ @include _bourbon-deprecate-for-prefixing("box-align");
39
+
30
40
  // start|end|center|baseline|stretch
31
41
  @include prefixer(box-align, $align, webkit moz spec);
32
42
  -ms-flex-align: $align; // IE 10
33
43
  }
34
44
 
35
45
  @mixin box-direction($direction: normal) {
46
+ @include _bourbon-deprecate-for-prefixing("box-direction");
47
+
36
48
  // normal|reverse|inherit
37
49
  @include prefixer(box-direction, $direction, webkit moz spec);
38
50
  -ms-flex-direction: $direction; // IE 10
39
51
  }
40
52
 
41
53
  @mixin box-lines($lines: single) {
54
+ @include _bourbon-deprecate-for-prefixing("box-lines");
55
+
42
56
  // single|multiple
43
57
  @include prefixer(box-lines, $lines, webkit moz spec);
44
58
  }
45
59
 
46
60
  @mixin box-ordinal-group($int: 1) {
61
+ @include _bourbon-deprecate-for-prefixing("box-ordinal-group");
62
+
47
63
  @include prefixer(box-ordinal-group, $int, webkit moz spec);
48
64
  -ms-flex-order: $int; // IE 10
49
65
  }
50
66
 
51
67
  @mixin box-flex($value: 0) {
68
+ @include _bourbon-deprecate-for-prefixing("box-flex");
69
+
52
70
  @include prefixer(box-flex, $value, webkit moz spec);
53
71
  -ms-flex: $value; // IE 10
54
72
  }
55
73
 
56
74
  @mixin box-flex-group($int: 1) {
75
+ @include _bourbon-deprecate-for-prefixing("box-flex-group");
76
+
57
77
  @include prefixer(box-flex-group, $int, webkit moz spec);
58
78
  }
59
79
 
@@ -64,6 +84,8 @@
64
84
  // 2011 - display (flexbox | inline-flexbox)
65
85
  // 2012 - display (flex | inline-flex)
66
86
  @mixin display($value) {
87
+ @include _bourbon-deprecate-for-prefixing("display");
88
+
67
89
  // flex | inline-flex
68
90
  @if $value == "flex" {
69
91
  // 2009
@@ -94,6 +116,7 @@
94
116
  // 2011 - flex (decimal | width decimal)
95
117
  // 2012 - flex (integer integer width)
96
118
  @mixin flex($value) {
119
+ @include _bourbon-deprecate-for-prefixing("flex");
97
120
 
98
121
  // Grab flex-grow for older browsers.
99
122
  $flex-grow: nth($value, 1);
@@ -110,6 +133,7 @@
110
133
  // 2011 - flex-direction (row | row-reverse | column | column-reverse)
111
134
  // 2012 - flex-direction (row | row-reverse | column | column-reverse)
112
135
  @mixin flex-direction($value: row) {
136
+ @include _bourbon-deprecate-for-prefixing("flex-direction");
113
137
 
114
138
  // Alt values.
115
139
  $value-2009: $value;
@@ -143,6 +167,8 @@
143
167
  // 2011 - flex-wrap (nowrap | wrap | wrap-reverse)
144
168
  // 2012 - flex-wrap (nowrap | wrap | wrap-reverse)
145
169
  @mixin flex-wrap($value: nowrap) {
170
+ @include _bourbon-deprecate-for-prefixing("flex-wrap");
171
+
146
172
  // Alt values
147
173
  $alt-value: $value;
148
174
  @if $value == nowrap {
@@ -161,6 +187,8 @@
161
187
  // 2011 - TODO: parse values into flex-direction/flex-wrap
162
188
  // 2012 - flex-flow (flex-direction || flex-wrap)
163
189
  @mixin flex-flow($value) {
190
+ @include _bourbon-deprecate-for-prefixing("flex-flow");
191
+
164
192
  @include prefixer(flex-flow, $value, webkit moz spec);
165
193
  }
166
194
 
@@ -168,6 +196,8 @@
168
196
  // 2011 - flex-order (integer)
169
197
  // 2012 - order (integer)
170
198
  @mixin order($int: 0) {
199
+ @include _bourbon-deprecate-for-prefixing("order");
200
+
171
201
  // 2009
172
202
  @include prefixer(box-ordinal-group, $int, webkit moz spec);
173
203
 
@@ -180,18 +210,24 @@
180
210
 
181
211
  // 2012 - flex-grow (number)
182
212
  @mixin flex-grow($number: 0) {
213
+ @include _bourbon-deprecate-for-prefixing("flex-grow");
214
+
183
215
  @include prefixer(flex-grow, $number, webkit moz spec);
184
216
  -ms-flex-positive: $number;
185
217
  }
186
218
 
187
219
  // 2012 - flex-shrink (number)
188
220
  @mixin flex-shrink($number: 1) {
221
+ @include _bourbon-deprecate-for-prefixing("flex-shrink");
222
+
189
223
  @include prefixer(flex-shrink, $number, webkit moz spec);
190
224
  -ms-flex-negative: $number;
191
225
  }
192
226
 
193
227
  // 2012 - flex-basis (number)
194
228
  @mixin flex-basis($width: auto) {
229
+ @include _bourbon-deprecate-for-prefixing("flex-basis");
230
+
195
231
  @include prefixer(flex-basis, $width, webkit moz spec);
196
232
  -ms-flex-preferred-size: $width;
197
233
  }
@@ -200,6 +236,7 @@
200
236
  // 2011 - flex-pack (start | end | center | justify)
201
237
  // 2012 - justify-content (flex-start | flex-end | center | space-between | space-around)
202
238
  @mixin justify-content($value: flex-start) {
239
+ @include _bourbon-deprecate-for-prefixing("justify-content");
203
240
 
204
241
  // Alt values.
205
242
  $alt-value: $value;
@@ -227,6 +264,7 @@
227
264
  // 2011 - flex-align (start | end | center | baseline | stretch)
228
265
  // 2012 - align-items (flex-start | flex-end | center | baseline | stretch)
229
266
  @mixin align-items($value: stretch) {
267
+ @include _bourbon-deprecate-for-prefixing("align-items");
230
268
 
231
269
  $alt-value: $value;
232
270
 
@@ -249,6 +287,7 @@
249
287
  // 2011 - flex-item-align (auto | start | end | center | baseline | stretch)
250
288
  // 2012 - align-self (auto | flex-start | flex-end | center | baseline | stretch)
251
289
  @mixin align-self($value: auto) {
290
+ @include _bourbon-deprecate-for-prefixing("align-self");
252
291
 
253
292
  $value-2011: $value;
254
293
  @if $value == "flex-start" {
@@ -267,6 +306,7 @@
267
306
  // 2011 - flex-line-pack (start | end | center | justify | distribute | stretch)
268
307
  // 2012 - align-content (flex-start | flex-end | center | space-between | space-around | stretch)
269
308
  @mixin align-content($value: stretch) {
309
+ @include _bourbon-deprecate-for-prefixing("align-content");
270
310
 
271
311
  $value-2011: $value;
272
312
  @if $value == "flex-start" {