yesod-alerts 0.1.2.0 → 0.1.3.0
raw patch · 2 files changed
+21/−2 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
+ Yesod.Alert.Bulma: renderAlertsBulma :: [Alert] -> Markup
- Yesod.Alert: data Alert :: *
+ Yesod.Alert: data Alert
- Yesod.Alert: data AlertStatus :: *
+ Yesod.Alert: data AlertStatus
- Yesod.Alert.Foundation5: data AlertType :: *
+ Yesod.Alert.Foundation5: data AlertType
Files
- src/Yesod/Alert/Bulma.hs +18/−0
- yesod-alerts.cabal +3/−2
+ src/Yesod/Alert/Bulma.hs view
@@ -0,0 +1,18 @@+-- | Render 'Alert's using Bulma+--+-- Dependencies (These should be accessible in your app):+--+-- * Bulma's CSS+--+-- * JQuery >= 3.2.1++module Yesod.Alert.Bulma+ ( renderAlertsBulma+ ) where++import Text.Blaze+import Web.Alert+import qualified Web.Alert.Renderer.Bulma as B++renderAlertsBulma :: [Alert] -> Markup+renderAlertsBulma = preEscapedToMarkup . B.renderAlertsBulma
yesod-alerts.cabal view
@@ -1,5 +1,5 @@ name: yesod-alerts-version: 0.1.2.0+version: 0.1.3.0 synopsis: Alert messages for the Yesod framework description: Use the "alerts" package with the Yesod framework homepage: https://github.com/alx741/yesod-alerts#readme@@ -19,6 +19,7 @@ , Yesod.Alert.Bootstrap3 , Yesod.Alert.Bootstrap4 , Yesod.Alert.Foundation5+ , Yesod.Alert.Bulma build-depends: base >= 4.7 && < 5 , alerts >= 0.1.0.0 && < 0.2.0.0 , text >= 0.11 && < 2.0@@ -26,7 +27,7 @@ , yesod-core >= 1.4.32 , blaze-html , blaze-markup- ghc-options: -Wall -fwarn-tabs -O2+ ghc-options: -Wall -fwarn-tabs default-language: Haskell2010 source-repository head