This package has been deprecated

Author message:

Version no longer supported

@financial-times/workspace-menu
TypeScript icon, indicating that this package has built-in type declarations

2.1.4-rc.0 • Public • Published

Workspace Menu

A client-side utility to append Workspace navigation to the dotcom-ui-header.

  • Adds the navigation link to the mobile drawer.
  • Adds the navigation link to the desktop header.
  • Adds a dismissible tooltip to the desktop header link. The tooltip displays a maximum of three times, persisting the view count to localStorage.

Building

To build the library, run:

rushx build

Running

In order to see the library in action, run:

rushx demo

You can then view the static demo page directly (demo/index.html), or serve it using Caddy by running caddy run and visiting https://local.ft.com.

Readme

Keywords

none

Package Sidebar

Install

npm i @financial-times/workspace-menu

Weekly Downloads

36

Version

2.1.4-rc.0

License

ISC

Unpacked Size

63.4 kB

Total Files

24

Last publish

Collaborators

  • aendra
  • alexwilson
  • chee
  • emmalewis
  • hamza.samih
  • notlee
  • robertboulton
  • rowanmanning
  • seraph2000
  • the-ft