3014 Commits

Author SHA1 Message Date
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
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
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
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
Johannes Przymusinski
cbb2b46de2
fix: type definitions for HtmxExtension (#2721) 2024-07-13 19:44:08 +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
Carson Gross
52b357089d bump version and make the esm version "main" 2024-06-27 13:40:02 -06:00
Carson Gross
20e41c85eb Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	package-lock.json
2024-06-27 13:37:39 -06:00
Vincent
edac767fd9
Fix selfRequestsOnly doc (defaults to true in htmx 2) #2546 #2669 (#2674) 2024-06-27 13:36:31 -06:00
Sameer Dudeja
6f83885de3
Update in Documentation (#2655) 2024-06-20 11:19:10 -06:00
Alexander Petros
e1143de850
Generate .d.ts file in build script (#2653)
* Generate .d.ts file in build script

Resolves: #2629

* Streamline configuration options

Delete the JSConfig so we don't have to un-specify options when checking
vs generating (and also to remove a config file). Steamline the options
by re-using the NPM commands.

* Remove type generating from dev script
2024-06-20 11:18:47 -06:00
Adrian Wannenmacher
fa2dc6c02e
fix minor mixup in the web security basics essay (#2652)
The current version refers to an HTTP response as a request. Fixed it.
2024-06-19 17:18:30 -04:00
Ben Croker
2f6a7f752e
Docs: Revert detail.elt (#2649)
Revert `detail.elt`
2024-06-19 16:51:55 +02:00
Amr Ojjeh
dea45c84e7
Doc: Update oobBeforeSwap (#2647)
Co-authored-by: Ben Croker <57572400+bencroker@users.noreply.github.com>
2024-06-19 10:36:03 +02:00
Imbolc
f9b3f88357
Docs: Mention all extended selector keywords in hx-disabled-elt docs (#2544)
* Mention all extended selector keywords in `hx-disabled-elt` docs

* Expand possible values of the attribute similar to `hx-target`
2024-06-18 15:56:18 -06:00
pokonski
61e5fc1294
Make docs' content responsively wider (#2644)
* Make docs' content responsively wider

* Keep navigation static

* Remove unneeded class
2024-06-18 15:55:06 -06:00
Carson Gross
846a3d942f Merge remote-tracking branch 'origin/master' 2024-06-18 13:16:06 -06:00
Carson Gross
bd3032a724 update changelog to mention shadow DOM 2024-06-18 13:15:57 -06:00
Walt Chen
a1915882c9
docs: fix incorrect payload in update-other-content oob page (#2604) 2024-06-18 11:48:22 -06:00
Andre Sander
5a93241919
Remove duplicated "the" (#2621) 2024-06-18 11:46:45 -06:00
Ben Croker
ae56f211af
Docs: Fix reference link to hx-inherit (#2625)
* Update reference.md

* Update reference.md
2024-06-18 11:46:20 -06:00
Paul Tuckey
5e8d8fa497
Add rust example to server-examples.md (#2626)
Add rust esample to server-examples.md
2024-06-18 11:45:58 -06:00