@vaadin/progress-bar 25.1.0-alpha5 → 25.1.0-alpha7
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 +281 -0
- package/package.json +10 -8
- package/src/vaadin-progress-bar.js +1 -1
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "vaadin-progress-bar.js",
|
|
8
|
+
"declarations": [],
|
|
9
|
+
"exports": [
|
|
10
|
+
{
|
|
11
|
+
"kind": "js",
|
|
12
|
+
"name": "*",
|
|
13
|
+
"declaration": {
|
|
14
|
+
"name": "*",
|
|
15
|
+
"module": "src/vaadin-progress-bar.js"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"kind": "javascript-module",
|
|
22
|
+
"path": "src/vaadin-progress-bar.js",
|
|
23
|
+
"declarations": [
|
|
24
|
+
{
|
|
25
|
+
"kind": "class",
|
|
26
|
+
"description": "`<vaadin-progress-bar>` is a Web Component for progress bars.\n\n```html\n<vaadin-progress-bar min=\"0\" max=\"1\" value=\"0.5\">\n</vaadin-progress-bar>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n-----------|----------------\n`bar` | Progress-bar's background\n`value` | Progress-bar's foreground\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:--------------------------------------------|\n| `--vaadin-progress-bar-animation-duration` |\n| `--vaadin-progress-bar-background` |\n| `--vaadin-progress-bar-border-color` |\n| `--vaadin-progress-bar-border-radius` |\n| `--vaadin-progress-bar-border-width` |\n| `--vaadin-progress-bar-height` |\n| `--vaadin-progress-bar-padding` |\n| `--vaadin-progress-bar-value-background` |\n| `--vaadin-progress-value` |\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n----------------|-------------------------------------\n`indeterminate` | Set to an indeterminate progress bar\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
27
|
+
"name": "ProgressBar",
|
|
28
|
+
"members": [
|
|
29
|
+
{
|
|
30
|
+
"kind": "field",
|
|
31
|
+
"name": "indeterminate",
|
|
32
|
+
"privacy": "public",
|
|
33
|
+
"type": {
|
|
34
|
+
"text": "boolean"
|
|
35
|
+
},
|
|
36
|
+
"description": "Indeterminate state of the progress bar.\nThis property takes precedence over other state properties (min, max, value).",
|
|
37
|
+
"attribute": "indeterminate",
|
|
38
|
+
"inheritedFrom": {
|
|
39
|
+
"name": "ProgressMixin",
|
|
40
|
+
"module": "src/vaadin-progress-mixin.js"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"kind": "field",
|
|
45
|
+
"name": "max",
|
|
46
|
+
"privacy": "public",
|
|
47
|
+
"type": {
|
|
48
|
+
"text": "number"
|
|
49
|
+
},
|
|
50
|
+
"description": "Maximum bound of the progress bar.",
|
|
51
|
+
"attribute": "max",
|
|
52
|
+
"inheritedFrom": {
|
|
53
|
+
"name": "ProgressMixin",
|
|
54
|
+
"module": "src/vaadin-progress-mixin.js"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"kind": "field",
|
|
59
|
+
"name": "min",
|
|
60
|
+
"privacy": "public",
|
|
61
|
+
"type": {
|
|
62
|
+
"text": "number"
|
|
63
|
+
},
|
|
64
|
+
"description": "Minimum bound of the progress bar.",
|
|
65
|
+
"attribute": "min",
|
|
66
|
+
"inheritedFrom": {
|
|
67
|
+
"name": "ProgressMixin",
|
|
68
|
+
"module": "src/vaadin-progress-mixin.js"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"kind": "field",
|
|
73
|
+
"name": "value",
|
|
74
|
+
"privacy": "public",
|
|
75
|
+
"type": {
|
|
76
|
+
"text": "number"
|
|
77
|
+
},
|
|
78
|
+
"description": "Current progress value.",
|
|
79
|
+
"attribute": "value",
|
|
80
|
+
"inheritedFrom": {
|
|
81
|
+
"name": "ProgressMixin",
|
|
82
|
+
"module": "src/vaadin-progress-mixin.js"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"mixins": [
|
|
87
|
+
{
|
|
88
|
+
"name": "ProgressMixin",
|
|
89
|
+
"module": "src/vaadin-progress-mixin.js"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "ElementMixin",
|
|
93
|
+
"package": "@vaadin/component-base/src/element-mixin.js"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "ThemableMixin",
|
|
97
|
+
"package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "PolylitMixin",
|
|
101
|
+
"package": "@vaadin/component-base/src/polylit-mixin.js"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "LumoInjectionMixin",
|
|
105
|
+
"package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"superclass": {
|
|
109
|
+
"name": "LitElement",
|
|
110
|
+
"package": "lit"
|
|
111
|
+
},
|
|
112
|
+
"tagName": "vaadin-progress-bar",
|
|
113
|
+
"customElement": true,
|
|
114
|
+
"attributes": [
|
|
115
|
+
{
|
|
116
|
+
"name": "indeterminate",
|
|
117
|
+
"type": {
|
|
118
|
+
"text": "boolean"
|
|
119
|
+
},
|
|
120
|
+
"description": "Indeterminate state of the progress bar.\nThis property takes precedence over other state properties (min, max, value).",
|
|
121
|
+
"fieldName": "indeterminate",
|
|
122
|
+
"inheritedFrom": {
|
|
123
|
+
"name": "ProgressMixin",
|
|
124
|
+
"module": "src/vaadin-progress-mixin.js"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "max",
|
|
129
|
+
"type": {
|
|
130
|
+
"text": "number"
|
|
131
|
+
},
|
|
132
|
+
"description": "Maximum bound of the progress bar.",
|
|
133
|
+
"fieldName": "max",
|
|
134
|
+
"inheritedFrom": {
|
|
135
|
+
"name": "ProgressMixin",
|
|
136
|
+
"module": "src/vaadin-progress-mixin.js"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "min",
|
|
141
|
+
"type": {
|
|
142
|
+
"text": "number"
|
|
143
|
+
},
|
|
144
|
+
"description": "Minimum bound of the progress bar.",
|
|
145
|
+
"fieldName": "min",
|
|
146
|
+
"inheritedFrom": {
|
|
147
|
+
"name": "ProgressMixin",
|
|
148
|
+
"module": "src/vaadin-progress-mixin.js"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "value",
|
|
153
|
+
"type": {
|
|
154
|
+
"text": "number"
|
|
155
|
+
},
|
|
156
|
+
"description": "Current progress value.",
|
|
157
|
+
"fieldName": "value",
|
|
158
|
+
"inheritedFrom": {
|
|
159
|
+
"name": "ProgressMixin",
|
|
160
|
+
"module": "src/vaadin-progress-mixin.js"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"events": []
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"exports": [
|
|
168
|
+
{
|
|
169
|
+
"kind": "js",
|
|
170
|
+
"name": "ProgressBar",
|
|
171
|
+
"declaration": {
|
|
172
|
+
"name": "ProgressBar",
|
|
173
|
+
"module": "src/vaadin-progress-bar.js"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"kind": "javascript-module",
|
|
180
|
+
"path": "src/vaadin-progress-mixin.js",
|
|
181
|
+
"declarations": [
|
|
182
|
+
{
|
|
183
|
+
"kind": "mixin",
|
|
184
|
+
"description": "",
|
|
185
|
+
"name": "ProgressMixin",
|
|
186
|
+
"members": [
|
|
187
|
+
{
|
|
188
|
+
"kind": "field",
|
|
189
|
+
"name": "indeterminate",
|
|
190
|
+
"privacy": "public",
|
|
191
|
+
"type": {
|
|
192
|
+
"text": "boolean"
|
|
193
|
+
},
|
|
194
|
+
"description": "Indeterminate state of the progress bar.\nThis property takes precedence over other state properties (min, max, value).",
|
|
195
|
+
"attribute": "indeterminate"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"kind": "field",
|
|
199
|
+
"name": "max",
|
|
200
|
+
"privacy": "public",
|
|
201
|
+
"type": {
|
|
202
|
+
"text": "number"
|
|
203
|
+
},
|
|
204
|
+
"description": "Maximum bound of the progress bar.",
|
|
205
|
+
"attribute": "max"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"kind": "field",
|
|
209
|
+
"name": "min",
|
|
210
|
+
"privacy": "public",
|
|
211
|
+
"type": {
|
|
212
|
+
"text": "number"
|
|
213
|
+
},
|
|
214
|
+
"description": "Minimum bound of the progress bar.",
|
|
215
|
+
"attribute": "min"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"kind": "field",
|
|
219
|
+
"name": "value",
|
|
220
|
+
"privacy": "public",
|
|
221
|
+
"type": {
|
|
222
|
+
"text": "number"
|
|
223
|
+
},
|
|
224
|
+
"description": "Current progress value.",
|
|
225
|
+
"attribute": "value"
|
|
226
|
+
}
|
|
227
|
+
],
|
|
228
|
+
"attributes": [
|
|
229
|
+
{
|
|
230
|
+
"name": "indeterminate",
|
|
231
|
+
"type": {
|
|
232
|
+
"text": "boolean"
|
|
233
|
+
},
|
|
234
|
+
"description": "Indeterminate state of the progress bar.\nThis property takes precedence over other state properties (min, max, value).",
|
|
235
|
+
"fieldName": "indeterminate"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "max",
|
|
239
|
+
"type": {
|
|
240
|
+
"text": "number"
|
|
241
|
+
},
|
|
242
|
+
"description": "Maximum bound of the progress bar.",
|
|
243
|
+
"fieldName": "max"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"name": "min",
|
|
247
|
+
"type": {
|
|
248
|
+
"text": "number"
|
|
249
|
+
},
|
|
250
|
+
"description": "Minimum bound of the progress bar.",
|
|
251
|
+
"fieldName": "min"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "value",
|
|
255
|
+
"type": {
|
|
256
|
+
"text": "number"
|
|
257
|
+
},
|
|
258
|
+
"description": "Current progress value.",
|
|
259
|
+
"fieldName": "value"
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"parameters": [
|
|
263
|
+
{
|
|
264
|
+
"name": "superClass"
|
|
265
|
+
}
|
|
266
|
+
]
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"exports": [
|
|
270
|
+
{
|
|
271
|
+
"kind": "js",
|
|
272
|
+
"name": "ProgressMixin",
|
|
273
|
+
"declaration": {
|
|
274
|
+
"name": "ProgressMixin",
|
|
275
|
+
"module": "src/vaadin-progress-mixin.js"
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
]
|
|
279
|
+
}
|
|
280
|
+
]
|
|
281
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/progress-bar",
|
|
3
|
-
"version": "25.1.0-
|
|
3
|
+
"version": "25.1.0-alpha7",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"src",
|
|
24
24
|
"vaadin-*.d.ts",
|
|
25
25
|
"vaadin-*.js",
|
|
26
|
+
"custom-elements.json",
|
|
26
27
|
"web-types.json",
|
|
27
28
|
"web-types.lit.json"
|
|
28
29
|
],
|
|
@@ -35,20 +36,21 @@
|
|
|
35
36
|
],
|
|
36
37
|
"dependencies": {
|
|
37
38
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
|
-
"@vaadin/component-base": "25.1.0-
|
|
39
|
-
"@vaadin/vaadin-themable-mixin": "25.1.0-
|
|
39
|
+
"@vaadin/component-base": "25.1.0-alpha7",
|
|
40
|
+
"@vaadin/vaadin-themable-mixin": "25.1.0-alpha7",
|
|
40
41
|
"lit": "^3.0.0"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
|
-
"@vaadin/aura": "25.1.0-
|
|
44
|
-
"@vaadin/chai-plugins": "25.1.0-
|
|
45
|
-
"@vaadin/test-runner-commands": "25.1.0-
|
|
44
|
+
"@vaadin/aura": "25.1.0-alpha7",
|
|
45
|
+
"@vaadin/chai-plugins": "25.1.0-alpha7",
|
|
46
|
+
"@vaadin/test-runner-commands": "25.1.0-alpha7",
|
|
46
47
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
47
|
-
"@vaadin/vaadin-lumo-styles": "25.1.0-
|
|
48
|
+
"@vaadin/vaadin-lumo-styles": "25.1.0-alpha7"
|
|
48
49
|
},
|
|
50
|
+
"customElements": "custom-elements.json",
|
|
49
51
|
"web-types": [
|
|
50
52
|
"web-types.json",
|
|
51
53
|
"web-types.lit.json"
|
|
52
54
|
],
|
|
53
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "98c586125f769c8fefd307536965293668fda81d"
|
|
54
56
|
}
|
|
@@ -51,7 +51,7 @@ import { ProgressMixin } from './vaadin-progress-mixin.js';
|
|
|
51
51
|
*
|
|
52
52
|
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
53
53
|
*
|
|
54
|
-
* @customElement
|
|
54
|
+
* @customElement vaadin-progress-bar
|
|
55
55
|
* @extends HTMLElement
|
|
56
56
|
* @mixes ProgressMixin
|
|
57
57
|
* @mixes ThemableMixin
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED