/// Changes the source order of a flex grid column. Columns with lower numbers appear first in the layout.
/// @param {Number} $order [0] - Order number to apply.
@mixin flex-grid-order($order: 0) {
- order: $order;
+ @warn 'This mixin is being replaced by flex-order(). flex-grid-order() will be removed in Foundation 6.3.';
+ @include flex-order($order);
}
/// Horizontally or vertically aligns the columns within a flex row. Apply this mixin to a flex row.
/// @param {Keyword} $x [null] - Horizontal alignment to use. Can be `left`, `right`, `center`, `justify`, or `spaced`. Or, set it to `null` (the default) to not set horizontal alignment.
/// @param {Keyword} $y [null] - Vertical alignment to use. Can be `top`, `bottom`, `middle`, or `stretch`. Or, set it to `null` (the default) to not set vertical alignment.
@mixin flex-grid-row-align($x: null, $y: null) {
+ @warn 'This mixin is being replaced by flex-align(). flex-grid-row-align() will be removed in Foundation 6.3.';
@include flex-align($x, $y);
}
///
/// @param {Keyword} $y [null] - Vertical alignment to use. Can be `top`, `bottom`, `middle`, or `stretch`. Or, set it to `null` (the default) to not set vertical alignment.
@mixin flex-grid-column-align($y: null) {
+ @warn 'This mixin is being replaced by flex-align-self(). flex-grid-column-align() will be removed in Foundation 6.3.';
@include flex-align-self($y);
}
@for $i from 1 through 6 {
// Source ordering
.#{$-zf-size}-order-#{$i} {
- @include flex-grid-order($i);
+ @include flex-order($i);
}
}
// Remove these in 6.3
@each $vdir, $prop in $-zf-flex-align {
.column.align-#{$vdir} {
- @include flex-grid-column-align($vdir);
+ @include flex-align-self($vdir);
}
}