fix: align dev target inconsistencies across hiccup, replicant, squint

- Squint section helper: add missing inner flex-column wrapper div
  (was putting children directly in section, unlike hiccup/replicant)
- Hiccup accordion text: shorten to match replicant/squint wording
- Squint dialog ID: rename "demo-dialog-sq" → "demo-dialog" to match others
This commit is contained in:
Florian Schroedl
2026-03-03 11:41:14 +01:00
parent 18043cb150
commit a9f4f4158c
2 changed files with 11 additions and 11 deletions

View File

@@ -70,9 +70,9 @@
;; ── Accordion ───────────────────────────────────────────────────────
(defn accordion-demo []
(section "Accordion"
(accordion/accordion {:title "What is this framework?"} "A cross-target component library for Clojure, ClojureScript, and Squint.")
(accordion/accordion {:title "How do I use it?" :open true} "Just require the namespace and call the component functions.")
(accordion/accordion {:title "Is it accessible?"} "Yes, components follow ARIA best practices.")))
(accordion/accordion {:title "What is this framework?"} "A cross-target component library.")
(accordion/accordion {:title "How do I use it?" :open true} "Just require the namespace and call functions.")
(accordion/accordion {:title "Is it accessible?"} "Yes, follows ARIA best practices.")))
;; ── Table ───────────────────────────────────────────────────────────
(defn table-demo []