New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/vaadin-confirm-dialog

Package Overview
Dependencies
Maintainers
19
Versions
249
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-confirm-dialog - npm Package Compare versions

Comparing version 22.0.0-beta1 to 22.0.0-beta2

6

package.json
{
"name": "@vaadin/vaadin-confirm-dialog",
"version": "22.0.0-beta1",
"version": "22.0.0-beta2",
"publishConfig": {

@@ -35,5 +35,5 @@ "access": "public"

"dependencies": {
"@vaadin/confirm-dialog": "22.0.0-beta1"
"@vaadin/confirm-dialog": "22.0.0-beta2"
},
"gitHead": "4cf8a9d0504994200c610e44b3676114fef49c1e"
"gitHead": "f13833683e6667f6ca6678452db14aa6b7eac4a4"
}

@@ -1,55 +0,12 @@

# <vaadin-confirm-dialog>
# @vaadin/vaadin-confirm-dialog
[Live Demo ↗](https://vaadin.com/components/vaadin-confirm-dialog/html-examples)
|
[API documentation ↗](https://vaadin.com/components/vaadin-confirm-dialog/html-api)
> ⚠️  Starting from Vaadin 22, this package is deprecated.
> Please use [`@vaadin/confirm-dialog`](https://www.npmjs.com/package/@vaadin/confirm-dialog) instead.
[<vaadin-confirm-dialog>](https://vaadin.com/components/vaadin-confirm-dialog) is a Web Component providing an easy way to ask the user to confirm a choice, part of the [Vaadin components](https://vaadin.com/components).
A modal dialog web component for confirming user actions.
[![npm version](https://badgen.net/npm/v/@vaadin/vaadin-confirm-dialog)](https://www.npmjs.com/package/@vaadin/vaadin-confirm-dialog)
[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/vaadinvaadin-confirm-dialog)
[![Discord](https://img.shields.io/discord/732335336448852018?label=discord)](https://discord.gg/PHmkCKC)
> ℹ️  A commercial Vaadin [subscription](https://vaadin.com/pricing) is required to use Confirm Dialog in your project.
```html
<vaadin-confirm-dialog header="Unsaved changes" confirm-text="Save" reject-text="Discard" cancel reject>
Do you want to save or discard your changes before navigating away?
</vaadin-confirm-dialog>
```
[Documentation + Live Demo ↗](https://vaadin.com/docs/latest/ds/components/confirm-dialog)
[<img src="https://raw.githubusercontent.com/vaadin/vaadin-confirm-dialog/master/screenshot.png" width="200" alt="Screenshot of vaadin-confirm-dialog">](https://vaadin.com/components/vaadin-confirm-dialog)
## Installation
Install `vaadin-confirm-dialog`:
```sh
npm i @vaadin/vaadin-confirm-dialog --save
```
Once installed, import it in your application:
```js
import '@vaadin/vaadin-confirm-dialog/vaadin-confirm-dialog.js';
```
## Getting started
Vaadin components use the Lumo theme by default.
To use the Material theme, import the correspondent file from the `theme/material` folder.
## Entry points
- The component with the Lumo theme:
`theme/lumo/vaadin-confirm-dialog.js`
- The component with the Material theme:
`theme/material/vaadin-confirm-dialog.js`
- Alias for `theme/lumo/vaadin-confirm-dialog.js`:
`vaadin-confirm-dialog.js`
## Contributing

@@ -63,2 +20,3 @@

Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.
Vaadin collects usage statistics at development time to improve this product..
For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc