Carson Gross
ff8e146282
Merge branch 'master' into dev
...
# Conflicts:
# www/extensions.md
2022-10-23 09:20:14 -06:00
Ján Regeš
34582b839c
extensions: added new extension 'multi-swap' with mocha tests and docs ( #1096 )
...
* extensions: added new extension 'multi-swap' with mocha tests and docs
* multi-swap extension: removed forgotten debug console.log()
* multi-swap extension: removed forgotten debug comment from mocha test
2022-10-23 08:59:03 -06:00
Carson Gross
accd55d4e8
document the new head-support
extension
2022-10-18 13:39:07 -06:00
Carson Gross
9c74684881
rename
2022-10-15 09:35:55 -06:00
Carson Gross
418ce8e1e2
tighten up logic and trigger event w/ request info for better filtering possibilites
2022-10-13 14:42:03 -06:00
Carson Gross
c6c1395469
head-merge extension
2022-10-13 14:25:30 -06:00
Carson Gross
9af34ce0e3
fix revealed
bug
2022-10-12 22:46:02 -06:00
Carson Gross
cab3e352eb
Merge remote-tracking branch 'origin/dev' into dev
2022-10-02 16:43:12 -06:00
Carson Gross
c1bf3fa686
keep a count on indicators so we only hide when no requests are in flight
2022-10-02 16:43:00 -06:00
Carson Gross
35d5fc8086
Merge branch 'feature_update_on_attribute_changes' into dev
...
# Conflicts:
# CHANGELOG.md
# www/essays/hypermedia-driven-applications.md
# www/reference.md
2022-10-02 16:29:10 -06:00
Carson Gross
1dbb22b682
allow re-initialization if attributes change
2022-10-02 13:17:23 -06:00
Ben Lenton
c3662ce00d
Allow 'unset' directive for hx-vals and hx-vars ( #1013 )
...
* Allow 'unset' directive for hx-vals and hx-vars
* PR feedback
Co-authored-by: Ben Lenton <benlenton@Bens-MacBook-Air.local>
2022-09-30 14:08:46 -06:00
dependabot[bot]
51653ee93b
Bump github.com/labstack/echo/v4 from 4.1.17 to 4.9.0 in /test/realtime ( #1066 )
...
Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo ) from 4.1.17 to 4.9.0.
- [Release notes](https://github.com/labstack/echo/releases )
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/labstack/echo/compare/v4.1.17...v4.9.0 )
---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v4
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-30 14:01:04 -06:00
Carson Gross
4d1164c8e0
support the hx-validate
attribute, when set to true an individual input will validate itself.
2022-08-23 19:04:46 -06:00
Carson Gross
892173c355
fix tests
2022-07-11 16:29:40 -06:00
Carson Gross
207889f283
fix tests
2022-07-11 16:16:33 -06:00
Carson Gross
7e7a5b4361
fix https://github.com/bigskysoftware/htmx/issues/827
...
keep local URL anchors along for the magical ride into the history API, and scroll to the target directly to avoid adding a junk history entry along the way
have i mentioned that I hate the javascript history API?
2022-07-11 13:34:40 -06:00
Carson Gross
8b9585f439
flip revealed
to be a normal event
...
this fixes an ugly bug introduced when the trigger logic was pulled out, where the handler of the first revealed element was used over and over again for any future elements that also were revealed. many braincells lost mmm.
2022-07-08 13:54:25 -06:00
mayowa
9eef783011
Implement HX-Reswap ( #949 )
...
* Document optional delay parameter for addClass, removeClass, remove
* Implement HX-Reswap (resolves #933 )
2022-06-29 15:37:28 -06:00
Carson Gross
8e7a4bca27
Merge remote-tracking branch 'origin/dev' into dev
2022-05-31 13:30:42 -06:00
Carson Gross
05619c5bec
support the hx-select-oob
attribute
2022-05-31 13:30:34 -06:00
Ben Beecher
d51d8cb74c
Adding support for client side redirects - HX-Location ( #832 )
...
* Adding support for client side boosted redirects
* First pass at hx-boost-redirect
* Fixing some small documentation issues
* Rename boost-redirect to Location
2022-05-27 11:39:23 -06:00
Carson Gross
742f05b9bd
support filters on load
event
...
fixes https://github.com/bigskysoftware/htmx/issues/752
2022-05-13 08:44:41 -06:00
Carson Gross
8290da624b
support next
and previous
(taken from hyperscript) in target expressions
...
fixes https://github.com/bigskysoftware/htmx/issues/814
2022-05-13 08:14:38 -06:00
Ben Pate
ca27475b7b
Fix stylesheet in realtime tests
...
The stylesheet was preventing the "echo" test from working correctly. WS messages were sent/received correctly, but the results could not be displayed because the container size was too small. This patch allows the containers to grow, and display WS results correctly.
2022-04-18 14:09:30 -06:00
carson
3beec111b8
Merge remote-tracking branch 'origin/dev' into dev
2022-04-15 09:42:31 -06:00
carson
9e7d5e7939
attempt to reproduce https://github.com/bigskysoftware/htmx/issues/854 (unsuccessful so far)
2022-04-15 09:42:23 -06:00
David Guillot
be85c2c191
feat(ext): add disable-element extension ( #869 )
...
* feat(ext): add disable-element extension
* fixup! feat(ext): add disable-element extension
2022-04-08 13:13:03 -06:00
Denis Palashevskii
70b4ad16f0
Add data-loading-aria-busy directive for loading-states extension ( #864 )
...
* Add data-loading-aria-busy directive for loading-states extension; add tests for the extension
* Update docs
* Fix tests of scoped loading states
* Commit test files
* Improve delay tests by using sinon timer
* Add reference to MDN about `aria-busy` attribute
2022-04-07 13:34:41 -06:00
Adam Boaler
f302ad6fdd
Skip validation if form submit button has formnovalidate attribute ( #826 )
...
awesome, thank you for adding a test too!
2022-02-17 06:15:23 -07:00
carson
faec23002c
Merge remote-tracking branch 'origin/dev' into dev
2022-02-16 19:21:03 -07:00
carson
5cb4b4dd16
move title update after pushUrlIntoHistory()
...
fixes https://github.com/bigskysoftware/htmx/issues/746
2022-02-16 19:20:55 -07:00
Ben Pate
546e346e98
Restore hx-ws and hx-sse tags ( #811 )
...
absolute 👑
* Restore WS and SSE code
First pass at restoring removed ws and sse code. More to come.
* More progress on WS and SSE restore
* Update htmx.js
crucial whitespace
* Update documentation
* Combine SSE and WS servers into single "realtime" demo
* Realtime Test Server Updates
- separated tests for old- and new- style calling
- updated intro content and stylesheet
- removed extensions from manual test suite
* Remove SSE/WS from manual tests
2022-02-12 11:11:30 -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
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 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
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
cd6d2b78e2
convert objects to JSON representation
...
fixes https://github.com/bigskysoftware/htmx/issues/772
2022-01-18 20:21:26 -07:00
carson
e6751be2ee
first pass at hx-sync
attribute
2022-01-17 13:11:09 -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
Ben Beecher
326a9df916
renaming event and adding test around aborting swap
2022-01-15 13:44:24 -05:00
Ben Beecher
3152c77688
adding events around oob swaps
2022-01-15 13:27:11 -05:00
carson
c9e758f7ec
add regression for https://github.com/bigskysoftware/htmx/issues/768
2022-01-14 15:26:02 -07:00
carson
636fd1b902
fix tests + add test for https://github.com/bigskysoftware/htmx/pull/214
2022-01-14 12:54:28 -07:00