@vaadin/notification 25.3.0-alpha6 → 25.3.0-alpha8

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.
@@ -418,30 +418,6 @@
418
418
  "name": "opened-changed"
419
419
  }
420
420
  ],
421
- "mixins": [
422
- {
423
- "name": "NotificationMixin",
424
- "module": "src/vaadin-notification-mixin.js"
425
- },
426
- {
427
- "name": "ElementMixin",
428
- "package": "@vaadin/component-base/src/element-mixin.js"
429
- },
430
- {
431
- "name": "ThemableMixin",
432
- "package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
433
- },
434
- {
435
- "name": "PolylitMixin",
436
- "package": "@vaadin/component-base/src/polylit-mixin.js"
437
- }
438
- ],
439
- "superclass": {
440
- "name": "LitElement",
441
- "package": "lit"
442
- },
443
- "tagName": "vaadin-notification",
444
- "customElement": true,
445
421
  "attributes": [
446
422
  {
447
423
  "name": "assertive",
@@ -514,8 +490,39 @@
514
490
  "name": "NotificationMixin",
515
491
  "module": "src/vaadin-notification-mixin.js"
516
492
  }
493
+ },
494
+ {
495
+ "type": {
496
+ "text": "string"
497
+ },
498
+ "description": "The theme variants to apply to the component.",
499
+ "name": "theme"
517
500
  }
518
- ]
501
+ ],
502
+ "mixins": [
503
+ {
504
+ "name": "NotificationMixin",
505
+ "module": "src/vaadin-notification-mixin.js"
506
+ },
507
+ {
508
+ "name": "ElementMixin",
509
+ "package": "@vaadin/component-base/src/element-mixin.js"
510
+ },
511
+ {
512
+ "name": "ThemableMixin",
513
+ "package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
514
+ },
515
+ {
516
+ "name": "PolylitMixin",
517
+ "package": "@vaadin/component-base/src/polylit-mixin.js"
518
+ }
519
+ ],
520
+ "superclass": {
521
+ "name": "LitElement",
522
+ "package": "lit"
523
+ },
524
+ "tagName": "vaadin-notification",
525
+ "customElement": true
519
526
  }
520
527
  ],
521
528
  "exports": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/notification",
3
- "version": "25.3.0-alpha6",
3
+ "version": "25.3.0-alpha8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,18 +37,18 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@open-wc/dedupe-mixin": "^1.3.0",
40
- "@vaadin/component-base": "25.3.0-alpha6",
41
- "@vaadin/lit-renderer": "25.3.0-alpha6",
42
- "@vaadin/vaadin-themable-mixin": "25.3.0-alpha6",
40
+ "@vaadin/component-base": "25.3.0-alpha8",
41
+ "@vaadin/lit-renderer": "25.3.0-alpha8",
42
+ "@vaadin/vaadin-themable-mixin": "25.3.0-alpha8",
43
43
  "lit": "^3.0.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@vaadin/aura": "25.3.0-alpha6",
47
- "@vaadin/button": "25.3.0-alpha6",
48
- "@vaadin/chai-plugins": "25.3.0-alpha6",
49
- "@vaadin/test-runner-commands": "25.3.0-alpha6",
46
+ "@vaadin/aura": "25.3.0-alpha8",
47
+ "@vaadin/button": "25.3.0-alpha8",
48
+ "@vaadin/chai-plugins": "25.3.0-alpha8",
49
+ "@vaadin/test-runner-commands": "25.3.0-alpha8",
50
50
  "@vaadin/testing-helpers": "^2.0.0",
51
- "@vaadin/vaadin-lumo-styles": "25.3.0-alpha6",
51
+ "@vaadin/vaadin-lumo-styles": "25.3.0-alpha8",
52
52
  "sinon": "^22.0.0"
53
53
  },
54
54
  "customElements": "custom-elements.json",
@@ -56,5 +56,5 @@
56
56
  "web-types.json",
57
57
  "web-types.lit.json"
58
58
  ],
59
- "gitHead": "92c124fb9cff367bc07e734d8e65707facd0bd43"
59
+ "gitHead": "ccbb4aaffb63c745c6da0426b532d4d05e47af29"
60
60
  }
@@ -17,6 +17,7 @@ import { NotificationContainerMixin, NotificationMixin } from './vaadin-notifica
17
17
  /**
18
18
  * An element used internally by `<vaadin-notification>`. Not intended to be used separately.
19
19
  *
20
+ * @attr {string} theme - The theme variants to apply to the component.
20
21
  * @customElement vaadin-notification-container
21
22
  * @extends HTMLElement
22
23
  * @private
@@ -55,6 +56,7 @@ class NotificationContainer extends NotificationContainerMixin(
55
56
  /**
56
57
  * An element used internally by `<vaadin-notification>`. Not intended to be used separately.
57
58
  *
59
+ * @attr {string} theme - The theme variants to apply to the component.
58
60
  * @customElement vaadin-notification-card
59
61
  * @extends HTMLElement
60
62
  * @private
@@ -147,6 +149,7 @@ class NotificationCard extends ThemableMixin(PolylitMixin(LumoInjectionMixin(Lit
147
149
  * @fires {CustomEvent} opened-changed - Fired when the `opened` property changes.
148
150
  * @fires {CustomEvent} closed - Fired when the notification is closed.
149
151
  *
152
+ * @attr {string} theme - The theme variants to apply to the component.
150
153
  * @customElement vaadin-notification
151
154
  * @extends HTMLElement
152
155
  */
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/notification",
4
- "version": "25.3.0-alpha6",
4
+ "version": "25.3.0-alpha8",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -60,9 +60,7 @@
60
60
  "description": "The theme variants to apply to the component.",
61
61
  "value": {
62
62
  "type": [
63
- "string",
64
- "null",
65
- "undefined"
63
+ "string"
66
64
  ]
67
65
  }
68
66
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/notification",
4
- "version": "25.3.0-alpha6",
4
+ "version": "25.3.0-alpha8",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {