lucid-htmx 0.1.0.3 → 0.1.0.4
raw patch · 3 files changed
+35/−31 lines, 3 filesdep ~lucidPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: lucid
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- lucid-htmx.cabal +3/−3
- src/Lucid/HTMX.hs +28/−28
ChangeLog.md view
@@ -15,3 +15,7 @@ ## 0.1.0.3 Depend on fork of `lucid` that retains attribute order++## 0.1.0.4++Depend on `lucid-2.11.0` which keeps attributes in order. Fix docs.
lucid-htmx.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.12 name: lucid-htmx-version: 0.1.0.3+version: 0.1.0.4 license: BSD3 license-file: LICENSE copyright: (c) 2021 Wavi Labs LLC@@ -33,7 +33,7 @@ default-language: Haskell2010 build-depends: base >=4.7 && <5,- lucid >=2.10.0 && <2.11,+ lucid >=2.11.0 && <2.12, servant >=0.18.3 && <0.19, text >=1.2.4.1 && <1.3 @@ -46,7 +46,7 @@ ghc-options: -threaded -rtsopts -with-rtsopts=-N build-depends: base >=4.7 && <5,- lucid >=2.10.0 && <2.11,+ lucid >=2.11.0 && <2.12, lucid-htmx -any, servant >=0.18.3 && <0.19, text >=1.2.4.1 && <1.3
src/Lucid/HTMX.hs view
@@ -7,108 +7,108 @@ -- | <https://htmx.org/attributes/hx-boost/> hxBoost_ :: Text -> Attribute-hxBoost_ = makeAttribute "data-hx-boost"+hxBoost_ = makeAttribute "hx-boost" -- | <https://htmx.org/attributes/hx-confirm/> hxConfirm_ :: Text -> Attribute-hxConfirm_ = makeAttribute "data-hx-confirm"+hxConfirm_ = makeAttribute "hx-confirm" -- | <https://htmx.org/attributes/hx-delete/> hxDelete_ :: Text -> Attribute-hxDelete_ = makeAttribute "data-hx-delete"+hxDelete_ = makeAttribute "hx-delete" -- | <https://htmx.org/attributes/hx-disable/> hxDisable_ :: Attribute-hxDisable_ = makeAttribute "data-hx-disable" mempty+hxDisable_ = makeAttribute "hx-disable" mempty -- | <https://htmx.org/attributes/hx-encoding/> hxEncoding_ :: Text -> Attribute-hxEncoding_ = makeAttribute "data-hx-encoding"+hxEncoding_ = makeAttribute "hx-encoding" -- | <https://htmx.org/attributes/hx-ext/> hxExt_ :: Text -> Attribute-hxExt_ = makeAttribute "data-hx-ext"+hxExt_ = makeAttribute "hx-ext" -- | <https://htmx.org/attributes/hx-get/> hxGet_ :: Text -> Attribute-hxGet_ = makeAttribute "data-hx-get"+hxGet_ = makeAttribute "hx-get" -- | <https://htmx.org/attributes/hx-headers/> hxHeaders_ :: Text -> Attribute-hxHeaders_ = makeAttribute "data-hx-headers"+hxHeaders_ = makeAttribute "hx-headers" --- | <https://htmx.org/attributes/hx-history-alt/>+-- | <https://htmx.org/attributes/hx-history-elt/> hxHistoryElt_ :: Attribute-hxHistoryElt_ = makeAttribute "data-hx-history-elt" mempty+hxHistoryElt_ = makeAttribute "hx-history-elt" mempty -- | <https://htmx.org/attributes/hx-include/> hxInclude_ :: Text -> Attribute-hxInclude_ = makeAttribute "data-hx-include"+hxInclude_ = makeAttribute "hx-include" -- | <https://htmx.org/attributes/hx-indicator/> hxIndicator_ :: Text -> Attribute-hxIndicator_ = makeAttribute "data-hx-indicator"+hxIndicator_ = makeAttribute "hx-indicator" -- | <https://htmx.org/attributes/hx-params/> hxParams_ :: Text -> Attribute-hxParams_ = makeAttribute "data-hx-params"+hxParams_ = makeAttribute "hx-params" -- | <https://htmx.org/attributes/hx-patch/> hxPatch_ :: Text -> Attribute-hxPatch_ = makeAttribute "data-hx-patch"+hxPatch_ = makeAttribute "hx-patch" -- | <https://htmx.org/attributes/hx-post/> hxPost_ :: Text -> Attribute-hxPost_ = makeAttribute "data-hx-post"+hxPost_ = makeAttribute "hx-post" -- | <https://htmx.org/attributes/hx-preserve/> hxPreserve_ :: Text -> Attribute-hxPreserve_ = makeAttribute "data-hx-preserve"+hxPreserve_ = makeAttribute "hx-preserve" -- | <https://htmx.org/attributes/hx-prompt/> hxPrompt_ :: Text -> Attribute-hxPrompt_ = makeAttribute "data-hx-prompt"+hxPrompt_ = makeAttribute "hx-prompt" -- | <https://htmx.org/attributes/hx-push-url/> hxPushUrl_ :: Text -> Attribute-hxPushUrl_ = makeAttribute "data-hx-push-url"+hxPushUrl_ = makeAttribute "hx-push-url" -- | <https://htmx.org/attributes/hx-put/> hxPut_ :: Text -> Attribute-hxPut_ = makeAttribute "data-hx-put"+hxPut_ = makeAttribute "hx-put" -- | <https://htmx.org/attributes/hx-request/> hxRequest_ :: Text -> Attribute-hxRequest_ = makeAttribute "data-hx-request"+hxRequest_ = makeAttribute "hx-request" -- | <https://htmx.org/attributes/hx-select/> hxSelect_ :: Text -> Attribute-hxSelect_ = makeAttribute "data-hx-select"+hxSelect_ = makeAttribute "hx-select" -- | <https://htmx.org/attributes/hx-sse/> hxSse_ :: Text -> Attribute-hxSse_ = makeAttribute "data-hx-sse"+hxSse_ = makeAttribute "hx-sse" -- | <https://htmx.org/attributes/hx-swap-oob/> hxSwapOob_ :: Text -> Attribute-hxSwapOob_ = makeAttribute "data-hx-swap-oob"+hxSwapOob_ = makeAttribute "hx-swap-oob" -- | <https://htmx.org/attributes/hx-swap/> hxSwap_ :: Text -> Attribute-hxSwap_ = makeAttribute "data-hx-swap"+hxSwap_ = makeAttribute "hx-swap" -- | <https://htmx.org/attributes/hx-target/> hxTarget_ :: Text -> Attribute-hxTarget_ = makeAttribute "data-hx-target"+hxTarget_ = makeAttribute "hx-target" -- | <https://htmx.org/attributes/hx-trigger/> hxTrigger_ :: Text -> Attribute-hxTrigger_ = makeAttribute "data-hx-trigger"+hxTrigger_ = makeAttribute "hx-trigger" -- | <https://htmx.org/attributes/hx-vals/> hxVals_ :: Text -> Attribute-hxVals_ = makeAttribute "data-hx-vals"+hxVals_ = makeAttribute "hx-vals" -- | <https://htmx.org/attributes/hx-ws/> hxWs_ :: Text -> Attribute-hxWs_ = makeAttribute "data-hx-ws"+hxWs_ = makeAttribute "hx-ws"