Carson Gross
b1d6135dca
add htmx:trigger
for throttled events too
2024-08-05 13:48:37 -06:00
Kyungmin Bae
27412551a5
fix: Fire htmx:trigger event on delayed triggers ( #2411 )
...
* Add test on htmx:trigger for delayed triggers
* Fire htmx:trigger event on delayed triggers
2024-08-05 13:47:58 -06:00
Carson Gross
df3fd8fe28
Merge remote-tracking branch 'origin/dev' into dev
2024-08-05 13:46:28 -06:00
Carson Gross
42343d9194
Merge branch 'master' into dev
2024-08-05 13:41:37 -06:00
Carson Gross
eb32358873
add a catchall to the docs
2024-08-05 13:41:28 -06:00
ekzyis
e2b671d2f5
Fix example for responseHandling config via <meta> tag ( #2715 )
...
The current example throws this error:
htmx.js:2914 SyntaxError: Expected property name or '}' in JSON at position 1 (line 1 column 2)
at JSON.parse (<anonymous>)
at parseJSON (htmx.js:816:19)
at getMetaConfig (htmx.js:4902:14)
at mergeMetaConfig (htmx.js:4909:24)
at HTMLDocument.<anonymous> (htmx.js:4917:5)
Co-authored-by: ekzyis <ekzyis@ekzy.is>
2024-08-05 13:40:16 -06:00
pokonski
ee9b0e0390
Do not boost forms with method="dialog" ( #2752 )
...
* Do not boost forms with method="dialog"
* Clean up
2024-08-05 13:38:51 -06:00
Vincent
941e94fb98
Fix file upload through htmx.ajax ( #2778 )
...
* Fix File values handling in formDataFromObject
Fixes #2630
* Test file input upload + htmx.ajax file upload
2024-08-05 13:38:21 -06:00
Carson Gross
084df38c31
only removed templates explicitly used for encapsulating oob swaps
...
fixes https://github.com/bigskysoftware/htmx/issues/2776
2024-08-05 13:37:31 -06:00
Carson Gross
ce46e436fd
handle situation where body has been deleted
...
fixes https://github.com/bigskysoftware/htmx/issues/2710
2024-08-05 13:18:03 -06:00
Carson Gross
89dc9bea2e
Merge remote-tracking branch 'origin/dev' into dev
2024-08-05 13:12:22 -06:00
Carson Gross
0ace4a731c
scan through all siblings (not just until the first non-element) when doing an outerHTML swap to add things to settle
...
fixes https://github.com/bigskysoftware/htmx/issues/2787
2024-08-05 13:12:13 -06:00
Carson Gross
df16ed8e96
manual test for keeping indicators visible
2024-08-05 12:29:33 -06:00
Carson Gross
e99d8976f5
Manual test to ensure disabled elements are scrubbed when saving history
2024-08-05 12:22:51 -06:00
M Somerville
13b44b7897
Fix inlineStyleNonce typo in reference ( #2785 )
2024-08-03 19:45:37 +02:00
Carson Gross
a575ad20f0
use attributes rather than request count since we are working on a clone of the original DOM
2024-08-01 13:44:31 -06:00
Carson Gross
115f2cf210
remove disabled
attributes from anything disabled due to an htmx request when snapshotting for history
2024-08-01 12:59:42 -06:00
Carson Gross
116c8619d5
allow response actions (such as full page refreshes) to retain htmx indicators during the response handling
2024-08-01 12:56:24 -06:00
Jonas Högman
45d4bec43f
Fix typo in update-other-content.md ( #2783 )
...
Co-authored-by: Jonas Hogman <jonas.hogman@seb.se>
2024-08-01 11:27:06 +02:00
Alexandre Spaeth
a30e96b553
Fix package.json configuration for types ( #2769 )
...
* Generate .d.ts file from the esm module (#2733 )
* Fix types annotation filename in package.json (#2734 )
---------
Co-authored-by: Alexandre Spaeth <alex_erson@users.noreply.github.com>
2024-07-29 17:54:06 -04:00
Ben Croker
a44a1b3c34
Add ability to trigger an event on another element using HX-Trigger
response header ( #2768 )
...
* Update htmx.js
* Update htmx.js
* Update headers.js
* Update htmx.js
* Update htmx.js
* Update htmx.js
* Update hx-trigger.md
2024-07-29 10:33:24 -06:00
Jan-Niklas W.
0f70de7c0f
docs: update jetbrains sponsor logo ( #2551 )
...
* docs: update jetbrains sponsor logo
* docs: support light and dark theme for jetbrains logo
---------
Co-authored-by: Jan-Niklas Wortmann <jan-niklas.wortmann@jetbrains.com>
2024-07-26 00:32:59 -04:00
Igor Berlenko
49b5dae073
fixed typo in hx-trigger.js ( #2728 )
...
Update hx-trigger.js
2024-07-26 00:27:22 -04:00
Alexandre Spaeth
6a800e8085
Generate .d.ts file from the esm module ( #2733 ) ( #2734 )
...
Co-authored-by: Alexandre Spaeth <alex_erson@users.noreply.github.com>
2024-07-26 00:26:59 -04:00
Vincent
81b401a83d
Fix: stringify objects when appending them to FormData ( #2748 )
2024-07-26 00:24:24 -04:00
Vincent
bec3657a81
Fix: values order with non-GET requests ( #2749 )
...
Fix values order with non-GET requests #2703
2024-07-26 00:22:59 -04:00
Daniel J. Summers
45566e126e
Bump Zola version to 0.19.1 ( #2739 )
2024-07-17 22:07:07 -06:00
Bobae Kang
bc0eebfb3e
Stop center aligning docs nav on small screen ( #2740 )
2024-07-17 20:09:04 -06:00
ASMag
4a2289d1ca
Update README.md - fix url to htmx extensions ( #2732 )
...
Update README.md
fix url to htmx extensions
2024-07-17 08:58:39 +02:00
Ben Croker
1c1e4faab9
Fix default scrollBehavior
value in docs ( #2729 )
...
* Update reference.md
* Update htmx.js
* Update reference.md
2024-07-16 08:18:11 +02:00
dependabot[bot]
7ce7b4878b
Bump ws from 8.14.2 to 8.17.1 ( #2718 )
...
Bumps [ws](https://github.com/websockets/ws ) from 8.14.2 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.14.2...8.17.1 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-13 14:17:06 -04:00
Johannes Przymusinski
cbb2b46de2
fix: type definitions for HtmxExtension ( #2721 )
2024-07-13 19:44:08 +02:00
Ronald Cantillo
1136d26353
fix: example buttons in darkmode ( #2719 )
2024-07-13 09:17:59 +02:00
Kyah Rindlisbacher
c8418332de
Correct hx-delete doc-url to https://htmx.org/attributes/hx-delete/ ( #2716 )
2024-07-13 09:07:04 +02:00
Carson Gross
79e084542c
update CHANGELOG.md
v2.0.1
2024-07-12 11:21:54 -06:00
Carson Gross
2f38ac7c55
add sha
as an npm command and update for release
2024-07-12 11:16:04 -06:00
Carson Gross
2925d2c30e
update changelog
2024-07-12 11:14:29 -06:00
Carson Gross
b2791a7b62
update release
2024-07-12 11:13:32 -06:00
Carson Gross
c3ecbcc8d8
update release
2024-07-12 11:13:29 -06:00
Carson Gross
f751aba86f
remove only top level files to keep the legacy extensions
2024-07-12 11:12:56 -06:00
Carson Gross
ee13ae744a
Merge remote-tracking branch 'origin/dev' into dev
2024-07-12 11:12:20 -06:00
Kuberdenis
0f3b2b4a92
Let templates have plaintext as contents (fixes 2702) ( #2708 )
...
let templates have plaintext as contents (fixes 2702)
2024-07-12 11:11:42 -06:00
Carson Gross
f38e057397
Merge branch 'master' into dev
2024-07-11 18:50:16 -06:00
Peter Volf
89b9e2afa5
Added a FastAPI + TailwindCSS + DaisyUI example ( #2695 )
...
added a FastAPI + TailwindCSS + DaisyUI example
2024-07-08 11:50:42 -06:00
Christopher Jefferson
10f45c321e
Clarify that hx-trigger:from doesn't dynamically update ( #2696 )
...
* Fix typo
* Clarity that 'from' doesn't update as the page changes
2024-07-08 11:50:17 -06:00
Bruno Alves
eb1b723ea7
#41540 Update Quarkus with recent examples ( #2700 )
...
Make sure Quarkus is referenced with recent examples in the htmx ecosystem #41540
2024-07-08 11:49:32 -06:00
Paul Garner
d9eb6d74f8
HtmxAjaxHelperContext typedef should have all optional fields ( #2701 )
...
* all fields of HtmxAjaxHelperContext should be optional
* update docs for htmx.ajax to describe purpose of source field in context
2024-07-08 11:49:10 -06:00
Sameer Dudeja
6c2f9ea939
Update beforeHistorySave
documentation ( #2692 )
...
Issue : #2688
Update beforeHistorySave docs
2024-07-03 23:09:55 -04:00
Michael Lynch
5f7e2354b5
Document software requirements for developing htmx ( #2664 )
...
* Document software requirements for developing htmx
* Expand explanations
2024-06-27 13:51:50 -06:00
srcerer
f4f448db0a
Update podcasts.csv ( #2667 )
...
Add
JavaScript Jabber htmx 2.0
Spiro Floropoulos
Software Unscripted
ThePrimeTime
TKYT
2024-06-27 13:50:40 -06:00