Remove Tables category

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

View File

@ -21,8 +21,7 @@ import Sort exposing (Sorter)
{-| -}
type Category
= Tables
| Inputs
= Inputs
| Buttons
| Icons
| Layout
@ -41,7 +40,6 @@ all =
, Icons
, Inputs
, Layout
, Tables
, Text
, Messaging
]
@ -52,9 +50,6 @@ all =
fromString : String -> Result String Category
fromString string =
case string of
"Tables" ->
Ok Tables
"Inputs" ->
Ok Inputs
@ -87,9 +82,6 @@ fromString string =
forDisplay : Category -> String
forDisplay category =
case category of
Tables ->
"Tables"
Inputs ->
"Inputs"
@ -125,9 +117,6 @@ sorter =
forId : Category -> String
forId category =
case category of
Tables ->
"tables"
Inputs ->
"inputs"

View File

@ -36,7 +36,7 @@ example : Example State Msg
example =
{ name = "SortableTable"
, version = 2
, categories = [ Tables, Layout ]
, categories = [ Layout ]
, keyboardSupport = []
, state = init
, update = update

View File

@ -35,7 +35,7 @@ example =
, state = ()
, update = \_ state -> ( state, Cmd.none )
, subscriptions = \_ -> Sub.none
, categories = [ Tables, Layout ]
, categories = [ Layout ]
, keyboardSupport = []
, preview =
[ Table.view