From 4bce428b352e1d439ff4cd866f1241ed6f0b5116 Mon Sep 17 00:00:00 2001 From: Tessa Kelly Date: Thu, 11 Nov 2021 14:56:04 -0800 Subject: [PATCH] Remove Tables category --- styleguide-app/Category.elm | 13 +------------ styleguide-app/Examples/SortableTable.elm | 2 +- styleguide-app/Examples/Table.elm | 2 +- 3 files changed, 3 insertions(+), 14 deletions(-) diff --git a/styleguide-app/Category.elm b/styleguide-app/Category.elm index 1ad6c621..e4f97577 100644 --- a/styleguide-app/Category.elm +++ b/styleguide-app/Category.elm @@ -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" diff --git a/styleguide-app/Examples/SortableTable.elm b/styleguide-app/Examples/SortableTable.elm index 187657ba..d62638e9 100644 --- a/styleguide-app/Examples/SortableTable.elm +++ b/styleguide-app/Examples/SortableTable.elm @@ -36,7 +36,7 @@ example : Example State Msg example = { name = "SortableTable" , version = 2 - , categories = [ Tables, Layout ] + , categories = [ Layout ] , keyboardSupport = [] , state = init , update = update diff --git a/styleguide-app/Examples/Table.elm b/styleguide-app/Examples/Table.elm index 2379e553..c9e4e0bb 100644 --- a/styleguide-app/Examples/Table.elm +++ b/styleguide-app/Examples/Table.elm @@ -35,7 +35,7 @@ example = , state = () , update = \_ state -> ( state, Cmd.none ) , subscriptions = \_ -> Sub.none - , categories = [ Tables, Layout ] + , categories = [ Layout ] , keyboardSupport = [] , preview = [ Table.view