1935 Commits

Author SHA1 Message Date
carson
aad2607425 progressive enhancement & accessibility section 2022-02-04 20:47:38 -07:00
carson
ce260beb65 enable legacy web socket usage 2022-02-04 19:37:08 -07:00
carson
baa84e7803 get old sse syntax working 2022-02-04 19:16:13 -07:00
carson
b4f554295f Merge branch 'master' into dev 2022-02-04 17:30:15 -07:00
carson
05bb5719d0 var fix 2022-02-04 17:29:49 -07:00
carson
28a569272f docs fix 2022-02-04 16:34:17 -07:00
carson
7e5f9bb92f docs fix 2022-02-04 16:22:39 -07:00
carson
051084af49 merge hx-disinherit and clean up target, etc. 2022-02-04 16:22:09 -07:00
carson
c7f4f360d1 Merge branch 'dev' into pull/753
# Conflicts:
#	src/htmx.js
2022-02-04 11:16:59 -07:00
carson
d9bf50182d Merge remote-tracking branch 'origin/dev' into dev 2022-02-04 11:14:35 -07:00
carson
d0161da3a6 Merge branch 'pull/667' into dev
# Conflicts:
#	www/reference.md
2022-02-04 11:13:59 -07:00
makasaurus
8a7228c02a
adding support for hx-trigger="restore" (#668)
* adding support for hx-trigger="restore"

* switching over to an extension + docs + tests

Co-authored-by: 1cg <469183+1cg@users.noreply.github.com>
2022-02-04 11:09:18 -07:00
Ben Pate
8ac4f651b1
Response Header HX-Push:false (#734)
* Support header HX-Push="false"

This is a tiny change that allows the `HX-Push` response header to obey "false" just like the `hx-push-url` attribute.

* Add documentation for hx-push response header
2022-02-04 11:06:54 -07:00
Ben Beecher
9ec6ffa930
Adding swap argument for ajax calls (#769)
* Adding swap argument for ajax calls

* Adding documentation

* Removing ;'s
2022-02-04 11:01:51 -07:00
carson
f772a4061f update some docs 2022-02-04 11:00:24 -07:00
carson
82016a7ba5 Merge remote-tracking branch 'origin/master' into dev 2022-02-04 10:55:52 -07:00
Ron
5bc71beafd
Added webpack installation to docs (#775)
Co-authored-by: Ronny Vedrilla <ronny.vedrilla@ambient-innovation.com>
2022-02-04 10:54:42 -07:00
Adam McKay
fd7009dccd
Update docs for OOB swaps in top level (#783) 2022-02-04 10:54:04 -07:00
Adam Johnson
4c0157432a
Use gzip level 9 compression (#788)
Level 9 is more compressed, and faster to decompress.

Before:

```
$ wc -c dist/htmx.min.js.gz
11615 dist/htmx.min.js.gz
```

After:

```
$ wc -c dist/htmx.min.js.gz
11596 dist/htmx.min.js.gz
```

Cor blimey, that's 19 bytes saved!
2022-02-04 10:53:44 -07:00
Adam Johnson
defbb40bd7
Document required node version (#789)
After trying to set up the project, I found that Node 16 is incompatible with the pinned version of node-sass, and node 15 must be used. This PR documents the requirement - perhaps an upgrade to Node 16 can be done after.
2022-02-04 10:53:13 -07:00
Len Boyette
0ea321ea58
succesful => successful in events.md (#794) 2022-02-04 10:52:48 -07:00
Len Boyette
470a721037
succesful => successful in reference.md (#795) 2022-02-04 10:52:37 -07:00
Bo
43becfb144
Allow execusion of scripts of type module (#797) 2022-02-04 10:52:18 -07:00
carson
bc8eef16ef Merge remote-tracking branch 'origin/master' into dev
# Conflicts:
#	www/attributes/hx-preserve.md
2022-02-04 10:51:54 -07:00
Adam Johnson
4b572b8e3d
Clarify hx-preserve docs (#798)
I mistakenly thought that I could mark a (third party) node with `hx-preserve` and it would be carried onto the next page, but this is not the case. This makes sense. I’ve tried to improve the documentation to reflect this, and make the behaviour clearer in general.
2022-02-04 10:51:05 -07:00
carson
6c103b150e fix https://github.com/bigskysoftware/htmx/issues/792
include the current element as the target
2022-02-04 10:49:52 -07:00
carson
872e6ad2d6 update 2022-02-04 10:45:40 -07:00
carson
e73753177e fix css 2022-02-04 10:42:23 -07:00
carson
9cc0da4244 document hx-preserve limitations 2022-02-04 10:42:11 -07:00
alfonsrv
bce4baa20c Rename hx-inherit to hx-disinherit 2022-01-25 23:27:39 +01:00
carson
f524901d5e Merge branch 'hx-sync-implementation' into dev 2022-01-25 08:06:34 -07:00
carson
ebd663a0ac Merge branch 'master' into dev 2022-01-25 08:06:01 -07:00
carson
f1cef92e52 Merge remote-tracking branch 'origin/master' 2022-01-20 08:25:34 -07:00
carson
1964c4373c improve demo 2022-01-20 08:25:27 -07:00
carson
cd6d2b78e2 convert objects to JSON representation
fixes https://github.com/bigskysoftware/htmx/issues/772
2022-01-18 20:21:26 -07:00
pierrealixt
8cf3397e8e
Fixed typo in bulk update example (#773) 2022-01-18 20:20:39 -07:00
carson
b1b87bdf37 Merge branch 'master' into dev
# Conflicts:
#	src/htmx.d.ts
2022-01-17 15:02:18 -07:00
carson
468297b2e6 Merge remote-tracking branch 'origin/master' 2022-01-17 15:00:29 -07:00
carson
133ce4e7c2 oops 2022-01-17 15:00:23 -07:00
carson
0fc68ac76f Merge remote-tracking branch 'origin/hx-sync-implementation' into hx-sync-implementation 2022-01-17 13:11:29 -07:00
carson
e6751be2ee first pass at hx-sync attribute 2022-01-17 13:11:09 -07:00
carson
8ae63d96b6 add alt attributes to images
fixes https://github.com/bigskysoftware/htmx/issues/742
2022-01-17 13:10:32 -07:00
Philipp Katz
fdcf35c5d0
Fix and extend TypeScript definitions (#696)
* This solves the mystery of the missing types file re npm package

* Fix and improve the typings based on API docs

* hook functions into default import
* add API as extracted from the API docs
* add tests based on examples

* Fix docs

Co-authored-by: Chris <7539871+paxperscientiam@users.noreply.github.com>
2022-01-17 10:58:56 -07:00
1cg
2ab84352b8
Merge pull request #771 from pkel/master
fix content-type header for urlencoded form data
2022-01-17 10:51:33 -07:00
carson
0a0f6b6bab Merge branch 'master' into dev 2022-01-17 10:50:14 -07:00
carson
53f174d5a4 add alt attributes to images
fixes https://github.com/bigskysoftware/htmx/issues/742
2022-01-17 10:49:49 -07:00
carson
2707016f01 support this in hx-include and hx-indicator
fixes

https://github.com/bigskysoftware/htmx/issues/757
https://github.com/bigskysoftware/htmx/issues/767
2022-01-17 10:45:59 -07:00
carson
e98d817805 fix typo 2022-01-16 17:40:36 -07:00
Patrik Keller
c5b66dd221 fix content-type header for urlencoded form data
This commit changes the content-type header for urlencoded form data
(hx-post) as proposed in #74 and #717.
2022-01-16 20:26:09 +01:00
carson
4f2c3a53c1 Merge branch 'master' into dev 2022-01-16 10:41:32 -07:00