
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@planningcenter/alert
Advanced tools
@planningcenter/alert
A small wrapper around sweetalert2. This library will eventually use configuration and styles from @planningcenter/sweetalert2 once they are ready.
BETA ⚠️ This package currently houses the initial Alert implementation from People. It should be considered unstable until out of beta. Use at your own risk!
The new Alert interface takes cues from console and mirrors sweet alerts in passed arguments, but waves away some of the configuration.
i.e. Alert.error({ title: "Uh Oh!", text: "Something went wrong", })
Alert Methods: confirm
, confirmCreate
, confirmDestroy
, error
, info
, success
, and warn
.
returns a Promise containing
{
value: String, // on submit (confirm)
dismiss: Boolean, // on cancel
}
The goal is to create validations that help us more closely align with global design patterns. The is some lightweight validation happening but for sake of time, we are only validating that there is text or html and title passed.
Headline (title) and Body (text) must be present.
reference: https://planningcenter.design/prompts
FAQs
Planning Center Opinions for SweetAlert2
We found that @planningcenter/alert demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.