@vaadin/notification 25.1.0-beta1 → 25.1.0-beta3

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.
@@ -122,7 +122,7 @@
122
122
  "name": "position",
123
123
  "privacy": "public",
124
124
  "type": {
125
- "text": "!NotificationPosition"
125
+ "text": "string"
126
126
  },
127
127
  "description": "Alignment of the notification in the viewport\nValid values are `top-stretch|top-start|top-center|top-end|middle|bottom-start|bottom-center|bottom-end|bottom-stretch`",
128
128
  "attribute": "position"
@@ -207,7 +207,7 @@
207
207
  {
208
208
  "name": "position",
209
209
  "type": {
210
- "text": "!NotificationPosition"
210
+ "text": "string"
211
211
  },
212
212
  "description": "Alignment of the notification in the viewport\nValid values are `top-stretch|top-start|top-center|top-end|middle|bottom-start|bottom-center|bottom-end|bottom-stretch`",
213
213
  "fieldName": "position"
@@ -345,7 +345,7 @@
345
345
  "name": "position",
346
346
  "privacy": "public",
347
347
  "type": {
348
- "text": "!NotificationPosition"
348
+ "text": "string"
349
349
  },
350
350
  "description": "Alignment of the notification in the viewport\nValid values are `top-stretch|top-start|top-center|top-end|middle|bottom-start|bottom-center|bottom-end|bottom-stretch`",
351
351
  "attribute": "position",
@@ -494,7 +494,7 @@
494
494
  {
495
495
  "name": "position",
496
496
  "type": {
497
- "text": "!NotificationPosition"
497
+ "text": "string"
498
498
  },
499
499
  "description": "Alignment of the notification in the viewport\nValid values are `top-stretch|top-start|top-center|top-end|middle|bottom-start|bottom-center|bottom-end|bottom-stretch`",
500
500
  "fieldName": "position",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/notification",
3
- "version": "25.1.0-beta1",
3
+ "version": "25.1.0-beta3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,24 +37,24 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@open-wc/dedupe-mixin": "^1.3.0",
40
- "@vaadin/component-base": "25.1.0-beta1",
41
- "@vaadin/lit-renderer": "25.1.0-beta1",
42
- "@vaadin/vaadin-themable-mixin": "25.1.0-beta1",
40
+ "@vaadin/component-base": "25.1.0-beta3",
41
+ "@vaadin/lit-renderer": "25.1.0-beta3",
42
+ "@vaadin/vaadin-themable-mixin": "25.1.0-beta3",
43
43
  "lit": "^3.0.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@vaadin/aura": "25.1.0-beta1",
47
- "@vaadin/button": "25.1.0-beta1",
48
- "@vaadin/chai-plugins": "25.1.0-beta1",
49
- "@vaadin/test-runner-commands": "25.1.0-beta1",
46
+ "@vaadin/aura": "25.1.0-beta3",
47
+ "@vaadin/button": "25.1.0-beta3",
48
+ "@vaadin/chai-plugins": "25.1.0-beta3",
49
+ "@vaadin/test-runner-commands": "25.1.0-beta3",
50
50
  "@vaadin/testing-helpers": "^2.0.0",
51
- "@vaadin/vaadin-lumo-styles": "25.1.0-beta1",
52
- "sinon": "^21.0.0"
51
+ "@vaadin/vaadin-lumo-styles": "25.1.0-beta3",
52
+ "sinon": "^21.0.2"
53
53
  },
54
54
  "customElements": "custom-elements.json",
55
55
  "web-types": [
56
56
  "web-types.json",
57
57
  "web-types.lit.json"
58
58
  ],
59
- "gitHead": "0ccf77c385fc6a92ac2a6344ce8804b94956226d"
59
+ "gitHead": "4251850231a42298fda23b83928da588831cdb5d"
60
60
  }
@@ -71,7 +71,7 @@ export const notificationContainerStyles = css`
71
71
  position: fixed;
72
72
  top: 50%;
73
73
  left: 50%;
74
- translate: -50% -50%;
74
+ translate: round(-50%, 1px) round(-50%, 1px);
75
75
  max-width: calc(100% - var(--_padding) * 2);
76
76
  }
77
77
 
@@ -20,7 +20,6 @@ export const NotificationContainerMixin = (superClass) =>
20
20
  return {
21
21
  /**
22
22
  * True when the container is opened
23
- * @type {boolean}
24
23
  */
25
24
  opened: {
26
25
  type: Boolean,
@@ -127,7 +126,6 @@ export const NotificationMixin = (superClass) =>
127
126
  /**
128
127
  * The duration in milliseconds to show the notification.
129
128
  * Set to `0` or a negative number to disable the notification auto-closing.
130
- * @type {number}
131
129
  */
132
130
  duration: {
133
131
  type: Number,
@@ -137,7 +135,6 @@ export const NotificationMixin = (superClass) =>
137
135
 
138
136
  /**
139
137
  * True if the notification is currently displayed.
140
- * @type {boolean}
141
138
  */
142
139
  opened: {
143
140
  type: Boolean,
@@ -150,7 +147,6 @@ export const NotificationMixin = (superClass) =>
150
147
  /**
151
148
  * Alignment of the notification in the viewport
152
149
  * Valid values are `top-stretch|top-start|top-center|top-end|middle|bottom-start|bottom-center|bottom-end|bottom-stretch`
153
- * @type {!NotificationPosition}
154
150
  */
155
151
  position: {
156
152
  type: String,
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.1.0-beta1",
4
+ "version": "25.1.0-beta3",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -26,7 +26,9 @@
26
26
  "description": "The duration in milliseconds to show the notification.\nSet to `0` or a negative number to disable the notification auto-closing.",
27
27
  "value": {
28
28
  "type": [
29
- "number"
29
+ "number",
30
+ "null",
31
+ "undefined"
30
32
  ]
31
33
  }
32
34
  },
@@ -35,7 +37,9 @@
35
37
  "description": "True if the notification is currently displayed.",
36
38
  "value": {
37
39
  "type": [
38
- "boolean"
40
+ "boolean",
41
+ "null",
42
+ "undefined"
39
43
  ]
40
44
  }
41
45
  },
@@ -55,7 +59,9 @@
55
59
  "description": "Alignment of the notification in the viewport\nValid values are `top-stretch|top-start|top-center|top-end|middle|bottom-start|bottom-center|bottom-end|bottom-stretch`",
56
60
  "value": {
57
61
  "type": [
58
- "NotificationPosition"
62
+ "string",
63
+ "null",
64
+ "undefined"
59
65
  ]
60
66
  }
61
67
  },
@@ -89,7 +95,9 @@
89
95
  "description": "The duration in milliseconds to show the notification.\nSet to `0` or a negative number to disable the notification auto-closing.",
90
96
  "value": {
91
97
  "type": [
92
- "number"
98
+ "number",
99
+ "null",
100
+ "undefined"
93
101
  ]
94
102
  }
95
103
  },
@@ -98,7 +106,9 @@
98
106
  "description": "True if the notification is currently displayed.",
99
107
  "value": {
100
108
  "type": [
101
- "boolean"
109
+ "boolean",
110
+ "null",
111
+ "undefined"
102
112
  ]
103
113
  }
104
114
  },
@@ -118,7 +128,9 @@
118
128
  "description": "Alignment of the notification in the viewport\nValid values are `top-stretch|top-start|top-center|top-end|middle|bottom-start|bottom-center|bottom-end|bottom-stretch`",
119
129
  "value": {
120
130
  "type": [
121
- "NotificationPosition"
131
+ "string",
132
+ "null",
133
+ "undefined"
122
134
  ]
123
135
  }
124
136
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/notification",
4
- "version": "25.1.0-beta1",
4
+ "version": "25.1.0-beta3",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {