Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@digibib/deichman-ui

Package Overview
Dependencies
Maintainers
3
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digibib/deichman-ui

Deichman style-guide and component library

  • 6.1.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

Deichman-ui

NPM version Bundle size

Style-guide and component library for the Oslo public libraries

  • Documentation
  • Changelog

Built with

Developing

Local development is done via React-storybook. Clone the repo and run:

  npm i
  npm start

New components

Before adding a new Component, make sure this is a generic utility-component. If it's not, add it to the project where it will be used. I.E, an "Accordion" is generic, a "LibraryDetailsCard" is probably not.

New component checklist:
RequirementDescription
The component is semanticUse HTML5 markup, the correct font hierarchy etc.
The component is documentedEnsure the component has a Component.md file, a story and proptype definitions.
The component is accessibleUsable with a keyboard, correct :focus-styles, correct aria-roles.
The component is testedCross-browser testing.

Publishing

Make sure to update the changelog if there's any breaking changes.

To publish a new version of the library to npm:

  npm version {major/minor/patch}
  git push --tags
  git push origin master
  npm publish

To publish/update the docs:

  npm run deploy-storybook

CDN Cache

jsDelivr will cache the @latest tag for 24 hours, if you're using the latest version and wish to purge the cache, visit https://purge.jsdelivr.net/npm/@digibib/deichman-ui@latest/dist/index.css

FAQs

Package last updated on 24 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc