@descope/web-components-ui 1.0.229 → 1.0.230
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.cjs.js
CHANGED
@@ -3,7 +3,6 @@
|
|
3
3
|
var merge = require('lodash.merge');
|
4
4
|
var set = require('lodash.set');
|
5
5
|
var Color = require('color');
|
6
|
-
require('@vaadin/notification');
|
7
6
|
|
8
7
|
const DESCOPE_PREFIX = 'descope';
|
9
8
|
const CSS_SELECTOR_SPECIFIER_MULTIPLY = 3;
|
@@ -8413,8 +8412,6 @@ const NotificationCardClass = compose(
|
|
8413
8412
|
})
|
8414
8413
|
);
|
8415
8414
|
|
8416
|
-
customElements.define(componentName$2, NotificationCardClass);
|
8417
|
-
|
8418
8415
|
const globalRefs = getThemeRefs(globals);
|
8419
8416
|
const vars$1 = NotificationCardClass.cssVarList;
|
8420
8417
|
|
@@ -8429,10 +8426,7 @@ const notification = {
|
|
8429
8426
|
[vars$1.boxShadow]: `${globalRefs.shadow.wide.xl} ${shadowColor}, ${globalRefs.shadow.narrow.xl} ${shadowColor}`,
|
8430
8427
|
[vars$1.verticalPadding]: '0.45em',
|
8431
8428
|
[vars$1.horizontalPadding]: '1em',
|
8432
|
-
[vars$1.verticalMargin]: '1em',
|
8433
|
-
[vars$1.horizontalMargin]: '1em',
|
8434
8429
|
[vars$1.borderRadius]: globalRefs.radius.md,
|
8435
|
-
[vars$1.contentSpacing]: '0.5em',
|
8436
8430
|
|
8437
8431
|
_bordered: {
|
8438
8432
|
[vars$1.borderWidth]: globalRefs.border.sm,
|
@@ -8754,21 +8748,6 @@ const NotificationMixin = (superclass) =>
|
|
8754
8748
|
this.#card = document.createElement('descope-notification-card');
|
8755
8749
|
this.#card.addEventListener('card-closed', this.removeNotification.bind(this));
|
8756
8750
|
}
|
8757
|
-
|
8758
|
-
// animatedRemoveNotificationCard() {
|
8759
|
-
// const vaadinCard = this.baseElement._card.shadowRoot.querySelector('vaadin-notification-card');
|
8760
|
-
// vaadinCard.setAttribute('closing', '');
|
8761
|
-
// const name = getComputedStyle(vaadinCard).getPropertyValue('animation-name');
|
8762
|
-
// if (name && name !== 'none') {
|
8763
|
-
// const listener = () => {
|
8764
|
-
// this._removeNotificationCard();
|
8765
|
-
// vaadinCard.removeEventListener('animationend', listener);
|
8766
|
-
// };
|
8767
|
-
// vaadinCard.addEventListener('animationend', listener);
|
8768
|
-
// } else {
|
8769
|
-
// this._removeNotificationCard();
|
8770
|
-
// }
|
8771
|
-
// }
|
8772
8751
|
};
|
8773
8752
|
|
8774
8753
|
const NotificationClass = compose(
|