2571 Commits

Author SHA1 Message Date
Saroj Dahal
9ef76a0935
Fix htmx-indicator example (#2021)
Update docs.md

Fix invalid class name (in style tag) of request indicator .
2023-11-22 08:50:09 -05:00
Angelo Fallaria
6630107ec2
docs(headers): add select to HX-Location (#2022) 2023-11-22 08:48:42 -05:00
Carson Gross
b9225a53e1 Merge remote-tracking branch 'origin/master' 2023-11-21 11:47:09 -07:00
Carson Gross
db5167ebeb Merge branch 'dev' v1.9.9 2023-11-21 11:46:07 -07:00
Carson Gross
555522baaa sha for release 2023-11-21 11:44:50 -07:00
Denis Palashevskii
2859b821a0
Fix hx-on anchor in the docs (#2020)
* Fix hx-on anchor in the docs

* add hx-on to table of contents in the docs

* preserve links integrity

There are most likely links to #the-hx-on-attribute in the wild.
I managed to find one on the Discord at list. Probably best to keep both options
2023-11-21 12:50:03 -05:00
Carson Gross
7b918d9d25 prep 1.9.9 release 2023-11-20 16:27:37 -07:00
Carson Gross
d5203c3b42 Merge remote-tracking branch 'origin/dev' into dev 2023-11-20 16:17:21 -07:00
ahollandECS
78a9ecf170
Fix for race condition in readystate detection (#1972)
* trying to fix readystate race condition

* es6 to es5

* serialized intitialization routines

* encapsulating ready function call
2023-11-20 11:07:01 -06:00
Carson Gross
c538c65a4b fix typo 2023-11-19 18:30:40 -07:00
Carson Gross
52d19a47fb Merge remote-tracking branch 'origin/dev' into dev 2023-11-19 07:56:40 -07:00
Dan Palmer
0b37d0507d
Fix relative resource URLs for boosted links (#1960)
Fix relative URLs
2023-11-19 07:56:06 -07:00
Carson Gross
087f7cb45a Merge branch 'master' into dev 2023-11-19 07:53:45 -07:00
Carson Gross
331f79d469 fix typo 2023-11-18 21:06:25 -07:00
Carson Gross
62ef92ccce fix typo 2023-11-18 20:57:16 -07:00
Carson Gross
a573775cb5 Merge remote-tracking branch 'origin/master' 2023-11-18 20:25:07 -07:00
Carson Gross
29bb2abcc6 new essay 2023-11-18 20:24:59 -07:00
Carson Gross
242f6631fa Merge remote-tracking branch 'origin/master' into dev
# Conflicts:
#	www/content/docs.md
2023-11-16 16:53:23 -07:00
Carson Gross
a59a10baad bump for next version 2023-11-16 16:52:11 -07:00
Carson Gross
ab8605714f Merge remote-tracking branch 'origin/dev' into dev 2023-11-16 16:50:16 -07:00
Spiro Floropoulos
7f3d752553
Adding Laravel PHP Example (#1982)
Co-authored-by: 1cg <469183+1cg@users.noreply.github.com>
2023-11-16 14:04:10 -07:00
matiboy
c454ea4eee
Fix WS sendImmediately (#1949)
* Tests at current state of the code

* Currently failing case (actual issue)

* Fix issue

---------

Co-authored-by: mat <matt@techspace.asia>
2023-11-16 13:48:36 -07:00
michaelperel
68661753bd
fix indicator styles flash (#1227)
fix flash of indicator when first added to page
2023-11-16 13:46:29 -07:00
Jonathan Rietveld
7ef95e8963
Allow CSS selectors with whitespace in hx-trigger (#1913)
* Allow CSS selectors with whitespace in `hx-trigger`

Parsing of `hx-trigger` scans for whitespace, so if a CSS selector is used that contains whitespace, e.g. `form input`, a syntax error is raised.
A workaround is implemented by allowing such a CSS selector to be wrapped in either curly braces or parentheses.

* Add explanation whitespace in CSS selector to docs

* Tests for CSS selectors containing whitespace

* Use faster RegEx test, remove redundant variable declarations

* Added Descendant Combinator support to `root` and `target` modifiers

* Add missing semicolon

* Tests for descendant combinators in `root` and `target` modifiers

* Improve descendant combinator test coverage
2023-11-16 13:45:46 -07:00
gbourant
6a9a861ad9
Allow user to override Content-Type header (#1906)
* allow user to override Content-Type header

* reorder the code so it won't use userSetContentType variable

* remove userSetContentType

* clarification

* remove unrelated changes

---------

Co-authored-by: gbourant <root@gbourant.com>
2023-11-16 13:42:45 -07:00
Alexander Petros
f9e9588a24
Update contribution guidelines (#1943)
* Update contribution guidelines

Break the PRs section into technical requirements and guidelines for how
we reviews. Add new info about how to craft PRs that are easy for us to
review.

* Fix typo

* Add note about extensions

* New extension guidelines
2023-11-16 13:41:26 -07:00
Alexander Petros
c27907c50b
Add a PR template (#1980)
* Add a PR template

* Add note about features

* Add new extension guidelines
2023-11-16 13:39:17 -07:00
Vincent
d7735ad645
Fix missing ignoreTitle property declaration in htmx.config (#1981)
* Fix missing ignoreTitle property declaration in htmx.config

* Add ignoreTitle to htmx.d.ts
2023-11-16 13:38:16 -07:00
Jacob Scott
cabff5db14
Add select option to htmx.ajax() (#1985)
adds select to ajax api
2023-11-16 13:37:38 -07:00
Sascha Woo
748dd0c246
Add config option scrollIntoViewOnBoost to typescript defs (#1986) 2023-11-16 13:36:51 -07:00
Max von Webel
0b0887c23e
Fixed typo in examples (#2002)
lower case "i" in UIKit
2023-11-16 15:22:09 +01:00
Pablo Nicolas Diaz
9fe0a68031
Escape HTML on demo server (#1995)
fix: add missing parsing on submit
2023-11-15 11:30:43 -05:00
Carson Gross
5083393a9b Merge remote-tracking branch 'origin/master' 2023-11-14 18:30:19 -07:00
Carson Gross
e0af62171b update sponsors 2023-11-14 16:49:53 -07:00
RBRi
31908e4839
Add missing '})' in core ajax tests (#1998) 2023-11-14 15:27:50 -05:00
Joe Taber
f716383716
Add configuration options list to reference docs (#1927)
Could not figure out how to import directly from docs.md with zola.
2023-11-10 21:31:29 -05:00
Vincent
9c87f40bd4
Homogenize configuration docs (#1973)
* Homogenize configuration docs

* Remove source change
2023-11-10 14:23:28 -05:00
Cristi
798a32b1e8
documentation update php symfony (#1978)
* docs: php (symfony sdk)

* docs: twig support for fragments

---------

Co-authored-by: Cristian Toma <cristian.toma@vivre.eu>
2023-11-09 16:20:47 -05:00
Alexander Petros
4f75a38123
Fix link on scaling essay (#1983) 2023-11-08 16:34:49 -07:00
Alexander Petros
2e5f813c91
Replace keyup with input event (#1952)
`keyup` only works with a keyboard, and ignores pasting with a right click or programmatically updating the value with JS. 

`input` is a better event for detecting any "inputs to the input".

Co-authored-by: Sam Eaton <sam@eaton.party>
2023-11-08 22:33:26 +01:00
Carson Gross
62cabf3308 add scaling essay 2023-11-08 13:32:41 -07:00
Carson Gross
06001e2cbb Merge branch 'dev' 2023-11-08 13:31:32 -07:00
Carson Gross
8c5e053377 add links to article 2023-11-08 13:31:19 -07:00
Carson Gross
953ce54b7e update sha 2023-11-07 10:02:07 -07:00
Carson Gross
616f7529d1 essay 2023-11-06 20:43:36 -07:00
Carson Gross
d1cb1acaa3 Merge remote-tracking branch 'origin/dev' into dev v1.9.8 2023-11-06 18:04:05 -07:00
Carson Gross
6fe62580e0 prep 1.9.8 release 2023-11-06 18:03:43 -07:00
Alexander Petros
37a864ea0f
Add new config options to typescript defs (#1970)
Fixed version of #1936
2023-11-06 17:55:18 -07:00
Vincent
563ce5d042
List extended selectors + caveats in hx-include doc (#1522)
List extended selectors + caveats in hx-include doc
2023-11-06 16:53:34 -05:00
Alexander Petros
2c2bf5679f
Remove type:module from package.json (#1968) 2023-11-06 19:00:37 +01:00