@proximus/lavender-color-option 2.0.0-alpha.196 → 2.0.0-alpha.197

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,284 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/ColorOption.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "variable",
11
+ "name": "colorOptionSizeValues",
12
+ "type": {
13
+ "text": "array"
14
+ },
15
+ "default": "['', 'default', 'small']"
16
+ },
17
+ {
18
+ "kind": "class",
19
+ "description": "",
20
+ "name": "ColorOption",
21
+ "members": [
22
+ {
23
+ "kind": "field",
24
+ "name": "nativeName",
25
+ "type": {
26
+ "text": "string"
27
+ },
28
+ "static": true,
29
+ "default": "'div'"
30
+ },
31
+ {
32
+ "kind": "method",
33
+ "name": "template",
34
+ "privacy": "private"
35
+ },
36
+ {
37
+ "kind": "method",
38
+ "name": "updateSize",
39
+ "parameters": [
40
+ {
41
+ "name": "attrName",
42
+ "type": {
43
+ "text": "string"
44
+ }
45
+ },
46
+ {
47
+ "name": "oldValue",
48
+ "type": {
49
+ "text": "string"
50
+ }
51
+ },
52
+ {
53
+ "name": "newValue",
54
+ "type": {
55
+ "text": "string"
56
+ }
57
+ },
58
+ {
59
+ "name": "attrValues",
60
+ "type": {
61
+ "text": "string[]"
62
+ }
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ "kind": "method",
68
+ "name": "updateDeviceColor",
69
+ "parameters": [
70
+ {
71
+ "name": "attrName",
72
+ "type": {
73
+ "text": "string"
74
+ }
75
+ },
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": "size"
93
+ },
94
+ {
95
+ "kind": "field",
96
+ "name": "deviceColor"
97
+ },
98
+ {
99
+ "kind": "field",
100
+ "name": "unavailable"
101
+ },
102
+ {
103
+ "kind": "field",
104
+ "name": "innerHTML"
105
+ }
106
+ ],
107
+ "attributes": [
108
+ {
109
+ "name": "size"
110
+ },
111
+ {
112
+ "name": "device-color"
113
+ },
114
+ {
115
+ "name": "unavailable"
116
+ }
117
+ ],
118
+ "superclass": {
119
+ "name": "PxElement",
120
+ "package": "@proximus/lavender-common"
121
+ },
122
+ "tagName": "px-color-option",
123
+ "customElement": true
124
+ }
125
+ ],
126
+ "exports": [
127
+ {
128
+ "kind": "js",
129
+ "name": "colorOptionSizeValues",
130
+ "declaration": {
131
+ "name": "colorOptionSizeValues",
132
+ "module": "src/ColorOption.ts"
133
+ }
134
+ },
135
+ {
136
+ "kind": "js",
137
+ "name": "ColorOption",
138
+ "declaration": {
139
+ "name": "ColorOption",
140
+ "module": "src/ColorOption.ts"
141
+ }
142
+ },
143
+ {
144
+ "kind": "custom-element-definition",
145
+ "name": "px-color-option",
146
+ "declaration": {
147
+ "name": "ColorOption",
148
+ "module": "src/ColorOption.ts"
149
+ }
150
+ }
151
+ ]
152
+ },
153
+ {
154
+ "kind": "javascript-module",
155
+ "path": "src/ColorOptionLink.ts",
156
+ "declarations": [
157
+ {
158
+ "kind": "class",
159
+ "description": "",
160
+ "name": "ColorOptionLink",
161
+ "members": [
162
+ {
163
+ "kind": "field",
164
+ "name": "nativeName",
165
+ "type": {
166
+ "text": "string"
167
+ },
168
+ "static": true,
169
+ "default": "'a'"
170
+ },
171
+ {
172
+ "kind": "method",
173
+ "name": "template",
174
+ "privacy": "private"
175
+ },
176
+ {
177
+ "kind": "method",
178
+ "name": "clickColorOptionLink"
179
+ },
180
+ {
181
+ "kind": "field",
182
+ "name": "$colorOption",
183
+ "readonly": true
184
+ },
185
+ {
186
+ "kind": "field",
187
+ "name": "deviceColor"
188
+ },
189
+ {
190
+ "kind": "field",
191
+ "name": "unavailable"
192
+ },
193
+ {
194
+ "kind": "field",
195
+ "name": "selected"
196
+ },
197
+ {
198
+ "kind": "field",
199
+ "name": "innerHTML"
200
+ }
201
+ ],
202
+ "events": [
203
+ {
204
+ "name": "CLICK_EVENT",
205
+ "type": {
206
+ "text": "CustomEvent"
207
+ }
208
+ }
209
+ ],
210
+ "attributes": [
211
+ {
212
+ "name": "device-color"
213
+ },
214
+ {
215
+ "name": "unavailable"
216
+ },
217
+ {
218
+ "name": "selected"
219
+ }
220
+ ],
221
+ "superclass": {
222
+ "name": "PxElement",
223
+ "package": "@proximus/lavender-common"
224
+ },
225
+ "tagName": "px-color-option-link",
226
+ "customElement": true
227
+ }
228
+ ],
229
+ "exports": [
230
+ {
231
+ "kind": "js",
232
+ "name": "ColorOptionLink",
233
+ "declaration": {
234
+ "name": "ColorOptionLink",
235
+ "module": "src/ColorOptionLink.ts"
236
+ }
237
+ },
238
+ {
239
+ "kind": "custom-element-definition",
240
+ "name": "px-color-option-link",
241
+ "declaration": {
242
+ "name": "ColorOptionLink",
243
+ "module": "src/ColorOptionLink.ts"
244
+ }
245
+ }
246
+ ]
247
+ },
248
+ {
249
+ "kind": "javascript-module",
250
+ "path": "src/color-option-link.css",
251
+ "declarations": [],
252
+ "exports": []
253
+ },
254
+ {
255
+ "kind": "javascript-module",
256
+ "path": "src/color-option.css",
257
+ "declarations": [],
258
+ "exports": []
259
+ },
260
+ {
261
+ "kind": "javascript-module",
262
+ "path": "src/index.ts",
263
+ "declarations": [],
264
+ "exports": [
265
+ {
266
+ "kind": "js",
267
+ "name": "*",
268
+ "declaration": {
269
+ "name": "*",
270
+ "module": "src/ColorOption"
271
+ }
272
+ },
273
+ {
274
+ "kind": "js",
275
+ "name": "*",
276
+ "declaration": {
277
+ "name": "*",
278
+ "module": "src/ColorOptionLink"
279
+ }
280
+ }
281
+ ]
282
+ }
283
+ ]
284
+ }
@@ -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,26 @@
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-color-option",
7
+ "description": "\n---\n",
8
+ "attributes": [
9
+ { "name": "size", "values": [] },
10
+ { "name": "device-color", "values": [] },
11
+ { "name": "unavailable", "values": [] }
12
+ ],
13
+ "references": []
14
+ },
15
+ {
16
+ "name": "px-color-option-link",
17
+ "description": "\n---\n\n\n### **Events:**\n - **CLICK_EVENT**",
18
+ "attributes": [
19
+ { "name": "device-color", "values": [] },
20
+ { "name": "unavailable", "values": [] },
21
+ { "name": "selected", "values": [] }
22
+ ],
23
+ "references": []
24
+ }
25
+ ]
26
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
+ "name": "@proximus/lavender-color-option",
4
+ "version": "2.0.0-alpha.197",
5
+ "description-markup": "markdown",
6
+ "contributions": {
7
+ "html": {
8
+ "elements": [
9
+ {
10
+ "name": "px-color-option",
11
+ "description": "\n---\n",
12
+ "doc-url": "",
13
+ "attributes": [
14
+ { "name": "size", "value": { "type": "string" } },
15
+ { "name": "device-color", "value": { "type": "string" } },
16
+ { "name": "unavailable", "value": { "type": "string" } }
17
+ ],
18
+ "events": [],
19
+ "js": {
20
+ "properties": [
21
+ { "name": "size" },
22
+ { "name": "deviceColor" },
23
+ { "name": "unavailable" },
24
+ { "name": "innerHTML" }
25
+ ],
26
+ "events": []
27
+ }
28
+ },
29
+ {
30
+ "name": "px-color-option-link",
31
+ "description": "\n---\n\n\n### **Events:**\n - **CLICK_EVENT**",
32
+ "doc-url": "",
33
+ "attributes": [
34
+ { "name": "device-color", "value": { "type": "string" } },
35
+ { "name": "unavailable", "value": { "type": "string" } },
36
+ { "name": "selected", "value": { "type": "string" } }
37
+ ],
38
+ "events": [{ "name": "CLICK_EVENT", "type": "CustomEvent" }],
39
+ "js": {
40
+ "properties": [
41
+ { "name": "$colorOption" },
42
+ { "name": "deviceColor" },
43
+ { "name": "unavailable" },
44
+ { "name": "selected" },
45
+ { "name": "innerHTML" }
46
+ ],
47
+ "events": [{ "name": "CLICK_EVENT", "type": "CustomEvent" }]
48
+ }
49
+ }
50
+ ]
51
+ },
52
+ "css": {
53
+ "properties": [],
54
+ "pseudo-elements": []
55
+ }
56
+ }
57
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-color-option",
3
- "version": "2.0.0-alpha.196",
3
+ "version": "2.0.0-alpha.197",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",