3219 Commits

Author SHA1 Message Date
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
Carson Gross
2b88d967c1 design update 2024-12-03 07:25:05 -07:00
Carson Gross
68ef5c51e2 Merge remote-tracking branch 'origin/master' 2024-12-02 11:06:21 -07:00
Carson Gross
c9b8f0a211 add a modest critique 2024-12-02 11:06:12 -07:00
Ryan Kilpadi
445fddeb28
[Documentation] Update location of ws/sse demo server (#3052) 2024-11-30 10:30:53 +01:00
Ryan Kilpadi
ffbcd9291c
[Documentation] Fix outdated attribute links (#3051) 2024-11-30 10:27:47 +01:00
Carson Gross
24fb2fe522 essay fix 2024-11-25 05:00:59 -07:00
Carson Gross
bd2150aaaf Merge remote-tracking branch 'origin/master' 2024-11-25 04:48:51 -07:00
Carson Gross
8ff3b3d186 essay fix 2024-11-25 04:48:30 -07:00
Felipe Gené
1a23a5a6e9
feat: add amz-content-sha256 extension to docs (#3036) 2024-11-25 11:25:53 +01:00
Carson Gross
cef216bc55 essay fix 2024-11-24 18:04:35 -07:00
Carson Gross
3e1a3934c9 Merge remote-tracking branch 'origin/master' 2024-11-24 18:00:51 -07:00
Carson Gross
f600eb8550 essay fix 2024-11-24 18:00:42 -07:00
Alec Gargett
6067f4d5d7
fixed minor typo "and" --> "an".md (#3035) 2024-11-24 17:19:35 -05:00
Carson Gross
aa9434e002 Merge remote-tracking branch 'origin/master' 2024-11-24 13:01:09 -07:00