3446 Commits

Author SHA1 Message Date
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
Carson Gross
b9cafa3ffa Merge branch 'master' into codin-dirty-essay 2024-11-24 13:00:33 -07:00
Carson Gross
4ba6852aea finish codin' dirty essay 2024-11-24 13:00:26 -07:00
MichaelWest22
5373966e7d
Improve detail.elt event documentation (#3007)
improve detail.elt event documentation
2024-11-24 12:24:42 -05:00
Paul Garner
bc7ea4a8d9
typing for defineExtension should allow partials (#3030) 2024-11-22 11:03:42 +01:00
Simon Hartley
7415f395b2
[Documentation] Fix link in web socket extension docs (#3026)
Co-authored-by: scrhartley <scrhartley@github.com>
2024-11-19 09:47:29 +01:00
Simon Hartley
7879d2e3bc
[Documentation] Add missing htmx:sendAbort event (#3024)
Co-authored-by: scrhartley <scrhartley@github.com>
2024-11-17 10:24:16 +01:00
Simon Hartley
001f9e024a
[Documentation] Fix incorrect link (#3022) 2024-11-15 09:57:00 +01:00
Carson Gross
dba0fcf7e6 update video 2024-11-14 15:32:00 -07:00
Alexander Petros
b4ebb527a1
WC essay typo fixes (#3021) 2024-11-14 08:54:21 +01:00
Markus Unterwaditzer
8d07de9708
fix vertical alignment of github stars button in all states (#3006)
Without uBlock, the button's alt-text would be 1px lower than the rest
of the nav items, and inconsistently capitalized.

With uBlock, the button would be slightly too high up.

This is on Firefox.

The solution is to apply styles on the `span` that GitHub's JS inserts.
However, using margin will make the entire nav jump during pageload, so
position: relative seems more robust there.
2024-11-13 22:29:30 -05:00
Alexander Petros
82eb2a635a
Fix name on essay (#3019)
Fix name on essay
2024-11-13 17:24:46 -07:00
Alexander Petros
ccbc101dd8
Add web components essay (#3018) 2024-11-13 15:20:56 -07:00
Sascha Woo
df73ff2a7a
Add missing disableInheritance documentation (#3017) 2024-11-13 16:05:04 +01:00
Markus Unterwaditzer
79b6504d63
Fix wrong cursor style in webring (#3015) 2024-11-12 07:53:34 +01:00
Simon Hartley
d39dd0e576
[Documentation] Add missing default extension points (#3014) 2024-11-12 07:52:13 +01:00
Carson Gross
ec955496ed reorganize essays 2024-11-07 15:55:58 -07:00
Carson Gross
a2b868833c Merge branch 'master' into codin-dirty-essay 2024-11-07 15:19:48 -07:00
Carson Gross
3dc73f6d04 reorganize essays 2024-11-07 10:19:19 -07:00
Pouria Ezzati
5de1c76f6c
Add Next.js to htmx essay (#3002)
add next.js to htmx essay
2024-11-07 10:16:25 -07:00
Simon Hartley
62969122f1
Fix illegal invocation for FormData proxy (#2997)
Fix illegal invocation for a FormData proxy returning a function looked-up via a symbol

Co-authored-by: shartley <scrhartley@github.com>
2024-11-07 10:15:07 -07:00
Carson Gross
e5e8d9c38d Merge remote-tracking branch 'origin/master' 2024-11-05 12:28:28 -07:00
Carson Gross
b37b438c4f remove single line closing angle brackets wft 2024-11-05 12:28:17 -07:00
Lee Phillips
e88bc9b35b
Update server-examples.md (#2996)
Add links to two Julia projects by Lee Phillips.
2024-11-03 22:20:37 -06:00