155 Commits

Author SHA1 Message Date
MichaelWest22
5520566fc3
Add historyRestoreAsHxRequest config to optionally disable hx-request header from history restore requests (#3278)
* Added Config to optionally disable the breaking HX-Request change made recently

* fix broken resolved conflict
2025-04-24 14:21:23 -06:00
Geoffrey B. Eisenbarth
f46989b24a
Properly resolve referenced forms. (#3094)
* Properly resolve referenced forms.

* Clarify variable.

* Cast elt to avoid TS exceptions.

* Refactor for JSDoc.

* Clarify shouldCancel.

* Remove complicated JSDoc in favor of ts-ignore.

* More coverage for button scenarios.

* Use properties instead of matching.

* Mention reset button change.
2025-01-09 11:23:32 -07:00
Carson Gross
fb78106dc6 prep next release 2024-12-12 13:12:49 -07:00
Carson Gross
b37b438c4f remove single line closing angle brackets wft 2024-11-05 12:28:17 -07:00
Simon Hartley
1a1b4a1613
docs: Fix typo (#2984) 2024-10-27 08:00:33 +01:00
Spencer Brown
2617bbded6
"Download a Copy" in the doc points to old release 2.0.2; this PR changes it to 2.0.3 as it should be (#2980)
Fix "Download a copy" link to point to current 2.0.3
2024-10-25 08:54:28 +02:00
Paweł Korzeniewski
ff6964b6a5
Add missing word in previous CSS selector documentation (#2977) 2024-10-23 08:34:32 +02:00
youssame
56ca3eeef2
docs: Fix typo in URL to prevent broken link redirect (#2962)
Doc: Fix typo in URL to prevent broken link redirect
2024-10-11 18:21:42 +02:00
Carson Gross
d6e17abb13 final doc fix 2024-10-04 11:53:03 -06:00
Carson Gross
5b2fe2c19c move general extension docs back to htmx.org/extensions and include core extension documentation on the site 2024-10-03 18:52:59 -06:00
Carson Gross
f4e67863d9 release prep 2024-10-02 22:06:56 -06:00
Carson Gross
2fc32b368c release prep 2024-10-02 20:22:11 -06:00
Carson Gross
d9b4ada06b release prep 2024-10-02 20:19:43 -06:00
Simon Hartley
aad0fbc7ed
Add a link to the extensions site on the docs page (#2930)
Add a link to the extensions site in the docs page
2024-09-25 09:40:55 +02:00
Ben Croker
02aa8fd718
Fix docs for htmx.config.scrollBehavior (#2918)
* Update docs.md

* Update reference.md

* Update api.md

* Fix links

---------

Co-authored-by: Vincent <vichenzo-thebaud@hotmail.com>
2024-09-19 09:33:37 +02:00
MichaelWest22
0023cd85f0
[Documentation] Config default update for methodsThatUseUrlParams (#2911)
Config default update
2024-09-16 10:09:38 +02:00
MichaelWest22
6ce6a1a77b
Documentation 3xx redirects can't send headers (#2904)
* 3xx redirects can't send headers

* fix response-headers links
2024-09-15 09:29:39 +02:00
Ben Hoyt
be2e6b4970
Trivial grammar fixes (#2862) 2024-09-02 08:03:43 +02:00
Alexander Petros
4dfedf4f71
Fix duplicate typo (#2838)
Thanks!
2024-08-21 22:32:39 +02:00
Adam Johnson
bd2dc6564d
Link to htmx:sendError from error description (#2792) 2024-08-20 23:25:23 -04:00
MichaelWest22
91901e38b8
fix responseHandling meta example (#2821) 2024-08-16 10:19:31 +02:00
Carson Gross
bee498792c Merge remote-tracking branch 'origin/master' 2024-08-14 12:56:51 -06:00
Carson Gross
bb0ebf642b fix version 2024-08-14 12:56:44 -06:00
MichaelWest22
667636d098
fix cdn typo (#2814) 2024-08-14 10:29:05 +02:00
Carson Gross
eeaad206e8 update sha 2024-08-12 15:06:59 -06:00
Carson Gross
06d9f72f97 Merge remote-tracking branch 'origin/master' into dev 2024-08-12 14:57:04 -06:00
Adam Johnson
9bae00b698
Update installing download link to v2 (#2791) 2024-08-09 12:07:00 -04:00
ekzyis
f925e83b95
Add HTML comment and catch-all to responseHandling config via <meta> tag (#2793)
* Add HTML comment that was removed

* Add catch-all

---------

Co-authored-by: ekzyis <ekzyis@ekzy.is>
2024-08-09 11:49:24 -04:00
Carson Gross
97b8c68dd3 release prep 2024-08-05 13:53:08 -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
Carson Gross
2f38ac7c55 add sha as an npm command and update for release 2024-07-12 11:16:04 -06:00
Carson Gross
f751aba86f remove only top level files to keep the legacy extensions 2024-07-12 11:12:56 -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
Vincent
edac767fd9
Fix selfRequestsOnly doc (defaults to true in htmx 2) #2546 #2669 (#2674) 2024-06-27 13:36:31 -06:00
Andre Sander
5a93241919
Remove duplicated "the" (#2621) 2024-06-18 11:46:45 -06:00
Guilherme J. Tramontina
a15fcafb8a
fix 3rd party lib name in example doc (#2632) 2024-06-18 11:45:05 -06:00
Carson Gross
a328cab53a remove gremlin 2024-06-18 10:56:33 -06:00
Carson Gross
40b55c4a10 2.0 docs scrub 2024-06-03 11:01:45 -06:00
Carson Gross
179b167ccf 2.0 release 2024-05-23 16:18:30 -06:00
Carson Gross
505a093ba7 2.0 release 2024-05-23 13:15:37 -06:00
Carson Gross
6944bb8040 prep htmx 2 beta4 2024-05-22 14:57:16 -06:00
Carson Gross
12675fd1d4 prep beta4 2024-05-16 16:39:48 -06:00
Carson Gross
20b42aaf88 Merge branch 'master' into dev
# Conflicts:
#	src/htmx.d.ts
#	src/htmx.js
#	test/core/security.js
#	www/content/docs.md
2024-05-16 12:50:13 -06:00
Antoine Aumjaud
d37fe551a1
📚 fix code sample in documentation (#2498) 2024-05-15 12:11:08 -06:00
Marcos Pereira
ab458e7143
feat: Add inlineSlyeNonce configuration (#2542) 2024-05-15 12:06:40 -06:00
lookbusy1344
f9591c9790
More explicit explanation of htmx.config.getCacheBusterParam (#2376)
* More explicit explanation of htmx.config.getCacheBusterParam

* Small formatting fixes
2024-04-25 12:36:50 -04:00
noman
998bd7cd4c
fix(docs): Add missing apostrophes (#2405)
Add apostrophes
2024-04-25 12:34:15 -04:00
Carson Gross
74744ac337 prep for 2.0.0-beta3 release 2024-04-17 11:04:49 -06:00
Carson Gross
6bff809c13 Merge branch 'master' into dev 2024-04-17 10:58:46 -06:00