Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools oft miss.
bee-colorpicker
Advanced tools
react colorpicker component for tinper-bee
可定制的取色板组件
先进行下载bee-colorpicker包
npm install --save bee-colorpicker
组件调用
import ColorPicker from 'bee-colorpicker';
ReactDOM.render(
<ColorPicker label="颜色" />
, document.getElementById('target'));
<link rel="stylesheet" href="./node_modules/bee-colorpicker/build/ColorPicker.css">
import "./node_modules/bee-colorpicker/src/ColorPicker.scss"
//或是
import "./node_modules/bee-colorpicker/build/ColorPicker.css"
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
className | 类名 | string | - |
value | input当前值 | string | - |
required | 是否是必输项 | bool | false |
disabled | 是否禁用 | bool | false |
disabledAlpha | 是否禁用透明度 | bool | false |
placeholder | input中的提示信息 | string | - |
onChange | input值发生改变触发的回调 | func | - |
autoCalculate | 根据选中的颜色自动计算比其 浅一色度/深一色度 的色值 | func | - |
$ npm install -g bee-tools
$ git clone https://github.com/tinper-bee/bee-colorpicker
$ cd bee-colorpicker
$ npm install
$ npm run dev
FAQs
ColorPicker ui component for react
The npm package bee-colorpicker receives a total of 11 weekly downloads. As such, bee-colorpicker popularity was classified as not popular.
We found that bee-colorpicker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools oft miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.