@proximus/lavender-checkbox 1.4.16-alpha.9 → 1.4.16-beta.2

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