1
1
mirror of https://github.com/NoRedInk/noredink-ui.git synced 2024-12-25 06:33:09 +03:00

Merge pull request 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
elm.json
src/Nri/Ui/Confetti
styleguide-app/Examples
tests

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",

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",