components
All repositories: gitoria
2.1 KB
# Mission 001 (old 042) — components.hybriel.worldapi.org#13: modal dialogTicket: `curl -s -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/components.hybriel.worldapi.org/tickets/13`App: loreana:/media/STORAGE/projects/components.hybriel.worldapi.org (ssh loreana, wrap commands in `bash -s`; fish shell).## BuildRead first: CONCEPT.md, README.md, STATUS.md, and two existing components end to end (components/date-picker/ andcomponents/md-editor/: file layout, own Style, demo page, README, how the gate tests them, how the home lists them).Build `components/modal/` the same way: one `modal.hl` with its own Style, `demo.hl` at `/modal`, README.md(usage, attributes, events), listed on the home page, gate checks in the components gate.Scope = the ticket's "Details" (title, content, optional footer buttons, close by ×/Esc/backdrop with backdrop-closeswitchable, focus kept inside and returned to the opener, no page scroll behind, phone-friendly, open/close from thehost, a "closed" signal with the reason). Colours only via the WorldAPI tokens with fallbacks (like the others); noborders on buttons unless inverted (creator's rule).## Proof- The components gate green (all existing checks + yours): open, each close path + reason, backdrop-close off, focusinside while open and back to the opener, Esc, no scroll behind, at phone width (390 px).- Screenshots of the demo at 1280 px and 390 px, open and closed — LOOK at them; keep them in /tmp/w042-shots/ on Loreana.- Ports 8732–8739 only (another worker uses 8720–8731).## RulesPure Hybriel — no hand-written JavaScript (a bridge to an EXTERNAL component is the only exception; a modal is not one).No changes under plugins/ or bin/. No git, never read `.env`, do NOT deploy, do NOT touch Byrodin. Leave nothing running.Read /media/STORAGE/projects/antcolony-docs/docs/hybriel-for-app-workers.md (pitfalls). If Hybriel blocks something(e.g. focus trapping or key events), stop that part and report the bug with a minimal repro.## Report (short)Files, decisions, gate command + last line, screenshot paths, open points, Hybriel issues.
Branches
Latest commits
- adfe2c4dAdd shuffle, repeat and repeatOne shared iconsmre
- c96709c8media-player: skip = false and repeat = 'one' options (jukebox#19)mre
- bd4aa808Record VL24 deployment and live verificationmre
- e5b98ecfRun virtual-list gate before deploymentmre
- 2e9b4a8evirtual-list: into main, with centerId and scrollTop/onScroll (jukebox#20)mre
- 69954249Align all plugin sources with Hybriel day38bmre
- f740f666Re-vendor components to Hybriel set day38bmre
- 8176eb14Record CS23b deployment and live verificationmre
- 84e3ddaaRemove blank line before pagination Style closing bracemre
- a92298ddRecord exact CSS and same-date proof after specificity reviewmre
- c71a0abePreserve consumer theme specificity with nested tag rulesmre
- 64a2bc27Document CS23b style formatting proof and review statusmre
- a72b57cficons: nest Style rules in the language's formmre
- 927616e2pagination: nest Style rules in the language's formmre
- aab8ad29code-editor: nest Style rules in the language's formmre
- ba30727afile-upload: nest Style rules in the language's formmre
- 42fefa4emodal: nest Style rules in the language's formmre
- 6fd953e3range-picker: nest Style rules in the language's formmre
- f661951ddate-picker: nest Style rules in the language's formmre
- 363577e6media-player: nest Style rules in the language's formmre