Socket
Socket
Sign inDemoInstall

@vaadin/confirm-dialog

Package Overview
Dependencies
Maintainers
14
Versions
371
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/confirm-dialog - npm Package Compare versions

Comparing version 23.1.0-alpha3 to 23.1.0-alpha4

18

package.json
{
"name": "@vaadin/confirm-dialog",
"version": "23.1.0-alpha3",
"version": "23.1.0-alpha4",
"publishConfig": {

@@ -37,10 +37,10 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/button": "23.1.0-alpha3",
"@vaadin/component-base": "23.1.0-alpha3",
"@vaadin/dialog": "23.1.0-alpha3",
"@vaadin/button": "23.1.0-alpha4",
"@vaadin/component-base": "23.1.0-alpha4",
"@vaadin/dialog": "23.1.0-alpha4",
"@vaadin/vaadin-license-checker": "^2.1.0",
"@vaadin/vaadin-lumo-styles": "23.1.0-alpha3",
"@vaadin/vaadin-material-styles": "23.1.0-alpha3",
"@vaadin/vaadin-overlay": "23.1.0-alpha3",
"@vaadin/vaadin-themable-mixin": "23.1.0-alpha3"
"@vaadin/vaadin-lumo-styles": "23.1.0-alpha4",
"@vaadin/vaadin-material-styles": "23.1.0-alpha4",
"@vaadin/vaadin-overlay": "23.1.0-alpha4",
"@vaadin/vaadin-themable-mixin": "23.1.0-alpha4"
},

@@ -52,3 +52,3 @@ "devDependencies": {

},
"gitHead": "8c9e64e8dfa158dd52a9bf6da351ff038c88ca85"
"gitHead": "aacdb7fe09811894751f0378ff7fb66071892c71"
}

@@ -23,7 +23,2 @@ /**

/* Override display: contents */
:host([has-header]) ::slotted([slot='header']) {
display: block;
}
/* Make buttons clickable */

@@ -34,3 +29,3 @@ [part='footer'] > * {

`,
{ moduleId: 'vaadin-confirm-dialog-overlay-styles' }
{ moduleId: 'vaadin-confirm-dialog-overlay-styles' },
);

@@ -37,0 +32,0 @@

@@ -152,3 +152,3 @@ /**

listener: (this: ConfirmDialog, ev: ConfirmDialogEventMap[K]) => void,
options?: boolean | AddEventListenerOptions
options?: boolean | AddEventListenerOptions,
): void;

@@ -159,3 +159,3 @@

listener: (this: ConfirmDialog, ev: ConfirmDialogEventMap[K]) => void,
options?: boolean | EventListenerOptions
options?: boolean | EventListenerOptions,
): void;

@@ -162,0 +162,0 @@ }

@@ -109,3 +109,3 @@ /**

value: false,
notify: true
notify: true,
},

@@ -119,3 +119,3 @@

type: String,
value: ''
value: '',
},

@@ -128,3 +128,3 @@

type: String,
value: ''
value: '',
},

@@ -140,3 +140,3 @@

type: String,
value: 'Confirm'
value: 'Confirm',
},

@@ -152,3 +152,3 @@

type: String,
value: 'primary'
value: 'primary',
},

@@ -163,3 +163,3 @@

type: Boolean,
value: false
value: false,
},

@@ -174,3 +174,3 @@

reflectToAttribute: true,
value: false
value: false,
},

@@ -186,3 +186,3 @@

type: String,
value: 'Reject'
value: 'Reject',
},

@@ -198,3 +198,3 @@

type: String,
value: 'error tertiary'
value: 'error tertiary',
},

@@ -209,3 +209,3 @@

reflectToAttribute: true,
value: false
value: false,
},

@@ -221,3 +221,3 @@

type: String,
value: 'Cancel'
value: 'Cancel',
},

@@ -233,3 +233,3 @@

type: String,
value: 'tertiary'
value: 'tertiary',
},

@@ -243,3 +243,3 @@

type: HTMLElement,
observer: '_cancelButtonChanged'
observer: '_cancelButtonChanged',
},

@@ -253,3 +253,3 @@

type: HTMLElement,
observer: '_confirmButtonChanged'
observer: '_confirmButtonChanged',
},

@@ -262,3 +262,3 @@

_headerNode: {
type: HTMLElement
type: HTMLElement,
},

@@ -271,3 +271,3 @@

_messageNode: {
type: HTMLElement
type: HTMLElement,
},

@@ -281,4 +281,4 @@

type: HTMLElement,
observer: '_rejectButtonChanged'
}
observer: '_rejectButtonChanged',
},
};

@@ -305,3 +305,3 @@ }

'__updateMessageNode(_messageNode, message)',
'__updateRejectButton(_rejectButton, rejectText, rejectTheme, reject)'
'__updateRejectButton(_rejectButton, rejectText, rejectTheme, reject)',
];

@@ -343,3 +343,3 @@ }

return button;
}
},
};

@@ -411,3 +411,3 @@ }

const isElementNode = node.nodeType == Node.ELEMENT_NODE;
const isElementNode = node.nodeType === Node.ELEMENT_NODE;
const slotName = isElementNode ? node.getAttribute('slot') : '';

@@ -420,7 +420,7 @@

this[`_${button}Button`] = node;
} else if (slotName == 'header') {
} else if (slotName === 'header') {
this._headerNode = node;
}
} else {
const isNotEmptyText = node.nodeType == Node.TEXT_NODE && node.textContent.trim() !== '';
const isNotEmptyText = node.nodeType === Node.TEXT_NODE && node.textContent.trim() !== '';
// Handle default slot (message element).

@@ -427,0 +427,0 @@ if (isNotEmptyText || (isElementNode && node.slot === '')) {

@@ -8,3 +8,3 @@ import '@vaadin/vaadin-lumo-styles/color.js';

css`
:host([has-header]) [part='header'] ::slotted(h3) {
[part='header'] ::slotted(h3) {
margin-top: 0 !important;

@@ -31,3 +31,3 @@ margin-bottom: 0 !important;

@media (max-width: 360px) {
:host([has-footer]) [part='footer'] {
[part='footer'] {
flex-direction: column-reverse;

@@ -45,3 +45,3 @@ align-items: stretch;

`,
{ moduleId: 'lumo-confirm-dialog-overlay' }
{ moduleId: 'lumo-confirm-dialog-overlay' },
);

@@ -34,3 +34,3 @@ import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

`,
{ moduleId: 'material-confirm-dialog-overlay' }
{ moduleId: 'material-confirm-dialog-overlay' },
);
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