mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-09-22 04:39:59 +03:00
Remove Tables category
This commit is contained in:
parent
93fe288d39
commit
4bce428b35
@ -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"
|
||||
|
||||
|
@ -36,7 +36,7 @@ example : Example State Msg
|
||||
example =
|
||||
{ name = "SortableTable"
|
||||
, version = 2
|
||||
, categories = [ Tables, Layout ]
|
||||
, categories = [ Layout ]
|
||||
, keyboardSupport = []
|
||||
, state = init
|
||||
, update = update
|
||||
|
@ -35,7 +35,7 @@ example =
|
||||
, state = ()
|
||||
, update = \_ state -> ( state, Cmd.none )
|
||||
, subscriptions = \_ -> Sub.none
|
||||
, categories = [ Tables, Layout ]
|
||||
, categories = [ Layout ]
|
||||
, keyboardSupport = []
|
||||
, preview =
|
||||
[ Table.view
|
||||
|
Loading…
Reference in New Issue
Block a user