@spectrum-web-components/icon 0.48.0-beta.2 → 0.48.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,276 @@
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
+ "events": [
146
+ {
147
+ "name": "error",
148
+ "type": {
149
+ "text": "Event"
150
+ }
151
+ }
152
+ ],
153
+ "attributes": [
154
+ {
155
+ "name": "src",
156
+ "type": {
157
+ "text": "string | undefined"
158
+ },
159
+ "fieldName": "src"
160
+ },
161
+ {
162
+ "name": "name",
163
+ "type": {
164
+ "text": "string | undefined"
165
+ },
166
+ "fieldName": "name"
167
+ },
168
+ {
169
+ "name": "label",
170
+ "type": {
171
+ "text": "string"
172
+ },
173
+ "default": "''",
174
+ "fieldName": "label",
175
+ "inheritedFrom": {
176
+ "name": "IconBase",
177
+ "module": "src/IconBase.ts"
178
+ }
179
+ },
180
+ {
181
+ "name": "size",
182
+ "type": {
183
+ "text": "'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | undefined"
184
+ },
185
+ "fieldName": "size",
186
+ "inheritedFrom": {
187
+ "name": "IconBase",
188
+ "module": "src/IconBase.ts"
189
+ }
190
+ }
191
+ ],
192
+ "superclass": {
193
+ "name": "IconBase",
194
+ "module": "/src/IconBase.js"
195
+ },
196
+ "tagName": "sp-icon",
197
+ "customElement": true
198
+ }
199
+ ],
200
+ "exports": [
201
+ {
202
+ "kind": "js",
203
+ "name": "Icon",
204
+ "declaration": {
205
+ "name": "Icon",
206
+ "module": "src/Icon.js"
207
+ }
208
+ }
209
+ ]
210
+ },
211
+ {
212
+ "kind": "javascript-module",
213
+ "path": "src/IconBase.js",
214
+ "declarations": [
215
+ {
216
+ "kind": "class",
217
+ "description": "",
218
+ "name": "IconBase",
219
+ "members": [
220
+ {
221
+ "kind": "field",
222
+ "name": "label",
223
+ "type": {
224
+ "text": "string"
225
+ },
226
+ "privacy": "public",
227
+ "default": "''",
228
+ "attribute": "label"
229
+ },
230
+ {
231
+ "kind": "field",
232
+ "name": "size",
233
+ "type": {
234
+ "text": "'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | undefined"
235
+ },
236
+ "privacy": "public",
237
+ "attribute": "size",
238
+ "reflects": true
239
+ }
240
+ ],
241
+ "attributes": [
242
+ {
243
+ "name": "label",
244
+ "type": {
245
+ "text": "string"
246
+ },
247
+ "default": "''",
248
+ "fieldName": "label"
249
+ },
250
+ {
251
+ "name": "size",
252
+ "type": {
253
+ "text": "'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | undefined"
254
+ },
255
+ "fieldName": "size"
256
+ }
257
+ ],
258
+ "superclass": {
259
+ "name": "SpectrumElement",
260
+ "package": "@spectrum-web-components/base"
261
+ }
262
+ }
263
+ ],
264
+ "exports": [
265
+ {
266
+ "kind": "js",
267
+ "name": "IconBase",
268
+ "declaration": {
269
+ "name": "IconBase",
270
+ "module": "src/IconBase.js"
271
+ }
272
+ }
273
+ ]
274
+ }
275
+ ]
276
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/icon",
3
- "version": "0.48.0-beta.2",
3
+ "version": "0.48.1",
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.48.0-beta.2",
75
- "@spectrum-web-components/iconset": "^0.48.0-beta.2"
74
+ "@spectrum-web-components/base": "^0.48.1",
75
+ "@spectrum-web-components/iconset": "^0.48.1"
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": "e0479b5edadc68587c678267d3ac2c29c460b4d3"
86
+ "gitHead": "b756ecc3587411e4dbeb825bad40a9f4a3c7a248"
87
87
  }