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

92 lines
3.0 KiB
Elm
Raw Normal View History

module Examples.UiIcon exposing (example)
{-|
@docs example, styles
-}
import Examples.IconExamples as IconExamples
import ModuleExample exposing (Category(..), ModuleExample)
import Nri.Ui.Colors.V1 as Colors
import Nri.Ui.UiIcon.V1 as UiIcon
{-| -}
example : ModuleExample msg
example =
{ name = "Nri.Ui.UiIcon.V1"
, category = Icons
, content =
[ IconExamples.view "Interface"
2019-10-11 20:56:47 +03:00
[ ( "seeMore", UiIcon.seeMore )
, ( "openClose", UiIcon.openClose )
, ( "download", UiIcon.download )
, ( "sort", UiIcon.sort )
2019-10-11 01:49:57 +03:00
, ( "gear", UiIcon.gear )
2019-10-11 21:48:12 +03:00
, ( "sortArrow", UiIcon.sortArrow )
2019-10-11 20:56:47 +03:00
]
, IconExamples.view "Actions"
[ ( "unarchive", UiIcon.unarchive )
, ( "share", UiIcon.share )
, ( "preview", UiIcon.preview )
2019-10-30 02:38:11 +03:00
, ( "activity", UiIcon.activity )
, ( "skip", UiIcon.skip )
2020-02-14 01:10:42 +03:00
, ( "copyToClipboard", UiIcon.copyToClipboard )
2020-03-03 02:41:37 +03:00
, ( "gift", UiIcon.gift )
2019-10-30 02:38:11 +03:00
]
, IconExamples.view "Guidance"
[ ( "footsteps", UiIcon.footsteps )
, ( "compass", UiIcon.compass )
, ( "speedometer", UiIcon.speedometer )
2019-10-30 04:06:53 +03:00
, ( "bulb", UiIcon.bulb )
, ( "help", UiIcon.help )
2019-10-11 21:34:34 +03:00
]
, IconExamples.view "Humans & Class"
2019-10-11 21:51:20 +03:00
[ ( "person", UiIcon.person )
, ( "class", UiIcon.class )
2019-10-11 20:56:47 +03:00
, ( "leaderboard", UiIcon.leaderboard )
, ( "performance", UiIcon.performance )
]
, IconExamples.view "Time"
2019-10-11 20:56:47 +03:00
[ ( "calendar", UiIcon.calendar )
2019-10-11 21:58:56 +03:00
, ( "clock", UiIcon.clock )
2019-10-11 20:56:47 +03:00
]
2019-10-30 02:38:11 +03:00
, IconExamples.view "Writing & Writing Utensils"
2019-10-11 20:56:47 +03:00
[ ( "document", UiIcon.document )
2019-10-11 21:48:12 +03:00
, ( "newspaper", UiIcon.newspaper )
2019-10-30 02:38:11 +03:00
, ( "edit", UiIcon.edit )
, ( "pen", UiIcon.pen )
2019-10-11 21:48:12 +03:00
]
, IconExamples.view "Arrows"
[ ( "arrowTop", UiIcon.arrowTop )
, ( "arrowRight", UiIcon.arrowRight )
, ( "arrowDown", UiIcon.arrowDown )
, ( "arrowLeft", UiIcon.arrowLeft )
2019-11-27 03:15:52 +03:00
, ( "arrowPointingRight", UiIcon.arrowPointingRight )
]
, IconExamples.view "Sticky things"
[ ( "checkmark", UiIcon.checkmark )
2019-10-11 21:48:12 +03:00
, ( "x", UiIcon.x )
, ( "attention", UiIcon.attention )
, ( "exclamation", UiIcon.exclamation )
2019-10-05 00:59:39 +03:00
]
, IconExamples.view "Notifs"
[ ( "flag", UiIcon.flag )
2019-10-24 22:17:13 +03:00
, ( "star", UiIcon.star )
2019-10-24 22:34:59 +03:00
, ( "starOutline", UiIcon.starOutline )
]
2019-10-30 02:53:10 +03:00
, IconExamples.view "Math"
[ ( "equals", UiIcon.equals )
2019-11-27 03:12:26 +03:00
, ( "plus", UiIcon.plus )
2019-10-30 02:53:10 +03:00
]
2019-10-30 04:34:06 +03:00
, IconExamples.view "Lock & Key"
[ ( "lock", UiIcon.lock )
, ( "key", UiIcon.key )
]
, IconExamples.view "Badges & Levels"
[ ( "badge", UiIcon.badge )
]
]
}