Merge pull request #825 from NoRedInk/tessa/fix-missing-to-id

Expose spriteIdToString
This commit is contained in:
Tessa 2022-01-27 14:58:33 -08:00 committed by GitHub
commit 1b24aa10e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,7 @@
"name": "NoRedInk/noredink-ui", "name": "NoRedInk/noredink-ui",
"summary": "UI Widgets we use at NRI", "summary": "UI Widgets we use at NRI",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"version": "15.5.0", "version": "15.6.0",
"exposed-modules": [ "exposed-modules": [
"Nri.Ui", "Nri.Ui",
"Nri.Ui.Accordion.V1", "Nri.Ui.Accordion.V1",

View File

@ -1,13 +1,13 @@
module Nri.Ui.Sprite.V1 exposing module Nri.Ui.Sprite.V1 exposing
( Sprite, attach ( Sprite, attach
, SpriteId, use , SpriteId, use, spriteIdToString
, bold, italic, underline, list, link, undo, redo , bold, italic, underline, list, link, undo, redo
) )
{-| {-|
@docs Sprite, attach @docs Sprite, attach
@docs SpriteId, use @docs SpriteId, use, spriteIdToString
@docs bold, italic, underline, list, link, undo, redo @docs bold, italic, underline, list, link, undo, redo
-} -}
@ -33,6 +33,7 @@ type SpriteId
= SpriteId String = SpriteId String
{-| -}
spriteIdToString : SpriteId -> String spriteIdToString : SpriteId -> String
spriteIdToString (SpriteId id_) = spriteIdToString (SpriteId id_) =
id_ id_