Merge pull request #531 from NoRedInk/bump-for-confetti-v2

Bump for confetti-v2 release
This commit is contained in:
Tessa 2020-06-10 11:47:02 -07:00 committed by GitHub
commit 8c666729d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 6 deletions

View File

@ -3,7 +3,7 @@
"name": "NoRedInk/noredink-ui",
"summary": "UI Widgets we use at NRI",
"license": "BSD-3-Clause",
"version": "9.5.1",
"version": "9.6.0",
"exposed-modules": [
"Nri.Ui",
"Nri.Ui.Accordion.V1",
@ -92,4 +92,4 @@
"avh4/elm-program-test": "3.1.0 <= v < 4.0.0",
"elm-explorations/test": "1.2.0 <= v < 2.0.0"
}
}
}

View File

@ -46,9 +46,7 @@ type Confetti
{-| -}
init : Float -> Model
init center =
System
(ParticleSystem.init (Random.initialSeed 0))
center
System (ParticleSystem.init (Random.initialSeed 0)) center

View File

@ -20,7 +20,7 @@ import Nri.Ui.Confetti.V2 as Confetti
{-| -}
example : Example State Msg
example =
{ name = "Nri.Ui.Confetti.V1"
{ name = "Nri.Ui.Confetti.V2"
, categories = [ Animations ]
, state = Confetti.init 700
, update = update

View File

@ -17,6 +17,7 @@
"Nri.Ui.Colors.Extra",
"Nri.Ui.Colors.V1",
"Nri.Ui.Confetti.V1",
"Nri.Ui.Confetti.V2",
"Nri.Ui.CssVendorPrefix.V1",
"Nri.Ui.DisclosureIndicator.V2",
"Nri.Ui.Divider.V2",