2229 Commits

Author SHA1 Message Date
Nathaniel Sabanski
12e62ce0f0
Replaced website search with Google, similar to hyperscript.org. Removed non-working Algolia, docsearch. Issue: #1328 (#1342) 2023-04-11 09:34:52 -06:00
Carson Gross
110dd63e97 two small bug fixes:
* do not use template parsing for full body response content
* clear polling when reprocessing an element to avoid stacking up poll requests

latter fixes https://github.com/bigskysoftware/htmx/issues/1350
2023-04-11 09:32:52 -06:00
Carson Gross
967ba1dd70 update changelog 2023-04-07 11:15:28 -06:00
Carson Gross
8fed7400a5 remove 11ty! 2023-04-06 11:15:25 -06:00
Carson Gross
b71e3e380b fix up merge 2023-04-06 11:14:33 -06:00
Carson Gross
47bdec5fbc Merge branch 'gohugo' into dev
# Conflicts:
#	www/attributes/hx-target.md
#	www/content/docs.md
#	www/content/events.md
#	www/content/examples/animations.md
#	www/reference.md
#	www/static/test/index.html
2023-04-06 11:04:36 -06:00
Daniel J. Summers
b0088a602f Incorporate doc changes in dev branch 2023-04-05 22:24:23 -04:00
Carson Gross
2fe7545dc0 docs 2023-04-05 17:54:30 -06:00
Carson Gross
7de777de6d Merge remote-tracking branch 'origin/dev' into dev 2023-04-05 12:48:07 -06:00
Carson Gross
6cc92bf12d fix https://github.com/bigskysoftware/htmx/issues/1348
properly trim ids in `hx-select-oob` and also support hyperscript-style query literals in attributes like `hx-target`
2023-04-05 12:47:51 -06:00
Daniel J. Summers
08b5eaeb8e Restore README for running site 2023-04-05 07:47:37 -04:00
Daniel J. Summers
9c5d2288d8 Test Netlify config 2023-04-04 20:46:21 -04:00
Ben Pate
4883aa830c
Merge pull request #1331 from hirschenberger/master
Trigger event when a SSE-source is opened
2023-04-02 08:09:50 -06:00
Nicolas Appriou
1e1b7cf94a
escape colons in querySelector (#1314)
thank you!
2023-04-01 17:36:15 -06:00
Mark Croxton
192df25b25
Normalize history cache keys - redux (#1338)
* Normalize URL used as a cache key for history, without breaking IE.

* Update test `boosted element hx-disinherit sanity check` to check that the fully resolved href of the boosted element matches request.detail.requestConfig.path
2023-04-01 08:02:08 -06:00
Carson Gross
32edfba6f2 fix 2023-03-31 13:55:47 -06:00
Carson Gross
c11b84120d better example 2023-03-31 13:53:16 -06:00
Carson Gross
2a2fc75c0a formatting 2023-03-31 12:44:55 -06:00
Carson Gross
9a73bdf0d5 formatting 2023-03-31 12:40:08 -06:00
Carson Gross
afcda982e0 1.9.0 www stuff 2023-03-31 12:38:20 -06:00
Carson Gross
39853f0cc6 view transition demo 2023-03-31 12:37:01 -06:00
Carson Gross
5e12b33ed1 1.9.0 release prep 2023-03-31 07:07:34 -06:00
Carson Gross
0ae246053e update changelog 2023-03-31 06:54:42 -06:00
Carson Gross
b4e6c5cbd5 hx-on attribute 2023-03-31 06:44:01 -06:00
Carson Gross
2713a3ada0 Merge branch 'dev' into hx-on-experiment
# Conflicts:
#	src/htmx.js
#	test/scratch/scratch.html
2023-03-31 05:12:32 -06:00
Carson Gross
f02a02904a Architectural sympathy essay 2023-03-30 10:48:02 -06:00
Michal Kijowski
98c224fd4a
Update hx-target relative positional expressions (#1251)
This change adds `next` and `previous` expressions introduced in version 1.8.0
2023-03-28 18:27:43 -06:00
Carson Gross
44dc3255af Merge remote-tracking branch 'origin/dev' into dev 2023-03-28 14:15:13 -06:00
Carson Gross
fd87ffd516 Experimental support for the [View Transitions API](https://developer.mozilla.org/en-US/docs/Web/API/View_Transitions_API) 2023-03-28 14:15:00 -06:00
Mark Croxton
8cd3a480a7
Nullify unreachable references to dom nodes inside setTimeout(), to allow garbage collection. (#1330) 2023-03-28 13:28:39 -06:00
Alexander Petros
5a5ebd7693
Add support for "naked" triggers and htmx:trigger event (#1327)
The `htmx:trigger` event is fired whenever an HTMX AJAX request would
be. Now, `hx-trigger` can also be specified on an element without an
AJAX request, which will simply fire the `htmx:trigger` event on the
action specified by the attribute, and do nothing else.

This pattern allows for specifying client-side actions that don't
require a network request, while remaining within the HTMX control
paradigm.
2023-03-28 09:14:16 -06:00
Pandy Knight
b8ceedd58b
Added an example project for FastAPI (#1335)
Thank you!
2023-03-28 09:10:23 -06:00
Carson Gross
a96189ed5e another take on generalized event handling w/ and hx-on attribute 2023-03-18 21:03:18 -06:00
Daniel J. Summers
167c7638a2 Add Netlify deployment settings 2023-03-18 21:45:47 -04:00
Daniel J. Summers
f690d92834 Replace www directory 2023-03-18 11:29:38 -04:00
Daniel J. Summers
53b69c88af Add pub/update dates to essays
- Fix feed post selection
- Add section definitions for subdirectories
- Fix menu on demo pages
- Fix formatting on HATEOAS essay
- Merge changes from upstream
2023-03-18 11:26:43 -04:00
Daniel J. Summers
0ce50f8a39
Merge branch 'bigskysoftware:master' into gohugo 2023-03-18 10:34:05 -04:00
Falco Hirschenberger
857095650f Trigger event when a SSE-source is opened
fixes #1325
2023-03-16 17:44:30 +01:00
Carson Gross
36780c034f bump version 2023-03-15 16:25:52 -06:00
Carson Gross
09565cde1b fix hamburger 2023-03-15 15:43:49 -06:00
Patricio Del Boca
560b314074
Remove reference to Python 2 in README.md (#1321) 2023-03-13 17:14:11 -06:00
Daniel J. Summers
1a8818cda0 Dynamically generate talk page 2023-03-09 19:31:16 -05:00
Daniel J. Summers
8564251136 Sync content from 1.8.6 release
- Update path for test generation script
2023-03-08 11:34:42 -05:00
Daniel J. Summers
f36dde6eb4
Merge branch 'bigskysoftware:master' into gohugo 2023-03-08 11:25:42 -05:00
Daniel J. Summers
e1d46f966b Use internal links
- Migrate Netlify redirects file
- Tweak styles
2023-03-07 19:37:06 -05:00
Daniel J. Summers
137abbf33b Use internal links for index, api, docs pages 2023-03-06 23:26:13 -05:00
Daniel J. Summers
3806f230ec Remove Hugo dir 2023-03-06 22:46:27 -05:00
Daniel J. Summers
4fcc440b88 Migrate examples and tests 2023-03-06 22:32:41 -05:00
Daniel J. Summers
cb1c20e8dc Migrate headers, attributes, and posts
- Migrate top-level pages
2023-03-05 23:12:06 -05:00
Daniel J. Summers
d8b3d9405f Add ignore for public directory 2023-03-05 21:30:13 -05:00