1599 Commits

Author SHA1 Message Date
Carson Gross
b75962b9bb update docs 2023-12-13 14:45:47 -07:00
Carson Gross
3be4202e5e add support for dashes in hx-on* attributes 2023-12-07 15:15:10 -07:00
Carson Gross
3b65f85784 bump version for next release 2023-11-30 15:13:53 -07:00
Carson Gross
555522baaa sha for release 2023-11-21 11:44:50 -07:00
Carson Gross
7b918d9d25 prep 1.9.9 release 2023-11-20 16:27:37 -07:00
Carson Gross
087f7cb45a Merge branch 'master' into dev 2023-11-19 07:53:45 -07:00
Carson Gross
331f79d469 fix typo 2023-11-18 21:06:25 -07:00
Carson Gross
62ef92ccce fix typo 2023-11-18 20:57:16 -07:00
Carson Gross
a573775cb5 Merge remote-tracking branch 'origin/master' 2023-11-18 20:25:07 -07:00
Carson Gross
29bb2abcc6 new essay 2023-11-18 20:24:59 -07: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
Carson Gross
ab8605714f Merge remote-tracking branch 'origin/dev' into dev 2023-11-16 16:50:16 -07:00
Spiro Floropoulos
7f3d752553
Adding Laravel PHP Example (#1982)
Co-authored-by: 1cg <469183+1cg@users.noreply.github.com>
2023-11-16 14:04:10 -07:00
Jonathan Rietveld
7ef95e8963
Allow CSS selectors with whitespace in hx-trigger (#1913)
* Allow CSS selectors with whitespace in `hx-trigger`

Parsing of `hx-trigger` scans for whitespace, so if a CSS selector is used that contains whitespace, e.g. `form input`, a syntax error is raised.
A workaround is implemented by allowing such a CSS selector to be wrapped in either curly braces or parentheses.

* Add explanation whitespace in CSS selector to docs

* Tests for CSS selectors containing whitespace

* Use faster RegEx test, remove redundant variable declarations

* Added Descendant Combinator support to `root` and `target` modifiers

* Add missing semicolon

* Tests for descendant combinators in `root` and `target` modifiers

* Improve descendant combinator test coverage
2023-11-16 13:45:46 -07:00
Jacob Scott
cabff5db14
Add select option to htmx.ajax() (#1985)
adds select to ajax api
2023-11-16 13:37:38 -07:00
Max von Webel
0b0887c23e
Fixed typo in examples (#2002)
lower case "i" in UIKit
2023-11-16 15:22:09 +01:00
Pablo Nicolas Diaz
9fe0a68031
Escape HTML on demo server (#1995)
fix: add missing parsing on submit
2023-11-15 11:30:43 -05:00
Carson Gross
5083393a9b Merge remote-tracking branch 'origin/master' 2023-11-14 18:30:19 -07:00
Carson Gross
e0af62171b update sponsors 2023-11-14 16:49:53 -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
Cristi
798a32b1e8
documentation update php symfony (#1978)
* docs: php (symfony sdk)

* docs: twig support for fragments

---------

Co-authored-by: Cristian Toma <cristian.toma@vivre.eu>
2023-11-09 16:20:47 -05:00
Alexander Petros
4f75a38123
Fix link on scaling essay (#1983) 2023-11-08 16:34:49 -07:00
Alexander Petros
2e5f813c91
Replace keyup with input event (#1952)
`keyup` only works with a keyboard, and ignores pasting with a right click or programmatically updating the value with JS. 

`input` is a better event for detecting any "inputs to the input".

Co-authored-by: Sam Eaton <sam@eaton.party>
2023-11-08 22:33:26 +01:00
Carson Gross
62cabf3308 add scaling essay 2023-11-08 13:32:41 -07:00
Carson Gross
06001e2cbb Merge branch 'dev' 2023-11-08 13:31:32 -07:00
Carson Gross
8c5e053377 add links to article 2023-11-08 13:31:19 -07:00
Carson Gross
953ce54b7e update sha 2023-11-07 10:02:07 -07:00
Carson Gross
616f7529d1 essay 2023-11-06 20:43:36 -07:00
Carson Gross
d1cb1acaa3 Merge remote-tracking branch 'origin/dev' into dev 2023-11-06 18:04:05 -07:00
Carson Gross
6fe62580e0 prep 1.9.8 release 2023-11-06 18:03:43 -07:00
Vincent
563ce5d042
List extended selectors + caveats in hx-include doc (#1522)
List extended selectors + caveats in hx-include doc
2023-11-06 16:53:34 -05:00
Vincent
df7c0c2c60
Fix www.sh, copy scripts to theme's static/js folder too (#1967) 2023-11-06 10:48:27 -07:00
Chase Fleming
c2e4b51495
Add htmx/elem-go server examples (#1961)
* Add htmx/elem-go server examples

* Move examples section

* Fix formatting

---------

Co-authored-by: Chase Fleming <1666730+chasefleming@users.noreply.github.com>
2023-11-05 15:24:26 -05:00
Carson Gross
ca108e4d79 Merge remote-tracking branch 'origin/master' 2023-11-03 20:55:57 -06:00
Carson Gross
c1b4101def re-prep 1.9.7 release 2023-11-03 20:53:16 -06:00
Tom
8ca51e078a
Added a server example link to "How to create a Django form (using HTMX) in 90 seconds 🐎" (#1938)
* Added a Django + HTMX forms link 

- Added a Django server example link to "How to create a Django form (using HTMX) in 90 seconds 🐎".
- This article has received over 10k views and positive comments so far. I wrote the article; I would have benefitted from seeing it when I was first learning to use HTMX.

* Update server-examples.md

Appended to the list as requested
2023-11-03 15:36:51 -04:00
Sascha Woo
f2d776c151
Add config option to disable scroll into view for targets of boosted links and forms (#1459)
Thank you @xhaggi
2023-11-03 13:42:20 -05:00
Carson Gross
61dac7d933 prep 1.9.7 release 2023-11-02 16:43:18 -06:00
Carson Gross
3912e3c2c2 prep 1.9.7 release 2023-11-02 15:28:53 -06:00
Carson Gross
5cd5f927ba Merge branch 'master' into dev 2023-11-02 15:12:37 -06:00
joseph-d
a2830aa2df
Update template-fragments.md (#1942)
Added a link to Laravel Blade's implementation of template fragments
2023-11-01 22:29:06 -04:00
phpfan72
3540283347
Add hx-target-error attribute to response-targets extension (#1929)
* Update response-targets.js

Add hx-target-error logic

* Update response-targets.md

add documentation and fix typo
2023-10-31 16:24:43 -06:00
matiboy
712ee759f1
Fix confirmed being ignored in htmx:confirm event (#1610)
* Current behavior testing

Testing current library behavior

* Test should remove correct handler

* Add question in htmx:confirm event detail

* Allow skipping window.confirm

* Additional test without hx-confirm value

* Wrap htmx.off in finally

* More correct assertion in case of no calls to confirm

* Remove erroneously added formatting

* Remove erroneously added formatting

* Documentation, fix loop

---------

Co-authored-by: mat <matt@techspace.asia>
2023-10-26 14:43:41 -06:00
Ricky Tobing
c7f9dcb682
Documentation - Added link to https://javascript.info/keyboard-events (#1919) 2023-10-24 12:40:40 -04:00
Jason Jōb
142b711903
Fixed ws and sse references in the docs (#1908)
fixed ws and sse references in the docs
2023-10-20 13:32:40 -04:00
Ricky Tobing
3849854f25
Fixed indentation/rendering in Modal bootstrap example page (#1907)
Fixed indentation (tab vs space)
2023-10-20 11:53:43 +02:00
Daniele Teti
b2b3c8f5e0
Added DelphiMVCFramework sample (#1893) 2023-10-13 18:44:44 -04:00
Alexander Petros
d26fe4709d
Remove the last of the go code (#1890)
Update the website tests with the latest tests on master, deleting the
mirrored go code in the process.
2023-10-12 16:01:34 -06:00