diff --git a/styleguide-app/Examples.elm b/styleguide-app/Examples.elm index ab124e93..bddeb92c 100644 --- a/styleguide-app/Examples.elm +++ b/styleguide-app/Examples.elm @@ -17,7 +17,6 @@ import Examples.Fonts as Fonts import Examples.Heading as Heading import Examples.Loading as Loading import Examples.Logo as Logo -import Examples.MasteryIcon as MasteryIcon import Examples.Menu as Menu import Examples.Message as Message import Examples.Modal as Modal @@ -344,25 +343,6 @@ all = LogoState childState -> Just childState - _ -> - Nothing - ) - , MasteryIcon.example - |> Example.wrapMsg MasteryIconMsg - (\msg -> - case msg of - MasteryIconMsg childMsg -> - Just childMsg - - _ -> - Nothing - ) - |> Example.wrapState MasteryIconState - (\msg -> - case msg of - MasteryIconState childState -> - Just childState - _ -> Nothing ) @@ -785,7 +765,6 @@ type State | HeadingState Heading.State | LoadingState Loading.State | LogoState Logo.State - | MasteryIconState MasteryIcon.State | MenuState Menu.State | MessageState Message.State | ModalState Modal.State @@ -826,7 +805,6 @@ type Msg | HeadingMsg Heading.Msg | LoadingMsg Loading.Msg | LogoMsg Logo.Msg - | MasteryIconMsg MasteryIcon.Msg | MenuMsg Menu.Msg | MessageMsg Message.Msg | ModalMsg Modal.Msg diff --git a/styleguide-app/Examples/MasteryIcon.elm b/styleguide-app/Examples/MasteryIcon.elm deleted file mode 100644 index 01ec1f90..00000000 --- a/styleguide-app/Examples/MasteryIcon.elm +++ /dev/null @@ -1,47 +0,0 @@ -module Examples.MasteryIcon exposing (example, State, Msg) - -{-| - -@docs example, State, Msg - --} - -import Category exposing (Category(..)) -import Example exposing (Example) -import Examples.IconExamples as IconExamples -import KeyboardSupport exposing (Direction(..), Key(..)) -import Nri.Ui.Colors.V1 as Colors -import Nri.Ui.MasteryIcon.V1 as MasteryIcon - - -{-| -} -type alias State = - () - - -{-| -} -type alias Msg = - () - - -{-| -} -example : Example State Msg -example = - { name = "MasteryIcon" - , version = 1 - , categories = [ Icons ] - , keyboardSupport = [] - , state = () - , update = \_ state -> ( state, Cmd.none ) - , subscriptions = \_ -> Sub.none - , view = - \_ -> - [ IconExamples.view "Levels" - [ ( "levelZero", MasteryIcon.levelZero ) - , ( "levelOne", MasteryIcon.levelOne ) - , ( "levelTwo", MasteryIcon.levelTwo ) - , ( "levelThree", MasteryIcon.levelThree ) - , ( "levelFour", MasteryIcon.levelFour ) - ] - ] - }