Skip to content

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 14:26
· 14 commits to main since this release

References regenerated from vue-ecosphere 1.2.0 (was 1.1.0) and react-ecosphere 1.2.0 (was 1.1.0).

vue-ecosphere changes:

Fixes and additions found while moving the Logiforma apps onto Ecosphere.

Added

  • EcoButton and EcoLink: to, a vue-router destination. With vue-router installed it renders an
    anchor through RouterLink (resolved href, client-side navigation, server-rendered href); a string
    falls back to a plain link when the router is absent. A disabled or loading button still renders a
    <button>. The link to the current route carries aria-current="page", and a tertiary button for it
    shows it (--surface-sunken), so a row of tertiary buttons works as a topbar.
  • EcoTabs: a tab item takes to. With vue-router installed the tab renders through RouterLink
    (resolved href, client-side navigation, modifier-clicks left to the browser, server-rendered href)
    and is current while its route is active, including a nested view below it; an empty-path "overview"
    tab is not current while a sibling's route is. A string to falls back to a plain link.
  • EcoProgressSteps (horizontal): a step takes to, rendered through RouterLink when the app has
    vue-router (a string falls back to a plain link). reachable marks an upcoming step the form lets
    people skip ahead to: with href or to it links too, keeping its number. Complete steps link as
    before; the current step never does.
  • EcoDialog: closable (default true). Set it to false for a dialog that must be answered, such
    as a consent gate: the × is not rendered, and Escape and the scrim do nothing, so only the footer's
    own buttons close it.
  • EcoAppShell: contentTag ("main" by default, see Fixed). An app whose slot already renders its
    own <main> sets content-tag="div" to keep a single main landmark.
  • EcoToast: live (default true, so a standalone toast is still a status); EcoToaster sets it to
    false (see Fixed).

Fixed

  • EcoAppShell: the work area is now a <main> landmark (it was a <div>), so screen-reader users
    can jump straight to the content.
  • EcoToaster: toasts from useToast() are now read out reliably. The always-present .toasts list
    is the aria-live="polite" region. Before, each toast was a role="status" region inserted together
    with its text, which screen readers often skip.
  • Dialogs (and useConfirm) now stack above an open EcoDrawer. Both sat at z-index 75 with the
    dialog scrim at 70, so a confirm opened from a drawer left the drawer bright and clickable behind the
    modal. .dlgscrim is now 80 and .dlg 85, still under toasts (95).
  • .page (a free-form screen inside EcoAppShell) now carries the right --page-x gutter, like
    .work__top and .listpane, so a page's content no longer runs to the right edge of the window.
    The AppShell docs now say which containers bring the gutter.
  • EcoMeter is a role="meter" with aria-valuenow (rounded), aria-valuemin="0",
    aria-valuemax="100" and aria-valuetext on the bar or ring itself. A ring is named by its
    label; an aria-label or aria-labelledby passed by the app names a bar (or an unlabelled ring).
    Before, assistive tech got a bare span/div with no value.
  • EcoNumberField:
    • a typed figure outside min/max is pulled back to the nearest bound when the field loses
      focus. Before, a typed 400 in a field with :max="40" reached the model unchanged.
    • text that stops being a number no longer keeps the last good figure: 12a now emits null and
      sets aria-invalid="true" (a lone - or . while typing empties the model without flagging it).
    • a fractional step (0.5, 0.1) sets inputmode="decimal", so phone keypads offer the decimal
      point, and an inputmode passed by the app now wins instead of being overwritten.
  • EcoTextField, EcoEmailField, EcoNumberField, EcoTextarea and EcoSwitch keep an
    aria-describedby passed by the app: it is merged after the field's own hint or error id instead of
    being replaced (or dropped when the field had neither).
  • EcoSearchField passes extra attributes (id, role, aria-*, listeners) to its <input>
    instead of the wrapper; class and style stay on the wrapper, so the field can be the input of a
    combobox. A keydown handler passed by the app runs first, and calling preventDefault() in it
    stops the field's own Enter (search) and Escape (clear).
  • EcoPhoneField without codes shows the dial code as plain text (phonefield__cc--fixed) instead
    of a focusable menu button that opened nothing, and the number input is described by it.
  • EcoTimeline (trail): a stage status shows its badge dot by default, as its EcoDataBadge type
    documents and every other data component does. dot: false still hides it.

react-ecosphere changes:

Matches vue-ecosphere 1.2.0: the stylesheet is copied from it, and the components carry its
additions and fixes.

Added

  • EcoButton, EcoLink, EcoTabs items and EcoProgressSteps steps take to. Pass your router's
    link component as as (react-router's Link), as on EcoNavItem: the link renders through it.
    Without as, a string to becomes the href. A disabled or loading button still renders a
    <button>. The router decides the current page: pass aria-current="page" to a button, and the
    current route's key as EcoTabs' value (routed tabs have no first-tab fallback).
  • EcoProgressSteps (horizontal): reachable marks an upcoming step people may skip ahead to; with
    href or to it links too, keeping its number.
  • EcoDialog: closable (default true). false drops the × and makes Escape and the scrim do
    nothing, for a dialog that must be answered.
  • EcoAppShell: contentTag ("main" by default; "div" when the children render their own
    <main>).
  • EcoToast: live (default true); EcoToaster sets it to false.

Fixed

  • EcoAppShell: the work area is a <main> landmark.
  • EcoToaster: the always-present .toasts list is the aria-live="polite" region, so toasts are
    read out reliably; the toasts inside it are no longer role="status" regions of their own.
  • Dialogs stack above an open drawer, and .page carries the right gutter (stylesheet).
  • EcoMeter is a role="meter" with its value on the bar or ring, named by the ring's label or an
    aria-label / aria-labelledby you pass.
  • EcoNumberField: a typed figure outside min / max is pulled back to the nearest bound on blur;
    text that is not a number reports null and sets aria-invalid; a fractional step uses
    inputMode="decimal", and an inputMode you pass wins.
  • EcoTextField, EcoEmailField, EcoNumberField, EcoTextarea and EcoSwitch merge an
    aria-describedby you pass after their own hint or error id.
  • EcoSearchField: attributes other than className and style (id, role, aria-*, handlers)
    go to the <input>, so it can be a combobox's input; an onKeyDown that calls
    preventDefault() keeps Enter and Escape for itself. Its props type now extends the input's
    attributes.
  • EcoPhoneField without codes shows the dial code as text (phonefield__cc--fixed) that
    describes the number, instead of a button that opened nothing.
  • EcoTimeline (trail): a stage status shows its badge dot unless dot is false.

References match vue-ecosphere 1.2.0 (97 components).

Claude Code

/plugin marketplace add bacon-delight/ecosphere-skill
/plugin install ecosphere@ecosphere

Codex / ChatGPT desktop: codex plugin marketplace add bacon-delight/ecosphere-skill, then install Ecosphere from the Plugins directory.

claude.ai or ChatGPT skill upload: download ecosphere-skill.zip (and ecosphere-migrate-skill.zip) below and upload it as a skill.