@vaadin/dialog 25.3.1 → 25.3.2
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/custom-elements.json +10 -10
- package/package.json +11 -11
- package/src/vaadin-dialog-base-mixin.d.ts +6 -0
- package/src/vaadin-dialog-base-mixin.js +6 -0
- package/web-types.json +5 -5
- package/web-types.lit.json +3 -3
package/custom-elements.json
CHANGED
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"type": {
|
|
64
64
|
"text": "boolean"
|
|
65
65
|
},
|
|
66
|
-
"description": "Set to true to prevent focus from moving into the dialog on open.\n\nThis property only works for non-modal dialogs and is ignored\nfor modal ones, where focus must always stay inside.",
|
|
66
|
+
"description": "Set to true to prevent focus from moving into the dialog on open.\n\nThis property only works for non-modal dialogs and is ignored\nfor modal ones, where focus must always stay inside.\n\nA field with `autofocus` inside the dialog still receives\nfocus on open.",
|
|
67
67
|
"attribute": "no-autofocus"
|
|
68
68
|
},
|
|
69
69
|
{
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"type": {
|
|
94
94
|
"text": "boolean"
|
|
95
95
|
},
|
|
96
|
-
"description": "Set to true to prevent the dialog from receiving focus\non open and trapping it inside.",
|
|
96
|
+
"description": "Set to true to prevent the dialog from receiving focus\non open and trapping it inside.\n\nA field with `autofocus` inside the dialog still receives\nfocus on open.",
|
|
97
97
|
"deprecated": "This property is deprecated and will be removed in Vaadin 26.",
|
|
98
98
|
"attribute": "no-focus-trap"
|
|
99
99
|
},
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
"type": {
|
|
168
168
|
"text": "boolean"
|
|
169
169
|
},
|
|
170
|
-
"description": "Set to true to prevent focus from moving into the dialog on open.\n\nThis property only works for non-modal dialogs and is ignored\nfor modal ones, where focus must always stay inside.",
|
|
170
|
+
"description": "Set to true to prevent focus from moving into the dialog on open.\n\nThis property only works for non-modal dialogs and is ignored\nfor modal ones, where focus must always stay inside.\n\nA field with `autofocus` inside the dialog still receives\nfocus on open.",
|
|
171
171
|
"fieldName": "noAutofocus"
|
|
172
172
|
},
|
|
173
173
|
{
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
"type": {
|
|
192
192
|
"text": "boolean"
|
|
193
193
|
},
|
|
194
|
-
"description": "Set to true to prevent the dialog from receiving focus\non open and trapping it inside.",
|
|
194
|
+
"description": "Set to true to prevent the dialog from receiving focus\non open and trapping it inside.\n\nA field with `autofocus` inside the dialog still receives\nfocus on open.",
|
|
195
195
|
"deprecated": "This property is deprecated and will be removed in Vaadin 26.",
|
|
196
196
|
"fieldName": "noFocusTrap"
|
|
197
197
|
},
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
"type": {
|
|
354
354
|
"text": "boolean"
|
|
355
355
|
},
|
|
356
|
-
"description": "Set to true to move focus into the overlay automatically on open.\n\nFocus moves to the first tabbable element in the tab order. This\ncan be the overlay itself if it has `tabindex` attribute set to `0`\non the host element or the `overlay` shadow DOM part.",
|
|
356
|
+
"description": "Set to true to move focus into the overlay automatically on open.\n\nFocus moves to the first tabbable element in the tab order. This\ncan be the overlay itself if it has `tabindex` attribute set to `0`\non the host element or the `overlay` shadow DOM part.\n\nAn element inside the overlay that has `autofocus` set, such as\n`<vaadin-text-field autofocus>`, receives focus on open instead,\neven when this property is false.",
|
|
357
357
|
"attribute": "autofocus",
|
|
358
358
|
"inheritedFrom": {
|
|
359
359
|
"name": "OverlayFocusMixin",
|
|
@@ -619,7 +619,7 @@
|
|
|
619
619
|
"type": {
|
|
620
620
|
"text": "boolean"
|
|
621
621
|
},
|
|
622
|
-
"description": "Set to true to move focus into the overlay automatically on open.\n\nFocus moves to the first tabbable element in the tab order. This\ncan be the overlay itself if it has `tabindex` attribute set to `0`\non the host element or the `overlay` shadow DOM part.",
|
|
622
|
+
"description": "Set to true to move focus into the overlay automatically on open.\n\nFocus moves to the first tabbable element in the tab order. This\ncan be the overlay itself if it has `tabindex` attribute set to `0`\non the host element or the `overlay` shadow DOM part.\n\nAn element inside the overlay that has `autofocus` set, such as\n`<vaadin-text-field autofocus>`, receives focus on open instead,\neven when this property is false.",
|
|
623
623
|
"fieldName": "autofocus",
|
|
624
624
|
"inheritedFrom": {
|
|
625
625
|
"name": "OverlayFocusMixin",
|
|
@@ -1223,7 +1223,7 @@
|
|
|
1223
1223
|
"type": {
|
|
1224
1224
|
"text": "boolean"
|
|
1225
1225
|
},
|
|
1226
|
-
"description": "Set to true to prevent focus from moving into the dialog on open.\n\nThis property only works for non-modal dialogs and is ignored\nfor modal ones, where focus must always stay inside.",
|
|
1226
|
+
"description": "Set to true to prevent focus from moving into the dialog on open.\n\nThis property only works for non-modal dialogs and is ignored\nfor modal ones, where focus must always stay inside.\n\nA field with `autofocus` inside the dialog still receives\nfocus on open.",
|
|
1227
1227
|
"attribute": "no-autofocus",
|
|
1228
1228
|
"inheritedFrom": {
|
|
1229
1229
|
"name": "DialogBaseMixin",
|
|
@@ -1265,7 +1265,7 @@
|
|
|
1265
1265
|
"type": {
|
|
1266
1266
|
"text": "boolean"
|
|
1267
1267
|
},
|
|
1268
|
-
"description": "Set to true to prevent the dialog from receiving focus\non open and trapping it inside.",
|
|
1268
|
+
"description": "Set to true to prevent the dialog from receiving focus\non open and trapping it inside.\n\nA field with `autofocus` inside the dialog still receives\nfocus on open.",
|
|
1269
1269
|
"deprecated": "This property is deprecated and will be removed in Vaadin 26.",
|
|
1270
1270
|
"attribute": "no-focus-trap",
|
|
1271
1271
|
"inheritedFrom": {
|
|
@@ -1538,7 +1538,7 @@
|
|
|
1538
1538
|
"type": {
|
|
1539
1539
|
"text": "boolean"
|
|
1540
1540
|
},
|
|
1541
|
-
"description": "Set to true to prevent focus from moving into the dialog on open.\n\nThis property only works for non-modal dialogs and is ignored\nfor modal ones, where focus must always stay inside.",
|
|
1541
|
+
"description": "Set to true to prevent focus from moving into the dialog on open.\n\nThis property only works for non-modal dialogs and is ignored\nfor modal ones, where focus must always stay inside.\n\nA field with `autofocus` inside the dialog still receives\nfocus on open.",
|
|
1542
1542
|
"fieldName": "noAutofocus",
|
|
1543
1543
|
"inheritedFrom": {
|
|
1544
1544
|
"name": "DialogBaseMixin",
|
|
@@ -1574,7 +1574,7 @@
|
|
|
1574
1574
|
"type": {
|
|
1575
1575
|
"text": "boolean"
|
|
1576
1576
|
},
|
|
1577
|
-
"description": "Set to true to prevent the dialog from receiving focus\non open and trapping it inside.",
|
|
1577
|
+
"description": "Set to true to prevent the dialog from receiving focus\non open and trapping it inside.\n\nA field with `autofocus` inside the dialog still receives\nfocus on open.",
|
|
1578
1578
|
"deprecated": "This property is deprecated and will be removed in Vaadin 26.",
|
|
1579
1579
|
"fieldName": "noFocusTrap",
|
|
1580
1580
|
"inheritedFrom": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/dialog",
|
|
3
|
-
"version": "25.3.
|
|
3
|
+
"version": "25.3.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
40
|
-
"@vaadin/a11y-base": "~25.3.
|
|
41
|
-
"@vaadin/component-base": "~25.3.
|
|
42
|
-
"@vaadin/lit-renderer": "~25.3.
|
|
43
|
-
"@vaadin/overlay": "~25.3.
|
|
44
|
-
"@vaadin/vaadin-themable-mixin": "~25.3.
|
|
40
|
+
"@vaadin/a11y-base": "~25.3.2",
|
|
41
|
+
"@vaadin/component-base": "~25.3.2",
|
|
42
|
+
"@vaadin/lit-renderer": "~25.3.2",
|
|
43
|
+
"@vaadin/overlay": "~25.3.2",
|
|
44
|
+
"@vaadin/vaadin-themable-mixin": "~25.3.2",
|
|
45
45
|
"lit": "^3.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@vaadin/aura": "~25.3.
|
|
49
|
-
"@vaadin/chai-plugins": "~25.3.
|
|
50
|
-
"@vaadin/test-runner-commands": "~25.3.
|
|
48
|
+
"@vaadin/aura": "~25.3.2",
|
|
49
|
+
"@vaadin/chai-plugins": "~25.3.2",
|
|
50
|
+
"@vaadin/test-runner-commands": "~25.3.2",
|
|
51
51
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
52
|
-
"@vaadin/vaadin-lumo-styles": "~25.3.
|
|
52
|
+
"@vaadin/vaadin-lumo-styles": "~25.3.2",
|
|
53
53
|
"sinon": "^22.0.0"
|
|
54
54
|
},
|
|
55
55
|
"customElements": "custom-elements.json",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"web-types.json",
|
|
58
58
|
"web-types.lit.json"
|
|
59
59
|
],
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "3f75254a3f77da3977cb79a77f549f37b8a5d54e"
|
|
61
61
|
}
|
|
@@ -36,6 +36,9 @@ export declare class DialogBaseMixinClass {
|
|
|
36
36
|
* Set to true to prevent the dialog from receiving focus
|
|
37
37
|
* on open and trapping it inside.
|
|
38
38
|
*
|
|
39
|
+
* A field with `autofocus` inside the dialog still receives
|
|
40
|
+
* focus on open.
|
|
41
|
+
*
|
|
39
42
|
* @attr {boolean} no-focus-trap
|
|
40
43
|
* @deprecated This property is deprecated and will be removed in Vaadin 26.
|
|
41
44
|
*/
|
|
@@ -47,6 +50,9 @@ export declare class DialogBaseMixinClass {
|
|
|
47
50
|
* This property only works for non-modal dialogs and is ignored
|
|
48
51
|
* for modal ones, where focus must always stay inside.
|
|
49
52
|
*
|
|
53
|
+
* A field with `autofocus` inside the dialog still receives
|
|
54
|
+
* focus on open.
|
|
55
|
+
*
|
|
50
56
|
* @attr {boolean} no-autofocus
|
|
51
57
|
*/
|
|
52
58
|
noAutofocus: boolean;
|
|
@@ -50,6 +50,9 @@ export const DialogBaseMixin = (superClass) =>
|
|
|
50
50
|
* Set to true to prevent the dialog from receiving focus
|
|
51
51
|
* on open and trapping it inside.
|
|
52
52
|
*
|
|
53
|
+
* A field with `autofocus` inside the dialog still receives
|
|
54
|
+
* focus on open.
|
|
55
|
+
*
|
|
53
56
|
* @attr {boolean} no-focus-trap
|
|
54
57
|
* @deprecated This property is deprecated and will be removed in Vaadin 26.
|
|
55
58
|
*/
|
|
@@ -64,6 +67,9 @@ export const DialogBaseMixin = (superClass) =>
|
|
|
64
67
|
* This property only works for non-modal dialogs and is ignored
|
|
65
68
|
* for modal ones, where focus must always stay inside.
|
|
66
69
|
*
|
|
70
|
+
* A field with `autofocus` inside the dialog still receives
|
|
71
|
+
* focus on open.
|
|
72
|
+
*
|
|
67
73
|
* @attr {boolean} no-autofocus
|
|
68
74
|
*/
|
|
69
75
|
noAutofocus: {
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/dialog",
|
|
4
|
-
"version": "25.3.
|
|
4
|
+
"version": "25.3.2",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
"name": "no-autofocus",
|
|
69
|
-
"description": "Set to true to prevent focus from moving into the dialog on open.\n\nThis property only works for non-modal dialogs and is ignored\nfor modal ones, where focus must always stay inside.",
|
|
69
|
+
"description": "Set to true to prevent focus from moving into the dialog on open.\n\nThis property only works for non-modal dialogs and is ignored\nfor modal ones, where focus must always stay inside.\n\nA field with `autofocus` inside the dialog still receives\nfocus on open.",
|
|
70
70
|
"value": {
|
|
71
71
|
"type": [
|
|
72
72
|
"boolean"
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
95
|
"name": "no-focus-trap",
|
|
96
|
-
"description": "Set to true to prevent the dialog from receiving focus\non open and trapping it inside.",
|
|
96
|
+
"description": "Set to true to prevent the dialog from receiving focus\non open and trapping it inside.\n\nA field with `autofocus` inside the dialog still receives\nfocus on open.",
|
|
97
97
|
"value": {
|
|
98
98
|
"type": [
|
|
99
99
|
"boolean"
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
235
|
"name": "noAutofocus",
|
|
236
|
-
"description": "Set to true to prevent focus from moving into the dialog on open.\n\nThis property only works for non-modal dialogs and is ignored\nfor modal ones, where focus must always stay inside.",
|
|
236
|
+
"description": "Set to true to prevent focus from moving into the dialog on open.\n\nThis property only works for non-modal dialogs and is ignored\nfor modal ones, where focus must always stay inside.\n\nA field with `autofocus` inside the dialog still receives\nfocus on open.",
|
|
237
237
|
"value": {
|
|
238
238
|
"type": [
|
|
239
239
|
"boolean"
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
262
|
"name": "noFocusTrap",
|
|
263
|
-
"description": "Set to true to prevent the dialog from receiving focus\non open and trapping it inside.",
|
|
263
|
+
"description": "Set to true to prevent the dialog from receiving focus\non open and trapping it inside.\n\nA field with `autofocus` inside the dialog still receives\nfocus on open.",
|
|
264
264
|
"value": {
|
|
265
265
|
"type": [
|
|
266
266
|
"boolean"
|
package/web-types.lit.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/dialog",
|
|
4
|
-
"version": "25.3.
|
|
4
|
+
"version": "25.3.2",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
"name": "?noAutofocus",
|
|
80
|
-
"description": "Set to true to prevent focus from moving into the dialog on open.\n\nThis property only works for non-modal dialogs and is ignored\nfor modal ones, where focus must always stay inside.",
|
|
80
|
+
"description": "Set to true to prevent focus from moving into the dialog on open.\n\nThis property only works for non-modal dialogs and is ignored\nfor modal ones, where focus must always stay inside.\n\nA field with `autofocus` inside the dialog still receives\nfocus on open.",
|
|
81
81
|
"value": {
|
|
82
82
|
"kind": "expression"
|
|
83
83
|
}
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
"name": "?noFocusTrap",
|
|
101
|
-
"description": "Set to true to prevent the dialog from receiving focus\non open and trapping it inside.",
|
|
101
|
+
"description": "Set to true to prevent the dialog from receiving focus\non open and trapping it inside.\n\nA field with `autofocus` inside the dialog still receives\nfocus on open.",
|
|
102
102
|
"value": {
|
|
103
103
|
"kind": "expression"
|
|
104
104
|
}
|