yesod-form-bootstrap4 2.0.0 → 2.1.0
raw patch · 2 files changed
+12/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Yesod.Form.Bootstrap4: bfsFile :: RenderMessage site msg => msg -> FieldSettings site
Files
src/Yesod/Form/Bootstrap4.hs view
@@ -11,6 +11,7 @@ , BootstrapFormLayout(..) , BootstrapGridOptions(..) , bfs+ , bfsFile , withPlaceholder , withAutofocus , withLargeInput@@ -29,7 +30,12 @@ import Yesod.Form bfs :: RenderMessage site msg => msg -> FieldSettings site-bfs msg = FieldSettings (SomeMessage msg) Nothing Nothing Nothing [("class", "form-control")]+bfs msg+ = FieldSettings (SomeMessage msg) Nothing Nothing Nothing [("class", "form-control")]++bfsFile :: RenderMessage site msg => msg -> FieldSettings site+bfsFile msg+ = FieldSettings (SomeMessage msg) Nothing Nothing Nothing [("class", "form-control-file")] withPlaceholder :: Text -> FieldSettings site -> FieldSettings site withPlaceholder placeholder fs = fs { fsAttrs = newAttrs }
yesod-form-bootstrap4.cabal view
@@ -1,11 +1,13 @@--- This file has been generated from package.yaml by hpack version 0.28.2.+cabal-version: 1.12++-- This file has been generated from package.yaml by hpack version 0.31.0. -- -- see: https://github.com/sol/hpack ----- hash: 394ee8edcbb802cb7628af29db1bb090b6fc8682b129dd772eaa73a32e5e4ee5+-- hash: 4bbff4c394ce1a526891998f9600319c5f8354612e0160aeace56e55c1c0263e name: yesod-form-bootstrap4-version: 2.0.0+version: 2.1.0 synopsis: renderBootstrap4 category: Web homepage: https://github.com/ncaq/yesod-form-bootstrap4#readme@@ -15,7 +17,6 @@ copyright: © ncaq license: MIT build-type: Simple-cabal-version: >= 1.10 source-repository head type: git