@spectrum-web-components/icon 1.0.0-rc.9 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,378 @@
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": "unsubscribeSystemContext",
119
+ "type": {
120
+ "text": "(() => void) | null"
121
+ },
122
+ "privacy": "private",
123
+ "default": "null",
124
+ "inheritedFrom": {
125
+ "name": "IconBase",
126
+ "module": "src/IconBase.js"
127
+ }
128
+ },
129
+ {
130
+ "kind": "field",
131
+ "name": "spectrumVersion",
132
+ "type": {
133
+ "text": "number"
134
+ },
135
+ "privacy": "public",
136
+ "default": "1",
137
+ "inheritedFrom": {
138
+ "name": "IconBase",
139
+ "module": "src/IconBase.js"
140
+ }
141
+ },
142
+ {
143
+ "kind": "field",
144
+ "name": "label",
145
+ "type": {
146
+ "text": "string"
147
+ },
148
+ "privacy": "public",
149
+ "default": "''",
150
+ "attribute": "label",
151
+ "inheritedFrom": {
152
+ "name": "IconBase",
153
+ "module": "src/IconBase.js"
154
+ }
155
+ },
156
+ {
157
+ "kind": "field",
158
+ "name": "size",
159
+ "type": {
160
+ "text": "'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | undefined"
161
+ },
162
+ "privacy": "public",
163
+ "attribute": "size",
164
+ "reflects": true,
165
+ "inheritedFrom": {
166
+ "name": "IconBase",
167
+ "module": "src/IconBase.js"
168
+ }
169
+ },
170
+ {
171
+ "kind": "method",
172
+ "name": "requestSystemContext",
173
+ "privacy": "private",
174
+ "return": {
175
+ "type": {
176
+ "text": "void"
177
+ }
178
+ },
179
+ "inheritedFrom": {
180
+ "name": "IconBase",
181
+ "module": "src/IconBase.js"
182
+ }
183
+ },
184
+ {
185
+ "kind": "field",
186
+ "name": "systemResolver",
187
+ "privacy": "private",
188
+ "default": "new SystemResolutionController(this)",
189
+ "inheritedFrom": {
190
+ "name": "IconBase",
191
+ "module": "src/IconBase.js"
192
+ }
193
+ }
194
+ ],
195
+ "events": [
196
+ {
197
+ "name": "error",
198
+ "type": {
199
+ "text": "Event"
200
+ }
201
+ },
202
+ {
203
+ "name": "sp-system-context",
204
+ "type": {
205
+ "text": "CustomEvent"
206
+ },
207
+ "inheritedFrom": {
208
+ "name": "IconBase",
209
+ "module": "src/IconBase.ts"
210
+ }
211
+ }
212
+ ],
213
+ "attributes": [
214
+ {
215
+ "name": "src",
216
+ "type": {
217
+ "text": "string | undefined"
218
+ },
219
+ "fieldName": "src"
220
+ },
221
+ {
222
+ "name": "name",
223
+ "type": {
224
+ "text": "string | undefined"
225
+ },
226
+ "fieldName": "name"
227
+ },
228
+ {
229
+ "name": "label",
230
+ "type": {
231
+ "text": "string"
232
+ },
233
+ "default": "''",
234
+ "fieldName": "label",
235
+ "inheritedFrom": {
236
+ "name": "IconBase",
237
+ "module": "src/IconBase.ts"
238
+ }
239
+ },
240
+ {
241
+ "name": "size",
242
+ "type": {
243
+ "text": "'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | undefined"
244
+ },
245
+ "fieldName": "size",
246
+ "inheritedFrom": {
247
+ "name": "IconBase",
248
+ "module": "src/IconBase.ts"
249
+ }
250
+ }
251
+ ],
252
+ "superclass": {
253
+ "name": "IconBase",
254
+ "module": "/src/IconBase.js"
255
+ },
256
+ "tagName": "sp-icon",
257
+ "customElement": true
258
+ }
259
+ ],
260
+ "exports": [
261
+ {
262
+ "kind": "js",
263
+ "name": "Icon",
264
+ "declaration": {
265
+ "name": "Icon",
266
+ "module": "src/Icon.js"
267
+ }
268
+ }
269
+ ]
270
+ },
271
+ {
272
+ "kind": "javascript-module",
273
+ "path": "src/IconBase.js",
274
+ "declarations": [
275
+ {
276
+ "kind": "class",
277
+ "description": "",
278
+ "name": "IconBase",
279
+ "members": [
280
+ {
281
+ "kind": "field",
282
+ "name": "unsubscribeSystemContext",
283
+ "type": {
284
+ "text": "(() => void) | null"
285
+ },
286
+ "privacy": "private",
287
+ "default": "null"
288
+ },
289
+ {
290
+ "kind": "field",
291
+ "name": "spectrumVersion",
292
+ "type": {
293
+ "text": "number"
294
+ },
295
+ "privacy": "public",
296
+ "default": "1"
297
+ },
298
+ {
299
+ "kind": "field",
300
+ "name": "label",
301
+ "type": {
302
+ "text": "string"
303
+ },
304
+ "privacy": "public",
305
+ "default": "''",
306
+ "attribute": "label"
307
+ },
308
+ {
309
+ "kind": "field",
310
+ "name": "size",
311
+ "type": {
312
+ "text": "'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | undefined"
313
+ },
314
+ "privacy": "public",
315
+ "attribute": "size",
316
+ "reflects": true
317
+ },
318
+ {
319
+ "kind": "method",
320
+ "name": "requestSystemContext",
321
+ "privacy": "private",
322
+ "return": {
323
+ "type": {
324
+ "text": "void"
325
+ }
326
+ }
327
+ },
328
+ {
329
+ "kind": "field",
330
+ "name": "systemResolver",
331
+ "privacy": "private",
332
+ "default": "new SystemResolutionController(this)"
333
+ }
334
+ ],
335
+ "events": [
336
+ {
337
+ "name": "sp-system-context",
338
+ "type": {
339
+ "text": "CustomEvent"
340
+ }
341
+ }
342
+ ],
343
+ "attributes": [
344
+ {
345
+ "name": "label",
346
+ "type": {
347
+ "text": "string"
348
+ },
349
+ "default": "''",
350
+ "fieldName": "label"
351
+ },
352
+ {
353
+ "name": "size",
354
+ "type": {
355
+ "text": "'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | undefined"
356
+ },
357
+ "fieldName": "size"
358
+ }
359
+ ],
360
+ "superclass": {
361
+ "name": "SpectrumElement",
362
+ "package": "@spectrum-web-components/base"
363
+ }
364
+ }
365
+ ],
366
+ "exports": [
367
+ {
368
+ "kind": "js",
369
+ "name": "IconBase",
370
+ "declaration": {
371
+ "name": "IconBase",
372
+ "module": "src/IconBase.js"
373
+ }
374
+ }
375
+ ]
376
+ }
377
+ ]
378
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/icon",
3
- "version": "1.0.0-rc.9",
3
+ "version": "1.0.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -81,8 +81,8 @@
81
81
  "lit-html"
82
82
  ],
83
83
  "dependencies": {
84
- "@spectrum-web-components/base": "^1.0.0-rc.9",
85
- "@spectrum-web-components/iconset": "^1.0.0-rc.9"
84
+ "@spectrum-web-components/base": "^1.0.0",
85
+ "@spectrum-web-components/iconset": "^1.0.0"
86
86
  },
87
87
  "devDependencies": {
88
88
  "@spectrum-css/icon": "^8.0.0-s2-foundations.17"
@@ -93,5 +93,5 @@
93
93
  "./sp-*.js",
94
94
  "./**/*.dev.js"
95
95
  ],
96
- "gitHead": "e6c08c203010712c7b7b54bfa1f3bc83e96566b0"
96
+ "gitHead": "5cf5d34645bf9494ebd20f64c42d1619523d2d84"
97
97
  }