1023 Commits

Author SHA1 Message Date
carson
3325a9e6ab back out more aggressive validation 2021-03-06 10:01:47 -07:00
1cg
24b854723b
Merge pull request #400 from BoPeng/submit
Perform form validation even if the form is submitted by an element within it
2021-03-06 09:53:55 -07:00
carson
71179f9db1 manually merge https://github.com/bigskysoftware/htmx/pull/402 2021-03-06 09:43:18 -07:00
carson
83ad7a89b9 Merge branch 'dev' into pull/403 2021-03-06 09:40:32 -07:00
carson
b54d6e57d3 Improve API 2021-03-06 06:50:56 -07:00
dependabot[bot]
abe7308895
Bump pug-code-gen from 2.0.2 to 2.0.3
Bumps [pug-code-gen](https://github.com/pugjs/pug) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/pugjs/pug/releases)
- [Commits](https://github.com/pugjs/pug/compare/pug-code-gen@2.0.2...pug@2.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-03 04:24:36 +00:00
Bo Peng
962b540f0c validate form even if the form is submitted from an element within it 2021-03-02 12:40:33 -06:00
Bo Peng
4813982c1a Merge branch 'dev' of https://github.com/bigskysoftware/htmx into dev 2021-03-02 12:38:55 -06:00
carson
b683db0283 dist 2021-03-02 10:47:53 -07:00
carson
ef08797e19 dist 2021-03-02 10:47:22 -07:00
carson
a664587686 support the htmx:beforeSend event 2021-03-01 10:58:27 -07:00
Bo Peng
8d655da761 Merge branch 'dev' of https://github.com/bigskysoftware/htmx 2021-02-27 21:47:22 -06:00
carson
fa2b3c824b bump version 2021-02-27 20:01:50 -07:00
carson
835436a99b Multiple trigger issue - fix https://github.com/bigskysoftware/htmx/issues/392 and https://github.com/bigskysoftware/htmx/issues/390
Mark handling by element, rather than by event
introduce `consume` keyword on trigger to allow for preventing it from bubbling to parent
2021-02-27 20:01:39 -07:00
1cg
4cc29f9720
Merge pull request #388 from BoPeng/href
Use getAttribute("href") instead of .href in shouldCancel
2021-02-27 17:47:51 -07:00
carson
e0decc9a19 Merge branch 'pull/388' into dev 2021-02-27 17:45:16 -07:00
carson
74c4abe1be add test for shouldCancel() contribution by Bo Peng 2021-02-27 17:44:39 -07:00
carson
02d637785b support target option on hx-trigger, fixes https://github.com/bigskysoftware/htmx/issues/376#issuecomment-786821075 2021-02-26 15:05:40 -07:00
carson
3879970248 Merge branch 'dev' of github.com:bigskysoftware/htmx into dev 2021-02-26 14:21:01 -07:00
carson
a5241cc2df Merge remote-tracking branch 'origin/dev' into dev 2021-02-26 14:20:50 -07:00
carson
c1865740f3 bump version 2021-02-26 14:20:50 -07:00
carson
3bcae82498 return a promise for a bright hyperscript future 2021-02-26 14:20:49 -07:00
carson
ee33295cc0 Merge remote-tracking branch 'origin/dev' into dev 2021-02-26 14:12:18 -07:00
carson
53c195c5ca bump version 2021-02-26 14:12:04 -07:00
carson
bc2c9eb937 find the correct element to trigger after request events on 2021-02-26 14:11:45 -07:00
Bo Peng
a4412db6be Use getAttribute("href") instead of .href #385 2021-02-24 21:07:32 -06:00
carson
5a68871ac3 find the correct element to trigger after request events on 2021-02-23 14:01:35 -07:00
carson
f96d880e34 Merge remote-tracking branch 'origin/master' 2021-02-23 13:46:17 -07:00
carson
bb57526712 properly hide indicators when a request targets a parent element 2021-02-23 13:46:10 -07:00
1cg
b064e4010f
Merge pull request #382 from srkunze/ws-prefix
Completing websocket URLs - Great change, thanks!
2021-02-23 12:22:21 -07:00
1cg
2f2042e420
Merge pull request #384 from whamtet/dev
settle on SSE Swap event - Thank you!
2021-02-23 12:21:26 -07:00
Matthew Molloy
32a93388d8 settle on SSE Swap event 2021-02-23 18:55:00 +07:00
Sven R. Kunze
95d1b4a4a2 complete websocket URL
- use the current host and port
- use ws for http and wss for https
- these changes allow sending cookies of the current site
2021-02-22 17:18:26 +01:00
Ben Croker
8c018be61d
Break out of the while loop
Return will work, but is less correct and would break the flow of the function if code was ever added after it.
2021-02-20 09:15:10 +01:00
carson
b8ffa5c6a5 fix styling 2021-02-19 18:09:42 -07:00
carson
45daaa90c9 update version v1.2.1 2021-02-19 17:55:49 -07:00
carson
6ab08790b8 styling fix for chrome 2021-02-19 11:08:16 -07:00
carson
2ec66c2bf9 prep 1.2.1 release 2021-02-19 10:17:31 -07:00
carson
ed39bf08e4 prep 1.2.1 release 2021-02-19 10:08:15 -07:00
carson
eaad36248e prep 1.2.1 release 2021-02-19 10:07:59 -07:00
carson
acd15a5f5a allow users to configure a full page refresh on a history miss 2021-02-19 09:50:04 -07:00
carson
36e6020942 discard least recently used items if cache saving fails until empty
fixes https://github.com/bigskysoftware/htmx/issues/377
2021-02-19 09:41:40 -07:00
carson
11287d924b improve look of buttons 2021-02-18 21:15:02 -07:00
carson
cd639d1ded clean up mobile nav for docs 2021-02-18 21:08:13 -07:00
carson
a6c09931cd Merge branch 'master' into dev 2021-02-18 11:14:09 -07:00
carson
d2b1e10719 all for want of a p: don't blow history out on first successful cache usage :/
potentially fixes https://github.com/bigskysoftware/htmx/issues/370
2021-02-18 11:13:15 -07:00
1cg
b752486948
Merge pull request #374 from jreviews/patch-4
Fix version in quickstart cdn src
2021-02-18 10:41:02 -07:00
Alejandro Schmeichler
b1b337c937
Fix version in quickstart cdn src 2021-02-17 09:43:14 -04:00
1cg
7bc9e2e3cf
Merge pull request #371 from OmenApps/update_ws_docs
Updated to note that change in format and add info about optional prefix
2021-02-15 10:16:01 -07:00
Omen Apps
8d8a106219 Updated to note that change in format and add info about optional prefix 2021-02-15 12:12:38 -05:00