// This file is a part of Grid - Copyright (c) 2017 Vladimír Macháček
// For the full copyright and license information, please view the file license.md
// that was distributed with this source code.

@mixin orderComponent

	$orderCounter: $orderMin
	@while $orderCounter <= $orderMax
		.#{$breakpointPrefix}order-#{$orderCounter}
			@if $isFirstBreakpointPrefix
				@extend .order-#{$orderCounter}

			@else
				@include extendFlexbox
				@extend .#{$breakpointPrefix}order-#{$orderCounter}

		$orderCounter: $orderCounter + $orderIncreasedBy
