3150 Commits

Author SHA1 Message Date
Markus Unterwaditzer
8d07de9708
fix vertical alignment of github stars button in all states (#3006)
Without uBlock, the button's alt-text would be 1px lower than the rest
of the nav items, and inconsistently capitalized.

With uBlock, the button would be slightly too high up.

This is on Firefox.

The solution is to apply styles on the `span` that GitHub's JS inserts.
However, using margin will make the entire nav jump during pageload, so
position: relative seems more robust there.
2024-11-13 22:29:30 -05:00
Alexander Petros
82eb2a635a
Fix name on essay (#3019)
Fix name on essay
2024-11-13 17:24:46 -07:00
Alexander Petros
ccbc101dd8
Add web components essay (#3018) 2024-11-13 15:20:56 -07:00
Sascha Woo
df73ff2a7a
Add missing disableInheritance documentation (#3017) 2024-11-13 16:05:04 +01:00
Markus Unterwaditzer
79b6504d63
Fix wrong cursor style in webring (#3015) 2024-11-12 07:53:34 +01:00
Simon Hartley
d39dd0e576
[Documentation] Add missing default extension points (#3014) 2024-11-12 07:52:13 +01:00
Carson Gross
3dc73f6d04 reorganize essays 2024-11-07 10:19:19 -07:00
Pouria Ezzati
5de1c76f6c
Add Next.js to htmx essay (#3002)
add next.js to htmx essay
2024-11-07 10:16:25 -07:00
Carson Gross
e5e8d9c38d Merge remote-tracking branch 'origin/master' 2024-11-05 12:28:28 -07:00
Carson Gross
b37b438c4f remove single line closing angle brackets wft 2024-11-05 12:28:17 -07:00
Lee Phillips
e88bc9b35b
Update server-examples.md (#2996)
Add links to two Julia projects by Lee Phillips.
2024-11-03 22:20:37 -06:00
Maik Jablonski
5d27ee7856
Added Jeasx example for template fragements (#2991) 2024-11-02 09:25:24 -06:00
maddalax
b9c25acf64
Add htmgo to server examples (#2992)
* add htmgo

* move
2024-10-31 09:31:20 -06:00
Rob Zimmerman
d39a598e0b
Fixing a typo in confirm.md (#2988)
`evt` is not the correct variable name here - it should be `e`.
2024-10-31 10:18:01 +01:00
Carson Gross
841df9b6e6 fix link 2024-10-28 10:45:51 -06:00
Carson Gross
0a62d025cf Merge remote-tracking branch 'origin/master' 2024-10-27 16:49:52 -06:00
Carson Gross
3517c734e5 add sponsor 2024-10-27 16:49:43 -06:00
Simon Hartley
1a1b4a1613
docs: Fix typo (#2984) 2024-10-27 08:00:33 +01:00
Simon Hartley
70da8e43a6
Fix typo on extensions page (#2983) 2024-10-26 09:17:22 +02:00
Simon Hartley
43e703bda1
Fix link to no-cache extension readme (#2981) 2024-10-25 08:55:40 +02:00
Spencer Brown
2617bbded6
"Download a Copy" in the doc points to old release 2.0.2; this PR changes it to 2.0.3 as it should be (#2980)
Fix "Download a copy" link to point to current 2.0.3
2024-10-25 08:54:28 +02:00
Paweł Korzeniewski
ff6964b6a5
Add missing word in previous CSS selector documentation (#2977) 2024-10-23 08:34:32 +02:00
Carson Gross
3a105a900b Merge remote-tracking branch 'origin/master' 2024-10-17 07:35:17 -06:00
Carson Gross
10658a049b remove 2024-10-17 07:35:09 -06:00
grugBraid
b6af863e52
Add link to contact-app built in Blazor (#2970)
* Added htmx contact app using Blazor SSR

* add back whitespace
2024-10-17 09:46:09 +02:00
Carson Gross
c5e82ba49f Merge remote-tracking branch 'origin/master' 2024-10-14 06:16:56 -06:00
Carson Gross
0d217e9b09 add photoquest to webring.md 2024-10-14 06:16:47 -06:00
Paweł Korzeniewski
0ce391e924
Use correct extended CSS selector name in hx-trigger notes section (#2964) 2024-10-13 10:08:10 +02:00
youssame
56ca3eeef2
docs: Fix typo in URL to prevent broken link redirect (#2962)
Doc: Fix typo in URL to prevent broken link redirect
2024-10-11 18:21:42 +02:00
MichaelWest22
1242977d11
improve hx-preserve documentation (#2949) 2024-10-07 18:58:49 +02:00
eikek
8a60c695bf
Add htmx4s to scala server-examples (#2722)
Add htmx4s to scala examples
2024-10-05 09:40:57 +02:00
Viktor Szépe
e64ca1ff38
Fix typos in docs (#2943) 2024-10-05 09:38:40 +02:00
Carson Gross
defcf160d8 add moveBefore() demo 2024-10-04 13:15:07 -06:00
Carson Gross
b19e2f7dab add moveBefore() demo 2024-10-04 13:04:58 -06:00
Carson Gross
52f8076dcf Merge remote-tracking branch 'origin/master' 2024-10-04 11:53:48 -06:00
Carson Gross
d6e17abb13 final doc fix v2.0.3 2024-10-04 11:53:03 -06:00
Bracken
08369730b6
Clarify event filter uses in hx-trigger (#2914)
* Clarify event filter uses in hx-trigger

* Change hx-trigger event filter example to avoid ambiguity

input is both a tag and an event.

* Document the scope difference between standard selector and event filter

from:input listens to the page and click[event.target.matches('input')] listens to the element.

* Document that event filters as an alternative to CSS selectors require eval

* Move note about eval to standard event filters section.

* Simplify the referenced to standard event filters in the standard event modifiers section, and link to the standard event filters section instead.

* End quote in the correct place in standard event modifier doc.

* Correct language on how event filters from:body receive events.

* hx-trigger filter example catches click events specifically.
2024-10-04 09:26:09 +02:00
Carson Gross
5b2fe2c19c move general extension docs back to htmx.org/extensions and include core extension documentation on the site 2024-10-03 18:52:59 -06:00
Carson Gross
f4e67863d9 release prep 2024-10-02 22:06:56 -06:00
MichaelWest22
033d295ef9
fix es6 tsc checks complaining on newer s regex flag (#2938) 2024-10-02 22:05:40 -06:00
Carson Gross
56f801f69d release prep 2024-10-02 21:09:37 -06:00
Carson Gross
2fc32b368c release prep 2024-10-02 20:22:11 -06:00
Carson Gross
9b9bb7b5fa release prep 2024-10-02 20:20:57 -06:00
Carson Gross
d9b4ada06b release prep 2024-10-02 20:19:43 -06:00
Carson Gross
1c4d378d03 fix formatting 2024-10-02 20:11:29 -06:00
Carson Gross
c7278c448e fix test (firefox, safari) 2024-10-02 20:09:11 -06:00
Carson Gross
a440bcdb41 Merge branch 'master' into dev 2024-10-02 19:58:39 -06:00
Carson Gross
1537833ae0 Merge remote-tracking branch 'origin/dev' into dev 2024-10-02 19:58:30 -06:00
MichaelWest22
958fef20d9
Add shadowRoot host selector (#2866) 2024-10-02 19:46:11 -06:00
Jonathan
99285cd5c3
fix for hx-swab-oob within web components (#2846)
* Failing test for oob-swap within web components

* hx-swap-oob respects shadow roots

* Lint and type fixes

* fix jsdoc types for rootNode parameter

* Fix for linter issue I was confused about before

* oob swaps handle global correctly

* swap uses contextElement if available, document if not

Previous a commit made swapOptions.contextElement a required field. This
could have harmful ramifications for extensions and users, so instead,
the old behavior of assuming document as a root will be used if the
contextElement is not provided.

* rootNode parameter is optional in oobSwap

If not provided, it will fall back to using document as rootNode. jsdocs
have been updated for oobSwap and findAndSwapElements accordingly.
2024-10-02 19:44:41 -06:00