@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/web-components-ui",
3
- "version": "1.0.229",
3
+ "version": "1.0.230",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -88,21 +88,6 @@ const NotificationMixin = (superclass) =>
88
88
  this.#card = document.createElement('descope-notification-card');
89
89
  this.#card.addEventListener('card-closed', this.removeNotification.bind(this));
90
90
  }
91
-
92
- // animatedRemoveNotificationCard() {
93
- // const vaadinCard = this.baseElement._card.shadowRoot.querySelector('vaadin-notification-card');
94
- // vaadinCard.setAttribute('closing', '');
95
- // const name = getComputedStyle(vaadinCard).getPropertyValue('animation-name');
96
- // if (name && name !== 'none') {
97
- // const listener = () => {
98
- // this._removeNotificationCard();
99
- // vaadinCard.removeEventListener('animationend', listener);
100
- // };
101
- // vaadinCard.addEventListener('animationend', listener);
102
- // } else {
103
- // this._removeNotificationCard();
104
- // }
105
- // }
106
91
  };
107
92
 
108
93
  export const NotificationClass = compose(
@@ -1,6 +1,6 @@
1
1
  import globals from '../globals';
2
2
  import { getThemeRefs } from '../../helpers/themeHelpers';
3
- import { NotificationCardClass } from '../../components/descope-notification/descope-notification-card';
3
+ import { NotificationCardClass } from '../../components/descope-notification/descope-notification-card/NotificationCardClass';
4
4
 
5
5
  const globalRefs = getThemeRefs(globals);
6
6
  const vars = NotificationCardClass.cssVarList;
@@ -16,10 +16,7 @@ const notification = {
16
16
  [vars.boxShadow]: `${globalRefs.shadow.wide.xl} ${shadowColor}, ${globalRefs.shadow.narrow.xl} ${shadowColor}`,
17
17
  [vars.verticalPadding]: '0.45em',
18
18
  [vars.horizontalPadding]: '1em',
19
- [vars.verticalMargin]: '1em',
20
- [vars.horizontalMargin]: '1em',
21
19
  [vars.borderRadius]: globalRefs.radius.md,
22
- [vars.contentSpacing]: '0.5em',
23
20
 
24
21
  _bordered: {
25
22
  [vars.borderWidth]: globalRefs.border.sm,