Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@hi-ui/alert
Advanced tools
作用于页面的内容区域的提示,非触发类信息
警示,内容提示,说明,要求,规则等阅读类信息
显示在页面局部的提示性文案
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
type | 警告提示类型 | string | 'primary' | 'warning' | 'success' | 'danger' | 'primary' |
title | 警告提示标题 | string | - | - |
content | 警告提示内容 | string | - | - |
closeable | 是否可关闭 | boolean | true | false | false |
duration | 自动关闭时间,单位为毫秒 | number | null | - | null |
名称 | 说明 | 类型 | 参数 | 返回值 |
---|---|---|---|---|
onClose | 关闭事件触发时的回调 | () => void | - | - |
参数 | 变更类型 | 变更内容 | 解决的问题 |
---|---|---|---|
closeIcon | feature | ||
showIcon | feature |
FAQs
A sub-package for @hi-ui/hiui.
We found that @hi-ui/alert demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.