@spectrum-web-components/icon 0.49.0-beta.1 → 0.49.0
Sign up to get free protection for your applications and to get access to all the features.
- package/custom-elements.json +314 -0
- package/package.json +4 -4
@@ -0,0 +1,314 @@
|
|
1
|
+
{
|
2
|
+
"schemaVersion": "1.0.0",
|
3
|
+
"readme": "",
|
4
|
+
"modules": [
|
5
|
+
{
|
6
|
+
"kind": "javascript-module",
|
7
|
+
"path": "sp-icon.js",
|
8
|
+
"declarations": [],
|
9
|
+
"exports": [
|
10
|
+
{
|
11
|
+
"kind": "custom-element-definition",
|
12
|
+
"name": "sp-icon",
|
13
|
+
"declaration": {
|
14
|
+
"name": "Icon",
|
15
|
+
"module": "/src/Icon.js"
|
16
|
+
}
|
17
|
+
}
|
18
|
+
]
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"kind": "javascript-module",
|
22
|
+
"path": "src/Icon.js",
|
23
|
+
"declarations": [
|
24
|
+
{
|
25
|
+
"kind": "class",
|
26
|
+
"description": "",
|
27
|
+
"name": "Icon",
|
28
|
+
"members": [
|
29
|
+
{
|
30
|
+
"kind": "field",
|
31
|
+
"name": "src",
|
32
|
+
"type": {
|
33
|
+
"text": "string | undefined"
|
34
|
+
},
|
35
|
+
"privacy": "public",
|
36
|
+
"attribute": "src"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"kind": "field",
|
40
|
+
"name": "name",
|
41
|
+
"type": {
|
42
|
+
"text": "string | undefined"
|
43
|
+
},
|
44
|
+
"privacy": "public",
|
45
|
+
"attribute": "name"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"kind": "field",
|
49
|
+
"name": "iconContainer",
|
50
|
+
"type": {
|
51
|
+
"text": "HTMLElement | undefined"
|
52
|
+
},
|
53
|
+
"privacy": "private"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"kind": "field",
|
57
|
+
"name": "updateIconPromise",
|
58
|
+
"type": {
|
59
|
+
"text": "Promise<void> | undefined"
|
60
|
+
},
|
61
|
+
"privacy": "private"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"kind": "field",
|
65
|
+
"name": "iconsetListener",
|
66
|
+
"privacy": "private"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"kind": "method",
|
70
|
+
"name": "announceIconImageSrcError",
|
71
|
+
"privacy": "private",
|
72
|
+
"return": {
|
73
|
+
"type": {
|
74
|
+
"text": "void"
|
75
|
+
}
|
76
|
+
}
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"kind": "method",
|
80
|
+
"name": "updateIcon",
|
81
|
+
"privacy": "private",
|
82
|
+
"return": {
|
83
|
+
"type": {
|
84
|
+
"text": "Promise<void>"
|
85
|
+
}
|
86
|
+
}
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"kind": "method",
|
90
|
+
"name": "parseIcon",
|
91
|
+
"privacy": "private",
|
92
|
+
"return": {
|
93
|
+
"type": {
|
94
|
+
"text": "{ iconset: string; icon: string }"
|
95
|
+
}
|
96
|
+
},
|
97
|
+
"parameters": [
|
98
|
+
{
|
99
|
+
"name": "icon",
|
100
|
+
"type": {
|
101
|
+
"text": "string"
|
102
|
+
}
|
103
|
+
}
|
104
|
+
]
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"kind": "method",
|
108
|
+
"name": "getUpdateComplete",
|
109
|
+
"privacy": "protected",
|
110
|
+
"return": {
|
111
|
+
"type": {
|
112
|
+
"text": "Promise<boolean>"
|
113
|
+
}
|
114
|
+
}
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"kind": "field",
|
118
|
+
"name": "label",
|
119
|
+
"type": {
|
120
|
+
"text": "string"
|
121
|
+
},
|
122
|
+
"privacy": "public",
|
123
|
+
"default": "''",
|
124
|
+
"attribute": "label",
|
125
|
+
"inheritedFrom": {
|
126
|
+
"name": "IconBase",
|
127
|
+
"module": "src/IconBase.js"
|
128
|
+
}
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"kind": "field",
|
132
|
+
"name": "size",
|
133
|
+
"type": {
|
134
|
+
"text": "'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | undefined"
|
135
|
+
},
|
136
|
+
"privacy": "public",
|
137
|
+
"attribute": "size",
|
138
|
+
"reflects": true,
|
139
|
+
"inheritedFrom": {
|
140
|
+
"name": "IconBase",
|
141
|
+
"module": "src/IconBase.js"
|
142
|
+
}
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"kind": "field",
|
146
|
+
"name": "systemResolver",
|
147
|
+
"privacy": "private",
|
148
|
+
"default": "new SystemResolutionController(this)",
|
149
|
+
"inheritedFrom": {
|
150
|
+
"name": "IconBase",
|
151
|
+
"module": "src/IconBase.js"
|
152
|
+
}
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"kind": "field",
|
156
|
+
"name": "spectrumVersion",
|
157
|
+
"type": {
|
158
|
+
"text": "number"
|
159
|
+
},
|
160
|
+
"privacy": "public",
|
161
|
+
"default": "1",
|
162
|
+
"inheritedFrom": {
|
163
|
+
"name": "IconBase",
|
164
|
+
"module": "src/IconBase.js"
|
165
|
+
}
|
166
|
+
}
|
167
|
+
],
|
168
|
+
"events": [
|
169
|
+
{
|
170
|
+
"name": "error",
|
171
|
+
"type": {
|
172
|
+
"text": "Event"
|
173
|
+
}
|
174
|
+
}
|
175
|
+
],
|
176
|
+
"attributes": [
|
177
|
+
{
|
178
|
+
"name": "src",
|
179
|
+
"type": {
|
180
|
+
"text": "string | undefined"
|
181
|
+
},
|
182
|
+
"fieldName": "src"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"name": "name",
|
186
|
+
"type": {
|
187
|
+
"text": "string | undefined"
|
188
|
+
},
|
189
|
+
"fieldName": "name"
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"name": "label",
|
193
|
+
"type": {
|
194
|
+
"text": "string"
|
195
|
+
},
|
196
|
+
"default": "''",
|
197
|
+
"fieldName": "label",
|
198
|
+
"inheritedFrom": {
|
199
|
+
"name": "IconBase",
|
200
|
+
"module": "src/IconBase.ts"
|
201
|
+
}
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"name": "size",
|
205
|
+
"type": {
|
206
|
+
"text": "'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | undefined"
|
207
|
+
},
|
208
|
+
"fieldName": "size",
|
209
|
+
"inheritedFrom": {
|
210
|
+
"name": "IconBase",
|
211
|
+
"module": "src/IconBase.ts"
|
212
|
+
}
|
213
|
+
}
|
214
|
+
],
|
215
|
+
"superclass": {
|
216
|
+
"name": "IconBase",
|
217
|
+
"module": "/src/IconBase.js"
|
218
|
+
},
|
219
|
+
"tagName": "sp-icon",
|
220
|
+
"customElement": true
|
221
|
+
}
|
222
|
+
],
|
223
|
+
"exports": [
|
224
|
+
{
|
225
|
+
"kind": "js",
|
226
|
+
"name": "Icon",
|
227
|
+
"declaration": {
|
228
|
+
"name": "Icon",
|
229
|
+
"module": "src/Icon.js"
|
230
|
+
}
|
231
|
+
}
|
232
|
+
]
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"kind": "javascript-module",
|
236
|
+
"path": "src/IconBase.js",
|
237
|
+
"declarations": [
|
238
|
+
{
|
239
|
+
"kind": "class",
|
240
|
+
"description": "",
|
241
|
+
"name": "IconBase",
|
242
|
+
"members": [
|
243
|
+
{
|
244
|
+
"kind": "field",
|
245
|
+
"name": "label",
|
246
|
+
"type": {
|
247
|
+
"text": "string"
|
248
|
+
},
|
249
|
+
"privacy": "public",
|
250
|
+
"default": "''",
|
251
|
+
"attribute": "label"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"kind": "field",
|
255
|
+
"name": "size",
|
256
|
+
"type": {
|
257
|
+
"text": "'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | undefined"
|
258
|
+
},
|
259
|
+
"privacy": "public",
|
260
|
+
"attribute": "size",
|
261
|
+
"reflects": true
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"kind": "field",
|
265
|
+
"name": "systemResolver",
|
266
|
+
"privacy": "private",
|
267
|
+
"default": "new SystemResolutionController(this)"
|
268
|
+
},
|
269
|
+
{
|
270
|
+
"kind": "field",
|
271
|
+
"name": "spectrumVersion",
|
272
|
+
"type": {
|
273
|
+
"text": "number"
|
274
|
+
},
|
275
|
+
"privacy": "public",
|
276
|
+
"default": "1"
|
277
|
+
}
|
278
|
+
],
|
279
|
+
"attributes": [
|
280
|
+
{
|
281
|
+
"name": "label",
|
282
|
+
"type": {
|
283
|
+
"text": "string"
|
284
|
+
},
|
285
|
+
"default": "''",
|
286
|
+
"fieldName": "label"
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"name": "size",
|
290
|
+
"type": {
|
291
|
+
"text": "'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | undefined"
|
292
|
+
},
|
293
|
+
"fieldName": "size"
|
294
|
+
}
|
295
|
+
],
|
296
|
+
"superclass": {
|
297
|
+
"name": "SpectrumElement",
|
298
|
+
"package": "@spectrum-web-components/base"
|
299
|
+
}
|
300
|
+
}
|
301
|
+
],
|
302
|
+
"exports": [
|
303
|
+
{
|
304
|
+
"kind": "js",
|
305
|
+
"name": "IconBase",
|
306
|
+
"declaration": {
|
307
|
+
"name": "IconBase",
|
308
|
+
"module": "src/IconBase.js"
|
309
|
+
}
|
310
|
+
}
|
311
|
+
]
|
312
|
+
}
|
313
|
+
]
|
314
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@spectrum-web-components/icon",
|
3
|
-
"version": "0.49.0
|
3
|
+
"version": "0.49.0",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -71,8 +71,8 @@
|
|
71
71
|
"lit-html"
|
72
72
|
],
|
73
73
|
"dependencies": {
|
74
|
-
"@spectrum-web-components/base": "^0.49.0
|
75
|
-
"@spectrum-web-components/iconset": "^0.49.0
|
74
|
+
"@spectrum-web-components/base": "^0.49.0",
|
75
|
+
"@spectrum-web-components/iconset": "^0.49.0"
|
76
76
|
},
|
77
77
|
"devDependencies": {
|
78
78
|
"@spectrum-css/icon": "^7.1.0"
|
@@ -83,5 +83,5 @@
|
|
83
83
|
"./sp-*.js",
|
84
84
|
"./**/*.dev.js"
|
85
85
|
],
|
86
|
-
"gitHead": "
|
86
|
+
"gitHead": "088e84caa1e2f723d735b011608ca0a3411e2149"
|
87
87
|
}
|