]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Remove deprecated param docs from button-group-expand() mixin and add deprecation...
authorGeoff Kimball <geoff@zurb.com>
Mon, 4 Jan 2016 23:12:36 +0000 (15:12 -0800)
committerGeoff Kimball <geoff@zurb.com>
Mon, 4 Jan 2016 23:14:17 +0000 (15:14 -0800)
scss/components/_button-group.scss

index 29f3a4eb7b4b8ee720236825203c3ace6f390e98..f89e23be63aea5ed6757fb520e1952df2a404b68 100644 (file)
@@ -43,11 +43,15 @@ $buttongroup-expand-max: 6 !default;
 }
 
 /// Creates a full-width button group, making each button equal width.
-/// @param {Keyword|Number} $count [auto] - Number of buttons inside the button group. Set to `auto` to generate CSS that will account for a variable number of buttons.
 /// @param {String} $selector [$buttongroup-child-selector] - Selector for the buttons inside a button group.
 @mixin button-group-expand(
-  $selector: $buttongroup-child-selector
+  $selector: $buttongroup-child-selector,
+  $count: null
 ) {
+  @if $count != null {
+    @warn 'button-group-expand(): the $count property is no longer needed. This parameter will be removed in Foundation 6.2.';
+  }
+
   display: table;
   table-layout: fixed;
   width: 100%;