From f5745ca259a7c2f8d9b9493c897f448d158a246a Mon Sep 17 00:00:00 2001 From: Andrei Zhaleznichenka Date: Fri, 28 Jul 2023 15:29:38 +0200 Subject: [PATCH] cell focus outline for test page --- pages/table-fragments/styles.scss | 7 +++++++ src/table/grid-navigation/use-grid-navigation.ts | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pages/table-fragments/styles.scss b/pages/table-fragments/styles.scss index dd0eebedf0..7c8598c109 100644 --- a/pages/table-fragments/styles.scss +++ b/pages/table-fragments/styles.scss @@ -57,5 +57,12 @@ padding-left: 32px; } } + + &:focus { + outline: tokens.$color-background-control-checked; + outline-style: solid; + outline-width: 2px; + outline-offset: -4px; + } } } diff --git a/src/table/grid-navigation/use-grid-navigation.ts b/src/table/grid-navigation/use-grid-navigation.ts index 559b7715cc..994fd81b89 100644 --- a/src/table/grid-navigation/use-grid-navigation.ts +++ b/src/table/grid-navigation/use-grid-navigation.ts @@ -56,7 +56,6 @@ class GridNavigationModel { public update({ pageSize }: { pageSize: number }) { this._pageSize = pageSize; - // TODO: validate state } // TODO: implement