
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@klarna/ui
Advanced tools
This library contains the basic set of components used by multiple front end projects across Klarna. It exposes React API compatible components as well as CSS modules.
yarn add @klarna/ui
You can use the UI components either with React and Preact. Learn more in the docs.
This project has several peer dependencies that it needs to work. Although they are no technically peer dependencies, we need to treat them that way to ensure that Webpack does not bundle them twice in the final builds of the consumer projects.
Install all peer dependencies with:
yarn add prop-types react react-motion html2react ramda --save
This package has a build, but usage of it is not recommended. You must have a Babel pipeline to use it. Read more about how to config it.
There are plenty of articles in our wiki. Check it out
To run the project, NPM 3+ is required.
To run the showroom locally:
yarn install
yarn start
Open localhost:7777/ui/.
Please check the LICENSE file.
Make sure:
$grid variable to define your sizes, as in line-height: ($grid * 4). As a rule of thumb, if your element total height (sum of content, paddings, margins, etc.) has an integer multiple of $grid you should be good.npm run lint.curl -s https://raw.githubusercontent.com/xdissent/ievms/master/ievms.sh | env IEVMS_VERSIONS="9" bash.Then:
npm version <major|minor|patch> -m "Some message describing what happened" (tag will have v prefix). The message will be published as the release notes in Github.git push origin master --follow-tags)v in the "Tag version" field, ie. v4.13.2Travis will take care of publishing your new version to npm. In a matter of minutes it should be ready. You can check the status of the release publication by reading the log of the build corresponding to your tag. The list of Travis builds can be found in https://travis-ci.org/klarna/ui/builds
FAQs
Klarna's UI Components
The npm package @klarna/ui receives a total of 0 weekly downloads. As such, @klarna/ui popularity was classified as not popular.
We found that @klarna/ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.