@vaadin/tabs 25.2.0-alpha1 → 25.2.0-alpha10
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 +26 -0
- package/package.json +10 -10
- package/web-types.json +13 -33
- package/web-types.lit.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -41,6 +41,20 @@
|
|
|
41
41
|
"description": "`<vaadin-tab>` is a Web Component providing an accessible and customizable tab.\n\n```html\n<vaadin-tab>Tab 1</vaadin-tab>\n```\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n---------------|---------------------------------\n`disabled` | Set when the element is disabled\n`focused` | Set when the element is focused\n`focus-ring` | Set when the element is keyboard focused\n`selected` | Set when the tab is selected\n`active` | Set when mousedown or enter/spacebar pressed\n`orientation` | Set to `horizontal` or `vertical` depending on the direction of items\n`has-tooltip` | Set when the tab has a slotted tooltip\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:------------------------------|\n| `--vaadin-tab-background` |\n| `--vaadin-tab-border-color` |\n| `--vaadin-tab-border-width` |\n| `--vaadin-tab-font-size` |\n| `--vaadin-tab-font-weight` |\n| `--vaadin-tab-gap` |\n| `--vaadin-tab-padding` |\n| `--vaadin-tab-text-color` |\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
42
42
|
"name": "Tab",
|
|
43
43
|
"members": [
|
|
44
|
+
{
|
|
45
|
+
"kind": "field",
|
|
46
|
+
"name": "disabled",
|
|
47
|
+
"privacy": "public",
|
|
48
|
+
"type": {
|
|
49
|
+
"text": "boolean"
|
|
50
|
+
},
|
|
51
|
+
"description": "If true, the user cannot interact with this element.",
|
|
52
|
+
"attribute": "disabled",
|
|
53
|
+
"inheritedFrom": {
|
|
54
|
+
"name": "DisabledMixin",
|
|
55
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
44
58
|
{
|
|
45
59
|
"kind": "field",
|
|
46
60
|
"name": "selected",
|
|
@@ -97,6 +111,18 @@
|
|
|
97
111
|
"tagName": "vaadin-tab",
|
|
98
112
|
"customElement": true,
|
|
99
113
|
"attributes": [
|
|
114
|
+
{
|
|
115
|
+
"name": "disabled",
|
|
116
|
+
"type": {
|
|
117
|
+
"text": "boolean"
|
|
118
|
+
},
|
|
119
|
+
"description": "If true, the user cannot interact with this element.",
|
|
120
|
+
"fieldName": "disabled",
|
|
121
|
+
"inheritedFrom": {
|
|
122
|
+
"name": "DisabledMixin",
|
|
123
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
100
126
|
{
|
|
101
127
|
"name": "selected",
|
|
102
128
|
"type": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/tabs",
|
|
3
|
-
"version": "25.2.0-
|
|
3
|
+
"version": "25.2.0-alpha10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
|
-
"@vaadin/a11y-base": "25.2.0-
|
|
39
|
-
"@vaadin/component-base": "25.2.0-
|
|
40
|
-
"@vaadin/item": "25.2.0-
|
|
41
|
-
"@vaadin/vaadin-themable-mixin": "25.2.0-
|
|
38
|
+
"@vaadin/a11y-base": "25.2.0-alpha10",
|
|
39
|
+
"@vaadin/component-base": "25.2.0-alpha10",
|
|
40
|
+
"@vaadin/item": "25.2.0-alpha10",
|
|
41
|
+
"@vaadin/vaadin-themable-mixin": "25.2.0-alpha10",
|
|
42
42
|
"lit": "^3.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@vaadin/aura": "25.2.0-
|
|
46
|
-
"@vaadin/chai-plugins": "25.2.0-
|
|
47
|
-
"@vaadin/test-runner-commands": "25.2.0-
|
|
45
|
+
"@vaadin/aura": "25.2.0-alpha10",
|
|
46
|
+
"@vaadin/chai-plugins": "25.2.0-alpha10",
|
|
47
|
+
"@vaadin/test-runner-commands": "25.2.0-alpha10",
|
|
48
48
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
49
|
-
"@vaadin/vaadin-lumo-styles": "25.2.0-
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "25.2.0-alpha10",
|
|
50
50
|
"sinon": "^21.0.2"
|
|
51
51
|
},
|
|
52
52
|
"customElements": "custom-elements.json",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"web-types.json",
|
|
55
55
|
"web-types.lit.json"
|
|
56
56
|
],
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "1303b6a3eeecb44a9d26f2b53cb56d9e906febdf"
|
|
58
58
|
}
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/tabs",
|
|
4
|
-
"version": "25.2.0-
|
|
4
|
+
"version": "25.2.0-alpha10",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -15,9 +15,7 @@
|
|
|
15
15
|
"description": "If true, the user cannot interact with this element.",
|
|
16
16
|
"value": {
|
|
17
17
|
"type": [
|
|
18
|
-
"boolean"
|
|
19
|
-
"null",
|
|
20
|
-
"undefined"
|
|
18
|
+
"boolean"
|
|
21
19
|
]
|
|
22
20
|
}
|
|
23
21
|
},
|
|
@@ -26,9 +24,7 @@
|
|
|
26
24
|
"description": "If true, the item is in selected state.",
|
|
27
25
|
"value": {
|
|
28
26
|
"type": [
|
|
29
|
-
"boolean"
|
|
30
|
-
"null",
|
|
31
|
-
"undefined"
|
|
27
|
+
"boolean"
|
|
32
28
|
]
|
|
33
29
|
}
|
|
34
30
|
},
|
|
@@ -51,9 +47,7 @@
|
|
|
51
47
|
"description": "If true, the user cannot interact with this element.",
|
|
52
48
|
"value": {
|
|
53
49
|
"type": [
|
|
54
|
-
"boolean"
|
|
55
|
-
"null",
|
|
56
|
-
"undefined"
|
|
50
|
+
"boolean"
|
|
57
51
|
]
|
|
58
52
|
}
|
|
59
53
|
},
|
|
@@ -62,9 +56,7 @@
|
|
|
62
56
|
"description": "If true, the item is in selected state.",
|
|
63
57
|
"value": {
|
|
64
58
|
"type": [
|
|
65
|
-
"boolean"
|
|
66
|
-
"null",
|
|
67
|
-
"undefined"
|
|
59
|
+
"boolean"
|
|
68
60
|
]
|
|
69
61
|
}
|
|
70
62
|
},
|
|
@@ -73,7 +65,7 @@
|
|
|
73
65
|
"description": "Submittable string value. The default value is the trimmed text content of the element.",
|
|
74
66
|
"value": {
|
|
75
67
|
"type": [
|
|
76
|
-
"
|
|
68
|
+
"string"
|
|
77
69
|
]
|
|
78
70
|
}
|
|
79
71
|
}
|
|
@@ -90,9 +82,7 @@
|
|
|
90
82
|
"description": "If true, the user cannot interact with this element.\nWhen the element is disabled, the selected item is\nnot updated when `selected` property is changed.",
|
|
91
83
|
"value": {
|
|
92
84
|
"type": [
|
|
93
|
-
"boolean"
|
|
94
|
-
"null",
|
|
95
|
-
"undefined"
|
|
85
|
+
"boolean"
|
|
96
86
|
]
|
|
97
87
|
}
|
|
98
88
|
},
|
|
@@ -101,9 +91,7 @@
|
|
|
101
91
|
"description": "Set tabs disposition. Possible values are `horizontal|vertical`",
|
|
102
92
|
"value": {
|
|
103
93
|
"type": [
|
|
104
|
-
"string"
|
|
105
|
-
"null",
|
|
106
|
-
"undefined"
|
|
94
|
+
"string"
|
|
107
95
|
]
|
|
108
96
|
}
|
|
109
97
|
},
|
|
@@ -112,9 +100,7 @@
|
|
|
112
100
|
"description": "The index of the selected tab.",
|
|
113
101
|
"value": {
|
|
114
102
|
"type": [
|
|
115
|
-
"number"
|
|
116
|
-
"null",
|
|
117
|
-
"undefined"
|
|
103
|
+
"number"
|
|
118
104
|
]
|
|
119
105
|
}
|
|
120
106
|
},
|
|
@@ -137,9 +123,7 @@
|
|
|
137
123
|
"description": "If true, the user cannot interact with this element.\nWhen the element is disabled, the selected item is\nnot updated when `selected` property is changed.",
|
|
138
124
|
"value": {
|
|
139
125
|
"type": [
|
|
140
|
-
"boolean"
|
|
141
|
-
"null",
|
|
142
|
-
"undefined"
|
|
126
|
+
"boolean"
|
|
143
127
|
]
|
|
144
128
|
}
|
|
145
129
|
},
|
|
@@ -148,9 +132,7 @@
|
|
|
148
132
|
"description": "Set tabs disposition. Possible values are `horizontal|vertical`",
|
|
149
133
|
"value": {
|
|
150
134
|
"type": [
|
|
151
|
-
"string"
|
|
152
|
-
"null",
|
|
153
|
-
"undefined"
|
|
135
|
+
"string"
|
|
154
136
|
]
|
|
155
137
|
}
|
|
156
138
|
},
|
|
@@ -159,9 +141,7 @@
|
|
|
159
141
|
"description": "The index of the selected tab.",
|
|
160
142
|
"value": {
|
|
161
143
|
"type": [
|
|
162
|
-
"number"
|
|
163
|
-
"null",
|
|
164
|
-
"undefined"
|
|
144
|
+
"number"
|
|
165
145
|
]
|
|
166
146
|
}
|
|
167
147
|
}
|
|
@@ -173,7 +153,7 @@
|
|
|
173
153
|
},
|
|
174
154
|
{
|
|
175
155
|
"name": "selected-changed",
|
|
176
|
-
"description": "Fired when the
|
|
156
|
+
"description": "Fired when the `selected` property changes."
|
|
177
157
|
}
|
|
178
158
|
]
|
|
179
159
|
}
|
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/tabs",
|
|
4
|
-
"version": "25.2.0-
|
|
4
|
+
"version": "25.2.0-alpha10",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
"name": "@selected-changed",
|
|
80
|
-
"description": "Fired when the
|
|
80
|
+
"description": "Fired when the `selected` property changes.",
|
|
81
81
|
"value": {
|
|
82
82
|
"kind": "expression"
|
|
83
83
|
}
|