
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
style-panel
Advanced tools
A CSS key-value panel for React.
style-panel is available as an npm package.
npm install style-panel
https://dht.github.io/style-panel
Here is a quick example to get you started:
Add icon font to header:
<link href="//fonts.googleapis.com/css?family=Material+Icons" rel="stylesheet">
Import
import StylePanel from 'style-panel/StylePanel';
Simple
<div style={{width: '400px',position: 'fixed',top: 0,left: 0,marginLeft: '60px',zIndex: 999,backgroundColor: 'white',boxShadow: '0 0 5px rgba(0,0,0,0.1)',borderRadius: '1px'}}>
<StylePanel
styleId={ 1 }
elementStyle={{color:'#f928f9', fontSize:'16px'}}
/>
</div>
Complete
<div style={{width: '400px',position: 'fixed',top: 0,left: 0,marginLeft: '60px',zIndex: 999,backgroundColor: 'white',boxShadow: '0 0 5px rgba(0,0,0,0.1)',borderRadius: '1px'}}>
<StylePanel
styleId={ 1 }
elementStyle={{color:'#f928f9', fontSize:'16px'}}
applyStyle={(style) => console.log(style)}
previewStyle={(style) => console.log(style)}
regainFocus={true}
hideStyleGrid={false}
iconName={'select_all'} // material icon such as: text_format, image, view_column
/>
</div>
To run locally install all the dependencies:
dev:
npm install
peer:
npm install react@^15.4.1 react-dom@^15.4.1 material-ui@^0.18.6
run with npm:
npm start
and open:http://localhost:3000
first test was added as a starting point:
npm test
We need to understand how to trigger long key presses and mouse moves in enzyme to further test this component. Any contributions are welcomed.
This project is licensed under the terms of the MIT license
FAQs
A CSS key-value panel for React
We found that style-panel 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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.