2.0.0 • Published 25 days ago

ritzau-menu-lib v2.0.0

Weekly downloads
-
License
-
Repository
-
Last release
25 days ago

How to?

Project files are found in lib folder

Test locally by running npm run dev. App.tsx has a bootstrap-based nav-bar where the menu icon is found.

Testing locally as a package

  1. Build the project npm run build
  2. Remember to update the verion in package.json and update the section Changelogs as well with the added functionality.
  3. Create a .tgz file using npm pack
  4. Copy the .tgz file to the project where you want to test.
  5. Point your command terminal to the folder where .tgz file is located and run npm install .\ritzau-menu-lib-1.0.4.tgz

    If the .tgz file is located in another directory, run command pointing to that directory f.eks., npm install ../../ritzau-menu-lib-1.0.4.tgz

Publishing to npm

  1. Build the library npm run build
  2. Build a tarball (.tgz) to test locally npm pack
  3. Publish to npm npm publish - must have a account in the npm

Changelogs

version 1.0.4

  1. Styling reflecting .net framework based RitzauMenu nuget.
  2. Uniform custom scrollbar for both Webkit-based and Firefox.
  3. Callback for closing menu in mobile based on close button.

version 1.0.5

  1. Added logout url
  2. Extra props appBasePath added. It is necessary for logout url as it communicates with the BFF.

version 2.0.0

  1. "vite": "^5.2.9",
  2. "typescript": "^5.2.2"
2.0.0

25 days ago

1.0.6

1 month ago

1.0.5

9 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago