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
Sören Maschmann
2a34b304e1
Update docs.md ( #1846 )
...
fix: spelling mistake 'docuemnt' in swap-options
2023-10-01 19:26:58 +02:00
Carson Gross
04250d57f4
update SHA
2023-09-21 17:22:02 -06:00
Carson Gross
a5fd1b7081
make singular to make more consistent w/ other attributes
2023-09-21 16:57:28 -06:00
Carson Gross
4189eeaa0c
Merge branch 'master' into dev
...
# Conflicts:
# package-lock.json
# package.json
2023-09-20 09:15:53 -06:00
Carson Gross
af0dc9c352
add hx-disabled-elts
functionality
2023-09-14 13:20:46 -06:00
gbourant
4af437a4e1
Add example of how to structure binary-data forms without data loss ( #1670 )
...
* prevent binary data loss by restructuring forms.
* Update www/content/docs.md
Co-authored-by: Denis Palashevskii <20725046+Renerick@users.noreply.github.com>
* moved the example to example directory
* Updated documentation based on feedback
---------
Co-authored-by: gbourant <root@gbourant.com>
Co-authored-by: Denis Palashevskii <20725046+Renerick@users.noreply.github.com>
2023-09-01 14:42:14 -04:00
Carson Gross
c230931d42
support ability to ignore new title
tags via config, event and hx-swap
2023-08-31 10:54:47 -06:00
Carson Gross
ff20f880ee
bump for next version
2023-08-31 09:54:39 -06:00
Carson Gross
cff09999cf
update docs and changelog
2023-08-24 13:10:05 -06:00
Carson Gross
b26ca40b0c
update sha
2023-08-24 12:38:46 -06:00
Carson Gross
b3a4a5fc1a
prep 1.9.5 release
2023-08-24 12:38:20 -06:00
Carson Gross
36e6a426f9
security improvement
...
- add the `htmx.config.allowScriptTags` option
2023-07-31 12:12:44 -06:00
Carson Gross
19cb15caef
security improvements
...
- add the `htmx.config.selfRequestsOnly` option
- add the `htmx:validateUrl` event
- better security documentation (incomplete, need to finish CORS)
2023-07-31 11:31:42 -06:00
Carson Gross
f3a6975b8e
prep 1.9.4 release
2023-07-25 13:39:48 -06:00
Viktor Szépe
0a471dc4fb
Fix typos in www/ ( #1579 )
2023-07-17 10:26:27 -04:00
Carson Gross
5c6805a19c
slide in one change, what could go wrong?
2023-07-14 14:28:53 -06:00
Carson Gross
ec0c11c460
update sha
2023-07-14 14:16:37 -06:00
Carson Gross
2edb023f20
Merge branch 'master' into dev
...
# Conflicts:
# www/content/docs.md
2023-07-14 13:52:14 -06:00
Carson Gross
05a1f8cba7
Merge remote-tracking branch 'origin/dev' into dev
2023-07-14 13:50:31 -06:00
Steve Russo
59f5073371
fix grammer and typo in Response Headers docs section ( #1536 )
2023-07-10 15:55:27 -06:00
Alexander Petros
febfa1c6a7
Add configs to choose between ecoding parameters in the URL or request body ( #1525 )
...
* Allow extensions to set request bodies for GET and DELETE
Even though the semantics of request bodies for GET and DELETE are
undefined, it is legal to set request bodies for them. By default, GET
and DELETE form parameters should be encoded as URLs. If, however, an
extension defines `encodeParameters`, that should override the default
and set the request bodies for GET and DELETE methods, just like it does
for all the other HTTP methods.
* Don't use URL params by default with DELETE
* Re-enable skipped DELETE test
* Remove reference to DELETE in comment
* Add "useUrlParams" to requestConfig
* Add config.methodsThatUseUrlParams
* Add methodsThatUseUrlParams config tests
* Don't switch to body params based on extension
2023-07-10 15:52:01 -06:00
Vincent
dd53ca0a75
Doc - make it clear that closest
can return the element itself #1487 ( #1488 )
2023-06-15 11:48:32 -06:00
Denis Palashevskii
4d84af4a58
fix typo in scripting example ( #1470 )
...
Replace htmx:beforeRequest with htmx:configRequest
2023-06-07 15:00:56 -06:00