File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
components/src/Form/Inputs/Combobox Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ export const stateChart: StateChart = {
147147 [ ComboboxActionType . BLUR ] : ComboboxState . IDLE ,
148148 [ ComboboxActionType . ESCAPE ] : ComboboxState . IDLE ,
149149 [ ComboboxActionType . NAVIGATE ] : ComboboxState . NAVIGATING ,
150+ [ ComboboxActionType . SELECT_WITH_CLICK ] : ComboboxState . IDLE ,
150151 [ ComboboxActionType . SELECT_WITH_KEYBOARD ] : ComboboxState . IDLE ,
151152 [ ComboboxActionType . SELECT_SILENT ] : ComboboxState . IDLE ,
152153 [ ComboboxActionType . INTERACT ] : ComboboxState . INTERACTING ,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ const options = [
3737 { label : 'Kiwis' , value : '5' } ,
3838]
3939
40- function SelectContent ( ) {
40+ export function SelectContent ( ) {
4141 const [ value , setValue ] = React . useState ( )
4242 const [ searchTerm , setSearchTerm ] = React . useState ( '' )
4343 const handleClick = ( e : MouseEvent < HTMLButtonElement > ) => {
Original file line number Diff line number Diff line change @@ -24,13 +24,13 @@ import { GlobalStyle } from '@looker/components'
2424import { theme } from '@looker/design-tokens'
2525import { ThemeProvider } from 'styled-components'
2626
27- import { InputChipsDemo } from './Form/InputChipsDemo '
27+ import { SelectContent } from './Select/SelectDemo '
2828
2929const App : React . FC = ( ) => {
3030 return (
3131 < ThemeProvider theme = { theme } >
3232 < GlobalStyle />
33- < InputChipsDemo />
33+ < SelectContent />
3434 </ ThemeProvider >
3535 )
3636}
You can’t perform that action at this time.
0 commit comments