3701 Commits

Author SHA1 Message Date
Carson Gross
bb046fdafc fix boosts 2025-11-09 14:09:03 -07:00
Christian Tanul
25c2a08617
Pimp out the website for htmx 4.0 (#3499)
flatten website directory structure and redesign UI
- move all templates from themes/htmx-theme/templates/ to www/templates/
- move all static assets from themes/htmx-theme/static/ to www/static/
- remove theme layer and update config.toml
- add tailwind css with typography plugin
- update hero section with 3D effects and subtle synthwave aesthetic
- update header with improved design and navigation
- add shortcut for search bar in header (CMD+K on macos, CTRL+K elsewhere)
- add status bar in header that displays title=... attribute on hover for any element
- update footer with improved design and navigation
- rename "examples" to "patterns" throughout site and docs
- reorganize patterns page from 7 categories to 4 (loading, interaction, display, advanced)
- add mac os9 finder-style design to patterns page with Chicago FLF font (classic OS9 window title font)
- add sidebar table of contents for /docs/, /reference/, and /htmx-4/ pages (mobile version still TODO)
- add `npm run site` script that uses npx for tailwindcss and zola-bin (no external dependencies needed)
- remove github buttons.js dependency and replace with custom buttons
- consolidate sponsor images into www/static/img/sponsors/ with logo-<company>.png|svg format
- standardize all image filenames to lowercase kebab-case
- clean up unused sponsor images from www/static/img/
- create construction_warning() shortcode for work-in-progress sections
- add reusable template components (toc, anchor links, sponsors shortcode)
- add horse easter egg when URL includes ?horse=true
- update website htmx.js to latest version
- update npm dependencie
2025-11-09 10:53:39 -07:00
Carson Gross
a419bc81f2 switch to hx-partial 2025-11-09 08:18:24 -07:00
Carson Gross
24e6d5d7c1 docs cleanup 2025-11-08 20:07:14 -07:00
Carson Gross
503313c42b add etag support 2025-11-08 19:54:13 -07:00
Carson Gross
ddb7bcd45a Merge branch 'feature/etag' into four 2025-11-08 19:28:10 -07:00
Carson Gross
76cb4bdea9 updated team 2025-11-08 19:27:59 -07:00
Carson Gross
497d85bc1a updated team 2025-11-08 19:00:20 -07:00
Carson Gross
5d26beadbb updated TODO 2025-11-08 17:51:32 -07:00
Carson Gross
f78de5a79f update docs 2025-11-08 17:47:27 -07:00
Carson Gross
7a7b5e9ba3 docs work 2025-11-08 17:31:15 -07:00
Carson Gross
61dcd67edd docs work 2025-11-08 17:17:07 -07:00
Carson Gross
e8eeb33db6 docs work 2025-11-08 16:53:57 -07:00
Carson Gross
324949d324 docs work 2025-11-08 16:50:39 -07:00
Carson Gross
de931ba2eb docs work 2025-11-08 13:17:47 -07:00
Carson Gross
bbcbf294fc docs work 2025-11-08 12:47:19 -07:00
Carson Gross
fca4729764 update the htmx-4.md document 2025-11-08 09:39:41 -07:00
Carson Gross
f2bcf9d3ce etag support 2025-11-08 08:03:05 -07:00
Carson Gross
8534ab1a7b add 304 as a default no-swap response code 2025-11-08 07:37:26 -07:00
Carson Gross
5f93b0d7c4 expand variables and code to make debugging easier 2025-11-08 07:36:46 -07:00
Krzysztof Szularz
d57874953f
Update index page with correct link to jsdelivr (#3490)
The current link is not working as the specified version doesn't exist as opposed to https://www.jsdelivr.com/package/npm/htmx.org?tab=files&version=4.0.0-alpha1
2025-11-06 19:35:37 -07:00
MichaelWest22
46c978c912
Attribute value only return string again (#3493)
* move attributeValue back to return string and optinally return source only for this target

* remove fetchOverride

---------

Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-06 19:35:20 -07:00
Tristan Druyen
91c3dfa87d
[4] Bind window context for Firefox compatibility (#3486)
Bind window context for Firefox compatibility

Causes "'fetch' called on an object that does not implement interface Window" otherwise.
2025-11-07 12:28:06 +13:00
Carson Gross
e339abdcd2 move extension tests out to their own directory 2025-11-06 12:38:22 -07:00
Carson Gross
55f1c17dc0 abort any outstanding requests after tests, make the trigger tests properly await the requests they create to avoid cross-test contamination. :/ 2025-11-06 12:34:53 -07:00
Carson Gross
08a6820d63 clean up html creation 2025-11-06 11:59:03 -07:00
Carson Gross
8fd2c86e84 tighten up the timeout 2025-11-06 11:54:48 -07:00
Carson Gross
e10768991d test cleanup 2025-11-06 11:53:18 -07:00
Carson Gross
0b48282a0f test cleanup 2025-11-06 11:52:14 -07:00
Carson Gross
3858a82242 test reorg and docs 2025-11-06 11:30:55 -07:00
Carson Gross
30ff306c31 support the ability to configure the "meta" character for systems like fastHTML that can't use the colon character 2025-11-06 11:13:19 -07:00
Carson Gross
83da589d33 update __attributeValue to return both the attribute value and the source 2025-11-06 10:32:10 -07:00
Carson Gross
ba18716cc5 clean up last old extensions 2025-11-06 10:31:42 -07:00
MichaelWest22
994decb6fa
fix select and strip and title handling (#3492)
Co-authored-by: MichaelWest22 <michael.west@docuvera.com>
2025-11-06 23:47:53 +13:00
MichaelWest22
77c17f3717
Update build:esm to replace __ with # correclty
The build system for esm is not replacing __ with # for some async prefixed functions causing the esm version to not run correctly
2025-11-06 16:10:41 +13:00
Carson Gross
8e994700ea update TODOS.md 2025-11-05 07:12:23 -07:00
Carson Gross
aa6f9dc759 fix base URL 2025-11-04 07:51:18 -07:00
Carson Gross
c41cef3584 update package lock 2025-11-03 12:20:14 -07:00
Carson Gross
cac0f1387f fix package 2025-11-03 11:46:20 -07:00
Carson Gross
72d6b7888f fix URL 2025-11-03 11:43:54 -07:00
Carson Gross
1480292fea kick netlify 2025-11-03 11:34:09 -07:00
Carson Gross
e3578992e9 kick netlify 2025-11-03 11:33:06 -07:00
Carson Gross
cd9ff02c0d kick netlify 2025-11-03 11:30:58 -07:00
Carson Gross
94b887962a kick netlify 2025-11-03 11:28:59 -07:00
Carson Gross
434808e8bb skip test failing in FF 2025-11-03 10:28:34 -07:00
Carson Gross
387b6f38d3 add distribution for dist 2025-11-03 10:15:12 -07:00
Carson Gross
c5f6e67fb0 final tests fixes for alpha-1 2025-11-03 10:10:44 -07:00
Carson Gross
2c835bcf3f Merge remote-tracking branch 'origin/four' into four
# Conflicts:
#	src/htmx.js
2025-11-03 10:06:14 -07:00
MichaelWest22
b8c2db7633 also run shouldCancel for event filters 2025-11-04 03:11:31 +13:00
MichaelWest22
a69c20f783 Remove settle delay, add initial non transition swap delay option. 2025-11-04 02:09:59 +13:00