chore(components): change tabindex name and value for string

This commit is contained in:
Adan Ulloa 2020-01-24 22:58:50 -06:00
commit b9d2676f87
5 changed files with 19 additions and 19 deletions

View file

@ -83,7 +83,7 @@
skeleton: false, skeleton: false,
render: SettingsAdjust20, render: SettingsAdjust20,
title: 'Settings', title: 'Settings',
tabIndex: 0, tabindex: '0',
focusable: false, focusable: false,
style: undefined style: undefined
} }
@ -222,7 +222,7 @@
skeleton: false, skeleton: false,
render: ChangeCatalog16, render: ChangeCatalog16,
title: 'Catalog', title: 'Catalog',
tabIndex: 0, tabindex: '0',
focusable: false, focusable: false,
style: undefined style: undefined
} }
@ -238,7 +238,7 @@
skeleton: false, skeleton: false,
render: ManageProtection16, render: ManageProtection16,
title: 'Protection', title: 'Protection',
tabIndex: 0, tabindex: '0',
focusable: false, focusable: false,
style: undefined style: undefined
} }
@ -254,7 +254,7 @@
skeleton: false, skeleton: false,
render: Recommend16, render: Recommend16,
title: 'Recommend', title: 'Recommend',
tabIndex: 0, tabindex: '0',
focusable: false, focusable: false,
style: undefined style: undefined
} }
@ -283,7 +283,7 @@
skeleton: false, skeleton: false,
render: Settings16, render: Settings16,
title: 'Settings', title: 'Settings',
tabIndex: 0, tabindex: '0',
focusable: false, focusable: false,
style: undefined style: undefined
} }

View file

@ -10,8 +10,8 @@
import searchStore from '../searchStore'; import searchStore from '../searchStore';
import ActionSearchResult from './ActionSearchResult.svelte'; import ActionSearchResult from './ActionSearchResult.svelte';
let searchTabIndex = 0; let searchTabIndex = '0';
let closeTabIndex = -1; let closeTabIndex = '-1';
let inputSearchField = undefined; let inputSearchField = undefined;
const dispatch = createEventDispatcher(); const dispatch = createEventDispatcher();
@ -46,11 +46,11 @@
} }
$: if (searchIsActive) { $: if (searchIsActive) {
searchTabIndex = -1; searchTabIndex = '-1';
closeTabIndex = 0; closeTabIndex = '0';
} else { } else {
searchTabIndex = 0; searchTabIndex = '0';
closeTabIndex = -1; closeTabIndex = '-1';
} }
$: showResults = $searchStore ? true : false; $: showResults = $searchStore ? true : false;

View file

@ -14,7 +14,7 @@
skeleton: false, skeleton: false,
render: Menu20, render: Menu20,
title: 'Open Menu', title: 'Open Menu',
tabIndex: 0, tabindex: '0',
focusable: false, focusable: false,
style: undefined style: undefined
} }

View file

@ -27,7 +27,7 @@
skeleton: false, skeleton: false,
render: ChevronDown16, render: ChevronDown16,
title: 'Open Menu', title: 'Open Menu',
tabIndex: 0, tabindex: '0',
focusable: false, focusable: false,
style: undefined style: undefined
}; };

View file

@ -13,7 +13,7 @@ export const leftPanelActions = {
skeleton: false, skeleton: false,
render: Search20, render: Search20,
title: 'Search', title: 'Search',
tabIndex: 0, tabindex: '0',
focusable: false, focusable: false,
style: undefined style: undefined
} }
@ -25,7 +25,7 @@ export const leftPanelActions = {
skeleton: false, skeleton: false,
render: Help20, render: Help20,
title: 'Help', title: 'Help',
tabIndex: 0, tabindex: '0',
focusable: false, focusable: false,
style: undefined style: undefined
} }
@ -37,7 +37,7 @@ export const leftPanelActions = {
skeleton: false, skeleton: false,
render: Notification20, render: Notification20,
title: 'Notifications', title: 'Notifications',
tabIndex: 0, tabindex: '0',
focusable: false, focusable: false,
style: undefined style: undefined
} }
@ -49,7 +49,7 @@ export const leftPanelActions = {
skeleton: false, skeleton: false,
render: UserAvatar20, render: UserAvatar20,
title: 'Account', title: 'Account',
tabIndex: 0, tabindex: '0',
focusable: false, focusable: false,
style: undefined style: undefined
} }
@ -61,7 +61,7 @@ export const leftPanelActions = {
skeleton: false, skeleton: false,
render: AppSwitcher20, render: AppSwitcher20,
title: 'App Switcher', title: 'App Switcher',
tabIndex: 0, tabindex: '0',
focusable: false, focusable: false,
style: undefined style: undefined
} }
@ -80,7 +80,7 @@ export const closeIcon = {
skeleton: false, skeleton: false,
render: Close20, render: Close20,
title: 'Close', title: 'Close',
tabIndex: 0, tabindex: '0',
focusable: false, focusable: false,
style: undefined style: undefined
}; };