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

View File

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

View File

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

View File

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