From: Geoff Kimball Date: Mon, 4 Jan 2016 23:12:36 +0000 (-0800) Subject: Remove deprecated param docs from button-group-expand() mixin and add deprecation... X-Git-Tag: v6.1.2~102^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f452ce8e4e7d22b0eadfc9d4a53b60b80faa37bb;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Remove deprecated param docs from button-group-expand() mixin and add deprecation warning, closes #7738 --- diff --git a/scss/components/_button-group.scss b/scss/components/_button-group.scss index 29f3a4eb7..f89e23be6 100644 --- a/scss/components/_button-group.scss +++ b/scss/components/_button-group.scss @@ -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%;