Behive Tech Registry

Card

v0.4.0

A surface container with configurable padding and an optional header (icon + title + an `action` slot).

pnpm add @behivetech/atoms.card

Published to GitHub Packages

Set GITHUB_PACKAGES_TOKEN to list published versions. The repo is at v0.4.0.

Changelog

v0.4.0

Minor Changes

  • a7bf591: Restyle to Material Design 3. Colors, type, shape, elevation and motion now come from --md-sys-* tokens, and each one falls back to the pre-MD3 --color-* name. Hardcoded brand colors and filter: brightness() are gone, so components follow the theme in both light and dark.

    Interaction

    • Hover, focus and press show a translucent layer of the content color.
    • Interactive controls get a :focus-visible ring.
    • Small controls get a 48px touch target without changing their drawn size.

    Props and component sizes are unchanged.

    Visible changes

    • Buttons are pill-shaped.
    • Text fields are outlined with a transparent fill.
    • FormField labels use body-small type.
    • Tooltips and toasts use the inverse surface.
    • Modal has no outline and 28px corners.
    • The hero headline is display-medium at regular weight.
    • Sidebar and NavItem no longer read cms-admin's --admin-sidebar-* variables.

    Fixes: these never matched and now work:

    • The NavItem active state.
    • Spinner sizes.
    • Button icon-only widths.
    • Table row dividers.

    Specificity: modifier styles now use .BHT__X--mod.BHT__X (0-2-0). A single-class className override of a modifier-controlled property needs matching specificity to win.

  • a7bf591: Add a scrollableBody prop to Card, and fix selectors that never matched.

    • New prop: scrollableBody keeps the header fixed and scrolls only the body when the card has a bounded height.
    • Modal and Drawer now use scrollableBody instead of styling Card's internal classes.
    • Fix: Card's padding prop and its interactive-body styles now apply. Their selectors were missing the BHT__ prefix and matched nothing.
    • Fix: Modal bodies now scroll.
    • Fix: Drawer's left/right and top/bottom panel sizing now applies.

    If your app patched these bugs itself (for example with .BHT__Card--padding-md .BHT__Card__body-padding overrides), those patches are no longer needed after upgrading.

v0.3.1

Patch Changes

  • f8c57db: Generate TypeScript declarations once per build instead of once per format.

    dist/index.d.cts is no longer emitted. Nothing referenced it: each package's exports["."].types points at dist/index.d.ts, which is unchanged and still covers both the import and require conditions. There are no API, type, or runtime changes.

v0.3.0

Minor Changes

  • 08d7dd6: class names are namespaced with a BHT__ prefix, and sizing moves to rem

v0.2.2

Patch Changes

  • e634291: Fixed modal component and updates to others

v0.2.1

Patch Changes

  • 775262e: 55-58: File manager, theme editor, component catalog, site settings

v0.2.0

Minor Changes

  • 210f9a4: 36: Move editor, registry, and renderer into cms-admin

Patch Changes

  • cbe4e02: 36: MCP server, agents and other various fix
  • Updated dependencies [cbe4e02]
    • @behivetech/get-class-name@0.0.6

v0.1.0

Minor Changes

  • 4f8f5a7: Adding cms admin dashboard