Hyperscript gallery: index page for gallery/
Adds the top-level gallery/index.sx that links into the one-per-file gallery pages committed in the prior commit. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
43
sx/sx/applications/hyperscript/gallery/index.sx
Normal file
43
sx/sx/applications/hyperscript/gallery/index.sx
Normal file
@@ -0,0 +1,43 @@
|
||||
;; AUTO-GENERATED from spec/tests/hyperscript-upstream-tests.json
|
||||
;; DO NOT EDIT — regenerate with:
|
||||
;; python3 tests/playwright/generate-sx-tests.py --emit-pages
|
||||
|
||||
(defcomp ()
|
||||
(~docs/page :title "Hyperscript test gallery (831 tests)"
|
||||
(p :style "color:#57534e;margin-bottom:1rem"
|
||||
"Live cards for every upstream _hyperscript behavioural test. "
|
||||
"Each card renders the HTML into a sandbox, activates the hyperscript, "
|
||||
"dispatches the action, and runs the assertion. Pass/fail is shown "
|
||||
"with the same runtime path as the SX test suite.")
|
||||
(ul :style "list-style:disc;padding-left:1.5rem"
|
||||
(li :style "margin-bottom:0.25rem"
|
||||
(a :href "/sx/(applications.(hyperscript.gallery-dom))" :style "color:#7c3aed;text-decoration:underline;font-weight:500"
|
||||
"dom")
|
||||
(span :style "color:#78716c;margin-left:0.5rem;font-size:0.875rem"
|
||||
"(215 tests)"))
|
||||
(li :style "margin-bottom:0.25rem"
|
||||
(a :href "/sx/(applications.(hyperscript.gallery-control))" :style "color:#7c3aed;text-decoration:underline;font-weight:500"
|
||||
"control")
|
||||
(span :style "color:#78716c;margin-left:0.5rem;font-size:0.875rem"
|
||||
"(65 tests)"))
|
||||
(li :style "margin-bottom:0.25rem"
|
||||
(a :href "/sx/(applications.(hyperscript.gallery-events))" :style "color:#7c3aed;text-decoration:underline;font-weight:500"
|
||||
"events")
|
||||
(span :style "color:#78716c;margin-left:0.5rem;font-size:0.875rem"
|
||||
"(199 tests)"))
|
||||
(li :style "margin-bottom:0.25rem"
|
||||
(a :href "/sx/(applications.(hyperscript.gallery-reactivity))" :style "color:#7c3aed;text-decoration:underline;font-weight:500"
|
||||
"reactivity")
|
||||
(span :style "color:#78716c;margin-left:0.5rem;font-size:0.875rem"
|
||||
"(107 tests)"))
|
||||
(li :style "margin-bottom:0.25rem"
|
||||
(a :href "/sx/(applications.(hyperscript.gallery-expressions))" :style "color:#7c3aed;text-decoration:underline;font-weight:500"
|
||||
"expressions")
|
||||
(span :style "color:#78716c;margin-left:0.5rem;font-size:0.875rem"
|
||||
"(139 tests)"))
|
||||
(li :style "margin-bottom:0.25rem"
|
||||
(a :href "/sx/(applications.(hyperscript.gallery-language))" :style "color:#7c3aed;text-decoration:underline;font-weight:500"
|
||||
"language")
|
||||
(span :style "color:#78716c;margin-left:0.5rem;font-size:0.875rem"
|
||||
"(106 tests)"))
|
||||
)))
|
||||
Reference in New Issue
Block a user