![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@pap-it/button
Advanced tools
Readme
Atomic Type: atoms
Version: Version: 1.0.21
npm install @pap-it/button
<script type="module" defer>
import "@pap-it/button/wc"
</script>
<pap-button></pap-button>
import { Button } from "@pap-it/button/react";
function Component() {
return (
<Button />
)
}
Development takes place within the src
folder. To add a new subcomponent, use the command npm run component:add
. This command updates the .env
file, creates a view folder, and adds a subfolder in the components
folder (creating it if it doesn't exist) inside src
with all the necessary files.
Styling is managed in the style.scss
file, which automatically generates a style.ts
file for use in the component.
To view the component, run npm start
. This command is equivalent to npm run start demo
and launches the development server for the demo folder located within the views
folder. This allows you to preview your component during development.
All assets required by the component, such as icons and images for translations, should be placed in the assets
folder. This folder will already include an icons
and translations
folder with an en.json
file for English translations. Use this structure to organize translations and make them easily accessible for other projects.
For assets used solely for display or demo purposes, create a public
folder under the relevant directory inside the views
folder. These assets are not included in the component package.
--prod
flag (npm run build -- --prod
) for a production build, which includes minification.views
directory must contain an index.html
file. Usage example: npm run start --name=<folder>
.--force
flag is used. Optional flags include --verbose
and --force
.--verbose
& --force
.FAQs
Atomic Type: atoms
The npm package @pap-it/button receives a total of 5 weekly downloads. As such, @pap-it/button popularity was classified as not popular.
We found that @pap-it/button demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.