Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
@ukic/react
Advanced tools
The Intelligence Community Design System helps the United Kingdom's Intelligence Community (MI6, GCHQ, MI5, and partners) to quickly build powerful capabilities that are accessible and easy to use.
This is a joint project led by MI6, working with GCHQ and MI5.
To install the components:
In the root of your project:
// using npm
npm install @ukic/react @ukic/fonts
// using yarn
rm package-lock.json
yarn add @ukic/react @ukic/fonts
Import the component(s) in your React files.
import { IcComponent } from "@ukic/react";
To get the correct styling with the ICDS components, import the core CSS file.
Add the following into the top level CSS file for your project.
@import "@ukic/fonts/dist/fonts.css";
@import "@ukic/react/dist/core/core.css";
In order to be rendered consistently across browsers and in line with modern standards, each of the ICDS components uses styles from a global CSS file based on Normalize.css.
If you would like to import these styles to apply them to the rest of your project and slotted elements used within any of the ICDS components, add the following into the top level CSS file as well.
@import "@ukic/react/dist/core/normalize.css";
The @ukic/react
package will need to be transformed before you can use these components in Jest tests.
Add a transformIgnorePatterns
field with the value ["/node_modules/(?!@ukic/react)"]
to your Jest config.
We have a couple of resources to help you with contributing.
For a comprehensive changelog of the React components, please read the web components CHANGELOG. The released updates made to the web components are reflected on the React components.
If you've found a vulnerability, we want to know so that we can fix it. Our security policy tells you how to do this.
The team is only able to talk about the projects we've put on GitHub 🕵️. We unfortunately can't talk about the work of our departments 😢.
Visit our websites to learn more about:
Unless stated otherwise, the codebase is released under the MIT License. This covers both the codebase and any sample code in the documentation. The documentation is and available under the terms of the Open Government License v3.0.
© Crown copyright 2022
FAQs
React-wrapped web components compiled using StencilJS
The npm package @ukic/react receives a total of 5,037 weekly downloads. As such, @ukic/react popularity was classified as popular.
We found that @ukic/react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.