💀 remove Widgets category

This commit is contained in:
Tessa Kelly 2021-11-11 14:54:56 -08:00
parent 7bb00f7213
commit 93fe288d39
4 changed files with 3 additions and 14 deletions

View File

@ -25,7 +25,6 @@ type Category
| Inputs | Inputs
| Buttons | Buttons
| Icons | Icons
| Widgets
| Layout | Layout
| Messaging | Messaging
| Atoms | Atoms
@ -44,7 +43,6 @@ all =
, Layout , Layout
, Tables , Tables
, Text , Text
, Widgets
, Messaging , Messaging
] ]
@ -60,9 +58,6 @@ fromString string =
"Inputs" -> "Inputs" ->
Ok Inputs Ok Inputs
"Widgets" ->
Ok Widgets
"Layout" -> "Layout" ->
Ok Layout Ok Layout
@ -98,9 +93,6 @@ forDisplay category =
Inputs -> Inputs ->
"Inputs" "Inputs"
Widgets ->
"Widgets"
Layout -> Layout ->
"Layout" "Layout"
@ -139,9 +131,6 @@ forId category =
Inputs -> Inputs ->
"inputs" "inputs"
Widgets ->
"widgets"
Layout -> Layout ->
"layout" "layout"

View File

@ -33,7 +33,7 @@ example =
, state = init , state = init
, update = update , update = update
, subscriptions = \_ -> Sub.none , subscriptions = \_ -> Sub.none
, categories = [ Widgets ] , categories = [ Layout ]
, keyboardSupport = , keyboardSupport =
[ { keys = [ Space ], result = "Opens the menu" } [ { keys = [ Space ], result = "Opens the menu" }
, { keys = [ Enter ], result = "Opens the menu" } , { keys = [ Enter ], result = "Opens the menu" }

View File

@ -68,7 +68,7 @@ example =
, positioning = options.positioning , positioning = options.positioning
} }
] ]
, categories = [ Widgets, Layout ] , categories = [ Layout, Inputs ]
, keyboardSupport = , keyboardSupport =
[ { keys = [ KeyboardSupport.Tab ] [ { keys = [ KeyboardSupport.Tab ]
, result = "Move focus to the currently-selected Control's content" , result = "Move focus to the currently-selected Control's content"

View File

@ -29,7 +29,7 @@ example : Example State Msg
example = example =
{ name = "Tooltip" { name = "Tooltip"
, version = 2 , version = 2
, categories = [ Widgets ] , categories = [ Messaging ]
, keyboardSupport = [] , keyboardSupport = []
, state = init , state = init
, update = update , update = update