3233 Commits

Author SHA1 Message Date
Alexander Petros
69857dfdbb
Add /essays/all (#3085)
I set up zola to aggregate all these and create an RSS feed for them. I
also removed a couple of the essays from the /essays page in an attempt
to highlight the best one for each argument (now that they can all be
found on /essays/all).
2024-12-18 19:39:25 -07:00
Carson Gross
db71a58af0 Merge remote-tracking branch 'origin/master' 2024-12-18 18:02:04 -07:00
Carson Gross
a76b68d722 update lore 2024-12-18 18:01:54 -07:00
Matt544
1814f99023
Add reference to hx-preserve to the example at "Preserving File Inputs after Form Errors" (#2474)
* Add reference to hx-preserve to file-upload-input.md

* Address review feedback: add more description behaviour when using .
2024-12-18 21:09:45 +01:00
Carson Gross
7cd560571d update lore 2024-12-18 12:49:35 -07:00
Carson Gross
68cff62b56 firefox fix 2024-12-18 12:45:40 -07:00
Carson Gross
1625f92eaf lore update 2024-12-17 20:43:08 -07:00
Carson Gross
bd67c53dd6 lore update 2024-12-17 20:42:24 -07:00
Carson Gross
b6467ae035 gotta be responsive, c'mon 2024-12-17 20:19:52 -07:00
Carson Gross
876beb67b4 lore update 2024-12-17 20:17:01 -07:00
Carson Gross
35b2ef31a0 lore update 2024-12-17 19:53:36 -07:00
Carson Gross
5744603751 hold my beer 2024-12-17 19:45:52 -07:00
Carson Gross
c2579039f2 update lore.md 2024-12-17 18:30:37 -07:00
Carson Gross
240ceb6cb7 update lore.md 2024-12-17 18:17:31 -07:00
Carson Gross
e362655f20 update lore.md 2024-12-17 18:02:09 -07:00
Carson Gross
790bbf8aaf update lore.md 2024-12-17 17:53:54 -07:00
Carson Gross
22086c534b update lore.md 2024-12-17 17:53:32 -07:00
Carson Gross
646bb02662 update lore.md 2024-12-17 17:48:46 -07:00
Carson Gross
d0922265d5 update lore.md 2024-12-17 17:48:09 -07:00
Carson Gross
03f606a2c0 update lore.md 2024-12-17 17:45:36 -07:00
Carson Gross
616c0c4e87 update lore.md 2024-12-17 17:39:53 -07:00
Carson Gross
6efba5e5ef update lore.md 2024-12-17 17:35:22 -07:00
Carson Gross
87e3dc53bc add lore.md 2024-12-17 17:20:51 -07:00
Carson Gross
a399672a4a Merge remote-tracking branch 'origin/master' 2024-12-17 17:10:42 -07:00
Carson Gross
333a37349b add lore.md 2024-12-17 17:10:32 -07:00
MikeMoolenaar
eff9a0ba25
Improve active-search example by not using chrome-only event "search" (#2229)
* Improve active-search documenation by not using chrome-only type 'search' input

* Fix typo

* Restore input type to search
2024-12-16 10:25:02 +01:00
Mariss Tubelis
0c6bf35f22
Update preload extension documentation: form preloading and preload="always" (#3001)
* Update documentation for preload extension - include form element preloading and preload always attribute description

* Adjust version number

* Document HX-Preload header

* Rename preloaded header from HX-Preload to HX-Preloaded

* Up version

* Update www/content/extensions/preload.md

Co-authored-by: Vincent <vichenzo-thebaud@hotmail.com>

---------

Co-authored-by: Vincent <vichenzo-thebaud@hotmail.com>
2024-12-16 09:07:54 +01:00
Zixian
b3d3569719
Update hx-trigger.md (#3076)
* Update hx-trigger.md

- Added a clarification in notes to suggest adding a delay when adding reset to hx-trigger.

- Also thought it's useful to add a reference to MDN's list of web API  events, as it was one of the omissions in the hx-trigger doc which made me Google a little when I started out.

* Update hx-trigger.md

My bad, you're absolutely right. I've rewritten the proposed changes with your explanation in mind.
2024-12-15 09:25:58 +01:00
Carson Gross
44af27f400 fix url 2024-12-13 20:49:15 -07:00
Carson Gross
b0b08fa9d2 Merge remote-tracking branch 'origin/master' 2024-12-13 11:08:46 -07:00
Carson Gross
b82cf843e4 update sha v2.0.4 2024-12-13 11:06:48 -07:00
Carson Gross
db42b46218 2.0.4 release notes 2024-12-12 14:34:08 -07:00
Carson Gross
233bf01a4b 2.0.4 release notes 2024-12-12 14:33:31 -07:00
Carson Gross
1a80c283f5 2.0.4 release notes 2024-12-12 13:25:36 -07:00
Carson Gross
52db21955e prep next release 2024-12-12 13:13:37 -07:00
Carson Gross
fb78106dc6 prep next release 2024-12-12 13:12:49 -07:00
Geoffrey B. Eisenbarth
cc2466b1f8
Cancel vanilla submits from <button[form]/>. (#3072) 2024-12-12 13:09:26 -07:00
Vincent
a331244923
Support multiple extended selectors for hx-include, hx-trigger from, and hx-disabled-elt (#2902)
* Initial suggestion (squashed)

Support multiple extended selectors for hx-include

Additional test for nested standard selector

Add @MichaelWest22 hx-disabled-elt multiple selector test

Add hx-trigger `from` test with multiple extended selectors

Simplify

Include #2915 fix

Update htmx.js

Split for readability

Don't apply global to previous selectors

Rewrite loop, restore global recursive call, minimize diff

Use break for better readability

Co-Authored-By: MichaelWest22 <12867972+MichaelWest22@users.noreply.github.com>

* Keep global as a first-position-only keyword

* Wrapped selector syntax

* Replace substring check by individual chars check

* Fix format

---------

Co-authored-by: MichaelWest22 <12867972+MichaelWest22@users.noreply.github.com>
2024-12-12 11:12:01 -07:00
Mikael Ståldal
06d42778fa
Add http4k server example (#3012)
Adding https://github.com/mikaelstaldal/htmx-http4k-thymeleaf
2024-12-11 16:47:45 -07:00
Carson Gross
232667d2c6 fix https://github.com/bigskysoftware/htmx/issues/1788
boosted forms that issue a `GET` (and only a `GET`) and have no `action` attribute or an empty `action` attribute should clear the existing parameters of the current path when submitting lmao
2024-12-11 16:42:20 -07:00
Carson Gross
815c117088 comment out test that is breaking suite in browser 2024-12-11 15:06:03 -07:00
Carson Gross
e171bca9e7 Merge branch 'master' into dev 2024-12-11 14:59:27 -07:00
Simon Hartley
704dac7a7f
Replace deprecated String.prototype.substr usage (#2951)
Co-authored-by: shartley <scrhartley@github.com>
2024-12-11 14:28:09 -07:00
basvk
34dda10f9e
Do not execute hx-trigger="load" on re-initialization of an existing node (#2976)
* Do not execute hx-trigger="load" on re-initialization of an existing node

* simplify initNode firstInit logic
2024-12-11 14:27:34 -07:00
Alexander Petros
bd35f64cf7
Add missing htmx:trigger event on load triggers (#3033) 2024-12-11 14:20:12 -07:00
Alexander Petros
5ab508f652
Make bodyContains return true for nested shadow roots (#3034)
This fixes an issues in which `bodyContains()` would incorrectly return
false for nested shadow roots.
2024-12-11 14:17:32 -07:00
MichaelWest22
c24fb71a10
Handle Invalid template content (#3064) 2024-12-11 14:16:20 -07:00
Carson Gross
2e59a14213 follower24 sponsorship 2024-12-07 20:25:46 -07:00
Carson Gross
45f9c7aa4a prefer if statements to polymorphism 2024-12-07 20:18:47 -07:00
Carson Gross
f946dbd876 new sponsors 2024-12-05 13:18:27 -07:00