1915 Commits

Author SHA1 Message Date
Adam Johnson
d129a3dc10
Rewrite scheme-relative URL’s to https (#870)
Scheme-relative URL’s were invented when HTTPS was slow, so HTTP pages could load resources insecurely, but a little faster. There’s no need to use them now as HTTPS is fast, and everything should be secure.
2022-04-07 13:30:43 -06:00
Adam Johnson
3ddf162d78
Document outerHTML limitation on <body> (#871)
Fixes #790.
2022-04-07 13:30:03 -06:00
Ben Croker
a5a290809c
Simplify htmx.trigger example 2022-03-28 11:25:00 +01:00
carson
9e3d33f90d fix link 2022-03-02 10:18:18 -07:00
carson
2e341fe6d6 Merge remote-tracking branch 'origin/master' 2022-03-02 08:55:02 -07:00
carson
7777452d28 fix integrity sha 2022-03-02 08:52:04 -07:00
Ben Croker
863f20e5f5
Improved alpine-morph description 2022-03-01 11:00:45 +00:00
Ben Croker
9081545706
Added the word "extension" 2022-03-01 10:47:11 +00:00
Ben Croker
69d26f9f4f
Moved hx-swap into correct position 2022-03-01 10:29:49 +00:00
Ben Croker
1df8b2dc8c
Moved hx-disinherit into correct position 2022-03-01 10:28:39 +00:00
carson
b4c83ca811 fix integrity sha 2022-02-24 16:10:44 -07:00
carson
d9f067fbfc narrow example 2022-02-23 14:10:06 -07:00
carson
93a99afea7 update website 2022-02-22 06:24:01 -07:00
carson
15ed75e627 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	package-lock.json
2022-02-22 06:22:11 -07:00
carson
e2944595a3 final release v1.7.0 2022-02-22 06:10:19 -07:00
carson
bad8995f59 release docs 2022-02-19 14:23:46 -07:00
carson
0f7f93f1f9 release prep 2022-02-19 14:18:13 -07:00
carson
b857ee3722 Merge branch 'dev' of github.com:bigskysoftware/htmx into dev 2022-02-19 14:17:33 -07:00
carson
c8022707bf Merge branch 'demo' into dev 2022-02-19 14:16:58 -07:00
carson
c55b8c052d update docs 2022-02-19 12:23:11 -07:00
carson
3d93251acd improve demo code:
* load htmx and hyperscript after mock-request, so you can use `init` and `load` correctly
* disable all disableable elements while the demo environment is loading
* support a `delay` attribute on templates to specify a delay
* merged @dz4k's excellent simplification to the eval code
2022-02-19 12:20:48 -07:00
carson
f7a51bdc66 Merge branch 'pull/830' into demo 2022-02-19 11:43:05 -07:00
Deniz Akşimşek
cf0a1a3a3f
interpolate: escape backticks 2022-02-19 16:26:43 +03:00
Iustinian Olaru
0fd917119b
Added selector for input of type button (#836)
Co-authored-by: Iustinian Olaru <iou@ramboll.dk>
2022-02-18 11:43:50 -07:00
Ben Beecher
5670e064f2
Slightly more descriptive function name (#831) 2022-02-18 11:41:56 -07:00
Brian Hetro
9dc54ee40e
Fix broken README link to Sinon.JS (#833) 2022-02-18 11:41:35 -07:00
Alejandro Schmeichler
4edeae9fe5
Make posted data available to template tag. (#835)
Demo code:

```html
<form hx-post="/form?token=123" hx-target="#result">
    <input name="name" value="John Smith" />
    <select name="role">
        <option selected value="admin">Admin</option>
        <option selected value="author">Author</option>
        <option selected value="guest">Guest</option>
    </select>
    <button type="submit">Submit</button> 
</form>

<output id="result"></output>

<template url="/form">
    <div>${JSON.stringify(params)}</div>
</template>
```
2022-02-18 11:41:13 -07:00
carson
e4d2b99820 fix name 2022-02-17 16:28:00 -07:00
carson
c33d5ba277 finishing touches 2022-02-17 16:25:54 -07:00
carson
a687383440 Merge remote-tracking branch 'origin/dev' into dev 2022-02-17 16:04:31 -07:00
carson
fec8802c3b Merge branch 'demo' into dev 2022-02-17 16:04:07 -07:00
Deniz Akşimşek
3bcaaf408b
Simplify interpolate() function in demo script 2022-02-18 00:30:16 +03:00
carson
6a91c29099 finishing touches 2022-02-17 13:29:01 -07:00
carson
76204210f1 update demo docs 2022-02-17 13:26:06 -07:00
carson
e85f2e97f5 redirect setup 2022-02-17 13:11:25 -07:00
carson
075385f96f redirect setup 2022-02-17 13:06:48 -07:00
carson
5a869424a3 demo site setup 2022-02-17 12:59:36 -07:00
carson
dd2e470422 demo site setup 2022-02-17 11:19:48 -07:00
Alejandro Schmeichler
d6321dfe22
Expand focus-scroll usage info (#829) 2022-02-17 11:04:46 -07:00
carson
67b4fb2042 gen dist 2022-02-17 06:53:20 -07:00
carson
78c8abb34a new extensions 2022-02-17 06:30:30 -07:00
carson
0e1e3c68a2 docs for release 2022-02-17 06:30:15 -07:00
Alejandro Schmeichler
8d6a7e05ad
Fix focus scroll page jumps using new htmx config.defaultFocusScroll setting. (#806)
* Add global config `scrollOnFocus`

* Change global to `defaultFocusScroll` and add new swap `focus-scroll` modifier

`focus-scroll` modifier accepts "true" and "false" values.

* Rename variables

* Code cleanup
2022-02-17 06:25:18 -07:00
dependabot[bot]
a4f7680217
Bump follow-redirects from 1.13.2 to 1.14.8 (#816)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.2 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.2...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-17 06:17:52 -07:00
mayowa
bda02d0d66
Document optional delay parameter for addClass, removeClass, remove (#820)
thank you!
2022-02-17 06:16:35 -07:00
Brian Fallik
0d7f469e79
fix minor typo (#823) 2022-02-17 06:16:03 -07:00
Alejandro Schmeichler
c49ce64d2d
Docs: add hx-vals example using the event object (#825) 2022-02-17 06:15:48 -07: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
84ef04beeb dist prep 2022-02-16 21:23:07 -07:00
carson
d4d20eb1b5 docs work 2022-02-16 20:20:06 -07:00