From d75c5219d3ec390166c65a4bfd2d1e3c7c00d54a Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Thu, 19 Sep 2019 16:40:21 -0300 Subject: [PATCH 1/6] feat(b-table): default row select feature `selected-variant` to `active` --- src/utils/config-defaults.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/config-defaults.js b/src/utils/config-defaults.js index f0e29e2657c..89518c76f6b 100644 --- a/src/utils/config-defaults.js +++ b/src/utils/config-defaults.js @@ -152,7 +152,7 @@ export default deepFreeze({ variant: null }, BTable: { - selectedVariant: 'primary', + selectedVariant: 'active', headVariant: null, footVariant: null }, From 2cec80586b8adabda20c56030edfa348ae3187f8 Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Fri, 11 Oct 2019 17:43:02 -0300 Subject: [PATCH 2/6] Update README.md --- src/components/table/README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/table/README.md b/src/components/table/README.md index 48b5935068f..8a7dbe74655 100644 --- a/src/components/table/README.md +++ b/src/components/table/README.md @@ -1540,12 +1540,12 @@ example). The `selected-variant` can be any of the [standard (or custom) bootstrap base color variants](/docs/reference/color-variants), or the special -[table `active` variant](/docs/reference/color-variants#table-variants) which takes precedence over -any specific row or cell variants. +[table `active` variant](/docs/reference/color-variants#table-variants) (the default) which takes +precedence over any specific row or cell variants. For accessibility reasons (specifically for color blind users, or users with color contrast issues), it is highly recommended to always provide some other visual means of conveying that a row is -selected, such as shown in the example below. +selected, such as a vritual columns as shown in the example below. ```html