![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@purple/phoenix-components
Advanced tools
Our aim is to build a simple React components library using styled components and typescript.
Our aim is to build a simple React components library using styled components and typescript.
3rd party libraries
Phoenix Components takes advantage of some 3rd party libraries and provides consistent styling for them.
react-select
for the Selectbox componentreact-window
for the Selectbox componentreact-dropzone
for the FileUpload componentreact-pdf
for the FileUpload componentreact-icons
for the FileUpload, Input, SelectBox, and SelectPicker componentsfloating-label-react
for the Input and TextArea componentsDocumentation
Install
npm i @purple/phoenix-components
Include Roboto font into repository Example:
<link
href="https://fonts.googleapis.com/css?family=Roboto:400,400i,500,500i,700"
rel="stylesheet"
/>
Import components
import { Input } from "@purple/phoenix-components"
Customization
To a certain degree, many of the components can be extended with styled-components
.
For example:
import styled from 'styled-components'
import { Input } from '@purple/phoenix-components'
const StyledInput = styled(Input)`
// css overrides here
`
But in most cases, you probably just want to change the theme. This can be done by wrapping your
app in a ThemeProvider
component from the styled-components
library.
https://styled-components.com/docs/advanced#theming
The theme must conform to a certain shape for this library to recognize the key names. Please
refer to src/theme.tsx
to see the shape. If you do not provide your own theme, this library
will use the theme in src/theme.tsx
.
FAQs
[![This project is using Percy.io for visual regression testing.](https://percy.io/static/images/percy-badge.svg)](https://percy.io/Purple-Technology/phoenix-components)
The npm package @purple/phoenix-components receives a total of 160 weekly downloads. As such, @purple/phoenix-components popularity was classified as not popular.
We found that @purple/phoenix-components 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.