reke-ui 0.2.0 → 0.3.0
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/custom-elements.json +725 -322
- package/dist/components/reke-combobox/reke-combobox.d.ts +70 -0
- package/dist/components/reke-combobox/reke-combobox.d.ts.map +1 -0
- package/dist/components/reke-combobox/reke-combobox.js +146 -0
- package/dist/components/reke-combobox/reke-combobox.styles.d.ts +2 -0
- package/dist/components/reke-combobox/reke-combobox.styles.d.ts.map +1 -0
- package/dist/components/reke-combobox/reke-combobox.styles.js +162 -0
- package/dist/components/reke-table/reke-table.d.ts +11 -0
- package/dist/components/reke-table/reke-table.d.ts.map +1 -1
- package/dist/components/reke-table/reke-table.js +83 -52
- package/dist/components/reke-table/reke-table.styles.d.ts.map +1 -1
- package/dist/components/reke-table/reke-table.styles.js +28 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -11
- package/dist/react.d.ts +9 -0
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +61 -52
- package/dist/shared/tailwind.js +1 -1
- package/package.json +5 -1
- package/dist/node_modules/lit/directives/ref.js +0 -1
- package/dist/node_modules/lit-html/async-directive.js +0 -55
- package/dist/node_modules/lit-html/directive-helpers.js +0 -5
- package/dist/node_modules/lit-html/directive.js +0 -28
- package/dist/node_modules/lit-html/directives/ref.js +0 -30
- package/dist/node_modules/lit-html/lit-html.js +0 -234
package/custom-elements.json
CHANGED
|
@@ -128,6 +128,139 @@
|
|
|
128
128
|
}
|
|
129
129
|
]
|
|
130
130
|
},
|
|
131
|
+
{
|
|
132
|
+
"kind": "javascript-module",
|
|
133
|
+
"path": "src/components/reke-badge/reke-badge.ts",
|
|
134
|
+
"declarations": [
|
|
135
|
+
{
|
|
136
|
+
"kind": "class",
|
|
137
|
+
"description": "",
|
|
138
|
+
"name": "RekeBadge",
|
|
139
|
+
"cssProperties": [
|
|
140
|
+
{
|
|
141
|
+
"description": "Default variant background color.",
|
|
142
|
+
"name": "--reke-color-surface",
|
|
143
|
+
"default": "#1A1A1A"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"description": "Default variant text color.",
|
|
147
|
+
"name": "--reke-color-text",
|
|
148
|
+
"default": "#E5E5E5"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"description": "Default variant border color.",
|
|
152
|
+
"name": "--reke-color-border",
|
|
153
|
+
"default": "#252525"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"description": "Primary/success variant accent color.",
|
|
157
|
+
"name": "--reke-color-primary",
|
|
158
|
+
"default": "#22C55E"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"description": "Danger variant accent color.",
|
|
162
|
+
"name": "--reke-color-danger",
|
|
163
|
+
"default": "#EF4444"
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"cssParts": [
|
|
167
|
+
{
|
|
168
|
+
"description": "The inner badge element.",
|
|
169
|
+
"name": "badge"
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"slots": [
|
|
173
|
+
{
|
|
174
|
+
"description": "Default slot for badge text.",
|
|
175
|
+
"name": ""
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
"members": [
|
|
179
|
+
{
|
|
180
|
+
"kind": "field",
|
|
181
|
+
"name": "variant",
|
|
182
|
+
"type": {
|
|
183
|
+
"text": "BadgeVariant"
|
|
184
|
+
},
|
|
185
|
+
"default": "'default'",
|
|
186
|
+
"attribute": "variant",
|
|
187
|
+
"reflects": true
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"kind": "field",
|
|
191
|
+
"name": "size",
|
|
192
|
+
"type": {
|
|
193
|
+
"text": "BadgeSize"
|
|
194
|
+
},
|
|
195
|
+
"default": "'md'",
|
|
196
|
+
"attribute": "size",
|
|
197
|
+
"reflects": true
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"kind": "field",
|
|
201
|
+
"name": "shape",
|
|
202
|
+
"type": {
|
|
203
|
+
"text": "BadgeShape"
|
|
204
|
+
},
|
|
205
|
+
"default": "'pill'",
|
|
206
|
+
"attribute": "shape",
|
|
207
|
+
"reflects": true
|
|
208
|
+
}
|
|
209
|
+
],
|
|
210
|
+
"attributes": [
|
|
211
|
+
{
|
|
212
|
+
"name": "variant",
|
|
213
|
+
"type": {
|
|
214
|
+
"text": "BadgeVariant"
|
|
215
|
+
},
|
|
216
|
+
"default": "'default'",
|
|
217
|
+
"fieldName": "variant"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "size",
|
|
221
|
+
"type": {
|
|
222
|
+
"text": "BadgeSize"
|
|
223
|
+
},
|
|
224
|
+
"default": "'md'",
|
|
225
|
+
"fieldName": "size"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "shape",
|
|
229
|
+
"type": {
|
|
230
|
+
"text": "BadgeShape"
|
|
231
|
+
},
|
|
232
|
+
"default": "'pill'",
|
|
233
|
+
"fieldName": "shape"
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"superclass": {
|
|
237
|
+
"name": "RekeElement",
|
|
238
|
+
"module": "/src/shared/base-element.js"
|
|
239
|
+
},
|
|
240
|
+
"tagName": "reke-badge",
|
|
241
|
+
"customElement": true,
|
|
242
|
+
"summary": "A badge component for displaying labels, statuses, and counts."
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"exports": [
|
|
246
|
+
{
|
|
247
|
+
"kind": "js",
|
|
248
|
+
"name": "RekeBadge",
|
|
249
|
+
"declaration": {
|
|
250
|
+
"name": "RekeBadge",
|
|
251
|
+
"module": "src/components/reke-badge/reke-badge.ts"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"kind": "custom-element-definition",
|
|
256
|
+
"name": "reke-badge",
|
|
257
|
+
"declaration": {
|
|
258
|
+
"name": "RekeBadge",
|
|
259
|
+
"module": "src/components/reke-badge/reke-badge.ts"
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
},
|
|
131
264
|
{
|
|
132
265
|
"kind": "javascript-module",
|
|
133
266
|
"path": "src/components/reke-button/reke-button.ts",
|
|
@@ -323,49 +456,54 @@
|
|
|
323
456
|
},
|
|
324
457
|
{
|
|
325
458
|
"kind": "javascript-module",
|
|
326
|
-
"path": "src/components/reke-
|
|
459
|
+
"path": "src/components/reke-card/reke-card.ts",
|
|
327
460
|
"declarations": [
|
|
328
461
|
{
|
|
329
462
|
"kind": "class",
|
|
330
463
|
"description": "",
|
|
331
|
-
"name": "
|
|
464
|
+
"name": "RekeCard",
|
|
332
465
|
"cssProperties": [
|
|
333
466
|
{
|
|
334
|
-
"description": "
|
|
467
|
+
"description": "Card background color.",
|
|
335
468
|
"name": "--reke-color-surface",
|
|
336
469
|
"default": "#1A1A1A"
|
|
337
470
|
},
|
|
338
471
|
{
|
|
339
|
-
"description": "
|
|
340
|
-
"name": "--reke-color-text",
|
|
341
|
-
"default": "#E5E5E5"
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"description": "Default variant border color.",
|
|
472
|
+
"description": "Card border color.",
|
|
345
473
|
"name": "--reke-color-border",
|
|
346
474
|
"default": "#252525"
|
|
347
475
|
},
|
|
348
476
|
{
|
|
349
|
-
"description": "
|
|
350
|
-
"name": "--reke-
|
|
351
|
-
"default": "
|
|
477
|
+
"description": "Elevated variant shadow.",
|
|
478
|
+
"name": "--reke-shadow-md",
|
|
479
|
+
"default": "0 4px 6px rgba(0,0,0,0.3)"
|
|
352
480
|
},
|
|
353
481
|
{
|
|
354
|
-
"description": "
|
|
355
|
-
"name": "--reke-
|
|
356
|
-
"default": "
|
|
357
|
-
}
|
|
358
|
-
],
|
|
359
|
-
"cssParts": [
|
|
482
|
+
"description": "Card border radius.",
|
|
483
|
+
"name": "--reke-radius",
|
|
484
|
+
"default": "4px"
|
|
485
|
+
},
|
|
360
486
|
{
|
|
361
|
-
"description": "
|
|
362
|
-
"name": "
|
|
487
|
+
"description": "Shadow applied on hover when interactive.",
|
|
488
|
+
"name": "--reke-shadow-lift"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"description": "Glow shadow for accent=primary on hover.",
|
|
492
|
+
"name": "--reke-shadow-glow-primary"
|
|
363
493
|
}
|
|
364
494
|
],
|
|
365
495
|
"slots": [
|
|
366
496
|
{
|
|
367
|
-
"description": "Default slot for
|
|
497
|
+
"description": "Default slot for card body content.",
|
|
368
498
|
"name": ""
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"description": "Content rendered in the card header.",
|
|
502
|
+
"name": "header"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"description": "Content rendered in the card footer.",
|
|
506
|
+
"name": "footer"
|
|
369
507
|
}
|
|
370
508
|
],
|
|
371
509
|
"members": [
|
|
@@ -373,7 +511,7 @@
|
|
|
373
511
|
"kind": "field",
|
|
374
512
|
"name": "variant",
|
|
375
513
|
"type": {
|
|
376
|
-
"text": "
|
|
514
|
+
"text": "CardVariant"
|
|
377
515
|
},
|
|
378
516
|
"default": "'default'",
|
|
379
517
|
"attribute": "variant",
|
|
@@ -381,349 +519,621 @@
|
|
|
381
519
|
},
|
|
382
520
|
{
|
|
383
521
|
"kind": "field",
|
|
384
|
-
"name": "
|
|
522
|
+
"name": "padding",
|
|
385
523
|
"type": {
|
|
386
|
-
"text": "
|
|
524
|
+
"text": "CardPadding"
|
|
387
525
|
},
|
|
388
526
|
"default": "'md'",
|
|
389
|
-
"attribute": "
|
|
527
|
+
"attribute": "padding",
|
|
390
528
|
"reflects": true
|
|
391
529
|
},
|
|
392
530
|
{
|
|
393
531
|
"kind": "field",
|
|
394
|
-
"name": "
|
|
532
|
+
"name": "interactive",
|
|
395
533
|
"type": {
|
|
396
|
-
"text": "
|
|
534
|
+
"text": "boolean"
|
|
397
535
|
},
|
|
398
|
-
"default": "
|
|
399
|
-
"
|
|
536
|
+
"default": "false",
|
|
537
|
+
"description": "Enables hover lift + border glow effect.",
|
|
538
|
+
"attribute": "interactive",
|
|
539
|
+
"reflects": true
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"kind": "field",
|
|
543
|
+
"name": "accent",
|
|
544
|
+
"type": {
|
|
545
|
+
"text": "CardAccent"
|
|
546
|
+
},
|
|
547
|
+
"default": "'none'",
|
|
548
|
+
"description": "Accent color shown on hover border (requires interactive=true).",
|
|
549
|
+
"attribute": "accent",
|
|
400
550
|
"reflects": true
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"kind": "field",
|
|
554
|
+
"name": "_hasHeader",
|
|
555
|
+
"type": {
|
|
556
|
+
"text": "boolean"
|
|
557
|
+
},
|
|
558
|
+
"privacy": "private",
|
|
559
|
+
"default": "false"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"kind": "field",
|
|
563
|
+
"name": "_hasFooter",
|
|
564
|
+
"type": {
|
|
565
|
+
"text": "boolean"
|
|
566
|
+
},
|
|
567
|
+
"privacy": "private",
|
|
568
|
+
"default": "false"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"kind": "method",
|
|
572
|
+
"name": "_onSlotChange",
|
|
573
|
+
"privacy": "private",
|
|
574
|
+
"parameters": [
|
|
575
|
+
{
|
|
576
|
+
"name": "slot",
|
|
577
|
+
"type": {
|
|
578
|
+
"text": "'header' | 'footer'"
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"name": "e",
|
|
583
|
+
"type": {
|
|
584
|
+
"text": "Event"
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
]
|
|
401
588
|
}
|
|
402
589
|
],
|
|
403
590
|
"attributes": [
|
|
404
591
|
{
|
|
405
592
|
"name": "variant",
|
|
406
593
|
"type": {
|
|
407
|
-
"text": "
|
|
594
|
+
"text": "CardVariant"
|
|
408
595
|
},
|
|
409
596
|
"default": "'default'",
|
|
410
597
|
"fieldName": "variant"
|
|
411
598
|
},
|
|
412
599
|
{
|
|
413
|
-
"name": "
|
|
600
|
+
"name": "padding",
|
|
414
601
|
"type": {
|
|
415
|
-
"text": "
|
|
602
|
+
"text": "CardPadding"
|
|
416
603
|
},
|
|
417
604
|
"default": "'md'",
|
|
418
|
-
"fieldName": "
|
|
605
|
+
"fieldName": "padding"
|
|
419
606
|
},
|
|
420
607
|
{
|
|
421
|
-
"name": "
|
|
608
|
+
"name": "interactive",
|
|
422
609
|
"type": {
|
|
423
|
-
"text": "
|
|
610
|
+
"text": "boolean"
|
|
424
611
|
},
|
|
425
|
-
"default": "
|
|
426
|
-
"
|
|
612
|
+
"default": "false",
|
|
613
|
+
"description": "Enables hover lift + border glow effect.",
|
|
614
|
+
"fieldName": "interactive"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"name": "accent",
|
|
618
|
+
"type": {
|
|
619
|
+
"text": "CardAccent"
|
|
620
|
+
},
|
|
621
|
+
"default": "'none'",
|
|
622
|
+
"description": "Accent color shown on hover border (requires interactive=true).",
|
|
623
|
+
"fieldName": "accent"
|
|
427
624
|
}
|
|
428
625
|
],
|
|
429
626
|
"superclass": {
|
|
430
627
|
"name": "RekeElement",
|
|
431
628
|
"module": "/src/shared/base-element.js"
|
|
432
629
|
},
|
|
433
|
-
"tagName": "reke-
|
|
630
|
+
"tagName": "reke-card",
|
|
434
631
|
"customElement": true,
|
|
435
|
-
"summary": "A
|
|
632
|
+
"summary": "A card container component with multiple variants and padding options."
|
|
436
633
|
}
|
|
437
634
|
],
|
|
438
635
|
"exports": [
|
|
439
636
|
{
|
|
440
637
|
"kind": "js",
|
|
441
|
-
"name": "
|
|
638
|
+
"name": "RekeCard",
|
|
442
639
|
"declaration": {
|
|
443
|
-
"name": "
|
|
444
|
-
"module": "src/components/reke-
|
|
640
|
+
"name": "RekeCard",
|
|
641
|
+
"module": "src/components/reke-card/reke-card.ts"
|
|
445
642
|
}
|
|
446
643
|
},
|
|
447
644
|
{
|
|
448
645
|
"kind": "custom-element-definition",
|
|
449
|
-
"name": "reke-
|
|
646
|
+
"name": "reke-card",
|
|
450
647
|
"declaration": {
|
|
451
|
-
"name": "
|
|
452
|
-
"module": "src/components/reke-
|
|
648
|
+
"name": "RekeCard",
|
|
649
|
+
"module": "src/components/reke-card/reke-card.ts"
|
|
453
650
|
}
|
|
454
651
|
}
|
|
455
652
|
]
|
|
456
653
|
},
|
|
457
654
|
{
|
|
458
655
|
"kind": "javascript-module",
|
|
459
|
-
"path": "src/components/reke-
|
|
656
|
+
"path": "src/components/reke-checkbox/reke-checkbox.ts",
|
|
460
657
|
"declarations": [
|
|
461
658
|
{
|
|
462
659
|
"kind": "class",
|
|
463
660
|
"description": "",
|
|
464
|
-
"name": "
|
|
661
|
+
"name": "RekeCheckbox",
|
|
465
662
|
"cssProperties": [
|
|
466
663
|
{
|
|
467
|
-
"description": "
|
|
664
|
+
"description": "Checked state background and border.",
|
|
665
|
+
"name": "--reke-color-primary",
|
|
666
|
+
"default": "#22C55E"
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"description": "Unchecked box background.",
|
|
468
670
|
"name": "--reke-color-surface",
|
|
469
671
|
"default": "#1A1A1A"
|
|
470
672
|
},
|
|
471
673
|
{
|
|
472
|
-
"description": "
|
|
674
|
+
"description": "Unchecked box border.",
|
|
473
675
|
"name": "--reke-color-border",
|
|
474
676
|
"default": "#252525"
|
|
475
677
|
},
|
|
476
678
|
{
|
|
477
|
-
"description": "
|
|
478
|
-
"name": "--reke-
|
|
479
|
-
"default": "
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
"description": "Card border radius.",
|
|
483
|
-
"name": "--reke-radius",
|
|
484
|
-
"default": "4px"
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"description": "Shadow applied on hover when interactive.",
|
|
488
|
-
"name": "--reke-shadow-lift"
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
"description": "Glow shadow for accent=primary on hover.",
|
|
492
|
-
"name": "--reke-shadow-glow-primary"
|
|
679
|
+
"description": "Label text color.",
|
|
680
|
+
"name": "--reke-color-text",
|
|
681
|
+
"default": "#E5E5E5"
|
|
493
682
|
}
|
|
494
683
|
],
|
|
495
|
-
"
|
|
684
|
+
"cssParts": [
|
|
496
685
|
{
|
|
497
|
-
"description": "
|
|
498
|
-
"name": ""
|
|
686
|
+
"description": "The clickable container wrapping the checkbox and label.",
|
|
687
|
+
"name": "container"
|
|
499
688
|
},
|
|
500
689
|
{
|
|
501
|
-
"description": "
|
|
502
|
-
"name": "
|
|
690
|
+
"description": "The visual checkbox box.",
|
|
691
|
+
"name": "box"
|
|
503
692
|
},
|
|
504
693
|
{
|
|
505
|
-
"description": "
|
|
506
|
-
"name": "
|
|
694
|
+
"description": "The label text span.",
|
|
695
|
+
"name": "label"
|
|
507
696
|
}
|
|
508
697
|
],
|
|
509
698
|
"members": [
|
|
510
699
|
{
|
|
511
700
|
"kind": "field",
|
|
512
|
-
"name": "
|
|
701
|
+
"name": "checked",
|
|
513
702
|
"type": {
|
|
514
|
-
"text": "
|
|
703
|
+
"text": "boolean"
|
|
515
704
|
},
|
|
516
|
-
"default": "
|
|
517
|
-
"attribute": "
|
|
705
|
+
"default": "false",
|
|
706
|
+
"attribute": "checked",
|
|
518
707
|
"reflects": true
|
|
519
708
|
},
|
|
520
709
|
{
|
|
521
710
|
"kind": "field",
|
|
522
|
-
"name": "
|
|
711
|
+
"name": "indeterminate",
|
|
523
712
|
"type": {
|
|
524
|
-
"text": "
|
|
713
|
+
"text": "boolean"
|
|
525
714
|
},
|
|
526
|
-
"default": "
|
|
527
|
-
"attribute": "
|
|
715
|
+
"default": "false",
|
|
716
|
+
"attribute": "indeterminate",
|
|
528
717
|
"reflects": true
|
|
529
718
|
},
|
|
530
719
|
{
|
|
531
720
|
"kind": "field",
|
|
532
|
-
"name": "
|
|
721
|
+
"name": "disabled",
|
|
533
722
|
"type": {
|
|
534
723
|
"text": "boolean"
|
|
535
724
|
},
|
|
536
725
|
"default": "false",
|
|
537
|
-
"
|
|
538
|
-
"attribute": "interactive",
|
|
726
|
+
"attribute": "disabled",
|
|
539
727
|
"reflects": true
|
|
540
728
|
},
|
|
541
729
|
{
|
|
542
730
|
"kind": "field",
|
|
543
|
-
"name": "
|
|
731
|
+
"name": "label",
|
|
544
732
|
"type": {
|
|
545
|
-
"text": "
|
|
733
|
+
"text": "string"
|
|
546
734
|
},
|
|
547
|
-
"default": "'
|
|
548
|
-
"
|
|
549
|
-
|
|
735
|
+
"default": "''",
|
|
736
|
+
"attribute": "label"
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"kind": "method",
|
|
740
|
+
"name": "handleClick",
|
|
741
|
+
"privacy": "private"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"kind": "method",
|
|
745
|
+
"name": "handleKeyDown",
|
|
746
|
+
"privacy": "private",
|
|
747
|
+
"parameters": [
|
|
748
|
+
{
|
|
749
|
+
"name": "e",
|
|
750
|
+
"type": {
|
|
751
|
+
"text": "KeyboardEvent"
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
]
|
|
755
|
+
}
|
|
756
|
+
],
|
|
757
|
+
"events": [
|
|
758
|
+
{
|
|
759
|
+
"description": "Fired when the checkbox is toggled. Detail: `{ checked: boolean }`.",
|
|
760
|
+
"name": "reke-change"
|
|
761
|
+
}
|
|
762
|
+
],
|
|
763
|
+
"attributes": [
|
|
764
|
+
{
|
|
765
|
+
"name": "checked",
|
|
766
|
+
"type": {
|
|
767
|
+
"text": "boolean"
|
|
768
|
+
},
|
|
769
|
+
"default": "false",
|
|
770
|
+
"fieldName": "checked"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"name": "indeterminate",
|
|
774
|
+
"type": {
|
|
775
|
+
"text": "boolean"
|
|
776
|
+
},
|
|
777
|
+
"default": "false",
|
|
778
|
+
"fieldName": "indeterminate"
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"name": "disabled",
|
|
782
|
+
"type": {
|
|
783
|
+
"text": "boolean"
|
|
784
|
+
},
|
|
785
|
+
"default": "false",
|
|
786
|
+
"fieldName": "disabled"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"name": "label",
|
|
790
|
+
"type": {
|
|
791
|
+
"text": "string"
|
|
792
|
+
},
|
|
793
|
+
"default": "''",
|
|
794
|
+
"fieldName": "label"
|
|
795
|
+
}
|
|
796
|
+
],
|
|
797
|
+
"superclass": {
|
|
798
|
+
"name": "RekeElement",
|
|
799
|
+
"module": "/src/shared/base-element.js"
|
|
800
|
+
},
|
|
801
|
+
"tagName": "reke-checkbox",
|
|
802
|
+
"customElement": true,
|
|
803
|
+
"summary": "A checkbox component with checked, indeterminate, and disabled states."
|
|
804
|
+
}
|
|
805
|
+
],
|
|
806
|
+
"exports": [
|
|
807
|
+
{
|
|
808
|
+
"kind": "js",
|
|
809
|
+
"name": "RekeCheckbox",
|
|
810
|
+
"declaration": {
|
|
811
|
+
"name": "RekeCheckbox",
|
|
812
|
+
"module": "src/components/reke-checkbox/reke-checkbox.ts"
|
|
813
|
+
}
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"kind": "custom-element-definition",
|
|
817
|
+
"name": "reke-checkbox",
|
|
818
|
+
"declaration": {
|
|
819
|
+
"name": "RekeCheckbox",
|
|
820
|
+
"module": "src/components/reke-checkbox/reke-checkbox.ts"
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
]
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"kind": "javascript-module",
|
|
827
|
+
"path": "src/components/reke-chip/reke-chip.ts",
|
|
828
|
+
"declarations": [
|
|
829
|
+
{
|
|
830
|
+
"kind": "class",
|
|
831
|
+
"description": "",
|
|
832
|
+
"name": "RekeChip",
|
|
833
|
+
"cssProperties": [
|
|
834
|
+
{
|
|
835
|
+
"description": "Active color for primary variant.",
|
|
836
|
+
"name": "--reke-color-primary",
|
|
837
|
+
"default": "#22C55E"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"description": "Active color for secondary variant.",
|
|
841
|
+
"name": "--reke-color-secondary",
|
|
842
|
+
"default": "#3B82F6"
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"description": "Active color for danger variant.",
|
|
846
|
+
"name": "--reke-color-danger",
|
|
847
|
+
"default": "#EF4444"
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"description": "Active color for warning variant.",
|
|
851
|
+
"name": "--reke-color-warning",
|
|
852
|
+
"default": "#F59E0B"
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"description": "Inactive border color.",
|
|
856
|
+
"name": "--reke-color-border-subtle",
|
|
857
|
+
"default": "#1F1F1F"
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"description": "Inactive text color.",
|
|
861
|
+
"name": "--reke-color-text-muted",
|
|
862
|
+
"default": "#525252"
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"description": "Chip border radius.",
|
|
866
|
+
"name": "--reke-radius",
|
|
867
|
+
"default": "4px"
|
|
868
|
+
}
|
|
869
|
+
],
|
|
870
|
+
"cssParts": [
|
|
871
|
+
{
|
|
872
|
+
"description": "The outer chip container.",
|
|
873
|
+
"name": "chip"
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"description": "The dismiss button element.",
|
|
877
|
+
"name": "dismiss"
|
|
878
|
+
}
|
|
879
|
+
],
|
|
880
|
+
"slots": [
|
|
881
|
+
{
|
|
882
|
+
"description": "Default slot for chip label text.",
|
|
883
|
+
"name": ""
|
|
884
|
+
}
|
|
885
|
+
],
|
|
886
|
+
"members": [
|
|
887
|
+
{
|
|
888
|
+
"kind": "field",
|
|
889
|
+
"name": "color",
|
|
890
|
+
"type": {
|
|
891
|
+
"text": "ChipColor"
|
|
892
|
+
},
|
|
893
|
+
"default": "'primary'",
|
|
894
|
+
"description": "Color theme for the active state.",
|
|
895
|
+
"attribute": "color",
|
|
550
896
|
"reflects": true
|
|
551
897
|
},
|
|
552
898
|
{
|
|
553
899
|
"kind": "field",
|
|
554
|
-
"name": "
|
|
900
|
+
"name": "active",
|
|
555
901
|
"type": {
|
|
556
902
|
"text": "boolean"
|
|
557
903
|
},
|
|
558
|
-
"
|
|
559
|
-
"
|
|
904
|
+
"default": "false",
|
|
905
|
+
"description": "Whether the chip is in its active/selected state.",
|
|
906
|
+
"attribute": "active",
|
|
907
|
+
"reflects": true
|
|
560
908
|
},
|
|
561
909
|
{
|
|
562
910
|
"kind": "field",
|
|
563
|
-
"name": "
|
|
911
|
+
"name": "dismissible",
|
|
564
912
|
"type": {
|
|
565
913
|
"text": "boolean"
|
|
566
914
|
},
|
|
567
|
-
"
|
|
568
|
-
"
|
|
915
|
+
"default": "false",
|
|
916
|
+
"description": "Shows a dismiss (×) button.",
|
|
917
|
+
"attribute": "dismissible",
|
|
918
|
+
"reflects": true
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"kind": "field",
|
|
922
|
+
"name": "disabled",
|
|
923
|
+
"type": {
|
|
924
|
+
"text": "boolean"
|
|
925
|
+
},
|
|
926
|
+
"default": "false",
|
|
927
|
+
"attribute": "disabled",
|
|
928
|
+
"reflects": true
|
|
569
929
|
},
|
|
570
930
|
{
|
|
571
931
|
"kind": "method",
|
|
572
|
-
"name": "
|
|
932
|
+
"name": "_handleClick",
|
|
933
|
+
"privacy": "private"
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"kind": "method",
|
|
937
|
+
"name": "_handleDismiss",
|
|
573
938
|
"privacy": "private",
|
|
574
939
|
"parameters": [
|
|
575
|
-
{
|
|
576
|
-
"name": "slot",
|
|
577
|
-
"type": {
|
|
578
|
-
"text": "'header' | 'footer'"
|
|
579
|
-
}
|
|
580
|
-
},
|
|
581
940
|
{
|
|
582
941
|
"name": "e",
|
|
583
942
|
"type": {
|
|
584
|
-
"text": "
|
|
943
|
+
"text": "MouseEvent"
|
|
585
944
|
}
|
|
586
945
|
}
|
|
587
946
|
]
|
|
588
947
|
}
|
|
589
948
|
],
|
|
949
|
+
"events": [
|
|
950
|
+
{
|
|
951
|
+
"description": "Fired when the chip body is clicked.",
|
|
952
|
+
"name": "reke-click"
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
"description": "Fired when the dismiss button is clicked.",
|
|
956
|
+
"name": "reke-dismiss"
|
|
957
|
+
}
|
|
958
|
+
],
|
|
590
959
|
"attributes": [
|
|
591
960
|
{
|
|
592
|
-
"name": "
|
|
961
|
+
"name": "color",
|
|
593
962
|
"type": {
|
|
594
|
-
"text": "
|
|
963
|
+
"text": "ChipColor"
|
|
595
964
|
},
|
|
596
|
-
"default": "'
|
|
597
|
-
"
|
|
965
|
+
"default": "'primary'",
|
|
966
|
+
"description": "Color theme for the active state.",
|
|
967
|
+
"fieldName": "color"
|
|
598
968
|
},
|
|
599
969
|
{
|
|
600
|
-
"name": "
|
|
970
|
+
"name": "active",
|
|
601
971
|
"type": {
|
|
602
|
-
"text": "
|
|
972
|
+
"text": "boolean"
|
|
603
973
|
},
|
|
604
|
-
"default": "
|
|
605
|
-
"
|
|
974
|
+
"default": "false",
|
|
975
|
+
"description": "Whether the chip is in its active/selected state.",
|
|
976
|
+
"fieldName": "active"
|
|
606
977
|
},
|
|
607
978
|
{
|
|
608
|
-
"name": "
|
|
979
|
+
"name": "dismissible",
|
|
609
980
|
"type": {
|
|
610
981
|
"text": "boolean"
|
|
611
982
|
},
|
|
612
983
|
"default": "false",
|
|
613
|
-
"description": "
|
|
614
|
-
"fieldName": "
|
|
984
|
+
"description": "Shows a dismiss (×) button.",
|
|
985
|
+
"fieldName": "dismissible"
|
|
615
986
|
},
|
|
616
987
|
{
|
|
617
|
-
"name": "
|
|
988
|
+
"name": "disabled",
|
|
618
989
|
"type": {
|
|
619
|
-
"text": "
|
|
990
|
+
"text": "boolean"
|
|
620
991
|
},
|
|
621
|
-
"default": "
|
|
622
|
-
"
|
|
623
|
-
"fieldName": "accent"
|
|
992
|
+
"default": "false",
|
|
993
|
+
"fieldName": "disabled"
|
|
624
994
|
}
|
|
625
995
|
],
|
|
626
996
|
"superclass": {
|
|
627
997
|
"name": "RekeElement",
|
|
628
998
|
"module": "/src/shared/base-element.js"
|
|
629
999
|
},
|
|
630
|
-
"tagName": "reke-
|
|
1000
|
+
"tagName": "reke-chip",
|
|
631
1001
|
"customElement": true,
|
|
632
|
-
"summary": "A
|
|
1002
|
+
"summary": "A toggleable chip/pill component for filters, tags, and selections."
|
|
633
1003
|
}
|
|
634
1004
|
],
|
|
635
1005
|
"exports": [
|
|
636
1006
|
{
|
|
637
1007
|
"kind": "js",
|
|
638
|
-
"name": "
|
|
1008
|
+
"name": "RekeChip",
|
|
639
1009
|
"declaration": {
|
|
640
|
-
"name": "
|
|
641
|
-
"module": "src/components/reke-
|
|
1010
|
+
"name": "RekeChip",
|
|
1011
|
+
"module": "src/components/reke-chip/reke-chip.ts"
|
|
642
1012
|
}
|
|
643
1013
|
},
|
|
644
1014
|
{
|
|
645
1015
|
"kind": "custom-element-definition",
|
|
646
|
-
"name": "reke-
|
|
1016
|
+
"name": "reke-chip",
|
|
647
1017
|
"declaration": {
|
|
648
|
-
"name": "
|
|
649
|
-
"module": "src/components/reke-
|
|
1018
|
+
"name": "RekeChip",
|
|
1019
|
+
"module": "src/components/reke-chip/reke-chip.ts"
|
|
650
1020
|
}
|
|
651
1021
|
}
|
|
652
1022
|
]
|
|
653
1023
|
},
|
|
654
1024
|
{
|
|
655
1025
|
"kind": "javascript-module",
|
|
656
|
-
"path": "src/components/reke-
|
|
1026
|
+
"path": "src/components/reke-combobox/reke-combobox.ts",
|
|
657
1027
|
"declarations": [
|
|
658
1028
|
{
|
|
659
1029
|
"kind": "class",
|
|
660
1030
|
"description": "",
|
|
661
|
-
"name": "
|
|
1031
|
+
"name": "RekeCombobox",
|
|
662
1032
|
"cssProperties": [
|
|
663
1033
|
{
|
|
664
|
-
"description": "
|
|
1034
|
+
"description": "Focus ring and active/selected option color.",
|
|
665
1035
|
"name": "--reke-color-primary",
|
|
666
1036
|
"default": "#22C55E"
|
|
667
1037
|
},
|
|
668
1038
|
{
|
|
669
|
-
"description": "
|
|
1039
|
+
"description": "Input and dropdown background.",
|
|
670
1040
|
"name": "--reke-color-surface",
|
|
671
1041
|
"default": "#1A1A1A"
|
|
672
1042
|
},
|
|
673
1043
|
{
|
|
674
|
-
"description": "
|
|
1044
|
+
"description": "Option hover/active background.",
|
|
1045
|
+
"name": "--reke-color-surface-elevated",
|
|
1046
|
+
"default": "#151515"
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"description": "Input and dropdown border.",
|
|
675
1050
|
"name": "--reke-color-border",
|
|
676
1051
|
"default": "#252525"
|
|
677
1052
|
},
|
|
678
1053
|
{
|
|
679
|
-
"description": "
|
|
1054
|
+
"description": "Error state border.",
|
|
1055
|
+
"name": "--reke-color-danger",
|
|
1056
|
+
"default": "#EF4444"
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"description": "Text color.",
|
|
680
1060
|
"name": "--reke-color-text",
|
|
681
1061
|
"default": "#E5E5E5"
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"description": "Placeholder / empty color.",
|
|
1065
|
+
"name": "--reke-color-text-muted",
|
|
1066
|
+
"default": "#525252"
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
"description": "Label color.",
|
|
1070
|
+
"name": "--reke-color-text-label",
|
|
1071
|
+
"default": "#8A8A8A"
|
|
682
1072
|
}
|
|
683
1073
|
],
|
|
684
1074
|
"cssParts": [
|
|
685
1075
|
{
|
|
686
|
-
"description": "The
|
|
687
|
-
"name": "
|
|
1076
|
+
"description": "The text input element.",
|
|
1077
|
+
"name": "input"
|
|
688
1078
|
},
|
|
689
1079
|
{
|
|
690
|
-
"description": "The
|
|
691
|
-
"name": "
|
|
1080
|
+
"description": "The dropdown list container.",
|
|
1081
|
+
"name": "dropdown"
|
|
692
1082
|
},
|
|
693
1083
|
{
|
|
694
|
-
"description": "
|
|
695
|
-
"name": "
|
|
1084
|
+
"description": "Each option row.",
|
|
1085
|
+
"name": "option"
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"description": "The \"no results\" row.",
|
|
1089
|
+
"name": "empty"
|
|
696
1090
|
}
|
|
697
1091
|
],
|
|
698
1092
|
"members": [
|
|
699
1093
|
{
|
|
700
1094
|
"kind": "field",
|
|
701
|
-
"name": "
|
|
1095
|
+
"name": "value",
|
|
702
1096
|
"type": {
|
|
703
|
-
"text": "
|
|
1097
|
+
"text": "string"
|
|
704
1098
|
},
|
|
705
|
-
"default": "
|
|
706
|
-
"attribute": "
|
|
707
|
-
"reflects": true
|
|
1099
|
+
"default": "''",
|
|
1100
|
+
"attribute": "value"
|
|
708
1101
|
},
|
|
709
1102
|
{
|
|
710
1103
|
"kind": "field",
|
|
711
|
-
"name": "
|
|
1104
|
+
"name": "placeholder",
|
|
1105
|
+
"type": {
|
|
1106
|
+
"text": "string"
|
|
1107
|
+
},
|
|
1108
|
+
"default": "'Buscar...'",
|
|
1109
|
+
"attribute": "placeholder"
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
"kind": "field",
|
|
1113
|
+
"name": "options",
|
|
1114
|
+
"type": {
|
|
1115
|
+
"text": "ComboboxOption[]"
|
|
1116
|
+
},
|
|
1117
|
+
"default": "[]"
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"kind": "field",
|
|
1121
|
+
"name": "disabled",
|
|
712
1122
|
"type": {
|
|
713
1123
|
"text": "boolean"
|
|
714
1124
|
},
|
|
715
1125
|
"default": "false",
|
|
716
|
-
"attribute": "
|
|
1126
|
+
"attribute": "disabled",
|
|
717
1127
|
"reflects": true
|
|
718
1128
|
},
|
|
719
1129
|
{
|
|
720
1130
|
"kind": "field",
|
|
721
|
-
"name": "
|
|
1131
|
+
"name": "error",
|
|
722
1132
|
"type": {
|
|
723
1133
|
"text": "boolean"
|
|
724
1134
|
},
|
|
725
1135
|
"default": "false",
|
|
726
|
-
"attribute": "
|
|
1136
|
+
"attribute": "error",
|
|
727
1137
|
"reflects": true
|
|
728
1138
|
},
|
|
729
1139
|
{
|
|
@@ -736,211 +1146,162 @@
|
|
|
736
1146
|
"attribute": "label"
|
|
737
1147
|
},
|
|
738
1148
|
{
|
|
739
|
-
"kind": "
|
|
740
|
-
"name": "
|
|
741
|
-
"
|
|
1149
|
+
"kind": "field",
|
|
1150
|
+
"name": "emptyText",
|
|
1151
|
+
"type": {
|
|
1152
|
+
"text": "string"
|
|
1153
|
+
},
|
|
1154
|
+
"default": "'Sin resultados'",
|
|
1155
|
+
"attribute": "emptyText"
|
|
742
1156
|
},
|
|
743
1157
|
{
|
|
744
|
-
"kind": "
|
|
745
|
-
"name": "
|
|
746
|
-
"
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
}
|
|
754
|
-
]
|
|
755
|
-
}
|
|
756
|
-
],
|
|
757
|
-
"events": [
|
|
758
|
-
{
|
|
759
|
-
"description": "Fired when the checkbox is toggled. Detail: `{ checked: boolean }`.",
|
|
760
|
-
"name": "reke-change"
|
|
761
|
-
}
|
|
762
|
-
],
|
|
763
|
-
"attributes": [
|
|
1158
|
+
"kind": "field",
|
|
1159
|
+
"name": "size",
|
|
1160
|
+
"type": {
|
|
1161
|
+
"text": "ComboboxSize"
|
|
1162
|
+
},
|
|
1163
|
+
"default": "'md'",
|
|
1164
|
+
"attribute": "size",
|
|
1165
|
+
"reflects": true
|
|
1166
|
+
},
|
|
764
1167
|
{
|
|
765
|
-
"
|
|
1168
|
+
"kind": "field",
|
|
1169
|
+
"name": "_open",
|
|
766
1170
|
"type": {
|
|
767
1171
|
"text": "boolean"
|
|
768
1172
|
},
|
|
769
|
-
"
|
|
770
|
-
"
|
|
1173
|
+
"privacy": "private",
|
|
1174
|
+
"default": "false"
|
|
771
1175
|
},
|
|
772
1176
|
{
|
|
773
|
-
"
|
|
1177
|
+
"kind": "field",
|
|
1178
|
+
"name": "_query",
|
|
774
1179
|
"type": {
|
|
775
|
-
"text": "
|
|
1180
|
+
"text": "string"
|
|
776
1181
|
},
|
|
777
|
-
"
|
|
778
|
-
"
|
|
1182
|
+
"privacy": "private",
|
|
1183
|
+
"default": "''"
|
|
779
1184
|
},
|
|
780
1185
|
{
|
|
781
|
-
"
|
|
1186
|
+
"kind": "field",
|
|
1187
|
+
"name": "_activeIndex",
|
|
782
1188
|
"type": {
|
|
783
|
-
"text": "
|
|
1189
|
+
"text": "number"
|
|
784
1190
|
},
|
|
785
|
-
"
|
|
786
|
-
"
|
|
1191
|
+
"privacy": "private",
|
|
1192
|
+
"default": "0"
|
|
787
1193
|
},
|
|
788
1194
|
{
|
|
789
|
-
"
|
|
1195
|
+
"kind": "field",
|
|
1196
|
+
"name": "_dropdownStyle",
|
|
790
1197
|
"type": {
|
|
791
1198
|
"text": "string"
|
|
792
1199
|
},
|
|
1200
|
+
"privacy": "private",
|
|
793
1201
|
"default": "''",
|
|
794
|
-
"
|
|
795
|
-
}
|
|
796
|
-
],
|
|
797
|
-
"superclass": {
|
|
798
|
-
"name": "RekeElement",
|
|
799
|
-
"module": "/src/shared/base-element.js"
|
|
800
|
-
},
|
|
801
|
-
"tagName": "reke-checkbox",
|
|
802
|
-
"customElement": true,
|
|
803
|
-
"summary": "A checkbox component with checked, indeterminate, and disabled states."
|
|
804
|
-
}
|
|
805
|
-
],
|
|
806
|
-
"exports": [
|
|
807
|
-
{
|
|
808
|
-
"kind": "js",
|
|
809
|
-
"name": "RekeCheckbox",
|
|
810
|
-
"declaration": {
|
|
811
|
-
"name": "RekeCheckbox",
|
|
812
|
-
"module": "src/components/reke-checkbox/reke-checkbox.ts"
|
|
813
|
-
}
|
|
814
|
-
},
|
|
815
|
-
{
|
|
816
|
-
"kind": "custom-element-definition",
|
|
817
|
-
"name": "reke-checkbox",
|
|
818
|
-
"declaration": {
|
|
819
|
-
"name": "RekeCheckbox",
|
|
820
|
-
"module": "src/components/reke-checkbox/reke-checkbox.ts"
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
]
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
"kind": "javascript-module",
|
|
827
|
-
"path": "src/components/reke-chip/reke-chip.ts",
|
|
828
|
-
"declarations": [
|
|
829
|
-
{
|
|
830
|
-
"kind": "class",
|
|
831
|
-
"description": "",
|
|
832
|
-
"name": "RekeChip",
|
|
833
|
-
"cssProperties": [
|
|
834
|
-
{
|
|
835
|
-
"description": "Active color for primary variant.",
|
|
836
|
-
"name": "--reke-color-primary",
|
|
837
|
-
"default": "#22C55E"
|
|
1202
|
+
"description": "Inline `position: fixed` coords so the dropdown escapes any ancestor\n`overflow: hidden` (cards, table cells, etc.)."
|
|
838
1203
|
},
|
|
839
1204
|
{
|
|
840
|
-
"
|
|
841
|
-
"name": "
|
|
842
|
-
"
|
|
1205
|
+
"kind": "field",
|
|
1206
|
+
"name": "_boundHandleOutsideClick",
|
|
1207
|
+
"privacy": "private"
|
|
843
1208
|
},
|
|
844
1209
|
{
|
|
845
|
-
"
|
|
846
|
-
"name": "
|
|
847
|
-
"
|
|
1210
|
+
"kind": "field",
|
|
1211
|
+
"name": "_boundReposition",
|
|
1212
|
+
"privacy": "private"
|
|
848
1213
|
},
|
|
849
1214
|
{
|
|
850
|
-
"
|
|
851
|
-
"name": "
|
|
852
|
-
"
|
|
1215
|
+
"kind": "method",
|
|
1216
|
+
"name": "updatePosition",
|
|
1217
|
+
"privacy": "private"
|
|
853
1218
|
},
|
|
854
1219
|
{
|
|
855
|
-
"
|
|
856
|
-
"name": "
|
|
857
|
-
"
|
|
1220
|
+
"kind": "method",
|
|
1221
|
+
"name": "addPositionListeners",
|
|
1222
|
+
"privacy": "private"
|
|
858
1223
|
},
|
|
859
1224
|
{
|
|
860
|
-
"
|
|
861
|
-
"name": "
|
|
862
|
-
"
|
|
1225
|
+
"kind": "method",
|
|
1226
|
+
"name": "removePositionListeners",
|
|
1227
|
+
"privacy": "private"
|
|
863
1228
|
},
|
|
864
1229
|
{
|
|
865
|
-
"
|
|
866
|
-
"name": "
|
|
867
|
-
"
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
1230
|
+
"kind": "method",
|
|
1231
|
+
"name": "handleOutsideClick",
|
|
1232
|
+
"privacy": "private",
|
|
1233
|
+
"parameters": [
|
|
1234
|
+
{
|
|
1235
|
+
"name": "e",
|
|
1236
|
+
"type": {
|
|
1237
|
+
"text": "Event"
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1240
|
+
]
|
|
874
1241
|
},
|
|
875
|
-
{
|
|
876
|
-
"description": "The dismiss button element.",
|
|
877
|
-
"name": "dismiss"
|
|
878
|
-
}
|
|
879
|
-
],
|
|
880
|
-
"slots": [
|
|
881
|
-
{
|
|
882
|
-
"description": "Default slot for chip label text.",
|
|
883
|
-
"name": ""
|
|
884
|
-
}
|
|
885
|
-
],
|
|
886
|
-
"members": [
|
|
887
1242
|
{
|
|
888
1243
|
"kind": "field",
|
|
889
|
-
"name": "
|
|
1244
|
+
"name": "selectedLabel",
|
|
890
1245
|
"type": {
|
|
891
|
-
"text": "
|
|
1246
|
+
"text": "string"
|
|
892
1247
|
},
|
|
893
|
-
"
|
|
894
|
-
"
|
|
895
|
-
"attribute": "color",
|
|
896
|
-
"reflects": true
|
|
1248
|
+
"privacy": "private",
|
|
1249
|
+
"readonly": true
|
|
897
1250
|
},
|
|
898
1251
|
{
|
|
899
1252
|
"kind": "field",
|
|
900
|
-
"name": "
|
|
1253
|
+
"name": "filteredOptions",
|
|
901
1254
|
"type": {
|
|
902
|
-
"text": "
|
|
1255
|
+
"text": "ComboboxOption[]"
|
|
903
1256
|
},
|
|
904
|
-
"
|
|
905
|
-
"
|
|
906
|
-
"attribute": "active",
|
|
907
|
-
"reflects": true
|
|
1257
|
+
"privacy": "private",
|
|
1258
|
+
"readonly": true
|
|
908
1259
|
},
|
|
909
1260
|
{
|
|
910
|
-
"kind": "
|
|
911
|
-
"name": "
|
|
912
|
-
"
|
|
913
|
-
"text": "boolean"
|
|
914
|
-
},
|
|
915
|
-
"default": "false",
|
|
916
|
-
"description": "Shows a dismiss (×) button.",
|
|
917
|
-
"attribute": "dismissible",
|
|
918
|
-
"reflects": true
|
|
1261
|
+
"kind": "method",
|
|
1262
|
+
"name": "open",
|
|
1263
|
+
"privacy": "private"
|
|
919
1264
|
},
|
|
920
1265
|
{
|
|
921
|
-
"kind": "
|
|
922
|
-
"name": "
|
|
923
|
-
"
|
|
924
|
-
"text": "boolean"
|
|
925
|
-
},
|
|
926
|
-
"default": "false",
|
|
927
|
-
"attribute": "disabled",
|
|
928
|
-
"reflects": true
|
|
1266
|
+
"kind": "method",
|
|
1267
|
+
"name": "close",
|
|
1268
|
+
"privacy": "private"
|
|
929
1269
|
},
|
|
930
1270
|
{
|
|
931
1271
|
"kind": "method",
|
|
932
|
-
"name": "
|
|
933
|
-
"privacy": "private"
|
|
1272
|
+
"name": "selectOption",
|
|
1273
|
+
"privacy": "private",
|
|
1274
|
+
"parameters": [
|
|
1275
|
+
{
|
|
1276
|
+
"name": "option",
|
|
1277
|
+
"type": {
|
|
1278
|
+
"text": "ComboboxOption"
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
]
|
|
934
1282
|
},
|
|
935
1283
|
{
|
|
936
1284
|
"kind": "method",
|
|
937
|
-
"name": "
|
|
1285
|
+
"name": "handleInput",
|
|
938
1286
|
"privacy": "private",
|
|
939
1287
|
"parameters": [
|
|
940
1288
|
{
|
|
941
1289
|
"name": "e",
|
|
942
1290
|
"type": {
|
|
943
|
-
"text": "
|
|
1291
|
+
"text": "Event"
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
]
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
"kind": "method",
|
|
1298
|
+
"name": "handleKeyDown",
|
|
1299
|
+
"privacy": "private",
|
|
1300
|
+
"parameters": [
|
|
1301
|
+
{
|
|
1302
|
+
"name": "e",
|
|
1303
|
+
"type": {
|
|
1304
|
+
"text": "KeyboardEvent"
|
|
944
1305
|
}
|
|
945
1306
|
}
|
|
946
1307
|
]
|
|
@@ -948,75 +1309,96 @@
|
|
|
948
1309
|
],
|
|
949
1310
|
"events": [
|
|
950
1311
|
{
|
|
951
|
-
"description": "Fired when
|
|
952
|
-
"name": "reke-
|
|
1312
|
+
"description": "Fired when an option is selected. Detail: `{ value: string }`.",
|
|
1313
|
+
"name": "reke-change"
|
|
953
1314
|
},
|
|
954
1315
|
{
|
|
955
|
-
"description": "Fired when the
|
|
956
|
-
"name": "reke-
|
|
1316
|
+
"description": "Fired when the query changes (for remote filtering). Detail: `{ query: string }`.",
|
|
1317
|
+
"name": "reke-search"
|
|
957
1318
|
}
|
|
958
1319
|
],
|
|
959
1320
|
"attributes": [
|
|
960
1321
|
{
|
|
961
|
-
"name": "
|
|
1322
|
+
"name": "value",
|
|
962
1323
|
"type": {
|
|
963
|
-
"text": "
|
|
1324
|
+
"text": "string"
|
|
964
1325
|
},
|
|
965
|
-
"default": "'
|
|
966
|
-
"
|
|
967
|
-
"fieldName": "color"
|
|
1326
|
+
"default": "''",
|
|
1327
|
+
"fieldName": "value"
|
|
968
1328
|
},
|
|
969
1329
|
{
|
|
970
|
-
"name": "
|
|
1330
|
+
"name": "placeholder",
|
|
971
1331
|
"type": {
|
|
972
|
-
"text": "
|
|
1332
|
+
"text": "string"
|
|
973
1333
|
},
|
|
974
|
-
"default": "
|
|
975
|
-
"
|
|
976
|
-
"fieldName": "active"
|
|
1334
|
+
"default": "'Buscar...'",
|
|
1335
|
+
"fieldName": "placeholder"
|
|
977
1336
|
},
|
|
978
1337
|
{
|
|
979
|
-
"name": "
|
|
1338
|
+
"name": "disabled",
|
|
980
1339
|
"type": {
|
|
981
1340
|
"text": "boolean"
|
|
982
1341
|
},
|
|
983
1342
|
"default": "false",
|
|
984
|
-
"
|
|
985
|
-
"fieldName": "dismissible"
|
|
1343
|
+
"fieldName": "disabled"
|
|
986
1344
|
},
|
|
987
1345
|
{
|
|
988
|
-
"name": "
|
|
1346
|
+
"name": "error",
|
|
989
1347
|
"type": {
|
|
990
1348
|
"text": "boolean"
|
|
991
1349
|
},
|
|
992
1350
|
"default": "false",
|
|
993
|
-
"fieldName": "
|
|
1351
|
+
"fieldName": "error"
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"name": "label",
|
|
1355
|
+
"type": {
|
|
1356
|
+
"text": "string"
|
|
1357
|
+
},
|
|
1358
|
+
"default": "''",
|
|
1359
|
+
"fieldName": "label"
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
"name": "emptyText",
|
|
1363
|
+
"type": {
|
|
1364
|
+
"text": "string"
|
|
1365
|
+
},
|
|
1366
|
+
"default": "'Sin resultados'",
|
|
1367
|
+
"fieldName": "emptyText"
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
"name": "size",
|
|
1371
|
+
"type": {
|
|
1372
|
+
"text": "ComboboxSize"
|
|
1373
|
+
},
|
|
1374
|
+
"default": "'md'",
|
|
1375
|
+
"fieldName": "size"
|
|
994
1376
|
}
|
|
995
1377
|
],
|
|
996
1378
|
"superclass": {
|
|
997
1379
|
"name": "RekeElement",
|
|
998
1380
|
"module": "/src/shared/base-element.js"
|
|
999
1381
|
},
|
|
1000
|
-
"tagName": "reke-
|
|
1382
|
+
"tagName": "reke-combobox",
|
|
1001
1383
|
"customElement": true,
|
|
1002
|
-
"summary": "A
|
|
1384
|
+
"summary": "A searchable select. Type to filter options, navigate with the\nkeyboard. Unlike `reke-select`, it exposes a text query and is meant for long\noption lists."
|
|
1003
1385
|
}
|
|
1004
1386
|
],
|
|
1005
1387
|
"exports": [
|
|
1006
1388
|
{
|
|
1007
1389
|
"kind": "js",
|
|
1008
|
-
"name": "
|
|
1390
|
+
"name": "RekeCombobox",
|
|
1009
1391
|
"declaration": {
|
|
1010
|
-
"name": "
|
|
1011
|
-
"module": "src/components/reke-
|
|
1392
|
+
"name": "RekeCombobox",
|
|
1393
|
+
"module": "src/components/reke-combobox/reke-combobox.ts"
|
|
1012
1394
|
}
|
|
1013
1395
|
},
|
|
1014
1396
|
{
|
|
1015
1397
|
"kind": "custom-element-definition",
|
|
1016
|
-
"name": "reke-
|
|
1398
|
+
"name": "reke-combobox",
|
|
1017
1399
|
"declaration": {
|
|
1018
|
-
"name": "
|
|
1019
|
-
"module": "src/components/reke-
|
|
1400
|
+
"name": "RekeCombobox",
|
|
1401
|
+
"module": "src/components/reke-combobox/reke-combobox.ts"
|
|
1020
1402
|
}
|
|
1021
1403
|
}
|
|
1022
1404
|
]
|
|
@@ -2710,6 +3092,27 @@
|
|
|
2710
3092
|
"default": "new Set<RowKey>()",
|
|
2711
3093
|
"description": "Track which keys are currently mounted in the DOM, to honor the contract that mount happens after `updated()` reconciles."
|
|
2712
3094
|
},
|
|
3095
|
+
{
|
|
3096
|
+
"kind": "field",
|
|
3097
|
+
"name": "_collapsingKeys",
|
|
3098
|
+
"privacy": "private",
|
|
3099
|
+
"default": "new Set<RowKey>()",
|
|
3100
|
+
"description": "Keys currently animating their collapse. Cleanup is deferred until transitionend."
|
|
3101
|
+
},
|
|
3102
|
+
{
|
|
3103
|
+
"kind": "field",
|
|
3104
|
+
"name": "_enteringKeys",
|
|
3105
|
+
"privacy": "private",
|
|
3106
|
+
"default": "new Set<RowKey>()",
|
|
3107
|
+
"description": "Keys newly expanded this tick. They render collapsed (0fr) for the first\npaint, then `updated()` clears them on the next frame so the CSS grid\ntransition animates open (0fr → 1fr). Without this, a freshly-mounted\nexpand row starts at 1fr and pops open with no animation."
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
"kind": "field",
|
|
3111
|
+
"name": "_collapseEndHandlers",
|
|
3112
|
+
"privacy": "private",
|
|
3113
|
+
"default": "new Map<RowKey, (e: TransitionEvent) => void>()",
|
|
3114
|
+
"description": "transitionend handlers keyed by row key, for cleanup on collapse animation end."
|
|
3115
|
+
},
|
|
2713
3116
|
{
|
|
2714
3117
|
"kind": "field",
|
|
2715
3118
|
"name": "_keyToRow",
|