Skip to content

Commit 3e1dfee

Browse files
committed
Merge branch 'develop'
# Conflicts: # src/Oxpecker.Htmx/README.md # tests/Oxpecker.Tests/Oxpecker.Tests.fsproj # tests/Oxpecker.ViewEngine.Tests/Oxpecker.ViewEngine.Tests.fsproj
2 parents 28c05b7 + 697629f commit 3e1dfee

32 files changed

Lines changed: 163 additions & 182 deletions

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"fantomas": {
6-
"version": "7.0.1",
6+
"version": "7.0.2",
77
"commands": [
88
"fantomas"
99
],

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Medium posts from the creator:
6464

6565
## Comprehensive Documentation:
6666

67-
* [Oxpecker Core](https://lanayx.github.io/Oxpecker/src/Oxpecker/)
67+
* [Oxpecker](https://lanayx.github.io/Oxpecker/src/Oxpecker/)
6868
* [Oxpecker.ViewEngine](https://lanayx.github.io/Oxpecker/src/Oxpecker.ViewEngine/)
6969
* [Oxpecker.Htmx](https://lanayx.github.io/Oxpecker/src/Oxpecker.Htmx/)
7070
* [Oxpecker.OpenApi](https://lanayx.github.io/Oxpecker/src/Oxpecker.OpenApi/)
@@ -78,6 +78,11 @@ Medium posts from the creator:
7878

7979
We welcome contributions! Check out the `develop` branch to get started.
8080

81+
## Oxpecker community space
82+
83+
If you have developed a library that extends Oxpecker functionality, but it can't go into the main repo, you can submit it as a separate repository under Oxpecker-Community GitHub organization:
84+
https://github.com/Oxpecker-Community
85+
8186
## Official Packages:
8287

8388
Find Oxpecker on NuGet:

examples/Basic/Basic.fsproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Oxpecker" Version="1.3.0" />
10+
<PackageReference Include="Oxpecker" Version="1.4.0" />
1111
<PackageReference Include="Oxpecker.OpenApi" Version="1.0.0" />
12-
<PackageReference Include="Oxpecker.Htmx" Version="1.0.0" />
12+
<PackageReference Include="Oxpecker.Htmx" Version="1.0.1" />
1313
<PackageReference Include="FSharp.Control.TaskSeq" Version="0.4.0" />
1414
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.3" />
1515
</ItemGroup>

examples/CRUD/Backend/Backend.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</ItemGroup>
1818

1919
<ItemGroup>
20-
<PackageReference Include="Oxpecker" Version="1.3.0" />
20+
<PackageReference Include="Oxpecker" Version="1.4.0" />
2121
<PackageReference Include="FSharp.UMX" Version="1.1.0" />
2222
</ItemGroup>
2323

examples/ContactApp/ContactApp.fsproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
</ItemGroup>
3131

3232
<ItemGroup>
33-
<PackageReference Include="Oxpecker" Version="1.3.0" />
33+
<PackageReference Include="Oxpecker" Version="1.4.0" />
3434
<PackageReference Include="Oxpecker.ViewEngine" Version="1.1.0" />
35-
<PackageReference Include="Oxpecker.Htmx" Version="1.0.0" />
35+
<PackageReference Include="Oxpecker.Htmx" Version="1.0.1" />
3636
</ItemGroup>
3737

3838
</Project>

examples/Empty/Empty.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</ItemGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="Oxpecker" Version="1.3.0" />
15+
<PackageReference Include="Oxpecker" Version="1.4.0" />
1616
</ItemGroup>
1717

1818
</Project>

examples/MCP/Server/Server.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</ItemGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Oxpecker" Version="1.3.0" />
13+
<PackageReference Include="Oxpecker" Version="1.4.0" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

examples/WeatherApp/WeatherApp.fsproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
</ItemGroup>
2020

2121
<ItemGroup>
22-
<PackageReference Include="Oxpecker" Version="1.3.0" />
22+
<PackageReference Include="Oxpecker" Version="1.4.0" />
2323
<PackageReference Include="Oxpecker.ViewEngine" Version="1.1.0" />
24-
<PackageReference Include="Oxpecker.Htmx" Version="1.0.0" />
24+
<PackageReference Include="Oxpecker.Htmx" Version="1.0.1" />
2525
</ItemGroup>
2626

2727
</Project>

src/Oxpecker.Htmx/Attributes.fs

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,116 +6,116 @@ open Oxpecker.ViewEngine
66
[<AutoOpen>]
77
module CoreAttributes =
88
type HtmlTag with
9-
/// issues a GET to the specified URL
9+
/// Issues a GET to the specified URL
1010
member this.hxGet
1111
with set (value: string | null) = this.attr("hx-get", value) |> ignore
12-
/// issues a POST to the specified URL
12+
/// Issues a POST to the specified URL
1313
member this.hxPost
1414
with set (value: string | null) = this.attr("hx-post", value) |> ignore
15-
/// handle events with inline scripts on elements
15+
/// Handle events with inline scripts on elements
1616
member this.hxOn(event, [<StringSyntax("js")>] value) = this.attr("hx-on:" + event, value)
17-
/// push a URL into the browser location bar to create history
17+
/// Push a URL into the browser location bar to create history
1818
member this.hxPushUrl
1919
with set (value: string | null) = this.attr("hx-push-url", value) |> ignore
20-
/// select content to swap in from a response
20+
/// Select content to swap in from a response
2121
[<StringSyntax("css")>]
2222
member this.hxSelect
2323
with set (value: string | null) = this.attr("hx-select", value) |> ignore
24-
/// select content to swap in from a response, somewhere other than the target (out of band)
24+
/// Select content to swap in from a response, somewhere other than the target (out of band)
2525
[<StringSyntax("css")>]
2626
member this.hxSelectOob
2727
with set (value: string | null) = this.attr("hx-select-oob", value) |> ignore
28-
/// controls how content will swap in (outerHTML, beforeend, afterend, …)
28+
/// Controls how content will swap in (outerHTML, beforeend, afterend, …)
2929
member this.hxSwap
3030
with set (value: string | null) = this.attr("hx-swap", value) |> ignore
31-
/// mark element to swap in from a response (out of band)
31+
/// Mark element to swap in from a response (out of band)
3232
member this.hxSwapOob
3333
with set (value: string | null) = this.attr("hx-swap-oob", value) |> ignore
34-
/// specifies the target element to be swapped
34+
/// Specifies the target element to be swapped
3535
[<StringSyntax("css")>]
3636
member this.hxTarget
3737
with set (value: string | null) = this.attr("hx-target", value) |> ignore
38-
/// specifies the event that triggers the request
38+
/// Specifies the event that triggers the request
3939
member this.hxTrigger
4040
with set (value: string | null) = this.attr("hx-trigger", value) |> ignore
41-
/// add values to submit with the request (JSON format)
41+
/// Add values to submit with the request (JSON format)
4242
member this.hxVals
4343
with set (value: string | null) = this.attr("hx-vals", value) |> ignore
4444

4545

4646
[<AutoOpen>]
4747
module AdditionalAttributes =
4848
type HtmlTag with
49-
/// add progressive enhancement for links and forms
49+
/// Add progressive enhancement for links and forms
5050
member this.hxBoost
5151
with set (value: bool) = this.attr("hx-boost", (if value then "true" else "false")) |> ignore
52-
/// shows a confirm() dialog before issuing a request
52+
/// Shows a confirm() dialog before issuing a request
5353
member this.hxConfirm
5454
with set (value: string | null) = this.attr("hx-confirm", value) |> ignore
55-
/// issues a DELETE to the specified URL
55+
/// Issues a DELETE to the specified URL
5656
member this.hxDelete
5757
with set (value: string | null) = this.attr("hx-delete", value) |> ignore
58-
/// disables htmx processing for the given node and any children nodes
58+
/// Disables htmx processing for the given node and any children nodes
5959
member this.hxDisable
6060
with set (value: bool) =
6161
if value then
6262
this.attr("hx-disable", "true") |> ignore
63-
/// adds the disabled attribute to the specified elements while a request is in flight
63+
/// Adds the disabled attribute to the specified elements while a request is in flight
6464
member this.hxDisabledElt
6565
with set (value: string | null) = this.attr("hx-disabled-elt", value) |> ignore
66-
/// control and disable automatic attribute inheritance for child nodes
66+
/// Control and disable automatic attribute inheritance for child nodes
6767
member this.hxDisinherit
6868
with set (value: string | null) = this.attr("hx-disinherit", value) |> ignore
69-
/// changes the request encoding type
69+
/// Changes the request encoding type
7070
member this.hxEncoding
7171
with set (value: string | null) = this.attr("hx-encoding", value) |> ignore
72-
/// extensions to use for this element
72+
/// Extensions to use for this element
7373
member this.hxExt
7474
with set (value: string | null) = this.attr("hx-ext", value) |> ignore
75-
/// adds to the headers that will be submitted with the request
75+
/// Adds to the headers that will be submitted with the request
7676
member this.hxHeaders
7777
with set (value: string | null) = this.attr("hx-headers", value) |> ignore
78-
/// prevent sensitive data being saved to the history cache
78+
/// Prevent sensitive data being saved to the history cache
7979
member this.hxHistory
8080
with set (value: bool) = this.attr("hx-history", (if value then "true" else "false")) |> ignore
81-
/// the element to snapshot and restore during history navigation
81+
/// The element to snapshot and restore during history navigation
8282
member this.hxHistoryElt
8383
with set (value: bool) =
8484
if value then
8585
this.attr("hx-history-elt", "") |> ignore
86-
/// include additional data in requests
86+
/// Include additional data in requests
8787
member this.hxInclude
8888
with set (value: string | null) = this.attr("hx-include", value) |> ignore
89-
/// the element to put the htmx-request class on during the request
89+
/// The element to put the htmx-request class on during the request
9090
[<StringSyntax("css")>]
9191
member this.hxIndicator
9292
with set (value: string | null) = this.attr("hx-indicator", value) |> ignore
93-
/// filters the parameters that will be submitted with a request
93+
/// Filters the parameters that will be submitted with a request
9494
member this.hxParams
9595
with set (value: string | null) = this.attr("hx-params", value) |> ignore
96-
/// issues a PATCH to the specified URL
96+
/// Issues a PATCH to the specified URL
9797
member this.hxPatch
9898
with set (value: string | null) = this.attr("hx-patch", value) |> ignore
99-
/// specifies elements to keep unchanged between requests
99+
/// Specifies elements to keep unchanged between requests
100100
member this.hxPreserve
101101
with set (value: bool) =
102102
if value then
103103
this.attr("hx-preserve", "") |> ignore
104-
/// shows a prompt() before submitting a request
104+
/// Shows a prompt() before submitting a request
105105
member this.hxPrompt
106106
with set (value: string | null) = this.attr("hx-prompt", value) |> ignore
107-
/// issues a PUT to the specified URL
107+
/// Issues a PUT to the specified URL
108108
member this.hxPut
109109
with set (value: string | null) = this.attr("hx-put", value) |> ignore
110-
/// replace the URL in the browser location bar
110+
/// Replace the URL in the browser location bar
111111
member this.hxReplaceUrl
112112
with set (value: string | null) = this.attr("hx-replace-url", value) |> ignore
113-
/// configures various aspects of the request
113+
/// Configures various aspects of the request
114114
member this.hxRequest
115115
with set (value: string | null) = this.attr("hx-request", value) |> ignore
116-
/// control how requests made by different elements are synchronized
116+
/// Control how requests made by different elements are synchronized
117117
member this.hxSync
118118
with set (value: string | null) = this.attr("hx-sync", value) |> ignore
119-
/// force elements to validate themselves before a request
119+
/// Force elements to validate themselves before a request
120120
member this.hxValidate
121121
with set (value: bool) = this.attr("hx-validate", (if value then "true" else "false")) |> ignore

src/Oxpecker.Htmx/Oxpecker.Htmx.fsproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
<PackageReadmeFile>README.md</PackageReadmeFile>
2121
<IncludeSymbols>true</IncludeSymbols>
2222
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
23-
<Version>1.0.0</Version>
24-
<PackageVersion>1.0.0</PackageVersion>
25-
<PackageReleaseNotes>Major release</PackageReleaseNotes>
23+
<Version>1.0.1</Version>
24+
<PackageVersion>1.0.1</PackageVersion>
25+
<PackageReleaseNotes>Documentation update</PackageReleaseNotes>
2626
</PropertyGroup>
2727
<ItemGroup>
2828
<PackageReference Include="Oxpecker.ViewEngine" Version="1.1.0" />

0 commit comments

Comments
 (0)