packages feed

miso 1.5.2.0 → 1.6.0.0

raw patch · 4 files changed

+13/−3 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Miso.Html: ref_ :: MisoString -> Attribute action
+ Miso.Html.Property: ref_ :: MisoString -> Attribute action

Files

ghc-src/Miso/Html/Internal.hs view
@@ -85,7 +85,13 @@   toHtml (VText x) | T.null x = L.toHtml (" " :: MisoString)                    | otherwise = L.toHtml x   toHtml VNode{..} =-    let ele = L.makeElement (toTag vType) kids+    let+      noEnd = ["img", "input", "br", "hr", "meta"]+      tag = toTag vType+      ele =+          if tag `elem` noEnd+            then L.makeElementNoEnd tag+            else L.makeElement tag kids     in L.with ele as       where         Props xs = vProps
miso.cabal view
@@ -1,5 +1,5 @@ name:                miso-version:             1.5.2.0+version:             1.6.0.0 category:            Web, Miso, Data Structures license:             BSD3 license-file:        LICENSE
src/Miso/Event/Types.hs view
@@ -64,7 +64,7 @@   , ("keyup", False)   , ("mouseup", False)   , ("mousedown", False)-  , ("mouseenter", False)+  , ("mouseenter", True)   , ("mouseleave", False)   , ("mouseover", False)   , ("mouseout", False)
src/Miso/Html/Property.hs view
@@ -57,6 +57,7 @@    , required_    , size_    , for_+   , ref_    , form_    -- * Input Ranges    , max_@@ -223,6 +224,9 @@ -- | <https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Attribute/for> for_ ::  MisoString -> Attribute action for_               = textProp "for"+-- | <https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Attribute/ref>+ref_ ::  MisoString -> Attribute action+ref_               = textProp "ref" -- | <https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Attribute/form> form_ ::  MisoString -> Attribute action form_               = textProp "form"