@spectrum-web-components/icon 0.0.0-20250327111926 → 0.0.0-20250410163257

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.
Files changed (2) hide show
  1. package/package.json +13 -7
  2. package/custom-elements.json +0 -338
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/icon",
3
- "version": "0.0.0-20250327111926",
3
+ "version": "0.0.0-20250410163257",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -11,7 +11,7 @@
11
11
  "url": "https://github.com/adobe/spectrum-web-components.git",
12
12
  "directory": "packages/icon"
13
13
  },
14
- "author": "",
14
+ "author": "Adobe",
15
15
  "homepage": "https://opensource.adobe.com/spectrum-web-components/components/icon",
16
16
  "bugs": {
17
17
  "url": "https://github.com/adobe/spectrum-web-components/issues"
@@ -75,17 +75,23 @@
75
75
  "!test/"
76
76
  ],
77
77
  "keywords": [
78
- "spectrum css",
78
+ "design-system",
79
+ "spectrum",
80
+ "adobe",
81
+ "adobe-spectrum",
79
82
  "web components",
83
+ "web-components",
80
84
  "lit-element",
81
- "lit-html"
85
+ "lit-html",
86
+ "component",
87
+ "css"
82
88
  ],
83
89
  "dependencies": {
84
- "@spectrum-web-components/base": "0.0.0-20250327111926",
85
- "@spectrum-web-components/iconset": "0.0.0-20250327111926"
90
+ "@spectrum-web-components/base": "0.0.0-20250410163257",
91
+ "@spectrum-web-components/iconset": "0.0.0-20250410163257"
86
92
  },
87
93
  "devDependencies": {
88
- "@spectrum-css/icon": "8.0.1"
94
+ "@spectrum-css/icon": "9.1.0"
89
95
  },
90
96
  "types": "./src/index.d.ts",
91
97
  "customElements": "custom-elements.json",
@@ -1,338 +0,0 @@
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
- "reflects": true,
152
- "inheritedFrom": {
153
- "name": "IconBase",
154
- "module": "src/IconBase.js"
155
- }
156
- },
157
- {
158
- "kind": "field",
159
- "name": "size",
160
- "type": {
161
- "text": "'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | undefined"
162
- },
163
- "privacy": "public",
164
- "attribute": "size",
165
- "reflects": true,
166
- "inheritedFrom": {
167
- "name": "IconBase",
168
- "module": "src/IconBase.js"
169
- }
170
- },
171
- {
172
- "kind": "field",
173
- "name": "systemResolver",
174
- "privacy": "private",
175
- "default": "new SystemResolutionController(this)",
176
- "inheritedFrom": {
177
- "name": "IconBase",
178
- "module": "src/IconBase.js"
179
- }
180
- }
181
- ],
182
- "events": [
183
- {
184
- "name": "error",
185
- "type": {
186
- "text": "Event"
187
- }
188
- }
189
- ],
190
- "attributes": [
191
- {
192
- "name": "src",
193
- "type": {
194
- "text": "string | undefined"
195
- },
196
- "fieldName": "src"
197
- },
198
- {
199
- "name": "name",
200
- "type": {
201
- "text": "string | undefined"
202
- },
203
- "fieldName": "name"
204
- },
205
- {
206
- "name": "label",
207
- "type": {
208
- "text": "string"
209
- },
210
- "default": "''",
211
- "fieldName": "label",
212
- "inheritedFrom": {
213
- "name": "IconBase",
214
- "module": "src/IconBase.ts"
215
- }
216
- },
217
- {
218
- "name": "size",
219
- "type": {
220
- "text": "'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | undefined"
221
- },
222
- "fieldName": "size",
223
- "inheritedFrom": {
224
- "name": "IconBase",
225
- "module": "src/IconBase.ts"
226
- }
227
- }
228
- ],
229
- "superclass": {
230
- "name": "IconBase",
231
- "module": "/src/IconBase.js"
232
- },
233
- "tagName": "sp-icon",
234
- "customElement": true
235
- }
236
- ],
237
- "exports": [
238
- {
239
- "kind": "js",
240
- "name": "Icon",
241
- "declaration": {
242
- "name": "Icon",
243
- "module": "src/Icon.js"
244
- }
245
- }
246
- ]
247
- },
248
- {
249
- "kind": "javascript-module",
250
- "path": "src/IconBase.js",
251
- "declarations": [
252
- {
253
- "kind": "class",
254
- "description": "",
255
- "name": "IconBase",
256
- "members": [
257
- {
258
- "kind": "field",
259
- "name": "unsubscribeSystemContext",
260
- "type": {
261
- "text": "(() => void) | null"
262
- },
263
- "privacy": "private",
264
- "default": "null"
265
- },
266
- {
267
- "kind": "field",
268
- "name": "spectrumVersion",
269
- "type": {
270
- "text": "number"
271
- },
272
- "privacy": "public",
273
- "default": "1"
274
- },
275
- {
276
- "kind": "field",
277
- "name": "label",
278
- "type": {
279
- "text": "string"
280
- },
281
- "privacy": "public",
282
- "default": "''",
283
- "attribute": "label",
284
- "reflects": true
285
- },
286
- {
287
- "kind": "field",
288
- "name": "size",
289
- "type": {
290
- "text": "'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | undefined"
291
- },
292
- "privacy": "public",
293
- "attribute": "size",
294
- "reflects": true
295
- },
296
- {
297
- "kind": "field",
298
- "name": "systemResolver",
299
- "privacy": "private",
300
- "default": "new SystemResolutionController(this)"
301
- }
302
- ],
303
- "attributes": [
304
- {
305
- "name": "label",
306
- "type": {
307
- "text": "string"
308
- },
309
- "default": "''",
310
- "fieldName": "label"
311
- },
312
- {
313
- "name": "size",
314
- "type": {
315
- "text": "'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | undefined"
316
- },
317
- "fieldName": "size"
318
- }
319
- ],
320
- "superclass": {
321
- "name": "SpectrumElement",
322
- "package": "@spectrum-web-components/base"
323
- }
324
- }
325
- ],
326
- "exports": [
327
- {
328
- "kind": "js",
329
- "name": "IconBase",
330
- "declaration": {
331
- "name": "IconBase",
332
- "module": "src/IconBase.js"
333
- }
334
- }
335
- ]
336
- }
337
- ]
338
- }