@nitramburesh/wcds 0.3.10

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,1211 @@
1
+ {
2
+ "schemaVersion": "2.1.0",
3
+ "readme": "./README.md",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "./dist/wcds.js",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "description": "",
12
+ "name": "WCDSAvatar",
13
+ "cssProperties": [
14
+ {
15
+ "description": "Overall size of the avatar.",
16
+ "name": "--wcds-avatar-size"
17
+ },
18
+ {
19
+ "description": "Border radius for the avatar shape.",
20
+ "name": "--wcds-avatar-radius"
21
+ },
22
+ {
23
+ "description": "Background color for fallback initials.",
24
+ "name": "--wcds-avatar-bg"
25
+ },
26
+ {
27
+ "description": "Text color for fallback initials.",
28
+ "name": "--wcds-avatar-fg"
29
+ },
30
+ {
31
+ "description": "Font size for fallback initials.",
32
+ "name": "--wcds-avatar-font-size"
33
+ }
34
+ ],
35
+ "slots": [
36
+ {
37
+ "description": "Avatar content (overrides initials fallback when provided).",
38
+ "name": ""
39
+ }
40
+ ],
41
+ "members": [
42
+ {
43
+ "kind": "field",
44
+ "name": "src",
45
+ "type": {
46
+ "text": "string | undefined"
47
+ },
48
+ "attribute": "src"
49
+ },
50
+ {
51
+ "kind": "field",
52
+ "name": "alt",
53
+ "type": {
54
+ "text": "string | undefined"
55
+ },
56
+ "attribute": "alt"
57
+ },
58
+ {
59
+ "kind": "field",
60
+ "name": "name",
61
+ "type": {
62
+ "text": "string | undefined"
63
+ },
64
+ "attribute": "name"
65
+ },
66
+ {
67
+ "kind": "field",
68
+ "name": "variant",
69
+ "type": {
70
+ "text": "AvatarVariant"
71
+ },
72
+ "default": "'circular'",
73
+ "attribute": "variant",
74
+ "reflects": true
75
+ },
76
+ {
77
+ "kind": "field",
78
+ "name": "size",
79
+ "type": {
80
+ "text": "Size"
81
+ },
82
+ "default": "'md'",
83
+ "attribute": "size",
84
+ "reflects": true
85
+ },
86
+ {
87
+ "kind": "field",
88
+ "name": "imageError",
89
+ "type": {
90
+ "text": "boolean"
91
+ },
92
+ "privacy": "private",
93
+ "default": "false"
94
+ },
95
+ {
96
+ "kind": "method",
97
+ "name": "handleError",
98
+ "privacy": "private"
99
+ },
100
+ {
101
+ "kind": "field",
102
+ "name": "fallbackText",
103
+ "type": {
104
+ "text": "string"
105
+ },
106
+ "privacy": "private",
107
+ "readonly": true
108
+ }
109
+ ],
110
+ "attributes": [
111
+ {
112
+ "name": "src",
113
+ "type": {
114
+ "text": "string | undefined"
115
+ },
116
+ "fieldName": "src"
117
+ },
118
+ {
119
+ "name": "alt",
120
+ "type": {
121
+ "text": "string | undefined"
122
+ },
123
+ "fieldName": "alt"
124
+ },
125
+ {
126
+ "name": "name",
127
+ "type": {
128
+ "text": "string | undefined"
129
+ },
130
+ "fieldName": "name"
131
+ },
132
+ {
133
+ "name": "variant",
134
+ "type": {
135
+ "text": "AvatarVariant"
136
+ },
137
+ "default": "'circular'",
138
+ "fieldName": "variant"
139
+ },
140
+ {
141
+ "name": "size",
142
+ "type": {
143
+ "text": "Size"
144
+ },
145
+ "default": "'md'",
146
+ "fieldName": "size"
147
+ }
148
+ ],
149
+ "superclass": {
150
+ "name": "LitElement",
151
+ "package": "lit"
152
+ },
153
+ "tagName": "wcds-avatar",
154
+ "customElement": true,
155
+ "summary": "User avatar with image or initials and Material-like shapes."
156
+ }
157
+ ],
158
+ "exports": [
159
+ {
160
+ "kind": "js",
161
+ "name": "WCDSAvatar",
162
+ "declaration": {
163
+ "name": "WCDSAvatar",
164
+ "module": "src/components/avatar.ts"
165
+ }
166
+ },
167
+ {
168
+ "kind": "custom-element-definition",
169
+ "name": "wcds-avatar",
170
+ "declaration": {
171
+ "name": "WCDSAvatar",
172
+ "module": "src/components/avatar.ts"
173
+ }
174
+ },
175
+ {
176
+ "kind": "js",
177
+ "name": "AvatarVariant",
178
+ "declaration": {
179
+ "name": "AvatarVariant",
180
+ "module": "../types"
181
+ }
182
+ },
183
+ {
184
+ "kind": "js",
185
+ "name": "Size",
186
+ "declaration": {
187
+ "name": "Size",
188
+ "module": "../types"
189
+ }
190
+ }
191
+ ]
192
+ },
193
+ {
194
+ "kind": "javascript-module",
195
+ "path": "./dist/wcds.js",
196
+ "declarations": [
197
+ {
198
+ "kind": "class",
199
+ "description": "",
200
+ "name": "WCDSBadge",
201
+ "cssProperties": [
202
+ {
203
+ "description": "Inner padding.",
204
+ "name": "--wcds-badge-padding"
205
+ },
206
+ {
207
+ "description": "Border radius.",
208
+ "name": "--wcds-badge-radius"
209
+ },
210
+ {
211
+ "description": "Font size.",
212
+ "name": "--wcds-badge-font-size"
213
+ },
214
+ {
215
+ "description": "Background color.",
216
+ "name": "--wcds-badge-bg"
217
+ },
218
+ {
219
+ "description": "Text color.",
220
+ "name": "--wcds-badge-fg"
221
+ }
222
+ ],
223
+ "slots": [
224
+ {
225
+ "description": "Badge text/content.",
226
+ "name": ""
227
+ }
228
+ ],
229
+ "members": [
230
+ {
231
+ "kind": "field",
232
+ "name": "variant",
233
+ "type": {
234
+ "text": "'info' | 'success' | 'warning' | 'error'"
235
+ },
236
+ "default": "'info'",
237
+ "attribute": "variant",
238
+ "reflects": true
239
+ }
240
+ ],
241
+ "attributes": [
242
+ {
243
+ "name": "variant",
244
+ "type": {
245
+ "text": "'info' | 'success' | 'warning' | 'error'"
246
+ },
247
+ "default": "'info'",
248
+ "fieldName": "variant"
249
+ }
250
+ ],
251
+ "superclass": {
252
+ "name": "LitElement",
253
+ "package": "lit"
254
+ },
255
+ "tagName": "wcds-badge",
256
+ "customElement": true,
257
+ "summary": "Small status badge with four variants."
258
+ }
259
+ ],
260
+ "exports": [
261
+ {
262
+ "kind": "js",
263
+ "name": "WCDSBadge",
264
+ "declaration": {
265
+ "name": "WCDSBadge",
266
+ "module": "src/components/badge.ts"
267
+ }
268
+ },
269
+ {
270
+ "kind": "custom-element-definition",
271
+ "name": "wcds-badge",
272
+ "declaration": {
273
+ "name": "WCDSBadge",
274
+ "module": "src/components/badge.ts"
275
+ }
276
+ }
277
+ ]
278
+ },
279
+ {
280
+ "kind": "javascript-module",
281
+ "path": "./dist/wcds.js",
282
+ "declarations": [
283
+ {
284
+ "kind": "class",
285
+ "description": "",
286
+ "name": "WCDSButton",
287
+ "cssProperties": [
288
+ {
289
+ "description": "Padding inside the button.",
290
+ "name": "--wcds-button-padding"
291
+ },
292
+ {
293
+ "description": "Border radius of the button.",
294
+ "name": "--wcds-button-radius"
295
+ },
296
+ {
297
+ "description": "Font size of the button label.",
298
+ "name": "--wcds-button-font-size"
299
+ },
300
+ {
301
+ "description": "Background color of the button.",
302
+ "name": "--wcds-button-bg-color"
303
+ },
304
+ {
305
+ "description": "Text color of the button.",
306
+ "name": "--wcds-button-fg-color"
307
+ },
308
+ {
309
+ "description": "Border color of the button.",
310
+ "name": "--wcds-button-border-color"
311
+ },
312
+ {
313
+ "description": "Size of icons inside the button.",
314
+ "name": "--wcds-button-icon-size"
315
+ }
316
+ ],
317
+ "slots": [
318
+ {
319
+ "description": "The button's label or content.",
320
+ "name": ""
321
+ }
322
+ ],
323
+ "members": [
324
+ {
325
+ "kind": "field",
326
+ "name": "id",
327
+ "type": {
328
+ "text": "string"
329
+ },
330
+ "attribute": "id",
331
+ "reflects": true
332
+ },
333
+ {
334
+ "kind": "field",
335
+ "name": "size",
336
+ "type": {
337
+ "text": "Size"
338
+ },
339
+ "default": "'md'",
340
+ "attribute": "size",
341
+ "reflects": true
342
+ },
343
+ {
344
+ "kind": "field",
345
+ "name": "variant",
346
+ "type": {
347
+ "text": "ButtonVariant"
348
+ },
349
+ "default": "'solid'",
350
+ "attribute": "variant",
351
+ "reflects": true
352
+ },
353
+ {
354
+ "kind": "field",
355
+ "name": "colorScheme",
356
+ "type": {
357
+ "text": "ColorScheme"
358
+ },
359
+ "default": "'primary'",
360
+ "attribute": "colorScheme",
361
+ "reflects": true
362
+ },
363
+ {
364
+ "kind": "field",
365
+ "name": "type",
366
+ "type": {
367
+ "text": "ButtonType"
368
+ },
369
+ "default": "'button'",
370
+ "attribute": "type",
371
+ "reflects": true
372
+ },
373
+ {
374
+ "kind": "field",
375
+ "name": "iconLeft",
376
+ "type": {
377
+ "text": "Icon | undefined"
378
+ },
379
+ "attribute": "iconLeft"
380
+ },
381
+ {
382
+ "kind": "field",
383
+ "name": "iconRight",
384
+ "type": {
385
+ "text": "Icon | undefined"
386
+ },
387
+ "attribute": "iconRight"
388
+ },
389
+ {
390
+ "kind": "field",
391
+ "name": "disabled",
392
+ "type": {
393
+ "text": "boolean"
394
+ },
395
+ "default": "false",
396
+ "attribute": "disabled",
397
+ "reflects": true
398
+ },
399
+ {
400
+ "kind": "method",
401
+ "name": "handleClick",
402
+ "privacy": "private",
403
+ "parameters": [
404
+ {
405
+ "name": "event",
406
+ "type": {
407
+ "text": "MouseEvent"
408
+ }
409
+ }
410
+ ]
411
+ }
412
+ ],
413
+ "events": [
414
+ {
415
+ "name": "click",
416
+ "type": {
417
+ "text": "CustomEvent"
418
+ },
419
+ "description": "Emitted when the button is clicked."
420
+ }
421
+ ],
422
+ "attributes": [
423
+ {
424
+ "name": "id",
425
+ "type": {
426
+ "text": "string"
427
+ },
428
+ "fieldName": "id"
429
+ },
430
+ {
431
+ "name": "size",
432
+ "type": {
433
+ "text": "Size"
434
+ },
435
+ "default": "'md'",
436
+ "fieldName": "size"
437
+ },
438
+ {
439
+ "name": "variant",
440
+ "type": {
441
+ "text": "ButtonVariant"
442
+ },
443
+ "default": "'solid'",
444
+ "fieldName": "variant"
445
+ },
446
+ {
447
+ "name": "colorScheme",
448
+ "type": {
449
+ "text": "ColorScheme"
450
+ },
451
+ "default": "'primary'",
452
+ "fieldName": "colorScheme"
453
+ },
454
+ {
455
+ "name": "type",
456
+ "type": {
457
+ "text": "ButtonType"
458
+ },
459
+ "default": "'button'",
460
+ "fieldName": "type"
461
+ },
462
+ {
463
+ "name": "iconLeft",
464
+ "type": {
465
+ "text": "Icon | undefined"
466
+ },
467
+ "fieldName": "iconLeft"
468
+ },
469
+ {
470
+ "name": "iconRight",
471
+ "type": {
472
+ "text": "Icon | undefined"
473
+ },
474
+ "fieldName": "iconRight"
475
+ },
476
+ {
477
+ "name": "disabled",
478
+ "type": {
479
+ "text": "boolean"
480
+ },
481
+ "default": "false",
482
+ "fieldName": "disabled"
483
+ }
484
+ ],
485
+ "superclass": {
486
+ "name": "LitElement",
487
+ "package": "lit"
488
+ },
489
+ "tagName": "wcds-button",
490
+ "customElement": true,
491
+ "summary": "A customizable button component with support for icons and various styles."
492
+ }
493
+ ],
494
+ "exports": [
495
+ {
496
+ "kind": "js",
497
+ "name": "WCDSButton",
498
+ "declaration": {
499
+ "name": "WCDSButton",
500
+ "module": "src/components/button.ts"
501
+ }
502
+ },
503
+ {
504
+ "kind": "custom-element-definition",
505
+ "name": "wcds-button",
506
+ "declaration": {
507
+ "name": "WCDSButton",
508
+ "module": "src/components/button.ts"
509
+ }
510
+ },
511
+ {
512
+ "kind": "js",
513
+ "name": "ButtonType",
514
+ "declaration": {
515
+ "name": "ButtonType",
516
+ "module": "../types"
517
+ }
518
+ },
519
+ {
520
+ "kind": "js",
521
+ "name": "ButtonVariant",
522
+ "declaration": {
523
+ "name": "ButtonVariant",
524
+ "module": "../types"
525
+ }
526
+ },
527
+ {
528
+ "kind": "js",
529
+ "name": "ColorScheme",
530
+ "declaration": {
531
+ "name": "ColorScheme",
532
+ "module": "../types"
533
+ }
534
+ },
535
+ {
536
+ "kind": "js",
537
+ "name": "Icon",
538
+ "declaration": {
539
+ "name": "Icon",
540
+ "module": "../types"
541
+ }
542
+ },
543
+ {
544
+ "kind": "js",
545
+ "name": "Size",
546
+ "declaration": {
547
+ "name": "Size",
548
+ "module": "../types"
549
+ }
550
+ }
551
+ ]
552
+ },
553
+ {
554
+ "kind": "javascript-module",
555
+ "path": "./dist/wcds.js",
556
+ "declarations": [
557
+ {
558
+ "kind": "class",
559
+ "description": "",
560
+ "name": "WCDSCard",
561
+ "cssProperties": [
562
+ {
563
+ "description": "Padding inside the card.",
564
+ "name": "--wcds-card-padding"
565
+ },
566
+ {
567
+ "description": "Border radius of the card.",
568
+ "name": "--wcds-card-radius"
569
+ },
570
+ {
571
+ "description": "Background color.",
572
+ "name": "--wcds-card-bg-color"
573
+ },
574
+ {
575
+ "description": "Border color (outlined/plain).",
576
+ "name": "--wcds-card-border-color"
577
+ },
578
+ {
579
+ "description": "Box shadow (elevated).",
580
+ "name": "--wcds-card-shadow"
581
+ }
582
+ ],
583
+ "slots": [
584
+ {
585
+ "description": "Optional header content (title, actions).",
586
+ "name": "header"
587
+ },
588
+ {
589
+ "description": "Default body content.",
590
+ "name": ""
591
+ },
592
+ {
593
+ "description": "Optional footer content (buttons, meta).",
594
+ "name": "footer"
595
+ }
596
+ ],
597
+ "members": [],
598
+ "superclass": {
599
+ "name": "LitElement",
600
+ "package": "lit"
601
+ },
602
+ "tagName": "wcds-card",
603
+ "customElement": true,
604
+ "summary": "Container card with header/body/footer slots, size and variant styles."
605
+ }
606
+ ],
607
+ "exports": [
608
+ {
609
+ "kind": "js",
610
+ "name": "WCDSCard",
611
+ "declaration": {
612
+ "name": "WCDSCard",
613
+ "module": "src/components/card.ts"
614
+ }
615
+ },
616
+ {
617
+ "kind": "custom-element-definition",
618
+ "name": "wcds-card",
619
+ "declaration": {
620
+ "name": "WCDSCard",
621
+ "module": "src/components/card.ts"
622
+ }
623
+ }
624
+ ]
625
+ },
626
+ {
627
+ "kind": "javascript-module",
628
+ "path": "./dist/wcds.js",
629
+ "declarations": [
630
+ {
631
+ "kind": "class",
632
+ "description": "",
633
+ "name": "WCDSColor",
634
+ "members": [
635
+ {
636
+ "kind": "field",
637
+ "name": "color",
638
+ "type": {
639
+ "text": "string"
640
+ },
641
+ "attribute": "color"
642
+ },
643
+ {
644
+ "kind": "field",
645
+ "name": "name",
646
+ "type": {
647
+ "text": "string"
648
+ },
649
+ "attribute": "name"
650
+ }
651
+ ],
652
+ "attributes": [
653
+ {
654
+ "name": "color",
655
+ "type": {
656
+ "text": "string"
657
+ },
658
+ "fieldName": "color"
659
+ },
660
+ {
661
+ "name": "name",
662
+ "type": {
663
+ "text": "string"
664
+ },
665
+ "fieldName": "name"
666
+ }
667
+ ],
668
+ "superclass": {
669
+ "name": "LitElement",
670
+ "package": "lit"
671
+ },
672
+ "tagName": "wcds-color",
673
+ "customElement": true
674
+ }
675
+ ],
676
+ "exports": [
677
+ {
678
+ "kind": "js",
679
+ "name": "WCDSColor",
680
+ "declaration": {
681
+ "name": "WCDSColor",
682
+ "module": "src/components/color.ts"
683
+ }
684
+ },
685
+ {
686
+ "kind": "custom-element-definition",
687
+ "name": "wcds-color",
688
+ "declaration": {
689
+ "name": "WCDSColor",
690
+ "module": "src/components/color.ts"
691
+ }
692
+ }
693
+ ]
694
+ },
695
+ {
696
+ "kind": "javascript-module",
697
+ "path": "./dist/wcds.js",
698
+ "declarations": [
699
+ {
700
+ "kind": "class",
701
+ "description": "",
702
+ "name": "WCDSIcon",
703
+ "members": [
704
+ {
705
+ "kind": "field",
706
+ "name": "icon",
707
+ "type": {
708
+ "text": "Icon"
709
+ },
710
+ "attribute": "icon",
711
+ "reflects": true
712
+ },
713
+ {
714
+ "kind": "field",
715
+ "name": "size",
716
+ "type": {
717
+ "text": "Size"
718
+ },
719
+ "default": "'md'",
720
+ "attribute": "size"
721
+ }
722
+ ],
723
+ "attributes": [
724
+ {
725
+ "name": "icon",
726
+ "type": {
727
+ "text": "Icon"
728
+ },
729
+ "fieldName": "icon"
730
+ },
731
+ {
732
+ "name": "size",
733
+ "type": {
734
+ "text": "Size"
735
+ },
736
+ "default": "'md'",
737
+ "fieldName": "size"
738
+ }
739
+ ],
740
+ "superclass": {
741
+ "name": "LitElement",
742
+ "package": "lit"
743
+ },
744
+ "tagName": "wcds-icon",
745
+ "customElement": true
746
+ }
747
+ ],
748
+ "exports": [
749
+ {
750
+ "kind": "js",
751
+ "name": "WCDSIcon",
752
+ "declaration": {
753
+ "name": "WCDSIcon",
754
+ "module": "src/components/icon.ts"
755
+ }
756
+ },
757
+ {
758
+ "kind": "custom-element-definition",
759
+ "name": "wcds-icon",
760
+ "declaration": {
761
+ "name": "WCDSIcon",
762
+ "module": "src/components/icon.ts"
763
+ }
764
+ },
765
+ {
766
+ "kind": "js",
767
+ "name": "Icon",
768
+ "declaration": {
769
+ "name": "Icon",
770
+ "module": "../types"
771
+ }
772
+ },
773
+ {
774
+ "kind": "js",
775
+ "name": "Size",
776
+ "declaration": {
777
+ "name": "Size",
778
+ "module": "../types"
779
+ }
780
+ }
781
+ ]
782
+ },
783
+ {
784
+ "kind": "javascript-module",
785
+ "path": "src/components/index.ts",
786
+ "declarations": [],
787
+ "exports": [
788
+ {
789
+ "kind": "js",
790
+ "name": "*",
791
+ "declaration": {
792
+ "name": "*",
793
+ "module": "src/components/button"
794
+ }
795
+ },
796
+ {
797
+ "kind": "js",
798
+ "name": "*",
799
+ "declaration": {
800
+ "name": "*",
801
+ "module": "src/components/input"
802
+ }
803
+ },
804
+ {
805
+ "kind": "js",
806
+ "name": "*",
807
+ "declaration": {
808
+ "name": "*",
809
+ "module": "src/components/icon"
810
+ }
811
+ },
812
+ {
813
+ "kind": "js",
814
+ "name": "*",
815
+ "declaration": {
816
+ "name": "*",
817
+ "module": "src/components/card"
818
+ }
819
+ },
820
+ {
821
+ "kind": "js",
822
+ "name": "*",
823
+ "declaration": {
824
+ "name": "*",
825
+ "module": "src/components/badge"
826
+ }
827
+ },
828
+ {
829
+ "kind": "js",
830
+ "name": "*",
831
+ "declaration": {
832
+ "name": "*",
833
+ "module": "src/components/avatar"
834
+ }
835
+ }
836
+ ]
837
+ },
838
+ {
839
+ "kind": "javascript-module",
840
+ "path": "./dist/wcds.js",
841
+ "declarations": [
842
+ {
843
+ "kind": "class",
844
+ "description": "",
845
+ "name": "WCDSInput",
846
+ "cssProperties": [
847
+ {
848
+ "description": "Padding inside the input field.",
849
+ "name": "--wcds-input-padding"
850
+ },
851
+ {
852
+ "description": "Border radius of the input field.",
853
+ "name": "--wcds-input-border-radius"
854
+ },
855
+ {
856
+ "description": "Border color of the input field.",
857
+ "name": "--wcds-input-border-color-default"
858
+ },
859
+ {
860
+ "description": "Outline color of the input field on focus.",
861
+ "name": "--wcds-input-border-color-focus"
862
+ },
863
+ {
864
+ "description": "Box shadow of the input field on focus.",
865
+ "name": "--wcds-input-box-shadow"
866
+ },
867
+ {
868
+ "description": "Color of the input icon (defaults to neutral).",
869
+ "name": "--wcds-input-icon-color"
870
+ }
871
+ ],
872
+ "members": [
873
+ {
874
+ "kind": "field",
875
+ "name": "id",
876
+ "type": {
877
+ "text": "string"
878
+ },
879
+ "attribute": "id",
880
+ "reflects": true
881
+ },
882
+ {
883
+ "kind": "field",
884
+ "name": "value",
885
+ "type": {
886
+ "text": "string"
887
+ },
888
+ "default": "''",
889
+ "attribute": "value",
890
+ "reflects": true
891
+ },
892
+ {
893
+ "kind": "field",
894
+ "name": "size",
895
+ "type": {
896
+ "text": "Size"
897
+ },
898
+ "default": "'md'",
899
+ "attribute": "size",
900
+ "reflects": true
901
+ },
902
+ {
903
+ "kind": "field",
904
+ "name": "label",
905
+ "type": {
906
+ "text": "string | undefined"
907
+ },
908
+ "attribute": "label"
909
+ },
910
+ {
911
+ "kind": "field",
912
+ "name": "placeholder",
913
+ "type": {
914
+ "text": "string | undefined"
915
+ },
916
+ "attribute": "placeholder"
917
+ },
918
+ {
919
+ "kind": "field",
920
+ "name": "icon",
921
+ "type": {
922
+ "text": "Icon | undefined"
923
+ },
924
+ "attribute": "icon",
925
+ "reflects": true
926
+ },
927
+ {
928
+ "kind": "field",
929
+ "name": "disabled",
930
+ "type": {
931
+ "text": "boolean"
932
+ },
933
+ "default": "false",
934
+ "attribute": "disabled",
935
+ "reflects": true
936
+ },
937
+ {
938
+ "kind": "field",
939
+ "name": "error",
940
+ "type": {
941
+ "text": "string | undefined"
942
+ },
943
+ "attribute": "error",
944
+ "reflects": true
945
+ },
946
+ {
947
+ "kind": "method",
948
+ "name": "_hasIcon",
949
+ "privacy": "private"
950
+ },
951
+ {
952
+ "kind": "method",
953
+ "name": "_onInput",
954
+ "privacy": "private",
955
+ "parameters": [
956
+ {
957
+ "name": "event",
958
+ "type": {
959
+ "text": "Event"
960
+ }
961
+ }
962
+ ]
963
+ },
964
+ {
965
+ "kind": "method",
966
+ "name": "_onChange",
967
+ "privacy": "private"
968
+ }
969
+ ],
970
+ "events": [
971
+ {
972
+ "name": "input",
973
+ "type": {
974
+ "text": "CustomEvent"
975
+ },
976
+ "description": "Emitted on input with { value }."
977
+ },
978
+ {
979
+ "name": "clear-error",
980
+ "type": {
981
+ "text": "CustomEvent"
982
+ },
983
+ "description": "Emitted when the user starts typing to clear existing errors."
984
+ },
985
+ {
986
+ "name": "change",
987
+ "type": {
988
+ "text": "CustomEvent"
989
+ },
990
+ "description": "Emitted on blur with { value }."
991
+ }
992
+ ],
993
+ "attributes": [
994
+ {
995
+ "name": "id",
996
+ "type": {
997
+ "text": "string"
998
+ },
999
+ "fieldName": "id"
1000
+ },
1001
+ {
1002
+ "name": "value",
1003
+ "type": {
1004
+ "text": "string"
1005
+ },
1006
+ "default": "''",
1007
+ "fieldName": "value"
1008
+ },
1009
+ {
1010
+ "name": "size",
1011
+ "type": {
1012
+ "text": "Size"
1013
+ },
1014
+ "default": "'md'",
1015
+ "fieldName": "size"
1016
+ },
1017
+ {
1018
+ "name": "label",
1019
+ "type": {
1020
+ "text": "string | undefined"
1021
+ },
1022
+ "fieldName": "label"
1023
+ },
1024
+ {
1025
+ "name": "placeholder",
1026
+ "type": {
1027
+ "text": "string | undefined"
1028
+ },
1029
+ "fieldName": "placeholder"
1030
+ },
1031
+ {
1032
+ "name": "icon",
1033
+ "type": {
1034
+ "text": "Icon | undefined"
1035
+ },
1036
+ "fieldName": "icon"
1037
+ },
1038
+ {
1039
+ "name": "disabled",
1040
+ "type": {
1041
+ "text": "boolean"
1042
+ },
1043
+ "default": "false",
1044
+ "fieldName": "disabled"
1045
+ },
1046
+ {
1047
+ "name": "error",
1048
+ "type": {
1049
+ "text": "string | undefined"
1050
+ },
1051
+ "fieldName": "error"
1052
+ }
1053
+ ],
1054
+ "superclass": {
1055
+ "name": "LitElement",
1056
+ "package": "lit"
1057
+ },
1058
+ "tagName": "wcds-input",
1059
+ "customElement": true,
1060
+ "summary": "A customizable input component with label, icons, validation, and error display."
1061
+ }
1062
+ ],
1063
+ "exports": [
1064
+ {
1065
+ "kind": "js",
1066
+ "name": "WCDSInput",
1067
+ "declaration": {
1068
+ "name": "WCDSInput",
1069
+ "module": "src/components/input.ts"
1070
+ }
1071
+ },
1072
+ {
1073
+ "kind": "custom-element-definition",
1074
+ "name": "wcds-input",
1075
+ "declaration": {
1076
+ "name": "WCDSInput",
1077
+ "module": "src/components/input.ts"
1078
+ }
1079
+ },
1080
+ {
1081
+ "kind": "js",
1082
+ "name": "Icon",
1083
+ "declaration": {
1084
+ "name": "Icon",
1085
+ "module": "../types"
1086
+ }
1087
+ },
1088
+ {
1089
+ "kind": "js",
1090
+ "name": "Size",
1091
+ "declaration": {
1092
+ "name": "Size",
1093
+ "module": "../types"
1094
+ }
1095
+ }
1096
+ ]
1097
+ },
1098
+ {
1099
+ "kind": "javascript-module",
1100
+ "path": "./dist/wcds.js",
1101
+ "deprecated": false,
1102
+ "declarations": [],
1103
+ "exports": [
1104
+ {
1105
+ "kind": "custom-element-definition",
1106
+ "name": "wcds-avatar",
1107
+ "declaration": {
1108
+ "name": "WCDSAvatar",
1109
+ "module": "./dist/wcds.js"
1110
+ }
1111
+ }
1112
+ ]
1113
+ },
1114
+ {
1115
+ "kind": "javascript-module",
1116
+ "path": "./dist/wcds.js",
1117
+ "deprecated": false,
1118
+ "declarations": [],
1119
+ "exports": [
1120
+ {
1121
+ "kind": "custom-element-definition",
1122
+ "name": "wcds-badge",
1123
+ "declaration": {
1124
+ "name": "WCDSBadge",
1125
+ "module": "./dist/wcds.js"
1126
+ }
1127
+ }
1128
+ ]
1129
+ },
1130
+ {
1131
+ "kind": "javascript-module",
1132
+ "path": "./dist/wcds.js",
1133
+ "deprecated": false,
1134
+ "declarations": [],
1135
+ "exports": [
1136
+ {
1137
+ "kind": "custom-element-definition",
1138
+ "name": "wcds-button",
1139
+ "declaration": {
1140
+ "name": "WCDSButton",
1141
+ "module": "./dist/wcds.js"
1142
+ }
1143
+ }
1144
+ ]
1145
+ },
1146
+ {
1147
+ "kind": "javascript-module",
1148
+ "path": "./dist/wcds.js",
1149
+ "deprecated": false,
1150
+ "declarations": [],
1151
+ "exports": [
1152
+ {
1153
+ "kind": "custom-element-definition",
1154
+ "name": "wcds-card",
1155
+ "declaration": {
1156
+ "name": "WCDSCard",
1157
+ "module": "./dist/wcds.js"
1158
+ }
1159
+ }
1160
+ ]
1161
+ },
1162
+ {
1163
+ "kind": "javascript-module",
1164
+ "path": "./dist/wcds.js",
1165
+ "deprecated": false,
1166
+ "declarations": [],
1167
+ "exports": [
1168
+ {
1169
+ "kind": "custom-element-definition",
1170
+ "name": "wcds-color",
1171
+ "declaration": {
1172
+ "name": "WCDSColor",
1173
+ "module": "./dist/wcds.js"
1174
+ }
1175
+ }
1176
+ ]
1177
+ },
1178
+ {
1179
+ "kind": "javascript-module",
1180
+ "path": "./dist/wcds.js",
1181
+ "deprecated": false,
1182
+ "declarations": [],
1183
+ "exports": [
1184
+ {
1185
+ "kind": "custom-element-definition",
1186
+ "name": "wcds-icon",
1187
+ "declaration": {
1188
+ "name": "WCDSIcon",
1189
+ "module": "./dist/wcds.js"
1190
+ }
1191
+ }
1192
+ ]
1193
+ },
1194
+ {
1195
+ "kind": "javascript-module",
1196
+ "path": "./dist/wcds.js",
1197
+ "deprecated": false,
1198
+ "declarations": [],
1199
+ "exports": [
1200
+ {
1201
+ "kind": "custom-element-definition",
1202
+ "name": "wcds-input",
1203
+ "declaration": {
1204
+ "name": "WCDSInput",
1205
+ "module": "./dist/wcds.js"
1206
+ }
1207
+ }
1208
+ ]
1209
+ }
1210
+ ]
1211
+ }