From f452ce8e4e7d22b0eadfc9d4a53b60b80faa37bb Mon Sep 17 00:00:00 2001 From: Geoff Kimball Date: Mon, 4 Jan 2016 15:12:36 -0800 Subject: [PATCH] Remove deprecated param docs from button-group-expand() mixin and add deprecation warning, closes #7738 --- scss/components/_button-group.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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%; -- 2.47.2