Feature - Add Stepper pattern as base for Wizard composition#45
Feature - Add Stepper pattern as base for Wizard composition#45Copilot wants to merge 3 commits into
Conversation
Agent-Logs-Url: https://github.com/markmead/hyperux/sessions/7073359c-163e-4b7e-b062-26669b446f95 Co-authored-by: markmead <50486078+markmead@users.noreply.github.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
hyperux | 4d29ecc | Commit Preview URL Branch Preview URL |
May 21 2026, 04:33 PM |
|
@copilot Nice start. However, the |
Agent-Logs-Url: https://github.com/markmead/hyperux/sessions/8269c7a5-cfd9-4590-95b5-4673d26c9e4a Co-authored-by: markmead <50486078+markmead@users.noreply.github.com>
Implemented in commit Added
I also updated the Stepper demo/docs to show and document this mode. Screenshot: Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
This PR introduces a new
huxStepperAlpine pattern to support accessible step-based flows (multi-step forms/progress navigation) and establish a reusable foundation for a future Wizard component. It adds the runtime primitive, a demo, and implementation-aligned documentation using HyperUX’s demo-first format.Stepper runtime primitive (
huxStepper)huxStepperregistration inPatternRegistration.astro.stepItems, deterministic initial step resolution, linear navigation, direct step selection, and progress helpers.goToStep,goToPreviousStep,goToNextStepactiveStepId,activeStepIndex,isFirstStep,isLastStepisStepComplete,isStepCurrentstepsAreViewableconfig (default:false):false, completion is inferred from step position.true, step clicks are view-only andisStepComplete()does not assume completion.idis provided:hux-stepper:{id}:changewith{ stepId, stepIndex, totalSteps }.Stepper demo
src/components/demos/Stepper.astro.stepsAreViewable: truemode for non-assumptive step viewingdata-hux-copy).Stepper docs page
src/content/patterns/stepper.mdxwith required structure:aria-current="step", explicit button semantics,aria-live="polite").stepsAreViewablesemantics.> [!WARNING]
>
>