1452 Commits

Author SHA1 Message Date
carson
e15c5d99e3 support a queue modifier for queueing events in different ways
fixes https://github.com/bigskysoftware/htmx/issues/470
2021-05-20 09:07:56 -06:00
carson
ce001cb8b4 Merge branch 'master' into dev 2021-05-19 14:02:43 -06:00
carson
923a3d5984 Merge remote-tracking branch 'origin/master' 2021-05-19 13:07:48 -06:00
carson
53418e821a support a htmx.config.useTemplateFragments option to use <template> tags to process server content for more flexibility (e.g. oob content alongside table elements) 2021-05-19 13:07:39 -06:00
carson
1d52b23fed support a htmx.config.useTemplateFragements option to use <template> tags to process server content for more flexibility (e.g. oob content alongside table elements) 2021-05-19 10:55:16 -06:00
carson
f6efc4a8c3 add intersect event for intersection observer
supports the `root` and `threshold` config variables
2021-05-18 13:19:03 -06:00
carson
4dd5004851 attempt to fix https://github.com/bigskysoftware/htmx/issues/463 2021-05-17 11:52:42 -06:00
carson
bdefbd4fec title tags must come before any svg tags to update the title
fixes https://github.com/bigskysoftware/htmx/issues/459
2021-05-17 11:39:22 -06:00
carson
78b2bddab0 typo 2021-05-17 11:22:25 -06:00
carson
9c2cda0ee5 push url for forms with GET action
fixes https://github.com/bigskysoftware/htmx/issues/485
2021-05-17 11:11:38 -06:00
carson
9a6572f9ee fixes https://github.com/bigskysoftware/htmx/issues/486
looks like the default() method escapes html content
2021-05-17 11:04:40 -06:00
carson
8420744799 fix https://github.com/bigskysoftware/htmx/issues/489
add README.md for /www
2021-05-17 11:01:11 -06:00
1cg
bb4c77d922
Merge pull request #490 from guettli/patch-9
Added Tacoma and Yaris to cacading-select example

I'm a landcruiser guy (pre-1991) but OK :)
2021-05-17 10:40:31 -06:00
1cg
63f2f1bd42
Merge pull request #491 from SACDesign/SACDesign-typo-fix
fix typo
2021-05-17 10:39:45 -06:00
carson
e65872f37f clean up event dispatch after element has been removed 2021-05-17 10:38:43 -06:00
SA Carter
756a7cc045
fix typo
I noticed this typo by pure chance
2021-05-16 20:29:28 -05:00
Thomas Güttler
1fb7757026
Added Tacoma and Yaris to cacading-select example 2021-05-16 19:36:29 +02:00
carson
214a7e9f19 Merge branch 'dev' into feature_fix_event_dispatch_when_elt_removed_from_dom 2021-05-11 13:22:35 -06:00
carson
5da09c188a add atom feed link + header link 2021-05-11 13:20:06 -06:00
carson
4084e65229 Merge branch 'dev' into feature_fix_event_dispatch_when_elt_removed_from_dom 2021-05-10 15:51:10 -06:00
carson
438dae7408 add rss feed, fixes https://github.com/bigskysoftware/htmx/issues/477 2021-05-10 10:14:32 -06:00
carson
f97f825052 fix prompt issue
gen 1.4 test suite
2021-05-10 10:03:53 -06:00
carson
f375edc2f0 Merge branch 'master' into dev 2021-05-10 09:57:01 -06:00
1cg
477829d3e5
Merge pull request #443 from angusholder/patch-1
Fix the <title> of markdown docs
2021-05-10 09:52:59 -06:00
1cg
5f842f94e3
Merge pull request #448 from ribeiropaulor/patch-1
Update hx-swap.md to include the 'none' option
2021-05-10 09:49:58 -06:00
1cg
728f48763c
Merge pull request #455 from mvaled/ignore-metaKey-for-cmd-click
Ignore meta key for boosted links.

looks good, thank you
2021-05-10 09:49:35 -06:00
carson
9f04b85a9f tests for hx-trigger delay and throttle modifiers 2021-05-10 09:46:40 -06:00
carson
13acf899d7 Merge branch 'master' into dev 2021-05-10 09:37:25 -06:00
1cg
104c297313
Merge pull request #458 from oboxodo/patch-1
Fix throttling to avoid delaying
2021-05-10 09:36:43 -06:00
carson
9af253f286 first pass (needs 1 billion tests) 2021-05-10 09:36:30 -06:00
1cg
438273e3d0
Merge pull request #462 from edelvalle/master
Fix swap error when using hx-boost or swapping the body tag
2021-05-10 09:34:35 -06:00
1cg
c0922c0728
Merge pull request #465 from guettli/patch-8
advertise sponsoring.
2021-05-10 09:18:46 -06:00
1cg
6ee8e4bfd3
Merge pull request #481 from bigskysoftware/dependabot/npm_and_yarn/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9
2021-05-10 09:17:49 -06:00
1cg
203ef532fa
Merge pull request #482 from bigskysoftware/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.19 to 4.17.21
2021-05-10 09:17:40 -06:00
1cg
4de284c75d
Merge pull request #476 from landlockedsurfer/master
add withCredentials config option

thank you, great change!
2021-05-10 09:17:28 -06:00
dependabot[bot]
2ffb3e081f
Bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 15:17:27 +00:00
dependabot[bot]
0483d96a08
Bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 15:17:20 +00:00
1cg
7453663e4c
Merge pull request #479 from bigskysoftware/dependabot/npm_and_yarn/ua-parser-js-0.7.28
Bump ua-parser-js from 0.7.23 to 0.7.28
2021-05-10 09:15:43 -06:00
1cg
ec40952d46
Merge pull request #480 from bigskysoftware/dependabot/npm_and_yarn/handlebars-4.7.7
Bump handlebars from 4.7.6 to 4.7.7
2021-05-10 09:15:28 -06:00
dependabot[bot]
af1004c8f6
Bump handlebars from 4.7.6 to 4.7.7
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-08 22:24:19 +00:00
dependabot[bot]
0f554b520c
Bump ua-parser-js from 0.7.23 to 0.7.28
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.23 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.23...0.7.28)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 22:18:36 +00:00
Landlocked Surfer
f7a48f5a32 add withCredentials config option 2021-05-05 21:26:39 +02:00
Thomas Güttler
5f6fd27335
advertise sponsoring. 2021-04-27 13:40:54 +02:00
Eddy Ernesto del Valle Pino
6238e6caa0
Fix swap error when using hx-boost or swapping the body tag
When hx-boost is swapping the body, in some cases it fails with:

```
htmx:swapError
TypeError: Cannot read property 'tasks' of undefined
    at htmx-1.3.3.js:526
    at forEach (htmx-1.3.3.js:222)
    at handleAttributes (htmx-1.3.3.js:520)
    at insertNodesBefore (htmx-1.3.3.js:552)
    at swapInnerHTML (htmx-1.3.3.js:624)
    at swapOuterHTML (htmx-1.3.3.js:584)
    at swap (htmx-1.3.3.js:652)
    at selectAndSwap (htmx-1.3.3.js:715)
    at doSwap (htmx-1.3.3.js:2284)
    at handleAjaxResponse (htmx-1.3.3.js:2358)
```

because `swapOuterHTML` is not passing `settleInfo` to `swapInnerHTML`
2021-04-23 21:31:53 +02:00
Diego Algorta
81dc9cf27c
Fix throttling to avoid delaying
This changes throttling so it doesn't wait to be fired when the event happens, _unless_ it has already been fired and a timeout is waiting to be executed to clean itself.

Please note this is a bit of a shoot in the dark as I'm editing this directly in GitHub and haven't tested it, and of course I'm not adding/fixing any automated tests. So it's just an idea. :P
2021-04-20 00:37:45 -03:00
Manuel Vázquez Acosta
0335c4e657
Ignore metaKey for boosted links.
metaKey is the Cmd key in MacOS, which is used for the same purpose of opening
a link in another tab.

So it should be also used to ignore clicks on boosted links.
2021-04-19 09:12:25 +02:00
Paulo Roberto Ribeiro
9b31b628bb
Update hx-swap.md to include the 'none' option 2021-04-17 10:08:52 -03:00
1cg
5f72dfead6
Update docs.md 2021-04-16 09:50:18 -06:00
Angus Holder
b146120c20
Fix the <title> of markdown docs
I noticed all the markdown doc files declare their own page title, but on the live website all have the same title of "</> htmx - high power tools for html". It appears the title var wasn't getting used in the base layout template
2021-04-14 02:29:39 +01:00
carson
fa5dcbdc97 Merge branch 'master' into dev 2021-04-13 18:22:31 -06:00