@spark-ui/checkbox 2.0.16 → 2.0.17
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.
- package/CHANGELOG.md +4 -0
- package/dist/public/docgen.json +673 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
## [2.0.17](https://github.com/adevinta/spark/compare/@spark-ui/checkbox@2.0.16...@spark-ui/checkbox@2.0.17) (2023-09-04)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @spark-ui/checkbox
|
9
|
+
|
6
10
|
## [2.0.16](https://github.com/adevinta/spark/compare/@spark-ui/checkbox@2.0.15...@spark-ui/checkbox@2.0.16) (2023-08-31)
|
7
11
|
|
8
12
|
**Note:** Version bump only for package @spark-ui/checkbox
|
@@ -0,0 +1,673 @@
|
|
1
|
+
{
|
2
|
+
"Checkbox": {
|
3
|
+
"tags": {},
|
4
|
+
"description": "",
|
5
|
+
"displayName": "Checkbox",
|
6
|
+
"methods": [],
|
7
|
+
"props": {
|
8
|
+
"icon": {
|
9
|
+
"defaultValue": null,
|
10
|
+
"description": "The checked icon to use.",
|
11
|
+
"name": "icon",
|
12
|
+
"parent": {
|
13
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
14
|
+
"name": "CheckboxInputProps"
|
15
|
+
},
|
16
|
+
"declarations": [
|
17
|
+
{
|
18
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
19
|
+
"name": "CheckboxInputProps"
|
20
|
+
}
|
21
|
+
],
|
22
|
+
"required": false,
|
23
|
+
"type": {
|
24
|
+
"name": "ReactNode"
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"indeterminateIcon": {
|
28
|
+
"defaultValue": null,
|
29
|
+
"description": "The indeterminate icon to use.",
|
30
|
+
"name": "indeterminateIcon",
|
31
|
+
"parent": {
|
32
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
33
|
+
"name": "CheckboxInputProps"
|
34
|
+
},
|
35
|
+
"declarations": [
|
36
|
+
{
|
37
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
38
|
+
"name": "CheckboxInputProps"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"required": false,
|
42
|
+
"type": {
|
43
|
+
"name": "ReactNode"
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"defaultChecked": {
|
47
|
+
"defaultValue": null,
|
48
|
+
"description": "The checked state of the checkbox when it is initially rendered. Use when you do not need to control its checked state.",
|
49
|
+
"name": "defaultChecked",
|
50
|
+
"parent": {
|
51
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
52
|
+
"name": "CheckboxInputProps"
|
53
|
+
},
|
54
|
+
"declarations": [
|
55
|
+
{
|
56
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
57
|
+
"name": "CheckboxInputProps"
|
58
|
+
}
|
59
|
+
],
|
60
|
+
"required": false,
|
61
|
+
"type": {
|
62
|
+
"name": "boolean"
|
63
|
+
}
|
64
|
+
},
|
65
|
+
"checked": {
|
66
|
+
"defaultValue": null,
|
67
|
+
"description": "The controlled checked state of the checkbox. Must be used in conjunction with onCheckedChange.",
|
68
|
+
"name": "checked",
|
69
|
+
"parent": {
|
70
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
71
|
+
"name": "CheckboxInputProps"
|
72
|
+
},
|
73
|
+
"declarations": [
|
74
|
+
{
|
75
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
76
|
+
"name": "CheckboxInputProps"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"required": false,
|
80
|
+
"type": {
|
81
|
+
"name": "CheckedStatus"
|
82
|
+
}
|
83
|
+
},
|
84
|
+
"disabled": {
|
85
|
+
"defaultValue": null,
|
86
|
+
"description": "When true, prevents the user from interacting with the checkbox.",
|
87
|
+
"name": "disabled",
|
88
|
+
"parent": {
|
89
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
90
|
+
"name": "CheckboxInputProps"
|
91
|
+
},
|
92
|
+
"declarations": [
|
93
|
+
{
|
94
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
95
|
+
"name": "CheckboxInputProps"
|
96
|
+
}
|
97
|
+
],
|
98
|
+
"required": false,
|
99
|
+
"type": {
|
100
|
+
"name": "boolean"
|
101
|
+
}
|
102
|
+
},
|
103
|
+
"required": {
|
104
|
+
"defaultValue": null,
|
105
|
+
"description": "When true, indicates that the user must check the checkbox before the owning form can be submitted.",
|
106
|
+
"name": "required",
|
107
|
+
"parent": {
|
108
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
109
|
+
"name": "CheckboxInputProps"
|
110
|
+
},
|
111
|
+
"declarations": [
|
112
|
+
{
|
113
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
114
|
+
"name": "CheckboxInputProps"
|
115
|
+
}
|
116
|
+
],
|
117
|
+
"required": false,
|
118
|
+
"type": {
|
119
|
+
"name": "boolean"
|
120
|
+
}
|
121
|
+
},
|
122
|
+
"name": {
|
123
|
+
"defaultValue": null,
|
124
|
+
"description": "The name of the checkbox. Submitted with its owning form as part of a name/value pair.",
|
125
|
+
"name": "name",
|
126
|
+
"parent": {
|
127
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
128
|
+
"name": "CheckboxInputProps"
|
129
|
+
},
|
130
|
+
"declarations": [
|
131
|
+
{
|
132
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
133
|
+
"name": "CheckboxInputProps"
|
134
|
+
}
|
135
|
+
],
|
136
|
+
"required": false,
|
137
|
+
"type": {
|
138
|
+
"name": "string"
|
139
|
+
}
|
140
|
+
},
|
141
|
+
"value": {
|
142
|
+
"defaultValue": null,
|
143
|
+
"description": "The value given as data when submitted with a name.",
|
144
|
+
"name": "value",
|
145
|
+
"parent": {
|
146
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
147
|
+
"name": "CheckboxInputProps"
|
148
|
+
},
|
149
|
+
"declarations": [
|
150
|
+
{
|
151
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
152
|
+
"name": "CheckboxInputProps"
|
153
|
+
}
|
154
|
+
],
|
155
|
+
"required": false,
|
156
|
+
"type": {
|
157
|
+
"name": "string"
|
158
|
+
}
|
159
|
+
},
|
160
|
+
"onCheckedChange": {
|
161
|
+
"defaultValue": null,
|
162
|
+
"description": "Event handler called when the checked state of the checkbox changes.",
|
163
|
+
"name": "onCheckedChange",
|
164
|
+
"parent": {
|
165
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
166
|
+
"name": "CheckboxInputProps"
|
167
|
+
},
|
168
|
+
"declarations": [
|
169
|
+
{
|
170
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
171
|
+
"name": "CheckboxInputProps"
|
172
|
+
}
|
173
|
+
],
|
174
|
+
"required": false,
|
175
|
+
"type": {
|
176
|
+
"name": "(checked: boolean) => void"
|
177
|
+
}
|
178
|
+
},
|
179
|
+
"intent": {
|
180
|
+
"defaultValue": null,
|
181
|
+
"description": "",
|
182
|
+
"name": "intent",
|
183
|
+
"declarations": [],
|
184
|
+
"required": false,
|
185
|
+
"type": {
|
186
|
+
"name": "enum",
|
187
|
+
"raw": "\"main\" | \"support\" | \"accent\" | \"basic\" | \"success\" | \"alert\" | \"error\" | \"info\" | \"neutral\"",
|
188
|
+
"value": [
|
189
|
+
{
|
190
|
+
"value": "\"main\""
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"value": "\"support\""
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"value": "\"accent\""
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"value": "\"basic\""
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"value": "\"success\""
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"value": "\"alert\""
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"value": "\"error\""
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"value": "\"info\""
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"value": "\"neutral\""
|
215
|
+
}
|
216
|
+
]
|
217
|
+
}
|
218
|
+
}
|
219
|
+
}
|
220
|
+
},
|
221
|
+
"CheckboxGroup": {
|
222
|
+
"tags": {},
|
223
|
+
"description": "",
|
224
|
+
"displayName": "CheckboxGroup",
|
225
|
+
"methods": [],
|
226
|
+
"props": {
|
227
|
+
"defaultValue": {
|
228
|
+
"defaultValue": null,
|
229
|
+
"description": "The initial value of the checkbox group",
|
230
|
+
"name": "defaultValue",
|
231
|
+
"parent": {
|
232
|
+
"fileName": "checkbox/src/CheckboxGroup.tsx",
|
233
|
+
"name": "CheckboxGroupProps"
|
234
|
+
},
|
235
|
+
"declarations": [
|
236
|
+
{
|
237
|
+
"fileName": "checkbox/src/CheckboxGroup.tsx",
|
238
|
+
"name": "CheckboxGroupProps"
|
239
|
+
}
|
240
|
+
],
|
241
|
+
"required": false,
|
242
|
+
"type": {
|
243
|
+
"name": "string[]"
|
244
|
+
}
|
245
|
+
},
|
246
|
+
"onCheckedChange": {
|
247
|
+
"defaultValue": null,
|
248
|
+
"description": "The callback fired when any children Checkbox is checked or unchecked",
|
249
|
+
"name": "onCheckedChange",
|
250
|
+
"parent": {
|
251
|
+
"fileName": "checkbox/src/CheckboxGroup.tsx",
|
252
|
+
"name": "CheckboxGroupProps"
|
253
|
+
},
|
254
|
+
"declarations": [
|
255
|
+
{
|
256
|
+
"fileName": "checkbox/src/CheckboxGroup.tsx",
|
257
|
+
"name": "CheckboxGroupProps"
|
258
|
+
}
|
259
|
+
],
|
260
|
+
"required": false,
|
261
|
+
"type": {
|
262
|
+
"name": "(value: string[]) => void"
|
263
|
+
}
|
264
|
+
},
|
265
|
+
"orientation": {
|
266
|
+
"defaultValue": {
|
267
|
+
"value": "vertical"
|
268
|
+
},
|
269
|
+
"description": "",
|
270
|
+
"name": "orientation",
|
271
|
+
"declarations": [],
|
272
|
+
"required": false,
|
273
|
+
"type": {
|
274
|
+
"name": "enum",
|
275
|
+
"raw": "\"horizontal\" | \"vertical\"",
|
276
|
+
"value": [
|
277
|
+
{
|
278
|
+
"value": "\"horizontal\""
|
279
|
+
},
|
280
|
+
{
|
281
|
+
"value": "\"vertical\""
|
282
|
+
}
|
283
|
+
]
|
284
|
+
}
|
285
|
+
},
|
286
|
+
"intent": {
|
287
|
+
"defaultValue": null,
|
288
|
+
"description": "",
|
289
|
+
"name": "intent",
|
290
|
+
"declarations": [],
|
291
|
+
"required": false,
|
292
|
+
"type": {
|
293
|
+
"name": "enum",
|
294
|
+
"raw": "\"main\" | \"support\" | \"accent\" | \"basic\" | \"success\" | \"alert\" | \"error\" | \"info\" | \"neutral\"",
|
295
|
+
"value": [
|
296
|
+
{
|
297
|
+
"value": "\"main\""
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"value": "\"support\""
|
301
|
+
},
|
302
|
+
{
|
303
|
+
"value": "\"accent\""
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"value": "\"basic\""
|
307
|
+
},
|
308
|
+
{
|
309
|
+
"value": "\"success\""
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"value": "\"alert\""
|
313
|
+
},
|
314
|
+
{
|
315
|
+
"value": "\"error\""
|
316
|
+
},
|
317
|
+
{
|
318
|
+
"value": "\"info\""
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"value": "\"neutral\""
|
322
|
+
}
|
323
|
+
]
|
324
|
+
}
|
325
|
+
},
|
326
|
+
"name": {
|
327
|
+
"defaultValue": null,
|
328
|
+
"description": "The name of the group. Submitted with its owning form as part of a name/value pair.",
|
329
|
+
"name": "name",
|
330
|
+
"parent": {
|
331
|
+
"fileName": "checkbox/src/CheckboxGroupContext.tsx",
|
332
|
+
"name": "CheckboxGroupContextState"
|
333
|
+
},
|
334
|
+
"declarations": [
|
335
|
+
{
|
336
|
+
"fileName": "checkbox/src/CheckboxGroupContext.tsx",
|
337
|
+
"name": "CheckboxGroupContextState"
|
338
|
+
}
|
339
|
+
],
|
340
|
+
"required": false,
|
341
|
+
"type": {
|
342
|
+
"name": "string"
|
343
|
+
}
|
344
|
+
},
|
345
|
+
"value": {
|
346
|
+
"defaultValue": null,
|
347
|
+
"description": "The value of the checkbox group.",
|
348
|
+
"name": "value",
|
349
|
+
"parent": {
|
350
|
+
"fileName": "checkbox/src/CheckboxGroupContext.tsx",
|
351
|
+
"name": "CheckboxGroupContextState"
|
352
|
+
},
|
353
|
+
"declarations": [
|
354
|
+
{
|
355
|
+
"fileName": "checkbox/src/CheckboxGroupContext.tsx",
|
356
|
+
"name": "CheckboxGroupContextState"
|
357
|
+
}
|
358
|
+
],
|
359
|
+
"required": false,
|
360
|
+
"type": {
|
361
|
+
"name": "string[]"
|
362
|
+
}
|
363
|
+
}
|
364
|
+
}
|
365
|
+
},
|
366
|
+
"CheckboxIndicator": {
|
367
|
+
"tags": {},
|
368
|
+
"description": "",
|
369
|
+
"displayName": "CheckboxIndicator",
|
370
|
+
"methods": [],
|
371
|
+
"props": {
|
372
|
+
"forceMount": {
|
373
|
+
"defaultValue": null,
|
374
|
+
"description": "Used to force mounting when more control is needed. Useful when\ncontrolling animation with React animation libraries.",
|
375
|
+
"name": "forceMount",
|
376
|
+
"parent": {
|
377
|
+
"fileName": "spark/node_modules/@radix-ui/react-checkbox/dist/index.d.ts",
|
378
|
+
"name": "CheckboxIndicatorProps"
|
379
|
+
},
|
380
|
+
"declarations": [
|
381
|
+
{
|
382
|
+
"fileName": "spark/node_modules/@radix-ui/react-checkbox/dist/index.d.ts",
|
383
|
+
"name": "CheckboxIndicatorProps"
|
384
|
+
}
|
385
|
+
],
|
386
|
+
"required": false,
|
387
|
+
"type": {
|
388
|
+
"name": "true"
|
389
|
+
}
|
390
|
+
},
|
391
|
+
"asChild": {
|
392
|
+
"defaultValue": null,
|
393
|
+
"description": "",
|
394
|
+
"name": "asChild",
|
395
|
+
"declarations": [
|
396
|
+
{
|
397
|
+
"fileName": "spark/node_modules/@radix-ui/react-primitive/dist/index.d.ts",
|
398
|
+
"name": "TypeLiteral"
|
399
|
+
}
|
400
|
+
],
|
401
|
+
"required": false,
|
402
|
+
"type": {
|
403
|
+
"name": "boolean"
|
404
|
+
}
|
405
|
+
}
|
406
|
+
}
|
407
|
+
},
|
408
|
+
"CheckboxInput": {
|
409
|
+
"tags": {},
|
410
|
+
"description": "",
|
411
|
+
"displayName": "CheckboxInput",
|
412
|
+
"methods": [],
|
413
|
+
"props": {
|
414
|
+
"icon": {
|
415
|
+
"defaultValue": {
|
416
|
+
"value": "<Check />"
|
417
|
+
},
|
418
|
+
"description": "The checked icon to use.",
|
419
|
+
"name": "icon",
|
420
|
+
"parent": {
|
421
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
422
|
+
"name": "CheckboxInputProps"
|
423
|
+
},
|
424
|
+
"declarations": [
|
425
|
+
{
|
426
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
427
|
+
"name": "CheckboxInputProps"
|
428
|
+
}
|
429
|
+
],
|
430
|
+
"required": false,
|
431
|
+
"type": {
|
432
|
+
"name": "ReactNode"
|
433
|
+
}
|
434
|
+
},
|
435
|
+
"indeterminateIcon": {
|
436
|
+
"defaultValue": {
|
437
|
+
"value": "<Minus />"
|
438
|
+
},
|
439
|
+
"description": "The indeterminate icon to use.",
|
440
|
+
"name": "indeterminateIcon",
|
441
|
+
"parent": {
|
442
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
443
|
+
"name": "CheckboxInputProps"
|
444
|
+
},
|
445
|
+
"declarations": [
|
446
|
+
{
|
447
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
448
|
+
"name": "CheckboxInputProps"
|
449
|
+
}
|
450
|
+
],
|
451
|
+
"required": false,
|
452
|
+
"type": {
|
453
|
+
"name": "ReactNode"
|
454
|
+
}
|
455
|
+
},
|
456
|
+
"defaultChecked": {
|
457
|
+
"defaultValue": null,
|
458
|
+
"description": "The checked state of the checkbox when it is initially rendered. Use when you do not need to control its checked state.",
|
459
|
+
"name": "defaultChecked",
|
460
|
+
"parent": {
|
461
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
462
|
+
"name": "CheckboxInputProps"
|
463
|
+
},
|
464
|
+
"declarations": [
|
465
|
+
{
|
466
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
467
|
+
"name": "CheckboxInputProps"
|
468
|
+
}
|
469
|
+
],
|
470
|
+
"required": false,
|
471
|
+
"type": {
|
472
|
+
"name": "boolean"
|
473
|
+
}
|
474
|
+
},
|
475
|
+
"checked": {
|
476
|
+
"defaultValue": null,
|
477
|
+
"description": "The controlled checked state of the checkbox. Must be used in conjunction with onCheckedChange.",
|
478
|
+
"name": "checked",
|
479
|
+
"parent": {
|
480
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
481
|
+
"name": "CheckboxInputProps"
|
482
|
+
},
|
483
|
+
"declarations": [
|
484
|
+
{
|
485
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
486
|
+
"name": "CheckboxInputProps"
|
487
|
+
}
|
488
|
+
],
|
489
|
+
"required": false,
|
490
|
+
"type": {
|
491
|
+
"name": "CheckedStatus"
|
492
|
+
}
|
493
|
+
},
|
494
|
+
"disabled": {
|
495
|
+
"defaultValue": null,
|
496
|
+
"description": "When true, prevents the user from interacting with the checkbox.",
|
497
|
+
"name": "disabled",
|
498
|
+
"parent": {
|
499
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
500
|
+
"name": "CheckboxInputProps"
|
501
|
+
},
|
502
|
+
"declarations": [
|
503
|
+
{
|
504
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
505
|
+
"name": "CheckboxInputProps"
|
506
|
+
}
|
507
|
+
],
|
508
|
+
"required": false,
|
509
|
+
"type": {
|
510
|
+
"name": "boolean"
|
511
|
+
}
|
512
|
+
},
|
513
|
+
"required": {
|
514
|
+
"defaultValue": null,
|
515
|
+
"description": "When true, indicates that the user must check the checkbox before the owning form can be submitted.",
|
516
|
+
"name": "required",
|
517
|
+
"parent": {
|
518
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
519
|
+
"name": "CheckboxInputProps"
|
520
|
+
},
|
521
|
+
"declarations": [
|
522
|
+
{
|
523
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
524
|
+
"name": "CheckboxInputProps"
|
525
|
+
}
|
526
|
+
],
|
527
|
+
"required": false,
|
528
|
+
"type": {
|
529
|
+
"name": "boolean"
|
530
|
+
}
|
531
|
+
},
|
532
|
+
"name": {
|
533
|
+
"defaultValue": null,
|
534
|
+
"description": "The name of the checkbox. Submitted with its owning form as part of a name/value pair.",
|
535
|
+
"name": "name",
|
536
|
+
"parent": {
|
537
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
538
|
+
"name": "CheckboxInputProps"
|
539
|
+
},
|
540
|
+
"declarations": [
|
541
|
+
{
|
542
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
543
|
+
"name": "CheckboxInputProps"
|
544
|
+
}
|
545
|
+
],
|
546
|
+
"required": false,
|
547
|
+
"type": {
|
548
|
+
"name": "string"
|
549
|
+
}
|
550
|
+
},
|
551
|
+
"value": {
|
552
|
+
"defaultValue": null,
|
553
|
+
"description": "The value given as data when submitted with a name.",
|
554
|
+
"name": "value",
|
555
|
+
"parent": {
|
556
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
557
|
+
"name": "CheckboxInputProps"
|
558
|
+
},
|
559
|
+
"declarations": [
|
560
|
+
{
|
561
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
562
|
+
"name": "CheckboxInputProps"
|
563
|
+
}
|
564
|
+
],
|
565
|
+
"required": false,
|
566
|
+
"type": {
|
567
|
+
"name": "string"
|
568
|
+
}
|
569
|
+
},
|
570
|
+
"onCheckedChange": {
|
571
|
+
"defaultValue": null,
|
572
|
+
"description": "Event handler called when the checked state of the checkbox changes.",
|
573
|
+
"name": "onCheckedChange",
|
574
|
+
"parent": {
|
575
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
576
|
+
"name": "CheckboxInputProps"
|
577
|
+
},
|
578
|
+
"declarations": [
|
579
|
+
{
|
580
|
+
"fileName": "checkbox/src/CheckboxInput.tsx",
|
581
|
+
"name": "CheckboxInputProps"
|
582
|
+
}
|
583
|
+
],
|
584
|
+
"required": false,
|
585
|
+
"type": {
|
586
|
+
"name": "(checked: boolean) => void"
|
587
|
+
}
|
588
|
+
},
|
589
|
+
"intent": {
|
590
|
+
"defaultValue": null,
|
591
|
+
"description": "",
|
592
|
+
"name": "intent",
|
593
|
+
"declarations": [],
|
594
|
+
"required": false,
|
595
|
+
"type": {
|
596
|
+
"name": "enum",
|
597
|
+
"raw": "\"main\" | \"support\" | \"accent\" | \"basic\" | \"success\" | \"alert\" | \"error\" | \"info\" | \"neutral\"",
|
598
|
+
"value": [
|
599
|
+
{
|
600
|
+
"value": "\"main\""
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"value": "\"support\""
|
604
|
+
},
|
605
|
+
{
|
606
|
+
"value": "\"accent\""
|
607
|
+
},
|
608
|
+
{
|
609
|
+
"value": "\"basic\""
|
610
|
+
},
|
611
|
+
{
|
612
|
+
"value": "\"success\""
|
613
|
+
},
|
614
|
+
{
|
615
|
+
"value": "\"alert\""
|
616
|
+
},
|
617
|
+
{
|
618
|
+
"value": "\"error\""
|
619
|
+
},
|
620
|
+
{
|
621
|
+
"value": "\"info\""
|
622
|
+
},
|
623
|
+
{
|
624
|
+
"value": "\"neutral\""
|
625
|
+
}
|
626
|
+
]
|
627
|
+
}
|
628
|
+
}
|
629
|
+
}
|
630
|
+
},
|
631
|
+
"CheckboxLabel": {
|
632
|
+
"tags": {},
|
633
|
+
"description": "",
|
634
|
+
"displayName": "CheckboxLabel",
|
635
|
+
"methods": [],
|
636
|
+
"props": {
|
637
|
+
"disabled": {
|
638
|
+
"defaultValue": null,
|
639
|
+
"description": "When true, prevents the user from interacting with the checkbox item.",
|
640
|
+
"name": "disabled",
|
641
|
+
"parent": {
|
642
|
+
"fileName": "checkbox/src/CheckboxLabel.tsx",
|
643
|
+
"name": "CheckboxLabelProps"
|
644
|
+
},
|
645
|
+
"declarations": [
|
646
|
+
{
|
647
|
+
"fileName": "checkbox/src/CheckboxLabel.tsx",
|
648
|
+
"name": "CheckboxLabelProps"
|
649
|
+
}
|
650
|
+
],
|
651
|
+
"required": false,
|
652
|
+
"type": {
|
653
|
+
"name": "boolean"
|
654
|
+
}
|
655
|
+
},
|
656
|
+
"asChild": {
|
657
|
+
"defaultValue": null,
|
658
|
+
"description": "",
|
659
|
+
"name": "asChild",
|
660
|
+
"declarations": [
|
661
|
+
{
|
662
|
+
"fileName": "spark/node_modules/@radix-ui/react-primitive/dist/index.d.ts",
|
663
|
+
"name": "TypeLiteral"
|
664
|
+
}
|
665
|
+
],
|
666
|
+
"required": false,
|
667
|
+
"type": {
|
668
|
+
"name": "boolean"
|
669
|
+
}
|
670
|
+
}
|
671
|
+
}
|
672
|
+
}
|
673
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@spark-ui/checkbox",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.17",
|
4
4
|
"description": "A control that allows the user to toggle between checked and not checked.",
|
5
5
|
"publishConfig": {
|
6
6
|
"access": "public"
|
@@ -25,16 +25,16 @@
|
|
25
25
|
"dependencies": {
|
26
26
|
"@radix-ui/react-checkbox": "1.0.4",
|
27
27
|
"@radix-ui/react-id": "1.0.1",
|
28
|
-
"@spark-ui/form-field": "^1.3.
|
29
|
-
"@spark-ui/icon": "^2.0.
|
28
|
+
"@spark-ui/form-field": "^1.3.8",
|
29
|
+
"@spark-ui/icon": "^2.0.9",
|
30
30
|
"@spark-ui/icons": "^1.20.3",
|
31
31
|
"@spark-ui/internal-utils": "^2.1.2",
|
32
|
-
"@spark-ui/label": "^1.5.
|
32
|
+
"@spark-ui/label": "^1.5.9",
|
33
33
|
"@spark-ui/use-merge-refs": "^0.3.7",
|
34
34
|
"class-variance-authority": "0.7.0"
|
35
35
|
},
|
36
36
|
"peerDependencies": {
|
37
|
-
"@spark-ui/theme-utils": "^
|
37
|
+
"@spark-ui/theme-utils": "^4.0.0",
|
38
38
|
"react": "^16.8 || ^17.0 || ^18.0",
|
39
39
|
"react-dom": "^16.8 || ^17.0 || ^18.0",
|
40
40
|
"tailwindcss": "^3.0.0"
|
@@ -49,5 +49,5 @@
|
|
49
49
|
},
|
50
50
|
"homepage": "https://sparkui.vercel.app",
|
51
51
|
"license": "MIT",
|
52
|
-
"gitHead": "
|
52
|
+
"gitHead": "e98a5abd16667218cead4b366bb0e69435d7f8ed"
|
53
53
|
}
|