Skip to content

Releases: zanix-io/space-ui

Release list

v0.1.0

Choose a tag to compare

@Iscam2216 Iscam2216 released this 24 Aug 23:54

@zanix/space-ui v0.1.0 — Initial release

First public release of @zanix/space-ui: a renderer-agnostic, SSR-first presentational component
library for the Zanix ecosystem, shipped with both a React and a Preact entrypoint
(@zanix/space-ui / @zanix/space-ui/preact) sharing the same props and rendered markup.

Components

Interactive / stateful

  • Accordion, Disclosure — single- or multi-open collapsible sections
  • Menu — with submenus, open/onOpenChange control, aria-current
  • Tabs, RadioGroup
  • Modal / ModalProvider / useModal, Drawer, Popover, Tooltip
  • Combobox — searchable select with full keyboard navigation
  • Select
  • Slider — carousel with looping, autoplay, and shrink-safe index clamping
  • Showcase
  • Pagination
  • ToastProvider / useToast
  • Counter — animated count-up on intersection
  • Field, Input / FileInput
  • Recaptcha, HCaptcha, Turnstile
  • Table

Presentational

  • Icon (SVG sprite) + CatalogIcon (17-icon default catalog, sourced from Font Awesome Free
    7.3.1, CC BY 4.0) + createCatalogIcon (build your own catalog)
  • Link, Button, ImgButton
  • Image, Video (with Video.sources), IFrame
  • Card, Grid / GridItem, ProgressBar, Skeleton
  • Alert, VisuallyHidden
  • SocialNetworks
  • StructuredData / resolveStructuredData (JSON-LD)
  • RichText / formatRichText — markdown + a small ICU-tag vocabulary, with unsafe URL scheme
    neutralization

i18n

  • IntlProvider / useIntl / createFormatter — ICU MessageFormat, mixed plain-string and
    precompiled-AST catalogs in the same message set.

Foundation primitives (shared/)

Public, renderer-agnostic building blocks the components above are built on: focus scope, roving
focus, close-on-outside, live region, overlay stack, positioning (usePosition), script loader.

Theming & docs

  • theme/tokens.css + shared/behavior.css — optional scaffold-only starter styles
  • data-space-ui="<name>" — stable, semver-protected CSS selector hooks on every component's root
  • Full docs: docs/styling.md, docs/icons.md,
    docs/architecture.md

Known limitations

  • A handful of public type signatures reference vendor types (schema-dts's Thing, Preact's
    VNode, @formatjs's MessageFormatElement) that JSR's slow-types checker flags
    (private-type-ref) — a deliberate trade-off, not a correctness issue. See mod.ts's own
    comment and the CHANGELOG's "Known limitations" entry for the full list.
  • CatalogIcon's asset-scaffold wiring in @zanix/cli is fully built and tested but can't
    actually fetch this package yet — blocked on this first JSR publish landing.

Full details: CHANGELOG.md