86 Commits

Author SHA1 Message Date
Joe Taber
520502121e
Add config option to ignore nested oob-swaps instead of processing them (#1235)
* Add config option to ignore nested oob swaps

* Fix oobElement root check

* Save config between tests; repeat some tests with different configs

* Add tests for oob-swaps in html, body tags

* Don't unnecessarily change const to var
2024-03-11 12:32:30 -04:00
Carson Gross
c16758a198 alpha2 2024-02-09 11:13:47 -07:00
Carson Gross
c00c1c52bd rejigger docs 2024-01-25 10:24:29 -07:00
Alexander Petros
7b3b5f1f5b Fix typo 2024-01-25 11:15:35 -05:00
Alexander Petros
9bf2095886 Refactor out htmx 1.x migration guide to its own page 2024-01-25 11:14:30 -05:00
Carson Gross
3fa7df1d23 Merge branch 'dev' into v2.0v2.0
# Conflicts:
#	dist/ext/sse.js
#	dist/htmx.d.ts
#	dist/htmx.js
#	dist/htmx.min.js
#	dist/htmx.min.js.gz
#	src/htmx.js
#	test/core/parameters.js
#	www/content/docs.md
2024-01-15 14:26:50 -07:00
Fan Fei
1195102fc9
Update docs.md (#2155)
fixed an example mistke
2024-01-10 11:01:04 -05:00
Carson Gross
894b4dd3e8 nuke hyperscript (for the most part) 2024-01-09 11:23:15 -07:00
Carson Gross
bb069eae09 fix the site 2024-01-08 14:01:03 -07:00
Carson Gross
8b59cb9383 docs + config of head handling 2024-01-05 13:11:30 -07:00
Moussa Haidous
145627a579
typo: dahs -> dash (#2142) 2024-01-01 23:39:05 -05:00
Carson Gross
f685b57332 docs update 2023-12-27 14:56:09 -07:00
Carson Gross
ff96b78e77 move to template parsing by default (prep for head support) 2023-12-27 14:42:14 -07:00
Carson Gross
90096a6869 add some docs 2023-12-24 16:24:07 -07:00
Carson Gross
adbdc71c81 add another test for inheritance disabling 2023-12-24 15:06:11 -07:00
Carson Gross
42668c6df7 Merge branch 'v2.0v2.0' into disable-inheritance
# Conflicts:
#	src/htmx.js
#	www/content/docs.md
2023-12-24 14:55:11 -07:00
Carson Gross
8966f1d01d clarify morphing docs 2023-12-22 10:25:40 -07:00
Carson Gross
51baa6bb31 fix broken link 2023-12-21 18:35:46 -07:00
Carson Gross
b1e15c08cc more release prep 2023-12-21 17:37:15 -07:00
Carson Gross
66599ef887 Merge branch 'master' into dev
# Conflicts:
#	www/content/docs.md
2023-12-21 17:28:58 -07:00
Vincent
67cfbcf6bc update docs on oob swaps 2023-12-21 12:52:57 -07:00
Vincent
afb36ac6e6 Removed outdated note in oob swap documentation (#2119)
(cherry picked from commit 0b7a68e352bbbd54e22bf7f9e4301959cad2de99)
2023-12-21 12:45:41 -07:00
Vincent
0b7a68e352
Removed outdated note in oob swap documentation (#2119) 2023-12-21 10:33:47 -05:00
Carson Gross
0eb8190342 Merge branch 'dev' into v2.0v2.0 2023-12-14 14:34:29 -07:00
Vincent
4057f9c465
Trigger specs cache indentation fix + documentation & tests (#2094)
* Fix parseAndCacheTrigger indentation as discussed in #1540

https://github.com/bigskysoftware/htmx/pull/1540#issuecomment-1834651800

* Trigger specs cache documentation + tests
2023-12-14 11:44:11 -07:00
Carson Gross
291cc1ee7d docs for inheritance disabling 2023-12-13 17:27:55 -07:00
Carson Gross
cd176d61d7 remove legacy hx-on= syntax 2023-12-13 14:59:48 -07:00
Carson Gross
22fde35674 Merge branch 'dev' into v2.0v2.0 2023-12-13 14:46:37 -07:00
Carson Gross
b75962b9bb update docs 2023-12-13 14:45:47 -07:00
Qori El-Hafizh
89b523cde0
fix typo (#2088)
connect:<url> instead of connect <url>
2023-12-12 11:34:07 -05:00
Henrik Berglund
7de6351d20
feat: Improve web site accessibility/legibility (#2080)
* fix: change css midBlue saturation and body tag color to a darker color

* feat: add empty alt attribute to decorative bars

* feat: add alt attributes for index link images

* fix: tweak code background alpha

* feat: add custom highlighting theme, change comment color to be legible

* fix: replace a tags with span

* fix: lighten background color of div

* feat: add doctype and meta description

* fix: remove doctype to prevent no quirks mode (why.png)
2023-12-10 19:51:40 -05:00
Carson Gross
3be4202e5e add support for dashes in hx-on* attributes 2023-12-07 15:15:10 -07:00
Thad Guidry
9de3c3f068
Add hyperlink to HTML standards for data- prefix (#2072)
Fixes #2071
2023-12-07 11:59:58 -05:00
Conor
255cb9be7b
Fix form validation docs example (#2049)
add: docs fix

Co-authored-by: Conor <col7550@gmail.com>
2023-12-01 15:07:09 -05:00
Carson Gross
3b65f85784 bump version for next release 2023-11-30 15:13:53 -07:00
Jose Vargas
50097b7c5f
Mention response-extension in /docs extensions table (#2044) 2023-11-26 11:41:55 -05:00
Saroj Dahal
9ef76a0935
Fix htmx-indicator example (#2021)
Update docs.md

Fix invalid class name (in style tag) of request indicator .
2023-11-22 08:50:09 -05:00
Carson Gross
5c42b3442b flip defaults for 2.0 2023-11-21 14:57:52 -07:00
Carson Gross
b9225a53e1 Merge remote-tracking branch 'origin/master' 2023-11-21 11:47:09 -07:00
Carson Gross
555522baaa sha for release 2023-11-21 11:44:50 -07:00
Denis Palashevskii
2859b821a0
Fix hx-on anchor in the docs (#2020)
* Fix hx-on anchor in the docs

* add hx-on to table of contents in the docs

* preserve links integrity

There are most likely links to #the-hx-on-attribute in the wild.
I managed to find one on the Discord at list. Probably best to keep both options
2023-11-21 12:50:03 -05:00
Carson Gross
242f6631fa Merge remote-tracking branch 'origin/master' into dev
# Conflicts:
#	www/content/docs.md
2023-11-16 16:53:23 -07:00
Carson Gross
a59a10baad bump for next version 2023-11-16 16:52:11 -07:00
Joe Taber
f716383716
Add configuration options list to reference docs (#1927)
Could not figure out how to import directly from docs.md with zola.
2023-11-10 21:31:29 -05:00
Vincent
9c87f40bd4
Homogenize configuration docs (#1973)
* Homogenize configuration docs

* Remove source change
2023-11-10 14:23:28 -05:00
Carson Gross
953ce54b7e update sha 2023-11-07 10:02:07 -07:00
Carson Gross
6fe62580e0 prep 1.9.8 release 2023-11-06 18:03:43 -07:00
Carson Gross
c1b4101def re-prep 1.9.7 release 2023-11-03 20:53:16 -06:00
Carson Gross
3912e3c2c2 prep 1.9.7 release 2023-11-02 15:28:53 -06:00
Thomas de Queiroz Barros
590fddaf04
Improve request/response documentation in docs.md (#1839)
* docs+reference: merge Response Headers docs

* docs+reference: merge Request Headers docs

* docs+reference: use true as strings
2023-10-03 16:06:29 -04:00