@proximus/lavender-icon-common 1.4.16-alpha.9 → 1.4.16-beta.3

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,308 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/Icon.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "variable",
11
+ "name": "styleSheet",
12
+ "default": "new CSSStyleSheet()"
13
+ },
14
+ {
15
+ "kind": "class",
16
+ "description": "",
17
+ "name": "Icon",
18
+ "members": [
19
+ {
20
+ "kind": "field",
21
+ "name": "#src",
22
+ "privacy": "private",
23
+ "type": {
24
+ "text": "string | null"
25
+ },
26
+ "default": "null"
27
+ },
28
+ {
29
+ "kind": "field",
30
+ "name": "#internals",
31
+ "privacy": "private",
32
+ "type": {
33
+ "text": "ElementInternals"
34
+ },
35
+ "readonly": true
36
+ },
37
+ {
38
+ "kind": "field",
39
+ "name": "#template",
40
+ "privacy": "private"
41
+ },
42
+ {
43
+ "kind": "method",
44
+ "name": "updateAttribute",
45
+ "parameters": [
46
+ {
47
+ "name": "attrName",
48
+ "type": {
49
+ "text": "string"
50
+ }
51
+ },
52
+ {
53
+ "name": "oldValue",
54
+ "type": {
55
+ "text": "string"
56
+ }
57
+ },
58
+ {
59
+ "name": "newValue",
60
+ "type": {
61
+ "text": "string"
62
+ }
63
+ },
64
+ {
65
+ "name": "attrValues",
66
+ "type": {
67
+ "text": "readonly string[]"
68
+ }
69
+ }
70
+ ]
71
+ },
72
+ {
73
+ "kind": "method",
74
+ "name": "updateName",
75
+ "parameters": [
76
+ {
77
+ "name": "oldValue",
78
+ "type": {
79
+ "text": "string"
80
+ }
81
+ },
82
+ {
83
+ "name": "newValue",
84
+ "type": {
85
+ "text": "string"
86
+ }
87
+ }
88
+ ]
89
+ },
90
+ {
91
+ "kind": "field",
92
+ "name": "$el",
93
+ "readonly": true
94
+ },
95
+ {
96
+ "kind": "field",
97
+ "name": "name"
98
+ },
99
+ {
100
+ "kind": "field",
101
+ "name": "size"
102
+ },
103
+ {
104
+ "kind": "field",
105
+ "name": "color"
106
+ },
107
+ {
108
+ "kind": "field",
109
+ "name": "arialabel"
110
+ },
111
+ {
112
+ "kind": "field",
113
+ "name": "inverted"
114
+ },
115
+ {
116
+ "kind": "field",
117
+ "name": "from"
118
+ },
119
+ {
120
+ "kind": "field",
121
+ "name": "disabled"
122
+ },
123
+ {
124
+ "kind": "field",
125
+ "name": "innerHTML"
126
+ }
127
+ ],
128
+ "attributes": [
129
+ {
130
+ "name": "name"
131
+ },
132
+ {
133
+ "name": "size"
134
+ },
135
+ {
136
+ "name": "color"
137
+ },
138
+ {
139
+ "name": "aria-label"
140
+ },
141
+ {
142
+ "name": "inverted"
143
+ },
144
+ {
145
+ "name": "from"
146
+ },
147
+ {
148
+ "name": "disabled"
149
+ }
150
+ ],
151
+ "superclass": {
152
+ "name": "WithExtraAttributes",
153
+ "package": "@proximus/lavender-common"
154
+ },
155
+ "tagName": "px-icon",
156
+ "customElement": true
157
+ }
158
+ ],
159
+ "exports": [
160
+ {
161
+ "kind": "js",
162
+ "name": "styleSheet",
163
+ "declaration": {
164
+ "name": "styleSheet",
165
+ "module": "src/Icon.ts"
166
+ }
167
+ },
168
+ {
169
+ "kind": "js",
170
+ "name": "Icon",
171
+ "declaration": {
172
+ "name": "Icon",
173
+ "module": "src/Icon.ts"
174
+ }
175
+ },
176
+ {
177
+ "kind": "custom-element-definition",
178
+ "name": "px-icon",
179
+ "declaration": {
180
+ "name": "Icon",
181
+ "module": "src/Icon.ts"
182
+ }
183
+ }
184
+ ]
185
+ },
186
+ {
187
+ "kind": "javascript-module",
188
+ "path": "src/IconSet.ts",
189
+ "declarations": [
190
+ {
191
+ "kind": "class",
192
+ "description": "",
193
+ "name": "IconSet",
194
+ "attributes": [
195
+ {
196
+ "name": "name"
197
+ },
198
+ {
199
+ "name": "src"
200
+ },
201
+ {
202
+ "name": "type"
203
+ },
204
+ {
205
+ "name": "format"
206
+ }
207
+ ],
208
+ "superclass": {
209
+ "name": "HTMLElement"
210
+ },
211
+ "tagName": "px-icon-set",
212
+ "customElement": true
213
+ }
214
+ ],
215
+ "exports": [
216
+ {
217
+ "kind": "js",
218
+ "name": "IconSet",
219
+ "declaration": {
220
+ "name": "IconSet",
221
+ "module": "src/IconSet.ts"
222
+ }
223
+ },
224
+ {
225
+ "kind": "custom-element-definition",
226
+ "name": "px-icon-set",
227
+ "declaration": {
228
+ "name": "IconSet",
229
+ "module": "src/IconSet.ts"
230
+ }
231
+ }
232
+ ]
233
+ },
234
+ {
235
+ "kind": "javascript-module",
236
+ "path": "src/attributeValues.ts",
237
+ "declarations": [
238
+ {
239
+ "kind": "variable",
240
+ "name": "iconColorValues",
241
+ "type": {
242
+ "text": "[\n 'Brand',\n 'Accent',\n 'Neutral',\n 'Dimmed',\n 'PurposeSuccess',\n 'PurposeWarning',\n 'PurposeError',\n 'PurposeUnlimited',\n 'PurposePromo',\n 'StateHover',\n 'StateActive',\n 'StateDisabled',\n]"
243
+ },
244
+ "default": "[ 'Brand', 'Accent', 'Neutral', 'Dimmed', 'PurposeSuccess', 'PurposeWarning', 'PurposeError', 'PurposeUnlimited', 'PurposePromo', 'StateHover', 'StateActive', 'StateDisabled', ]"
245
+ },
246
+ {
247
+ "kind": "variable",
248
+ "name": "iconColorValuesKC"
249
+ }
250
+ ],
251
+ "exports": [
252
+ {
253
+ "kind": "js",
254
+ "name": "iconColorValues",
255
+ "declaration": {
256
+ "name": "iconColorValues",
257
+ "module": "src/attributeValues.ts"
258
+ }
259
+ },
260
+ {
261
+ "kind": "js",
262
+ "name": "iconColorValuesKC",
263
+ "declaration": {
264
+ "name": "iconColorValuesKC",
265
+ "module": "src/attributeValues.ts"
266
+ }
267
+ }
268
+ ]
269
+ },
270
+ {
271
+ "kind": "javascript-module",
272
+ "path": "src/icon.css",
273
+ "declarations": [],
274
+ "exports": []
275
+ },
276
+ {
277
+ "kind": "javascript-module",
278
+ "path": "src/index.ts",
279
+ "declarations": [],
280
+ "exports": [
281
+ {
282
+ "kind": "js",
283
+ "name": "*",
284
+ "declaration": {
285
+ "name": "*",
286
+ "module": "src/IconSet"
287
+ }
288
+ },
289
+ {
290
+ "kind": "js",
291
+ "name": "*",
292
+ "declaration": {
293
+ "name": "*",
294
+ "module": "src/Icon"
295
+ }
296
+ },
297
+ {
298
+ "kind": "js",
299
+ "name": "*",
300
+ "declaration": {
301
+ "name": "*",
302
+ "module": "src/attributeValues"
303
+ }
304
+ }
305
+ ]
306
+ }
307
+ ]
308
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/microsoft/vscode-css-languageservice/main/docs/customData.schema.json",
3
+ "version": 1.1,
4
+ "properties": [],
5
+ "pseudoElements": []
6
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json",
3
+ "version": 1.1,
4
+ "tags": [
5
+ {
6
+ "name": "px-icon",
7
+ "description": "\n---\n",
8
+ "attributes": [
9
+ { "name": "name", "values": [] },
10
+ { "name": "size", "values": [] },
11
+ { "name": "color", "values": [] },
12
+ { "name": "aria-label", "values": [] },
13
+ { "name": "inverted", "values": [] },
14
+ { "name": "from", "values": [] },
15
+ { "name": "disabled", "values": [] }
16
+ ],
17
+ "references": []
18
+ },
19
+ {
20
+ "name": "px-icon-set",
21
+ "description": "\n---\n",
22
+ "attributes": [
23
+ { "name": "name", "values": [] },
24
+ { "name": "src", "values": [] },
25
+ { "name": "type", "values": [] },
26
+ { "name": "format", "values": [] }
27
+ ],
28
+ "references": []
29
+ }
30
+ ]
31
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
+ "name": "@proximus/lavender-icon-common",
4
+ "version": "1.4.16-beta.3",
5
+ "description-markup": "markdown",
6
+ "contributions": {
7
+ "html": {
8
+ "elements": [
9
+ {
10
+ "name": "px-icon",
11
+ "description": "\n\n---\n",
12
+ "doc-url": "",
13
+ "attributes": [
14
+ { "name": "name", "value": { "type": "string" } },
15
+ { "name": "size", "value": { "type": "string" } },
16
+ { "name": "color", "value": { "type": "string" } },
17
+ { "name": "aria-label", "value": { "type": "string" } },
18
+ { "name": "inverted", "value": { "type": "string" } },
19
+ { "name": "from", "value": { "type": "string" } },
20
+ { "name": "disabled", "value": { "type": "string" } }
21
+ ],
22
+ "events": [],
23
+ "js": {
24
+ "properties": [
25
+ { "name": "$el" },
26
+ { "name": "name" },
27
+ { "name": "size" },
28
+ { "name": "color" },
29
+ { "name": "arialabel" },
30
+ { "name": "inverted" },
31
+ { "name": "from" },
32
+ { "name": "disabled" },
33
+ { "name": "innerHTML" }
34
+ ],
35
+ "events": []
36
+ }
37
+ },
38
+ {
39
+ "name": "px-icon-set",
40
+ "description": "\n\n---\n",
41
+ "doc-url": "",
42
+ "attributes": [
43
+ { "name": "name", "value": { "type": "string" } },
44
+ { "name": "src", "value": { "type": "string" } },
45
+ { "name": "type", "value": { "type": "string" } },
46
+ { "name": "format", "value": { "type": "string" } }
47
+ ],
48
+ "events": [],
49
+ "js": { "properties": [], "events": [] }
50
+ }
51
+ ]
52
+ },
53
+ "css": {
54
+ "properties": [],
55
+ "pseudo-elements": []
56
+ }
57
+ }
58
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-icon-common",
3
- "version": "1.4.16-alpha.9",
3
+ "version": "1.4.16-beta.3",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",