github emdash-cms/emdash @emdash-cms/admin@0.17.1

latest releases: @emdash-cms/sandbox-workerd@0.1.4, create-emdash@0.17.1, @emdash-cms/gutenberg-to-portable-text@0.17.1...
7 hours ago

Patch Changes

  • #1342 83daa41 Thanks @bergaaberg! - Adds Norwegian Bokmål (nb) locale to the admin UI.

  • #1334 dfabafe Thanks @theobaidur! - Honor the icon field on plugin adminPages in the sidebar nav.

    Plugin admin pages declared via adminPages: [{ path, label, icon }] previously rendered with a hardcoded PuzzlePiece glyph — the icon field was accepted in the types but never read at runtime. The sidebar now resolves the icon name to its @phosphor-icons/react component: common documented names (settings, chart, history, image, trophy, …) are statically mapped so they resolve synchronously, and any other name is matched against the full Phosphor set by converting it to PascalCase (e.g. chart-barChartBar) and lazy-loading it from a code-split chunk. The full set is therefore reachable without bundling it into the admin's main chunk. Unknown or omitted names fall back to PuzzlePiece, so the change is purely additive.

  • Updated dependencies []:

    • @emdash-cms/blocks@0.17.1

Don't miss a new emdash release

NewReleases is sending notifications on new releases.