@spectrum-web-components/meter 0.49.0-beta.1 → 0.49.0

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.
@@ -0,0 +1,243 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "sp-meter.js",
8
+ "declarations": [],
9
+ "exports": [
10
+ {
11
+ "kind": "custom-element-definition",
12
+ "name": "sp-meter",
13
+ "declaration": {
14
+ "name": "Meter",
15
+ "module": "/src/Meter.js"
16
+ }
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "kind": "javascript-module",
22
+ "path": "src/Meter.js",
23
+ "declarations": [
24
+ {
25
+ "kind": "variable",
26
+ "name": "meterVariants",
27
+ "type": {
28
+ "text": "array"
29
+ },
30
+ "default": "['positive', 'notice', 'negative']"
31
+ },
32
+ {
33
+ "kind": "class",
34
+ "description": "",
35
+ "name": "Meter",
36
+ "slots": [
37
+ {
38
+ "description": "text labeling the Meter",
39
+ "name": ""
40
+ }
41
+ ],
42
+ "members": [
43
+ {
44
+ "kind": "field",
45
+ "name": "progress",
46
+ "type": {
47
+ "text": "number"
48
+ },
49
+ "privacy": "public",
50
+ "default": "0",
51
+ "attribute": "progress"
52
+ },
53
+ {
54
+ "kind": "field",
55
+ "name": "variant",
56
+ "privacy": "public",
57
+ "description": "The variant applies specific styling when set to `negative`, `positive`, `notice`\n`variant` attribute is removed when not matching one of the above.",
58
+ "parameters": [
59
+ {
60
+ "name": "variant",
61
+ "type": {
62
+ "text": "String"
63
+ }
64
+ }
65
+ ],
66
+ "type": {
67
+ "text": "MeterVariants"
68
+ },
69
+ "attribute": "variant"
70
+ },
71
+ {
72
+ "kind": "field",
73
+ "name": "_variant",
74
+ "type": {
75
+ "text": "MeterVariants"
76
+ },
77
+ "privacy": "private",
78
+ "default": "''"
79
+ },
80
+ {
81
+ "kind": "field",
82
+ "name": "label",
83
+ "type": {
84
+ "text": "string"
85
+ },
86
+ "privacy": "public",
87
+ "default": "''",
88
+ "attribute": "label",
89
+ "reflects": true
90
+ },
91
+ {
92
+ "kind": "field",
93
+ "name": "slotEl",
94
+ "type": {
95
+ "text": "HTMLSlotElement"
96
+ },
97
+ "privacy": "private"
98
+ },
99
+ {
100
+ "kind": "field",
101
+ "name": "languageResolver",
102
+ "privacy": "private",
103
+ "default": "new LanguageResolutionController(this)"
104
+ },
105
+ {
106
+ "kind": "field",
107
+ "name": "sideLabel",
108
+ "type": {
109
+ "text": "boolean"
110
+ },
111
+ "privacy": "public",
112
+ "default": "false",
113
+ "attribute": "side-label",
114
+ "reflects": true
115
+ },
116
+ {
117
+ "kind": "field",
118
+ "name": "static",
119
+ "type": {
120
+ "text": "'white' | undefined"
121
+ },
122
+ "privacy": "public",
123
+ "deprecated": "Use `staticColor` instead.",
124
+ "attribute": "static",
125
+ "reflects": true
126
+ },
127
+ {
128
+ "kind": "field",
129
+ "name": "staticColor",
130
+ "type": {
131
+ "text": "'white' | undefined"
132
+ },
133
+ "privacy": "public",
134
+ "attribute": "static-color",
135
+ "reflects": true
136
+ },
137
+ {
138
+ "kind": "method",
139
+ "name": "handleSlotchange",
140
+ "privacy": "protected",
141
+ "return": {
142
+ "type": {
143
+ "text": "void"
144
+ }
145
+ }
146
+ }
147
+ ],
148
+ "attributes": [
149
+ {
150
+ "name": "progress",
151
+ "type": {
152
+ "text": "number"
153
+ },
154
+ "default": "0",
155
+ "fieldName": "progress"
156
+ },
157
+ {
158
+ "name": "variant",
159
+ "description": "The variant applies specific styling when set to `negative`, `positive`, `notice`\n`variant` attribute is removed when not matching one of the above.",
160
+ "parameters": [
161
+ {
162
+ "name": "variant",
163
+ "type": {
164
+ "text": "String"
165
+ }
166
+ }
167
+ ],
168
+ "type": {
169
+ "text": "MeterVariants"
170
+ },
171
+ "fieldName": "variant"
172
+ },
173
+ {
174
+ "name": "label",
175
+ "type": {
176
+ "text": "string"
177
+ },
178
+ "default": "''",
179
+ "fieldName": "label"
180
+ },
181
+ {
182
+ "name": "side-label",
183
+ "type": {
184
+ "text": "boolean"
185
+ },
186
+ "default": "false",
187
+ "fieldName": "sideLabel"
188
+ },
189
+ {
190
+ "name": "static",
191
+ "type": {
192
+ "text": "'white' | undefined"
193
+ },
194
+ "deprecated": "Use `staticColor` instead.",
195
+ "fieldName": "static"
196
+ },
197
+ {
198
+ "name": "static-color",
199
+ "type": {
200
+ "text": "'white' | undefined"
201
+ },
202
+ "fieldName": "staticColor"
203
+ }
204
+ ],
205
+ "mixins": [
206
+ {
207
+ "name": "SizedMixin",
208
+ "package": "@spectrum-web-components/base"
209
+ },
210
+ {
211
+ "name": "ObserveSlotText",
212
+ "package": "@spectrum-web-components/shared/src/observe-slot-text.js"
213
+ }
214
+ ],
215
+ "superclass": {
216
+ "name": "SpectrumElement",
217
+ "package": "@spectrum-web-components/base"
218
+ },
219
+ "tagName": "sp-meter",
220
+ "customElement": true
221
+ }
222
+ ],
223
+ "exports": [
224
+ {
225
+ "kind": "js",
226
+ "name": "meterVariants",
227
+ "declaration": {
228
+ "name": "meterVariants",
229
+ "module": "src/Meter.js"
230
+ }
231
+ },
232
+ {
233
+ "kind": "js",
234
+ "name": "Meter",
235
+ "declaration": {
236
+ "name": "Meter",
237
+ "module": "src/Meter.js"
238
+ }
239
+ }
240
+ ]
241
+ }
242
+ ]
243
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/meter",
3
- "version": "0.49.0-beta.1",
3
+ "version": "0.49.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -57,10 +57,10 @@
57
57
  "lit-html"
58
58
  ],
59
59
  "dependencies": {
60
- "@spectrum-web-components/base": "^0.49.0-beta.1",
61
- "@spectrum-web-components/field-label": "^0.49.0-beta.1",
62
- "@spectrum-web-components/reactive-controllers": "^0.49.0-beta.1",
63
- "@spectrum-web-components/shared": "^0.49.0-beta.1"
60
+ "@spectrum-web-components/base": "^0.49.0",
61
+ "@spectrum-web-components/field-label": "^0.49.0",
62
+ "@spectrum-web-components/reactive-controllers": "^0.49.0",
63
+ "@spectrum-web-components/shared": "^0.49.0"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@spectrum-css/progressbar": "^4.1.5"
@@ -71,5 +71,5 @@
71
71
  "./sp-*.js",
72
72
  "./**/*.dev.js"
73
73
  ],
74
- "gitHead": "74ee2c5b1276e8e4f768566a1c3c4e263a7eb8b3"
74
+ "gitHead": "088e84caa1e2f723d735b011608ca0a3411e2149"
75
75
  }