noredink-ui/styleguide-app/Examples/AssignmentIcon.elm

78 lines
2.7 KiB
Elm
Raw Normal View History

2020-04-01 02:00:29 +03:00
module Examples.AssignmentIcon exposing (example, State, Msg)
{-|
2020-04-01 02:00:29 +03:00
@docs example, State, Msg
-}
import Category exposing (Category(..))
2020-03-31 23:33:05 +03:00
import Example exposing (Example)
2019-10-01 19:04:33 +03:00
import Examples.IconExamples as IconExamples
2020-06-03 14:01:53 +03:00
import Nri.Ui.AssignmentIcon.V2 as AssignmentIcon
import Nri.Ui.Icon.V5 as Icon
{-| -}
2020-04-01 02:00:29 +03:00
type alias State =
()
{-| -}
type alias Msg =
()
{-| -}
example : Example State Msg
example =
2020-06-03 14:01:53 +03:00
{ name = "Nri.Ui.AssignmentIcon.V2"
2020-03-31 23:33:05 +03:00
, categories = [ Icons ]
, state = ()
, update = \_ state -> ( state, Cmd.none )
, subscriptions = \_ -> Sub.none
, view =
\_ ->
2020-06-03 14:01:53 +03:00
[ IconExamples.view "Diagnostic"
2020-03-31 23:33:05 +03:00
[ ( "diagnostic", AssignmentIcon.diagnostic )
2020-06-03 14:01:53 +03:00
, ( "planningDiagnosticCircled", AssignmentIcon.planningDiagnosticCircled )
, ( "unitDiagnosticCircled", AssignmentIcon.unitDiagnosticCircled )
]
, IconExamples.view "Practice"
[ ( "practice", AssignmentIcon.practice )
, ( "practiceCircled", AssignmentIcon.practiceCircled )
]
, IconExamples.view "Quiz"
[ ( "quiz", AssignmentIcon.quiz )
, ( "quizCircled", AssignmentIcon.quizCircled )
, ( "passageQuizCircled", AssignmentIcon.passageQuizCircled )
2020-03-31 23:33:05 +03:00
]
, IconExamples.view "Writing"
[ ( "quickWrite", AssignmentIcon.quickWrite )
, ( "guidedDraft", AssignmentIcon.guidedDraft )
, ( "peerReview", AssignmentIcon.peerReview )
, ( "selfReview", AssignmentIcon.selfReview )
]
2020-06-03 14:45:50 +03:00
, IconExamples.view "Writing II"
[ ( "quickWriteCircled", AssignmentIcon.quickWriteCircled )
, ( "guidedDraftCircled", AssignmentIcon.guidedDraftCircled )
, ( "peerReviewCircled", AssignmentIcon.peerReviewCircled )
, ( "selfReviewCircled", AssignmentIcon.selfReviewCircled )
]
2020-03-31 23:33:05 +03:00
, IconExamples.view "Stages"
[ ( "submitting", AssignmentIcon.submitting )
, ( "rating", AssignmentIcon.rating )
, ( "revising", AssignmentIcon.revising )
]
, IconExamples.view "Start"
[ ( "startPrimary", AssignmentIcon.startPrimary )
, ( "startSecondary", AssignmentIcon.startSecondary )
]
2020-05-19 02:40:12 +03:00
, IconExamples.view "Activities"
[ ( "assessment", AssignmentIcon.assessment )
2020-05-19 00:24:28 +03:00
, ( "standards", AssignmentIcon.standards )
2020-05-19 02:28:54 +03:00
, ( "writing", AssignmentIcon.writing )
]
]
}