@viasat/beam-web-components 2.26.0 → 2.26.1

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.
@@ -294,68 +294,32 @@
294
294
  },
295
295
  {
296
296
  "kind": "javascript-module",
297
- "path": "libs/web-components/src/lib/Alert/Alert.ts",
297
+ "path": "libs/web-components/src/lib/Badge/Badge.ts",
298
298
  "declarations": [
299
299
  {
300
300
  "kind": "class",
301
- "description": "`bm-alert`\n\n### Attributes:\n- **heading** - Specify the heading text for Alert\n- **body** - Specify the body text for Alert\n- **size** - Specify the size of the Alert\n- **fullWidth** - Specify if the Alert has no border radius\n- **theme** - Specify the theme of the Alert. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the Alert\n- **hidden** - Specify if the Alert is hidden\n- **hideIcon** - Specify if the icon displays on the Alert\n- **dismissible** - Specify if the Alert can be dismissed\n- **disableAutoFocus** - Prevent autofocus on show\n- **disableCloseOnEscape** - Prevent Escape from closing",
302
- "name": "BmAlert",
301
+ "description": "`bm-badge`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Badge\n- **theme** - Theme of the Badge\n- **size** - Specify the size of the Badge\n- **emphasis** - Specify the emphasis of the Badge\n- **hideIcon** - Hides Badge icon",
302
+ "name": "BmBadge",
303
303
  "slots": [
304
304
  {
305
- "description": "Specify a different icon for the Alert",
306
- "name": "icon"
307
- },
308
- {
309
- "description": "Specify the heading text for Alert or pass the `heading` attribute to set the heading",
310
- "name": "heading"
311
- },
312
- {
313
- "description": "Specify the body text for Alert or pass the `body` attribute to set the body",
314
- "name": "body"
305
+ "description": "Provide text for the Badge",
306
+ "name": "default"
315
307
  },
316
308
  {
317
- "description": "Specify if actions display on the Alert",
318
- "name": "actions"
309
+ "description": "Specify a different icon for the Badge",
310
+ "name": "icon"
319
311
  }
320
312
  ],
321
313
  "members": [
322
314
  {
323
315
  "kind": "field",
324
- "name": "heading",
325
- "type": {
326
- "text": "string | undefined"
327
- },
328
- "description": "Specify the heading text for Alert",
329
- "attribute": "heading"
330
- },
331
- {
332
- "kind": "field",
333
- "name": "body",
334
- "type": {
335
- "text": "string | undefined"
336
- },
337
- "description": "Specify the body text for Alert",
338
- "attribute": "body"
339
- },
340
- {
341
- "kind": "field",
342
- "name": "size",
343
- "type": {
344
- "text": "'sm' | 'md'"
345
- },
346
- "default": "'sm'",
347
- "description": "Specify the size of the Alert",
348
- "attribute": "size"
349
- },
350
- {
351
- "kind": "field",
352
- "name": "fullWidth",
316
+ "name": "appearance",
353
317
  "type": {
354
- "text": "boolean"
318
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
355
319
  },
356
- "default": "false",
357
- "description": "Specify if the Alert has no border radius",
358
- "attribute": "fullWidth"
320
+ "default": "'infoPrimary'",
321
+ "description": "Specify the appearance of the Badge",
322
+ "attribute": "appearance"
359
323
  },
360
324
  {
361
325
  "kind": "field",
@@ -363,204 +327,114 @@
363
327
  "type": {
364
328
  "text": "'light' | 'dark' | undefined"
365
329
  },
366
- "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
330
+ "description": "Theme of the Badge",
367
331
  "attribute": "theme"
368
332
  },
369
333
  {
370
334
  "kind": "field",
371
- "name": "appearance",
335
+ "name": "size",
372
336
  "type": {
373
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
337
+ "text": "'sm' | 'md' | undefined"
374
338
  },
375
- "default": "'infoPrimary'",
376
- "description": "Specify the appearance of the Alert",
377
- "attribute": "appearance"
339
+ "default": "'sm'",
340
+ "description": "Specify the size of the Badge",
341
+ "attribute": "size"
378
342
  },
379
343
  {
380
344
  "kind": "field",
381
- "name": "hidden",
345
+ "name": "emphasis",
382
346
  "type": {
383
- "text": "boolean"
347
+ "text": "'strong' | 'medium' | 'subtle'"
384
348
  },
385
- "default": "false",
386
- "description": "Specify if the Alert is hidden",
387
- "attribute": "hidden"
349
+ "default": "'strong'",
350
+ "description": "Specify the emphasis of the Badge",
351
+ "attribute": "emphasis"
388
352
  },
389
353
  {
390
354
  "kind": "field",
391
355
  "name": "hideIcon",
392
356
  "type": {
393
- "text": "boolean"
357
+ "text": "boolean | undefined"
394
358
  },
395
- "default": "false",
396
- "description": "Specify if the icon displays on the Alert",
359
+ "description": "Hides Badge icon",
397
360
  "attribute": "hideIcon"
398
- },
399
- {
400
- "kind": "field",
401
- "name": "dismissible",
402
- "type": {
403
- "text": "boolean"
404
- },
405
- "default": "false",
406
- "description": "Specify if the Alert can be dismissed",
407
- "attribute": "dismissible"
408
- },
409
- {
410
- "kind": "field",
411
- "name": "disableAutoFocus",
412
- "type": {
413
- "text": "boolean"
414
- },
415
- "default": "false",
416
- "description": "Prevent autofocus on show",
417
- "attribute": "disableAutoFocus"
418
- },
419
- {
420
- "kind": "field",
421
- "name": "disableCloseOnEscape",
422
- "type": {
423
- "text": "boolean"
424
- },
425
- "default": "false",
426
- "description": "Prevent Escape from closing",
427
- "attribute": "disableCloseOnEscape"
428
- }
429
- ],
430
- "events": [
431
- {
432
- "description": "Dispatched when the Alert has been dismissed",
433
- "name": "bm-dismiss"
434
361
  }
435
362
  ],
436
363
  "attributes": [
437
364
  {
438
- "name": "heading",
439
- "type": {
440
- "text": "string | undefined"
441
- },
442
- "description": "Specify the heading text for Alert",
443
- "fieldName": "heading"
444
- },
445
- {
446
- "name": "body",
447
- "type": {
448
- "text": "string | undefined"
449
- },
450
- "description": "Specify the body text for Alert",
451
- "fieldName": "body"
452
- },
453
- {
454
- "name": "size",
455
- "type": {
456
- "text": "'sm' | 'md'"
457
- },
458
- "default": "'sm'",
459
- "description": "Specify the size of the Alert",
460
- "fieldName": "size"
461
- },
462
- {
463
- "name": "fullWidth",
365
+ "name": "appearance",
464
366
  "type": {
465
- "text": "boolean"
367
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
466
368
  },
467
- "default": "false",
468
- "description": "Specify if the Alert has no border radius",
469
- "fieldName": "fullWidth"
369
+ "default": "'infoPrimary'",
370
+ "description": "Specify the appearance of the Badge",
371
+ "fieldName": "appearance"
470
372
  },
471
373
  {
472
374
  "name": "theme",
473
375
  "type": {
474
376
  "text": "'light' | 'dark' | undefined"
475
377
  },
476
- "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
378
+ "description": "Theme of the Badge",
477
379
  "fieldName": "theme"
478
380
  },
479
381
  {
480
- "name": "appearance",
382
+ "name": "size",
481
383
  "type": {
482
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
384
+ "text": "'sm' | 'md' | undefined"
483
385
  },
484
- "default": "'infoPrimary'",
485
- "description": "Specify the appearance of the Alert",
486
- "fieldName": "appearance"
386
+ "default": "'sm'",
387
+ "description": "Specify the size of the Badge",
388
+ "fieldName": "size"
487
389
  },
488
390
  {
489
- "name": "hidden",
391
+ "name": "emphasis",
490
392
  "type": {
491
- "text": "boolean"
393
+ "text": "'strong' | 'medium' | 'subtle'"
492
394
  },
493
- "default": "false",
494
- "description": "Specify if the Alert is hidden",
495
- "fieldName": "hidden"
395
+ "default": "'strong'",
396
+ "description": "Specify the emphasis of the Badge",
397
+ "fieldName": "emphasis"
496
398
  },
497
399
  {
498
400
  "name": "hideIcon",
499
401
  "type": {
500
- "text": "boolean"
402
+ "text": "boolean | undefined"
501
403
  },
502
- "default": "false",
503
- "description": "Specify if the icon displays on the Alert",
404
+ "description": "Hides Badge icon",
504
405
  "fieldName": "hideIcon"
505
- },
506
- {
507
- "name": "dismissible",
508
- "type": {
509
- "text": "boolean"
510
- },
511
- "default": "false",
512
- "description": "Specify if the Alert can be dismissed",
513
- "fieldName": "dismissible"
514
- },
515
- {
516
- "name": "disableAutoFocus",
517
- "type": {
518
- "text": "boolean"
519
- },
520
- "default": "false",
521
- "description": "Prevent autofocus on show",
522
- "fieldName": "disableAutoFocus"
523
- },
524
- {
525
- "name": "disableCloseOnEscape",
526
- "type": {
527
- "text": "boolean"
528
- },
529
- "default": "false",
530
- "description": "Prevent Escape from closing",
531
- "fieldName": "disableCloseOnEscape"
532
406
  }
533
407
  ],
534
408
  "superclass": {
535
409
  "name": "LitElement",
536
410
  "package": "lit"
537
411
  },
538
- "tagName": "bm-alert",
412
+ "tagName": "bm-badge",
539
413
  "customElement": true
540
414
  }
541
415
  ],
542
416
  "exports": [
543
417
  {
544
418
  "kind": "js",
545
- "name": "BmAlert",
419
+ "name": "BmBadge",
546
420
  "declaration": {
547
- "name": "BmAlert",
548
- "module": "libs/web-components/src/lib/Alert/Alert.ts"
421
+ "name": "BmBadge",
422
+ "module": "libs/web-components/src/lib/Badge/Badge.ts"
549
423
  }
550
424
  },
551
425
  {
552
426
  "kind": "custom-element-definition",
553
- "name": "bm-alert",
427
+ "name": "bm-badge",
554
428
  "declaration": {
555
- "name": "BmAlert",
556
- "module": "libs/web-components/src/lib/Alert/Alert.ts"
429
+ "name": "BmBadge",
430
+ "module": "libs/web-components/src/lib/Badge/Badge.ts"
557
431
  }
558
432
  }
559
433
  ]
560
434
  },
561
435
  {
562
436
  "kind": "javascript-module",
563
- "path": "libs/web-components/src/lib/Alert/index.ts",
437
+ "path": "libs/web-components/src/lib/Badge/index.ts",
564
438
  "declarations": [],
565
439
  "exports": [
566
440
  {
@@ -568,30 +442,35 @@
568
442
  "name": "*",
569
443
  "declaration": {
570
444
  "name": "*",
571
- "package": "./Alert"
445
+ "package": "./Badge"
572
446
  }
573
447
  }
574
448
  ]
575
449
  },
576
450
  {
577
451
  "kind": "javascript-module",
578
- "path": "libs/web-components/src/lib/Badge/Badge.ts",
452
+ "path": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts",
579
453
  "declarations": [
580
454
  {
581
455
  "kind": "class",
582
- "description": "`bm-badge`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Badge\n- **theme** - Theme of the Badge\n- **size** - Specify the size of the Badge\n- **emphasis** - Specify the emphasis of the Badge\n- **hideIcon** - Hides Badge icon",
583
- "name": "BmBadge",
456
+ "description": "`bm-badge-dot`\n\n### Attributes:\n- **theme** - Specify the theme of the BadgeDot. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the BadgeDot\n- **emphasis** - Specify the emphasis of the BadgeDot\n- **overrideDotColor** - Overrides default dot color",
457
+ "name": "BmBadgeDot",
584
458
  "slots": [
585
459
  {
586
- "description": "Provide text for the Badge",
460
+ "description": "Provide text for the BadgeDot",
587
461
  "name": "default"
588
- },
589
- {
590
- "description": "Specify a different icon for the Badge",
591
- "name": "icon"
592
462
  }
593
463
  ],
594
464
  "members": [
465
+ {
466
+ "kind": "field",
467
+ "name": "theme",
468
+ "type": {
469
+ "text": "'light' | 'dark' | undefined"
470
+ },
471
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
472
+ "attribute": "theme"
473
+ },
595
474
  {
596
475
  "kind": "field",
597
476
  "name": "appearance",
@@ -599,123 +478,95 @@
599
478
  "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
600
479
  },
601
480
  "default": "'infoPrimary'",
602
- "description": "Specify the appearance of the Badge",
481
+ "description": "Specify the appearance of the BadgeDot",
603
482
  "attribute": "appearance"
604
483
  },
605
484
  {
606
485
  "kind": "field",
607
- "name": "theme",
486
+ "name": "emphasis",
608
487
  "type": {
609
- "text": "'light' | 'dark' | undefined"
610
- },
611
- "description": "Theme of the Badge",
612
- "attribute": "theme"
613
- },
614
- {
615
- "kind": "field",
616
- "name": "size",
617
- "type": {
618
- "text": "'sm' | 'md' | undefined"
619
- },
620
- "default": "'sm'",
621
- "description": "Specify the size of the Badge",
622
- "attribute": "size"
623
- },
624
- {
625
- "kind": "field",
626
- "name": "emphasis",
627
- "type": {
628
- "text": "'strong' | 'medium' | 'subtle'"
488
+ "text": "'strong' | 'subtle'"
629
489
  },
630
490
  "default": "'strong'",
631
- "description": "Specify the emphasis of the Badge",
491
+ "description": "Specify the emphasis of the BadgeDot",
632
492
  "attribute": "emphasis"
633
493
  },
634
494
  {
635
495
  "kind": "field",
636
- "name": "hideIcon",
496
+ "name": "overrideDotColor",
637
497
  "type": {
638
- "text": "boolean | undefined"
498
+ "text": "string | undefined"
639
499
  },
640
- "description": "Hides Badge icon",
641
- "attribute": "hideIcon"
500
+ "description": "Overrides default dot color",
501
+ "attribute": "overrideDotColor"
642
502
  }
643
503
  ],
644
504
  "attributes": [
645
- {
646
- "name": "appearance",
647
- "type": {
648
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
649
- },
650
- "default": "'infoPrimary'",
651
- "description": "Specify the appearance of the Badge",
652
- "fieldName": "appearance"
653
- },
654
505
  {
655
506
  "name": "theme",
656
507
  "type": {
657
508
  "text": "'light' | 'dark' | undefined"
658
509
  },
659
- "description": "Theme of the Badge",
510
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
660
511
  "fieldName": "theme"
661
512
  },
662
513
  {
663
- "name": "size",
514
+ "name": "appearance",
664
515
  "type": {
665
- "text": "'sm' | 'md' | undefined"
516
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
666
517
  },
667
- "default": "'sm'",
668
- "description": "Specify the size of the Badge",
669
- "fieldName": "size"
518
+ "default": "'infoPrimary'",
519
+ "description": "Specify the appearance of the BadgeDot",
520
+ "fieldName": "appearance"
670
521
  },
671
522
  {
672
523
  "name": "emphasis",
673
524
  "type": {
674
- "text": "'strong' | 'medium' | 'subtle'"
525
+ "text": "'strong' | 'subtle'"
675
526
  },
676
527
  "default": "'strong'",
677
- "description": "Specify the emphasis of the Badge",
528
+ "description": "Specify the emphasis of the BadgeDot",
678
529
  "fieldName": "emphasis"
679
530
  },
680
531
  {
681
- "name": "hideIcon",
532
+ "name": "overrideDotColor",
682
533
  "type": {
683
- "text": "boolean | undefined"
534
+ "text": "string | undefined"
684
535
  },
685
- "description": "Hides Badge icon",
686
- "fieldName": "hideIcon"
536
+ "description": "Overrides default dot color",
537
+ "fieldName": "overrideDotColor"
687
538
  }
688
539
  ],
689
540
  "superclass": {
690
541
  "name": "LitElement",
691
542
  "package": "lit"
692
543
  },
693
- "tagName": "bm-badge",
544
+ "tagName": "bm-badge-dot",
694
545
  "customElement": true
695
546
  }
696
547
  ],
697
548
  "exports": [
698
549
  {
699
550
  "kind": "js",
700
- "name": "BmBadge",
551
+ "name": "BmBadgeDot",
701
552
  "declaration": {
702
- "name": "BmBadge",
703
- "module": "libs/web-components/src/lib/Badge/Badge.ts"
553
+ "name": "BmBadgeDot",
554
+ "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
704
555
  }
705
556
  },
706
557
  {
707
558
  "kind": "custom-element-definition",
708
- "name": "bm-badge",
559
+ "name": "bm-badge-dot",
709
560
  "declaration": {
710
- "name": "BmBadge",
711
- "module": "libs/web-components/src/lib/Badge/Badge.ts"
561
+ "name": "BmBadgeDot",
562
+ "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
712
563
  }
713
564
  }
714
565
  ]
715
566
  },
716
567
  {
717
568
  "kind": "javascript-module",
718
- "path": "libs/web-components/src/lib/Badge/index.ts",
569
+ "path": "libs/web-components/src/lib/BadgeDot/index.ts",
719
570
  "declarations": [],
720
571
  "exports": [
721
572
  {
@@ -723,7 +574,7 @@
723
574
  "name": "*",
724
575
  "declaration": {
725
576
  "name": "*",
726
- "package": "./Badge"
577
+ "package": "./BadgeDot"
727
578
  }
728
579
  }
729
580
  ]
@@ -1130,286 +981,273 @@
1130
981
  },
1131
982
  {
1132
983
  "kind": "javascript-module",
1133
- "path": "libs/web-components/src/lib/Breadcrumbs/Breadcrumbs.context.ts",
1134
- "declarations": [
1135
- {
1136
- "kind": "variable",
1137
- "name": "BreadcrumbGroupCtx"
1138
- }
1139
- ],
1140
- "exports": [
1141
- {
1142
- "kind": "js",
1143
- "name": "BreadcrumbGroupCtx",
1144
- "declaration": {
1145
- "name": "BreadcrumbGroupCtx",
1146
- "module": "libs/web-components/src/lib/Breadcrumbs/Breadcrumbs.context.ts"
1147
- }
1148
- }
1149
- ]
1150
- },
1151
- {
1152
- "kind": "javascript-module",
1153
- "path": "libs/web-components/src/lib/Breadcrumbs/Breadcrumbs.ts",
984
+ "path": "libs/web-components/src/lib/Alert/Alert.ts",
1154
985
  "declarations": [
1155
986
  {
1156
987
  "kind": "class",
1157
- "description": "`bm-breadcrumb`\n\n### Attributes:\n- **wrap** - Specify if items wrap or collapse to an ellipsis\n- **itemsBeforeCollapse** - Specify how many items show before ellipsis\n- **itemsAfterCollapse** - Specify how many items show after ellipsis\n- **theme** - Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent",
1158
- "name": "BmBreadcrumbs",
988
+ "description": "`bm-alert`\n\n### Attributes:\n- **heading** - Specify the heading text for Alert\n- **body** - Specify the body text for Alert\n- **size** - Specify the size of the Alert\n- **fullWidth** - Specify if the Alert has no border radius\n- **theme** - Specify the theme of the Alert. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the Alert\n- **hidden** - Specify if the Alert is hidden\n- **hideIcon** - Specify if the icon displays on the Alert\n- **dismissible** - Specify if the Alert can be dismissed\n- **disableAutoFocus** - Prevent autofocus on show\n- **disableCloseOnEscape** - Prevent Escape from closing",
989
+ "name": "BmAlert",
1159
990
  "slots": [
1160
991
  {
1161
- "description": "Pass items to the Breadcrumb",
1162
- "name": "default"
992
+ "description": "Specify a different icon for the Alert",
993
+ "name": "icon"
994
+ },
995
+ {
996
+ "description": "Specify the heading text for Alert or pass the `heading` attribute to set the heading",
997
+ "name": "heading"
998
+ },
999
+ {
1000
+ "description": "Specify the body text for Alert or pass the `body` attribute to set the body",
1001
+ "name": "body"
1002
+ },
1003
+ {
1004
+ "description": "Specify if actions display on the Alert",
1005
+ "name": "actions"
1163
1006
  }
1164
1007
  ],
1165
1008
  "members": [
1166
1009
  {
1167
1010
  "kind": "field",
1168
- "name": "wrap",
1011
+ "name": "heading",
1169
1012
  "type": {
1170
- "text": "boolean"
1013
+ "text": "string | undefined"
1171
1014
  },
1172
- "default": "true",
1173
- "description": "Specify if items wrap or collapse to an ellipsis",
1174
- "attribute": "wrap"
1015
+ "description": "Specify the heading text for Alert",
1016
+ "attribute": "heading"
1175
1017
  },
1176
1018
  {
1177
1019
  "kind": "field",
1178
- "name": "itemsBeforeCollapse",
1020
+ "name": "body",
1179
1021
  "type": {
1180
- "text": "number"
1022
+ "text": "string | undefined"
1181
1023
  },
1182
- "default": "1",
1183
- "description": "Specify how many items show before ellipsis",
1184
- "attribute": "itemsBeforeCollapse"
1024
+ "description": "Specify the body text for Alert",
1025
+ "attribute": "body"
1185
1026
  },
1186
1027
  {
1187
1028
  "kind": "field",
1188
- "name": "itemsAfterCollapse",
1029
+ "name": "size",
1189
1030
  "type": {
1190
- "text": "number"
1031
+ "text": "'sm' | 'md'"
1191
1032
  },
1192
- "default": "1",
1193
- "description": "Specify how many items show after ellipsis",
1194
- "attribute": "itemsAfterCollapse"
1033
+ "default": "'sm'",
1034
+ "description": "Specify the size of the Alert",
1035
+ "attribute": "size"
1195
1036
  },
1196
1037
  {
1197
1038
  "kind": "field",
1198
- "name": "theme",
1199
- "type": {
1200
- "text": "'light' | 'dark' | undefined"
1201
- },
1202
- "description": "Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent",
1203
- "attribute": "theme"
1204
- }
1205
- ],
1206
- "attributes": [
1207
- {
1208
- "name": "wrap",
1039
+ "name": "fullWidth",
1209
1040
  "type": {
1210
1041
  "text": "boolean"
1211
1042
  },
1212
- "default": "true",
1213
- "description": "Specify if items wrap or collapse to an ellipsis",
1214
- "fieldName": "wrap"
1215
- },
1216
- {
1217
- "name": "itemsBeforeCollapse",
1218
- "type": {
1219
- "text": "number"
1220
- },
1221
- "default": "1",
1222
- "description": "Specify how many items show before ellipsis",
1223
- "fieldName": "itemsBeforeCollapse"
1224
- },
1225
- {
1226
- "name": "itemsAfterCollapse",
1227
- "type": {
1228
- "text": "number"
1229
- },
1230
- "default": "1",
1231
- "description": "Specify how many items show after ellipsis",
1232
- "fieldName": "itemsAfterCollapse"
1043
+ "default": "false",
1044
+ "description": "Specify if the Alert has no border radius",
1045
+ "attribute": "fullWidth"
1233
1046
  },
1234
1047
  {
1048
+ "kind": "field",
1235
1049
  "name": "theme",
1236
1050
  "type": {
1237
1051
  "text": "'light' | 'dark' | undefined"
1238
1052
  },
1239
- "description": "Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent",
1240
- "fieldName": "theme"
1241
- }
1242
- ],
1243
- "superclass": {
1244
- "name": "LitElement",
1245
- "package": "lit"
1246
- },
1247
- "tagName": "bm-breadcrumb",
1248
- "customElement": true
1249
- }
1250
- ],
1251
- "exports": [
1252
- {
1253
- "kind": "js",
1254
- "name": "BmBreadcrumbs",
1255
- "declaration": {
1256
- "name": "BmBreadcrumbs",
1257
- "module": "libs/web-components/src/lib/Breadcrumbs/Breadcrumbs.ts"
1258
- }
1259
- },
1260
- {
1261
- "kind": "custom-element-definition",
1262
- "name": "bm-breadcrumb",
1263
- "declaration": {
1264
- "name": "BmBreadcrumbs",
1265
- "module": "libs/web-components/src/lib/Breadcrumbs/Breadcrumbs.ts"
1266
- }
1267
- }
1268
- ]
1269
- },
1270
- {
1271
- "kind": "javascript-module",
1272
- "path": "libs/web-components/src/lib/Breadcrumbs/BreadcrumbsItem.ts",
1273
- "declarations": [
1274
- {
1275
- "kind": "class",
1276
- "description": "`bm-breadcrumb-item`\n\n### Attributes:\n- **href** - Pass href to an item\n- **clickable** - Specify if the item is interactive without an href\n- **truncationWidth** - Specify truncation width of the items. Sets max-width for all items but the last.\n- **isCurrent** - Specify explicitly if the item is the last one\n- **isCollapsed** ",
1277
- "name": "BmBreadcrumbsItem",
1278
- "slots": [
1279
- {
1280
- "description": "Pass text to an item",
1281
- "name": "default"
1053
+ "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
1054
+ "attribute": "theme"
1282
1055
  },
1283
- {
1284
- "description": "Pass icon to an item",
1285
- "name": "icon"
1286
- }
1287
- ],
1288
- "members": [
1289
1056
  {
1290
1057
  "kind": "field",
1291
- "name": "href",
1058
+ "name": "appearance",
1292
1059
  "type": {
1293
- "text": "string | undefined"
1060
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
1294
1061
  },
1295
- "description": "Pass href to an item",
1296
- "attribute": "href"
1062
+ "default": "'infoPrimary'",
1063
+ "description": "Specify the appearance of the Alert",
1064
+ "attribute": "appearance"
1297
1065
  },
1298
1066
  {
1299
1067
  "kind": "field",
1300
- "name": "clickable",
1068
+ "name": "hidden",
1301
1069
  "type": {
1302
1070
  "text": "boolean"
1303
1071
  },
1304
1072
  "default": "false",
1305
- "description": "Specify if the item is interactive without an href",
1306
- "attribute": "clickable"
1073
+ "description": "Specify if the Alert is hidden",
1074
+ "attribute": "hidden"
1307
1075
  },
1308
1076
  {
1309
1077
  "kind": "field",
1310
- "name": "truncationWidth",
1078
+ "name": "hideIcon",
1311
1079
  "type": {
1312
- "text": "string | undefined"
1080
+ "text": "boolean"
1313
1081
  },
1314
- "description": "Specify truncation width of the items. Sets max-width for all items but the last.",
1315
- "attribute": "truncationWidth"
1082
+ "default": "false",
1083
+ "description": "Specify if the icon displays on the Alert",
1084
+ "attribute": "hideIcon"
1316
1085
  },
1317
1086
  {
1318
1087
  "kind": "field",
1319
- "name": "isCurrent",
1088
+ "name": "dismissible",
1320
1089
  "type": {
1321
1090
  "text": "boolean"
1322
1091
  },
1323
1092
  "default": "false",
1324
- "description": "Specify explicitly if the item is the last one",
1325
- "attribute": "isCurrent",
1326
- "reflects": true
1093
+ "description": "Specify if the Alert can be dismissed",
1094
+ "attribute": "dismissible"
1327
1095
  },
1328
1096
  {
1329
1097
  "kind": "field",
1330
- "name": "isCollapsed",
1098
+ "name": "disableAutoFocus",
1331
1099
  "type": {
1332
1100
  "text": "boolean"
1333
1101
  },
1334
1102
  "default": "false",
1335
- "attribute": "isCollapsed",
1336
- "reflects": true
1103
+ "description": "Prevent autofocus on show",
1104
+ "attribute": "disableAutoFocus"
1105
+ },
1106
+ {
1107
+ "kind": "field",
1108
+ "name": "disableCloseOnEscape",
1109
+ "type": {
1110
+ "text": "boolean"
1111
+ },
1112
+ "default": "false",
1113
+ "description": "Prevent Escape from closing",
1114
+ "attribute": "disableCloseOnEscape"
1115
+ }
1116
+ ],
1117
+ "events": [
1118
+ {
1119
+ "description": "Dispatched when the Alert has been dismissed",
1120
+ "name": "bm-dismiss"
1337
1121
  }
1338
1122
  ],
1339
1123
  "attributes": [
1340
1124
  {
1341
- "name": "href",
1125
+ "name": "heading",
1342
1126
  "type": {
1343
1127
  "text": "string | undefined"
1344
1128
  },
1345
- "description": "Pass href to an item",
1346
- "fieldName": "href"
1129
+ "description": "Specify the heading text for Alert",
1130
+ "fieldName": "heading"
1347
1131
  },
1348
1132
  {
1349
- "name": "clickable",
1133
+ "name": "body",
1134
+ "type": {
1135
+ "text": "string | undefined"
1136
+ },
1137
+ "description": "Specify the body text for Alert",
1138
+ "fieldName": "body"
1139
+ },
1140
+ {
1141
+ "name": "size",
1142
+ "type": {
1143
+ "text": "'sm' | 'md'"
1144
+ },
1145
+ "default": "'sm'",
1146
+ "description": "Specify the size of the Alert",
1147
+ "fieldName": "size"
1148
+ },
1149
+ {
1150
+ "name": "fullWidth",
1350
1151
  "type": {
1351
1152
  "text": "boolean"
1352
1153
  },
1353
1154
  "default": "false",
1354
- "description": "Specify if the item is interactive without an href",
1355
- "fieldName": "clickable"
1155
+ "description": "Specify if the Alert has no border radius",
1156
+ "fieldName": "fullWidth"
1356
1157
  },
1357
1158
  {
1358
- "name": "truncationWidth",
1159
+ "name": "theme",
1359
1160
  "type": {
1360
- "text": "string | undefined"
1161
+ "text": "'light' | 'dark' | undefined"
1361
1162
  },
1362
- "description": "Specify truncation width of the items. Sets max-width for all items but the last.",
1363
- "fieldName": "truncationWidth"
1163
+ "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
1164
+ "fieldName": "theme"
1364
1165
  },
1365
1166
  {
1366
- "name": "isCurrent",
1167
+ "name": "appearance",
1168
+ "type": {
1169
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
1170
+ },
1171
+ "default": "'infoPrimary'",
1172
+ "description": "Specify the appearance of the Alert",
1173
+ "fieldName": "appearance"
1174
+ },
1175
+ {
1176
+ "name": "hidden",
1367
1177
  "type": {
1368
1178
  "text": "boolean"
1369
1179
  },
1370
1180
  "default": "false",
1371
- "description": "Specify explicitly if the item is the last one",
1372
- "fieldName": "isCurrent"
1181
+ "description": "Specify if the Alert is hidden",
1182
+ "fieldName": "hidden"
1373
1183
  },
1374
1184
  {
1375
- "name": "isCollapsed",
1185
+ "name": "hideIcon",
1376
1186
  "type": {
1377
1187
  "text": "boolean"
1378
1188
  },
1379
1189
  "default": "false",
1380
- "fieldName": "isCollapsed"
1190
+ "description": "Specify if the icon displays on the Alert",
1191
+ "fieldName": "hideIcon"
1192
+ },
1193
+ {
1194
+ "name": "dismissible",
1195
+ "type": {
1196
+ "text": "boolean"
1197
+ },
1198
+ "default": "false",
1199
+ "description": "Specify if the Alert can be dismissed",
1200
+ "fieldName": "dismissible"
1201
+ },
1202
+ {
1203
+ "name": "disableAutoFocus",
1204
+ "type": {
1205
+ "text": "boolean"
1206
+ },
1207
+ "default": "false",
1208
+ "description": "Prevent autofocus on show",
1209
+ "fieldName": "disableAutoFocus"
1210
+ },
1211
+ {
1212
+ "name": "disableCloseOnEscape",
1213
+ "type": {
1214
+ "text": "boolean"
1215
+ },
1216
+ "default": "false",
1217
+ "description": "Prevent Escape from closing",
1218
+ "fieldName": "disableCloseOnEscape"
1381
1219
  }
1382
1220
  ],
1383
1221
  "superclass": {
1384
1222
  "name": "LitElement",
1385
1223
  "package": "lit"
1386
1224
  },
1387
- "tagName": "bm-breadcrumb-item",
1225
+ "tagName": "bm-alert",
1388
1226
  "customElement": true
1389
1227
  }
1390
1228
  ],
1391
1229
  "exports": [
1392
1230
  {
1393
1231
  "kind": "js",
1394
- "name": "BmBreadcrumbsItem",
1232
+ "name": "BmAlert",
1395
1233
  "declaration": {
1396
- "name": "BmBreadcrumbsItem",
1397
- "module": "libs/web-components/src/lib/Breadcrumbs/BreadcrumbsItem.ts"
1234
+ "name": "BmAlert",
1235
+ "module": "libs/web-components/src/lib/Alert/Alert.ts"
1398
1236
  }
1399
1237
  },
1400
1238
  {
1401
1239
  "kind": "custom-element-definition",
1402
- "name": "bm-breadcrumb-item",
1240
+ "name": "bm-alert",
1403
1241
  "declaration": {
1404
- "name": "BmBreadcrumbsItem",
1405
- "module": "libs/web-components/src/lib/Breadcrumbs/BreadcrumbsItem.ts"
1242
+ "name": "BmAlert",
1243
+ "module": "libs/web-components/src/lib/Alert/Alert.ts"
1406
1244
  }
1407
1245
  }
1408
1246
  ]
1409
1247
  },
1410
1248
  {
1411
1249
  "kind": "javascript-module",
1412
- "path": "libs/web-components/src/lib/Breadcrumbs/index.ts",
1250
+ "path": "libs/web-components/src/lib/Alert/index.ts",
1413
1251
  "declarations": [],
1414
1252
  "exports": [
1415
1253
  {
@@ -1417,15 +1255,7 @@
1417
1255
  "name": "*",
1418
1256
  "declaration": {
1419
1257
  "name": "*",
1420
- "package": "./Breadcrumbs"
1421
- }
1422
- },
1423
- {
1424
- "kind": "js",
1425
- "name": "*",
1426
- "declaration": {
1427
- "name": "*",
1428
- "package": "./BreadcrumbsItem"
1258
+ "package": "./Alert"
1429
1259
  }
1430
1260
  }
1431
1261
  ]
@@ -1824,256 +1654,286 @@
1824
1654
  },
1825
1655
  {
1826
1656
  "kind": "javascript-module",
1827
- "path": "libs/web-components/src/lib/Button/Button.ts",
1657
+ "path": "libs/web-components/src/lib/Breadcrumbs/Breadcrumbs.context.ts",
1658
+ "declarations": [
1659
+ {
1660
+ "kind": "variable",
1661
+ "name": "BreadcrumbGroupCtx"
1662
+ }
1663
+ ],
1664
+ "exports": [
1665
+ {
1666
+ "kind": "js",
1667
+ "name": "BreadcrumbGroupCtx",
1668
+ "declaration": {
1669
+ "name": "BreadcrumbGroupCtx",
1670
+ "module": "libs/web-components/src/lib/Breadcrumbs/Breadcrumbs.context.ts"
1671
+ }
1672
+ }
1673
+ ]
1674
+ },
1675
+ {
1676
+ "kind": "javascript-module",
1677
+ "path": "libs/web-components/src/lib/Breadcrumbs/Breadcrumbs.ts",
1828
1678
  "declarations": [
1829
1679
  {
1830
1680
  "kind": "class",
1831
- "description": "`bm-button`\n\n### Attributes:\n- **appearance** - Specify the appearance of a Button\n- **kind** - Specify the kind of Button\n- **size** - Specify the size of a Button\n- **disabled** - Specify if the Button is disabled\n- **fluid** - Specify if Button is fluid\n- **width** - Specify the width of a Button\n- **height** - Specify the height of a Button\n- **theme** - Specify the theme of the Button\n- **iconOnly** - Specify if the icon displays without text\n- **type** ",
1832
- "name": "BmButton",
1681
+ "description": "`bm-breadcrumb`\n\n### Attributes:\n- **wrap** - Specify if items wrap or collapse to an ellipsis\n- **itemsBeforeCollapse** - Specify how many items show before ellipsis\n- **itemsAfterCollapse** - Specify how many items show after ellipsis\n- **theme** - Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent",
1682
+ "name": "BmBreadcrumbs",
1833
1683
  "slots": [
1834
1684
  {
1835
- "description": "Provide content for the Button",
1685
+ "description": "Pass items to the Breadcrumb",
1836
1686
  "name": "default"
1837
- },
1838
- {
1839
- "description": "Specify if the Button displays icon before the text",
1840
- "name": "iconBefore"
1841
- },
1842
- {
1843
- "description": "Specify if the Button displays icon after the text",
1844
- "name": "iconAfter"
1845
1687
  }
1846
1688
  ],
1847
1689
  "members": [
1848
1690
  {
1849
1691
  "kind": "field",
1850
- "name": "formAssociated",
1692
+ "name": "wrap",
1851
1693
  "type": {
1852
1694
  "text": "boolean"
1853
1695
  },
1854
- "static": true,
1855
- "default": "true"
1696
+ "default": "true",
1697
+ "description": "Specify if items wrap or collapse to an ellipsis",
1698
+ "attribute": "wrap"
1856
1699
  },
1857
1700
  {
1858
1701
  "kind": "field",
1859
- "name": "appearance",
1702
+ "name": "itemsBeforeCollapse",
1860
1703
  "type": {
1861
- "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
1704
+ "text": "number"
1862
1705
  },
1863
- "default": "'accent'",
1864
- "description": "Specify the appearance of a Button",
1865
- "attribute": "appearance"
1706
+ "default": "1",
1707
+ "description": "Specify how many items show before ellipsis",
1708
+ "attribute": "itemsBeforeCollapse"
1866
1709
  },
1867
1710
  {
1868
1711
  "kind": "field",
1869
- "name": "kind",
1712
+ "name": "itemsAfterCollapse",
1870
1713
  "type": {
1871
- "text": "'filled' | 'outline' | 'ghost' | 'bare'"
1714
+ "text": "number"
1872
1715
  },
1873
- "default": "'filled'",
1874
- "description": "Specify the kind of Button",
1875
- "attribute": "kind"
1716
+ "default": "1",
1717
+ "description": "Specify how many items show after ellipsis",
1718
+ "attribute": "itemsAfterCollapse"
1876
1719
  },
1877
1720
  {
1878
1721
  "kind": "field",
1879
- "name": "size",
1722
+ "name": "theme",
1880
1723
  "type": {
1881
- "text": "'sm' | 'md' | 'lg'"
1724
+ "text": "'light' | 'dark' | undefined"
1882
1725
  },
1883
- "default": "'md'",
1884
- "description": "Specify the size of a Button",
1885
- "attribute": "size"
1886
- },
1726
+ "description": "Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent",
1727
+ "attribute": "theme"
1728
+ }
1729
+ ],
1730
+ "attributes": [
1887
1731
  {
1888
- "kind": "field",
1889
- "name": "disabled",
1732
+ "name": "wrap",
1890
1733
  "type": {
1891
1734
  "text": "boolean"
1892
1735
  },
1893
- "default": "false",
1894
- "description": "Specify if the Button is disabled",
1895
- "attribute": "disabled"
1736
+ "default": "true",
1737
+ "description": "Specify if items wrap or collapse to an ellipsis",
1738
+ "fieldName": "wrap"
1896
1739
  },
1897
1740
  {
1898
- "kind": "field",
1899
- "name": "fluid",
1741
+ "name": "itemsBeforeCollapse",
1900
1742
  "type": {
1901
- "text": "boolean"
1743
+ "text": "number"
1902
1744
  },
1903
- "default": "false",
1904
- "description": "Specify if Button is fluid",
1905
- "attribute": "fluid"
1745
+ "default": "1",
1746
+ "description": "Specify how many items show before ellipsis",
1747
+ "fieldName": "itemsBeforeCollapse"
1906
1748
  },
1907
1749
  {
1908
- "kind": "field",
1909
- "name": "width",
1750
+ "name": "itemsAfterCollapse",
1910
1751
  "type": {
1911
- "text": "string | undefined"
1752
+ "text": "number"
1912
1753
  },
1913
- "description": "Specify the width of a Button",
1914
- "attribute": "width"
1754
+ "default": "1",
1755
+ "description": "Specify how many items show after ellipsis",
1756
+ "fieldName": "itemsAfterCollapse"
1915
1757
  },
1916
1758
  {
1917
- "kind": "field",
1918
- "name": "height",
1919
- "type": {
1920
- "text": "string | undefined"
1921
- },
1922
- "description": "Specify the height of a Button",
1923
- "attribute": "height"
1924
- },
1925
- {
1926
- "kind": "field",
1927
- "name": "theme",
1759
+ "name": "theme",
1928
1760
  "type": {
1929
1761
  "text": "'light' | 'dark' | undefined"
1930
1762
  },
1931
- "description": "Specify the theme of the Button",
1932
- "attribute": "theme"
1933
- },
1934
- {
1935
- "kind": "field",
1936
- "name": "iconOnly",
1937
- "type": {
1938
- "text": "boolean | undefined"
1939
- },
1940
- "description": "Specify if the icon displays without text",
1941
- "attribute": "iconOnly"
1942
- },
1763
+ "description": "Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent",
1764
+ "fieldName": "theme"
1765
+ }
1766
+ ],
1767
+ "superclass": {
1768
+ "name": "LitElement",
1769
+ "package": "lit"
1770
+ },
1771
+ "tagName": "bm-breadcrumb",
1772
+ "customElement": true
1773
+ }
1774
+ ],
1775
+ "exports": [
1776
+ {
1777
+ "kind": "js",
1778
+ "name": "BmBreadcrumbs",
1779
+ "declaration": {
1780
+ "name": "BmBreadcrumbs",
1781
+ "module": "libs/web-components/src/lib/Breadcrumbs/Breadcrumbs.ts"
1782
+ }
1783
+ },
1784
+ {
1785
+ "kind": "custom-element-definition",
1786
+ "name": "bm-breadcrumb",
1787
+ "declaration": {
1788
+ "name": "BmBreadcrumbs",
1789
+ "module": "libs/web-components/src/lib/Breadcrumbs/Breadcrumbs.ts"
1790
+ }
1791
+ }
1792
+ ]
1793
+ },
1794
+ {
1795
+ "kind": "javascript-module",
1796
+ "path": "libs/web-components/src/lib/Breadcrumbs/BreadcrumbsItem.ts",
1797
+ "declarations": [
1798
+ {
1799
+ "kind": "class",
1800
+ "description": "`bm-breadcrumb-item`\n\n### Attributes:\n- **href** - Pass href to an item\n- **clickable** - Specify if the item is interactive without an href\n- **truncationWidth** - Specify truncation width of the items. Sets max-width for all items but the last.\n- **isCurrent** - Specify explicitly if the item is the last one\n- **isCollapsed** ",
1801
+ "name": "BmBreadcrumbsItem",
1802
+ "slots": [
1943
1803
  {
1944
- "kind": "field",
1945
- "name": "type",
1946
- "type": {
1947
- "text": "string"
1948
- },
1949
- "default": "'button'",
1950
- "attribute": "type"
1804
+ "description": "Pass text to an item",
1805
+ "name": "default"
1951
1806
  },
1952
1807
  {
1953
- "kind": "field",
1954
- "name": "formContext",
1955
- "type": {
1956
- "text": "BmFormContext"
1957
- }
1808
+ "description": "Pass icon to an item",
1809
+ "name": "icon"
1958
1810
  }
1959
1811
  ],
1960
- "attributes": [
1812
+ "members": [
1961
1813
  {
1962
- "name": "appearance",
1814
+ "kind": "field",
1815
+ "name": "href",
1963
1816
  "type": {
1964
- "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
1817
+ "text": "string | undefined"
1965
1818
  },
1966
- "default": "'accent'",
1967
- "description": "Specify the appearance of a Button",
1968
- "fieldName": "appearance"
1819
+ "description": "Pass href to an item",
1820
+ "attribute": "href"
1969
1821
  },
1970
1822
  {
1971
- "name": "kind",
1823
+ "kind": "field",
1824
+ "name": "clickable",
1972
1825
  "type": {
1973
- "text": "'filled' | 'outline' | 'ghost' | 'bare'"
1826
+ "text": "boolean"
1974
1827
  },
1975
- "default": "'filled'",
1976
- "description": "Specify the kind of Button",
1977
- "fieldName": "kind"
1828
+ "default": "false",
1829
+ "description": "Specify if the item is interactive without an href",
1830
+ "attribute": "clickable"
1978
1831
  },
1979
1832
  {
1980
- "name": "size",
1833
+ "kind": "field",
1834
+ "name": "truncationWidth",
1981
1835
  "type": {
1982
- "text": "'sm' | 'md' | 'lg'"
1836
+ "text": "string | undefined"
1983
1837
  },
1984
- "default": "'md'",
1985
- "description": "Specify the size of a Button",
1986
- "fieldName": "size"
1838
+ "description": "Specify truncation width of the items. Sets max-width for all items but the last.",
1839
+ "attribute": "truncationWidth"
1987
1840
  },
1988
1841
  {
1989
- "name": "disabled",
1842
+ "kind": "field",
1843
+ "name": "isCurrent",
1990
1844
  "type": {
1991
1845
  "text": "boolean"
1992
1846
  },
1993
1847
  "default": "false",
1994
- "description": "Specify if the Button is disabled",
1995
- "fieldName": "disabled"
1848
+ "description": "Specify explicitly if the item is the last one",
1849
+ "attribute": "isCurrent",
1850
+ "reflects": true
1996
1851
  },
1997
1852
  {
1998
- "name": "fluid",
1853
+ "kind": "field",
1854
+ "name": "isCollapsed",
1999
1855
  "type": {
2000
1856
  "text": "boolean"
2001
1857
  },
2002
1858
  "default": "false",
2003
- "description": "Specify if Button is fluid",
2004
- "fieldName": "fluid"
2005
- },
1859
+ "attribute": "isCollapsed",
1860
+ "reflects": true
1861
+ }
1862
+ ],
1863
+ "attributes": [
2006
1864
  {
2007
- "name": "width",
1865
+ "name": "href",
2008
1866
  "type": {
2009
1867
  "text": "string | undefined"
2010
1868
  },
2011
- "description": "Specify the width of a Button",
2012
- "fieldName": "width"
1869
+ "description": "Pass href to an item",
1870
+ "fieldName": "href"
2013
1871
  },
2014
1872
  {
2015
- "name": "height",
1873
+ "name": "clickable",
2016
1874
  "type": {
2017
- "text": "string | undefined"
1875
+ "text": "boolean"
2018
1876
  },
2019
- "description": "Specify the height of a Button",
2020
- "fieldName": "height"
1877
+ "default": "false",
1878
+ "description": "Specify if the item is interactive without an href",
1879
+ "fieldName": "clickable"
2021
1880
  },
2022
1881
  {
2023
- "name": "theme",
1882
+ "name": "truncationWidth",
2024
1883
  "type": {
2025
- "text": "'light' | 'dark' | undefined"
1884
+ "text": "string | undefined"
2026
1885
  },
2027
- "description": "Specify the theme of the Button",
2028
- "fieldName": "theme"
1886
+ "description": "Specify truncation width of the items. Sets max-width for all items but the last.",
1887
+ "fieldName": "truncationWidth"
2029
1888
  },
2030
1889
  {
2031
- "name": "iconOnly",
1890
+ "name": "isCurrent",
2032
1891
  "type": {
2033
- "text": "boolean | undefined"
1892
+ "text": "boolean"
2034
1893
  },
2035
- "description": "Specify if the icon displays without text",
2036
- "fieldName": "iconOnly"
1894
+ "default": "false",
1895
+ "description": "Specify explicitly if the item is the last one",
1896
+ "fieldName": "isCurrent"
2037
1897
  },
2038
1898
  {
2039
- "name": "type",
1899
+ "name": "isCollapsed",
2040
1900
  "type": {
2041
- "text": "string"
1901
+ "text": "boolean"
2042
1902
  },
2043
- "default": "'button'",
2044
- "fieldName": "type"
1903
+ "default": "false",
1904
+ "fieldName": "isCollapsed"
2045
1905
  }
2046
1906
  ],
2047
1907
  "superclass": {
2048
1908
  "name": "LitElement",
2049
1909
  "package": "lit"
2050
1910
  },
2051
- "tagName": "bm-button",
1911
+ "tagName": "bm-breadcrumb-item",
2052
1912
  "customElement": true
2053
1913
  }
2054
1914
  ],
2055
1915
  "exports": [
2056
1916
  {
2057
1917
  "kind": "js",
2058
- "name": "BmButton",
1918
+ "name": "BmBreadcrumbsItem",
2059
1919
  "declaration": {
2060
- "name": "BmButton",
2061
- "module": "libs/web-components/src/lib/Button/Button.ts"
1920
+ "name": "BmBreadcrumbsItem",
1921
+ "module": "libs/web-components/src/lib/Breadcrumbs/BreadcrumbsItem.ts"
2062
1922
  }
2063
1923
  },
2064
1924
  {
2065
1925
  "kind": "custom-element-definition",
2066
- "name": "bm-button",
1926
+ "name": "bm-breadcrumb-item",
2067
1927
  "declaration": {
2068
- "name": "BmButton",
2069
- "module": "libs/web-components/src/lib/Button/Button.ts"
1928
+ "name": "BmBreadcrumbsItem",
1929
+ "module": "libs/web-components/src/lib/Breadcrumbs/BreadcrumbsItem.ts"
2070
1930
  }
2071
1931
  }
2072
1932
  ]
2073
1933
  },
2074
1934
  {
2075
1935
  "kind": "javascript-module",
2076
- "path": "libs/web-components/src/lib/Button/index.ts",
1936
+ "path": "libs/web-components/src/lib/Breadcrumbs/index.ts",
2077
1937
  "declarations": [],
2078
1938
  "exports": [
2079
1939
  {
@@ -2081,131 +1941,271 @@
2081
1941
  "name": "*",
2082
1942
  "declaration": {
2083
1943
  "name": "*",
2084
- "package": "./Button"
1944
+ "package": "./Breadcrumbs"
1945
+ }
1946
+ },
1947
+ {
1948
+ "kind": "js",
1949
+ "name": "*",
1950
+ "declaration": {
1951
+ "name": "*",
1952
+ "package": "./BreadcrumbsItem"
2085
1953
  }
2086
1954
  }
2087
1955
  ]
2088
1956
  },
2089
1957
  {
2090
1958
  "kind": "javascript-module",
2091
- "path": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts",
1959
+ "path": "libs/web-components/src/lib/Button/Button.ts",
2092
1960
  "declarations": [
2093
1961
  {
2094
1962
  "kind": "class",
2095
- "description": "`bm-badge-dot`\n\n### Attributes:\n- **theme** - Specify the theme of the BadgeDot. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the BadgeDot\n- **emphasis** - Specify the emphasis of the BadgeDot\n- **overrideDotColor** - Overrides default dot color",
2096
- "name": "BmBadgeDot",
1963
+ "description": "`bm-button`\n\n### Attributes:\n- **appearance** - Specify the appearance of a Button\n- **kind** - Specify the kind of Button\n- **size** - Specify the size of a Button\n- **disabled** - Specify if the Button is disabled\n- **fluid** - Specify if Button is fluid\n- **width** - Specify the width of a Button\n- **height** - Specify the height of a Button\n- **theme** - Specify the theme of the Button\n- **iconOnly** - Specify if the icon displays without text\n- **type** ",
1964
+ "name": "BmButton",
2097
1965
  "slots": [
2098
1966
  {
2099
- "description": "Provide text for the BadgeDot",
1967
+ "description": "Provide content for the Button",
2100
1968
  "name": "default"
1969
+ },
1970
+ {
1971
+ "description": "Specify if the Button displays icon before the text",
1972
+ "name": "iconBefore"
1973
+ },
1974
+ {
1975
+ "description": "Specify if the Button displays icon after the text",
1976
+ "name": "iconAfter"
2101
1977
  }
2102
1978
  ],
2103
1979
  "members": [
2104
1980
  {
2105
1981
  "kind": "field",
2106
- "name": "theme",
1982
+ "name": "formAssociated",
2107
1983
  "type": {
2108
- "text": "'light' | 'dark' | undefined"
1984
+ "text": "boolean"
2109
1985
  },
2110
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
2111
- "attribute": "theme"
1986
+ "static": true,
1987
+ "default": "true"
2112
1988
  },
2113
1989
  {
2114
1990
  "kind": "field",
2115
1991
  "name": "appearance",
2116
1992
  "type": {
2117
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
1993
+ "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
2118
1994
  },
2119
- "default": "'infoPrimary'",
2120
- "description": "Specify the appearance of the BadgeDot",
1995
+ "default": "'accent'",
1996
+ "description": "Specify the appearance of a Button",
2121
1997
  "attribute": "appearance"
2122
1998
  },
2123
1999
  {
2124
2000
  "kind": "field",
2125
- "name": "emphasis",
2001
+ "name": "kind",
2126
2002
  "type": {
2127
- "text": "'strong' | 'subtle'"
2003
+ "text": "'filled' | 'outline' | 'ghost' | 'bare'"
2128
2004
  },
2129
- "default": "'strong'",
2130
- "description": "Specify the emphasis of the BadgeDot",
2131
- "attribute": "emphasis"
2005
+ "default": "'filled'",
2006
+ "description": "Specify the kind of Button",
2007
+ "attribute": "kind"
2132
2008
  },
2133
2009
  {
2134
2010
  "kind": "field",
2135
- "name": "overrideDotColor",
2136
- "type": {
2137
- "text": "string | undefined"
2138
- },
2139
- "description": "Overrides default dot color",
2140
- "attribute": "overrideDotColor"
2141
- }
2142
- ],
2143
- "attributes": [
2144
- {
2145
- "name": "theme",
2011
+ "name": "size",
2146
2012
  "type": {
2147
- "text": "'light' | 'dark' | undefined"
2013
+ "text": "'sm' | 'md' | 'lg'"
2148
2014
  },
2149
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
2150
- "fieldName": "theme"
2015
+ "default": "'md'",
2016
+ "description": "Specify the size of a Button",
2017
+ "attribute": "size"
2151
2018
  },
2152
2019
  {
2153
- "name": "appearance",
2020
+ "kind": "field",
2021
+ "name": "disabled",
2154
2022
  "type": {
2155
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
2023
+ "text": "boolean"
2156
2024
  },
2157
- "default": "'infoPrimary'",
2158
- "description": "Specify the appearance of the BadgeDot",
2025
+ "default": "false",
2026
+ "description": "Specify if the Button is disabled",
2027
+ "attribute": "disabled"
2028
+ },
2029
+ {
2030
+ "kind": "field",
2031
+ "name": "fluid",
2032
+ "type": {
2033
+ "text": "boolean"
2034
+ },
2035
+ "default": "false",
2036
+ "description": "Specify if Button is fluid",
2037
+ "attribute": "fluid"
2038
+ },
2039
+ {
2040
+ "kind": "field",
2041
+ "name": "width",
2042
+ "type": {
2043
+ "text": "string | undefined"
2044
+ },
2045
+ "description": "Specify the width of a Button",
2046
+ "attribute": "width"
2047
+ },
2048
+ {
2049
+ "kind": "field",
2050
+ "name": "height",
2051
+ "type": {
2052
+ "text": "string | undefined"
2053
+ },
2054
+ "description": "Specify the height of a Button",
2055
+ "attribute": "height"
2056
+ },
2057
+ {
2058
+ "kind": "field",
2059
+ "name": "theme",
2060
+ "type": {
2061
+ "text": "'light' | 'dark' | undefined"
2062
+ },
2063
+ "description": "Specify the theme of the Button",
2064
+ "attribute": "theme"
2065
+ },
2066
+ {
2067
+ "kind": "field",
2068
+ "name": "iconOnly",
2069
+ "type": {
2070
+ "text": "boolean | undefined"
2071
+ },
2072
+ "description": "Specify if the icon displays without text",
2073
+ "attribute": "iconOnly"
2074
+ },
2075
+ {
2076
+ "kind": "field",
2077
+ "name": "type",
2078
+ "type": {
2079
+ "text": "string"
2080
+ },
2081
+ "default": "'button'",
2082
+ "attribute": "type"
2083
+ },
2084
+ {
2085
+ "kind": "field",
2086
+ "name": "formContext",
2087
+ "type": {
2088
+ "text": "BmFormContext"
2089
+ }
2090
+ }
2091
+ ],
2092
+ "attributes": [
2093
+ {
2094
+ "name": "appearance",
2095
+ "type": {
2096
+ "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
2097
+ },
2098
+ "default": "'accent'",
2099
+ "description": "Specify the appearance of a Button",
2159
2100
  "fieldName": "appearance"
2160
2101
  },
2161
2102
  {
2162
- "name": "emphasis",
2103
+ "name": "kind",
2163
2104
  "type": {
2164
- "text": "'strong' | 'subtle'"
2105
+ "text": "'filled' | 'outline' | 'ghost' | 'bare'"
2165
2106
  },
2166
- "default": "'strong'",
2167
- "description": "Specify the emphasis of the BadgeDot",
2168
- "fieldName": "emphasis"
2107
+ "default": "'filled'",
2108
+ "description": "Specify the kind of Button",
2109
+ "fieldName": "kind"
2169
2110
  },
2170
2111
  {
2171
- "name": "overrideDotColor",
2112
+ "name": "size",
2113
+ "type": {
2114
+ "text": "'sm' | 'md' | 'lg'"
2115
+ },
2116
+ "default": "'md'",
2117
+ "description": "Specify the size of a Button",
2118
+ "fieldName": "size"
2119
+ },
2120
+ {
2121
+ "name": "disabled",
2122
+ "type": {
2123
+ "text": "boolean"
2124
+ },
2125
+ "default": "false",
2126
+ "description": "Specify if the Button is disabled",
2127
+ "fieldName": "disabled"
2128
+ },
2129
+ {
2130
+ "name": "fluid",
2131
+ "type": {
2132
+ "text": "boolean"
2133
+ },
2134
+ "default": "false",
2135
+ "description": "Specify if Button is fluid",
2136
+ "fieldName": "fluid"
2137
+ },
2138
+ {
2139
+ "name": "width",
2172
2140
  "type": {
2173
2141
  "text": "string | undefined"
2174
2142
  },
2175
- "description": "Overrides default dot color",
2176
- "fieldName": "overrideDotColor"
2143
+ "description": "Specify the width of a Button",
2144
+ "fieldName": "width"
2145
+ },
2146
+ {
2147
+ "name": "height",
2148
+ "type": {
2149
+ "text": "string | undefined"
2150
+ },
2151
+ "description": "Specify the height of a Button",
2152
+ "fieldName": "height"
2153
+ },
2154
+ {
2155
+ "name": "theme",
2156
+ "type": {
2157
+ "text": "'light' | 'dark' | undefined"
2158
+ },
2159
+ "description": "Specify the theme of the Button",
2160
+ "fieldName": "theme"
2161
+ },
2162
+ {
2163
+ "name": "iconOnly",
2164
+ "type": {
2165
+ "text": "boolean | undefined"
2166
+ },
2167
+ "description": "Specify if the icon displays without text",
2168
+ "fieldName": "iconOnly"
2169
+ },
2170
+ {
2171
+ "name": "type",
2172
+ "type": {
2173
+ "text": "string"
2174
+ },
2175
+ "default": "'button'",
2176
+ "fieldName": "type"
2177
2177
  }
2178
2178
  ],
2179
2179
  "superclass": {
2180
2180
  "name": "LitElement",
2181
2181
  "package": "lit"
2182
2182
  },
2183
- "tagName": "bm-badge-dot",
2183
+ "tagName": "bm-button",
2184
2184
  "customElement": true
2185
2185
  }
2186
2186
  ],
2187
2187
  "exports": [
2188
2188
  {
2189
2189
  "kind": "js",
2190
- "name": "BmBadgeDot",
2190
+ "name": "BmButton",
2191
2191
  "declaration": {
2192
- "name": "BmBadgeDot",
2193
- "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
2192
+ "name": "BmButton",
2193
+ "module": "libs/web-components/src/lib/Button/Button.ts"
2194
2194
  }
2195
2195
  },
2196
2196
  {
2197
2197
  "kind": "custom-element-definition",
2198
- "name": "bm-badge-dot",
2198
+ "name": "bm-button",
2199
2199
  "declaration": {
2200
- "name": "BmBadgeDot",
2201
- "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
2200
+ "name": "BmButton",
2201
+ "module": "libs/web-components/src/lib/Button/Button.ts"
2202
2202
  }
2203
2203
  }
2204
2204
  ]
2205
2205
  },
2206
2206
  {
2207
2207
  "kind": "javascript-module",
2208
- "path": "libs/web-components/src/lib/BadgeDot/index.ts",
2208
+ "path": "libs/web-components/src/lib/Button/index.ts",
2209
2209
  "declarations": [],
2210
2210
  "exports": [
2211
2211
  {
@@ -2213,7 +2213,7 @@
2213
2213
  "name": "*",
2214
2214
  "declaration": {
2215
2215
  "name": "*",
2216
- "package": "./BadgeDot"
2216
+ "package": "./Button"
2217
2217
  }
2218
2218
  }
2219
2219
  ]
@@ -6404,139 +6404,248 @@
6404
6404
  },
6405
6405
  {
6406
6406
  "kind": "javascript-module",
6407
- "path": "libs/web-components/src/lib/wip/FileUpload/FileUpload.Button.ts",
6407
+ "path": "libs/web-components/src/lib/wip/Form/Form.context.ts",
6408
+ "declarations": [
6409
+ {
6410
+ "kind": "variable",
6411
+ "name": "bmFormInitials",
6412
+ "type": {
6413
+ "text": "BmFormContext"
6414
+ },
6415
+ "default": "{ required: false, disabled: false, readOnly: false, initialValues: {}, registerField: () => undefined, formBlurHandler: () => undefined, formChangeHandler: () => undefined, }"
6416
+ },
6417
+ {
6418
+ "kind": "variable",
6419
+ "name": "bmFormContext"
6420
+ }
6421
+ ],
6422
+ "exports": [
6423
+ {
6424
+ "kind": "js",
6425
+ "name": "bmFormInitials",
6426
+ "declaration": {
6427
+ "name": "bmFormInitials",
6428
+ "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
6429
+ }
6430
+ },
6431
+ {
6432
+ "kind": "js",
6433
+ "name": "bmFormContext",
6434
+ "declaration": {
6435
+ "name": "bmFormContext",
6436
+ "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
6437
+ }
6438
+ }
6439
+ ]
6440
+ },
6441
+ {
6442
+ "kind": "javascript-module",
6443
+ "path": "libs/web-components/src/lib/wip/Form/Form.decorator.ts",
6408
6444
  "declarations": [
6409
6445
  {
6410
6446
  "kind": "class",
6411
- "description": "`bm-file-upload-button`\n\n### Attributes:\n- **error** - Specify if FileUpload is in error state\n- **accept** - Specify the accepted file types\n- **multiple** - Specify if multiple files can be uploaded",
6412
- "name": "BmFileUploadButton",
6413
- "slots": [
6414
- {
6415
- "description": "Specify text for the Button",
6416
- "name": "default",
6417
- "inheritedFrom": {
6418
- "name": "BmButton",
6419
- "module": "libs/web-components/src/lib/Button/Button.ts"
6420
- }
6421
- },
6422
- {
6423
- "description": "Specify if the Button displays icon before the text",
6424
- "name": "iconBefore",
6425
- "inheritedFrom": {
6426
- "name": "BmButton",
6427
- "module": "libs/web-components/src/lib/Button/Button.ts"
6428
- }
6429
- },
6430
- {
6431
- "description": "Specify if the Button displays icon after the text",
6432
- "name": "iconAfter",
6433
- "inheritedFrom": {
6434
- "name": "BmButton",
6435
- "module": "libs/web-components/src/lib/Button/Button.ts"
6436
- }
6437
- }
6438
- ],
6447
+ "description": "### Attributes:\n- **id** \n- **name** \n- **value** \n- **validationRules** \n- **input-aria-label** ",
6448
+ "name": "FormField",
6439
6449
  "members": [
6440
6450
  {
6441
6451
  "kind": "field",
6442
- "name": "error",
6452
+ "name": "formAssociated",
6443
6453
  "type": {
6444
- "text": "boolean | undefined"
6454
+ "text": "boolean"
6445
6455
  },
6446
- "description": "Specify if FileUpload is in error state",
6447
- "attribute": "error"
6456
+ "static": true,
6457
+ "default": "true"
6448
6458
  },
6449
6459
  {
6450
6460
  "kind": "field",
6451
- "name": "accept",
6461
+ "name": "id",
6452
6462
  "type": {
6453
- "text": "string | undefined"
6463
+ "text": "string"
6454
6464
  },
6455
- "description": "Specify the accepted file types",
6456
- "attribute": "accept"
6465
+ "default": "''",
6466
+ "attribute": "id"
6457
6467
  },
6458
6468
  {
6459
6469
  "kind": "field",
6460
- "name": "multiple",
6470
+ "name": "name",
6461
6471
  "type": {
6462
- "text": "boolean | undefined"
6472
+ "text": "string"
6463
6473
  },
6464
- "description": "Specify if multiple files can be uploaded",
6465
- "attribute": "multiple"
6474
+ "default": "''",
6475
+ "attribute": "name"
6466
6476
  },
6467
6477
  {
6468
6478
  "kind": "field",
6469
- "name": "appearance",
6479
+ "name": "value",
6470
6480
  "type": {
6471
- "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
6481
+ "text": "string"
6472
6482
  },
6473
- "default": "'neutral-subtle'",
6474
- "description": "Specify the appearance of a Button",
6475
- "attribute": "appearance",
6476
- "inheritedFrom": {
6477
- "name": "BmButton",
6478
- "module": "libs/web-components/src/lib/Button/Button.ts"
6479
- }
6483
+ "default": "''",
6484
+ "attribute": "value"
6480
6485
  },
6481
6486
  {
6482
6487
  "kind": "field",
6483
- "name": "kind",
6488
+ "name": "validationRules",
6484
6489
  "type": {
6485
- "text": "'filled' | 'outline' | 'ghost' | 'bare'"
6490
+ "text": "Array<FormValidator>"
6486
6491
  },
6487
- "default": "'outline'",
6488
- "description": "Specify the kind of Button",
6489
- "attribute": "kind",
6490
- "inheritedFrom": {
6491
- "name": "BmButton",
6492
- "module": "libs/web-components/src/lib/Button/Button.ts"
6493
- }
6492
+ "default": "[]",
6493
+ "attribute": "validationRules"
6494
6494
  },
6495
6495
  {
6496
6496
  "kind": "field",
6497
- "name": "size",
6497
+ "name": "inputAriaLabel",
6498
6498
  "type": {
6499
- "text": "'sm' | 'md' | 'lg'"
6499
+ "text": "string | undefined"
6500
6500
  },
6501
- "default": "'md'",
6502
- "description": "Specify the size of a Button",
6503
- "attribute": "size",
6504
- "inheritedFrom": {
6505
- "name": "BmButton",
6506
- "module": "libs/web-components/src/lib/Button/Button.ts"
6501
+ "attribute": "input-aria-label"
6502
+ },
6503
+ {
6504
+ "kind": "field",
6505
+ "name": "formContext",
6506
+ "type": {
6507
+ "text": "BmFormContext"
6508
+ }
6509
+ },
6510
+ {
6511
+ "kind": "method",
6512
+ "name": "formAssociatedCallback",
6513
+ "return": {
6514
+ "type": {
6515
+ "text": "void"
6516
+ }
6517
+ }
6518
+ },
6519
+ {
6520
+ "kind": "method",
6521
+ "name": "formResetCallback",
6522
+ "return": {
6523
+ "type": {
6524
+ "text": "void"
6525
+ }
6507
6526
  }
6508
6527
  },
6528
+ {
6529
+ "kind": "method",
6530
+ "name": "finalizeAssociatedCallback",
6531
+ "return": {
6532
+ "type": {
6533
+ "text": "FinalizeAssociatedResult"
6534
+ }
6535
+ },
6536
+ "parameters": [
6537
+ {
6538
+ "name": "ctxValue",
6539
+ "type": {
6540
+ "text": "string"
6541
+ }
6542
+ }
6543
+ ]
6544
+ }
6545
+ ],
6546
+ "attributes": [
6547
+ {
6548
+ "name": "id",
6549
+ "type": {
6550
+ "text": "string"
6551
+ },
6552
+ "default": "''",
6553
+ "fieldName": "id"
6554
+ },
6555
+ {
6556
+ "name": "name",
6557
+ "type": {
6558
+ "text": "string"
6559
+ },
6560
+ "default": "''",
6561
+ "fieldName": "name"
6562
+ },
6563
+ {
6564
+ "name": "value",
6565
+ "type": {
6566
+ "text": "string"
6567
+ },
6568
+ "default": "''",
6569
+ "fieldName": "value"
6570
+ },
6571
+ {
6572
+ "name": "validationRules",
6573
+ "type": {
6574
+ "text": "Array<FormValidator>"
6575
+ },
6576
+ "default": "[]",
6577
+ "fieldName": "validationRules"
6578
+ },
6579
+ {
6580
+ "name": "input-aria-label",
6581
+ "type": {
6582
+ "text": "string | undefined"
6583
+ },
6584
+ "fieldName": "inputAriaLabel"
6585
+ }
6586
+ ],
6587
+ "superclass": {
6588
+ "name": "LitElement",
6589
+ "package": "lit"
6590
+ },
6591
+ "customElement": true
6592
+ }
6593
+ ],
6594
+ "exports": [
6595
+ {
6596
+ "kind": "js",
6597
+ "name": "FormField",
6598
+ "declaration": {
6599
+ "name": "FormField",
6600
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
6601
+ }
6602
+ }
6603
+ ]
6604
+ },
6605
+ {
6606
+ "kind": "javascript-module",
6607
+ "path": "libs/web-components/src/lib/wip/Form/Form.ts",
6608
+ "declarations": [
6609
+ {
6610
+ "kind": "class",
6611
+ "description": "### Attributes:\n- **validationMode** - Specify if validation runs on change or when loosing focus\n- **initialValues** - Specify initial values on Form controls based on their names\n- **required** - Specify if input is a required\n- **disabled** - Specify if input is a disabled\n- **readOnly** - Specify if input is a read only\n- **action** \n- **method** \n- **target** \n- **enctype** ",
6612
+ "name": "BmForm",
6613
+ "slots": [
6614
+ {
6615
+ "description": "Add controls to the Form",
6616
+ "name": "slot"
6617
+ }
6618
+ ],
6619
+ "members": [
6509
6620
  {
6510
6621
  "kind": "field",
6511
- "name": "iconOnly",
6622
+ "name": "validationMode",
6512
6623
  "type": {
6513
- "text": "boolean | undefined"
6624
+ "text": "'onChange' | 'onBlur' | 'onSubmit'"
6514
6625
  },
6515
- "description": "Specify if the icon displays without text",
6516
- "attribute": "iconOnly",
6517
- "default": "false",
6518
- "inheritedFrom": {
6519
- "name": "BmButton",
6520
- "module": "libs/web-components/src/lib/Button/Button.ts"
6521
- }
6626
+ "default": "'onBlur'",
6627
+ "description": "Specify if validation runs on change or when loosing focus",
6628
+ "attribute": "validationMode"
6522
6629
  },
6523
6630
  {
6524
6631
  "kind": "field",
6525
- "name": "iconBefore",
6526
- "default": "unsafeSVG(Upload)"
6632
+ "name": "initialValues",
6633
+ "type": {
6634
+ "text": "Record<string, FormValue>"
6635
+ },
6636
+ "default": "{}",
6637
+ "description": "Specify initial values on Form controls based on their names",
6638
+ "attribute": "initialValues"
6527
6639
  },
6528
6640
  {
6529
6641
  "kind": "field",
6530
- "name": "formAssociated",
6642
+ "name": "required",
6531
6643
  "type": {
6532
6644
  "text": "boolean"
6533
6645
  },
6534
- "static": true,
6535
- "default": "true",
6536
- "inheritedFrom": {
6537
- "name": "BmButton",
6538
- "module": "libs/web-components/src/lib/Button/Button.ts"
6539
- }
6646
+ "default": "false",
6647
+ "description": "Specify if input is a required",
6648
+ "attribute": "required"
6540
6649
  },
6541
6650
  {
6542
6651
  "kind": "field",
@@ -6545,176 +6654,551 @@
6545
6654
  "text": "boolean"
6546
6655
  },
6547
6656
  "default": "false",
6548
- "description": "Specify if the Button is disabled",
6549
- "attribute": "disabled",
6550
- "inheritedFrom": {
6551
- "name": "BmButton",
6552
- "module": "libs/web-components/src/lib/Button/Button.ts"
6553
- }
6657
+ "description": "Specify if input is a disabled",
6658
+ "attribute": "disabled"
6554
6659
  },
6555
6660
  {
6556
6661
  "kind": "field",
6557
- "name": "fluid",
6662
+ "name": "readOnly",
6558
6663
  "type": {
6559
6664
  "text": "boolean"
6560
6665
  },
6561
6666
  "default": "false",
6562
- "description": "Specify if Button is fluid",
6563
- "attribute": "fluid",
6564
- "inheritedFrom": {
6565
- "name": "BmButton",
6566
- "module": "libs/web-components/src/lib/Button/Button.ts"
6567
- }
6667
+ "description": "Specify if input is a read only",
6668
+ "attribute": "readOnly"
6568
6669
  },
6569
6670
  {
6570
6671
  "kind": "field",
6571
- "name": "width",
6672
+ "name": "action",
6572
6673
  "type": {
6573
6674
  "text": "string | undefined"
6574
6675
  },
6575
- "description": "Specify the width of a Button",
6576
- "attribute": "width",
6577
- "inheritedFrom": {
6578
- "name": "BmButton",
6579
- "module": "libs/web-components/src/lib/Button/Button.ts"
6580
- }
6676
+ "attribute": "action"
6581
6677
  },
6582
6678
  {
6583
6679
  "kind": "field",
6584
- "name": "height",
6680
+ "name": "method",
6585
6681
  "type": {
6586
6682
  "text": "string | undefined"
6587
6683
  },
6588
- "description": "Specify the height of a Button",
6589
- "attribute": "height",
6590
- "inheritedFrom": {
6591
- "name": "BmButton",
6592
- "module": "libs/web-components/src/lib/Button/Button.ts"
6593
- }
6684
+ "attribute": "method"
6594
6685
  },
6595
6686
  {
6596
6687
  "kind": "field",
6597
- "name": "theme",
6688
+ "name": "target",
6598
6689
  "type": {
6599
- "text": "'light' | 'dark' | undefined"
6690
+ "text": "string | undefined"
6600
6691
  },
6601
- "description": "Specify the theme of the Button",
6602
- "attribute": "theme",
6603
- "inheritedFrom": {
6604
- "name": "BmButton",
6605
- "module": "libs/web-components/src/lib/Button/Button.ts"
6606
- }
6692
+ "attribute": "target"
6607
6693
  },
6608
6694
  {
6609
6695
  "kind": "field",
6610
- "name": "type",
6696
+ "name": "enctype",
6611
6697
  "type": {
6612
- "text": "string"
6698
+ "text": "string | undefined"
6613
6699
  },
6614
- "default": "'button'",
6615
- "attribute": "type",
6616
- "inheritedFrom": {
6617
- "name": "BmButton",
6618
- "module": "libs/web-components/src/lib/Button/Button.ts"
6619
- }
6700
+ "attribute": "enctype"
6620
6701
  },
6621
6702
  {
6622
6703
  "kind": "field",
6623
- "name": "formContext",
6704
+ "name": "formMeta",
6624
6705
  "type": {
6625
- "text": "BmFormContext"
6706
+ "text": "Record<string, FieldMeta>"
6707
+ },
6708
+ "default": "{}"
6709
+ },
6710
+ {
6711
+ "kind": "field",
6712
+ "name": "formRef"
6713
+ },
6714
+ {
6715
+ "kind": "field",
6716
+ "name": "formContext",
6717
+ "type": {
6718
+ "text": "BmFormContext"
6719
+ },
6720
+ "privacy": "public",
6721
+ "default": "bmFormInitials"
6722
+ }
6723
+ ],
6724
+ "events": [
6725
+ {
6726
+ "description": "Validates the inputs and submits the form",
6727
+ "name": "submit"
6728
+ }
6729
+ ],
6730
+ "attributes": [
6731
+ {
6732
+ "name": "validationMode",
6733
+ "type": {
6734
+ "text": "'onChange' | 'onBlur' | 'onSubmit'"
6735
+ },
6736
+ "default": "'onBlur'",
6737
+ "description": "Specify if validation runs on change or when loosing focus",
6738
+ "fieldName": "validationMode"
6739
+ },
6740
+ {
6741
+ "name": "initialValues",
6742
+ "type": {
6743
+ "text": "Record<string, FormValue>"
6744
+ },
6745
+ "default": "{}",
6746
+ "description": "Specify initial values on Form controls based on their names",
6747
+ "fieldName": "initialValues"
6748
+ },
6749
+ {
6750
+ "name": "required",
6751
+ "type": {
6752
+ "text": "boolean"
6753
+ },
6754
+ "default": "false",
6755
+ "description": "Specify if input is a required",
6756
+ "fieldName": "required"
6757
+ },
6758
+ {
6759
+ "name": "disabled",
6760
+ "type": {
6761
+ "text": "boolean"
6762
+ },
6763
+ "default": "false",
6764
+ "description": "Specify if input is a disabled",
6765
+ "fieldName": "disabled"
6766
+ },
6767
+ {
6768
+ "name": "readOnly",
6769
+ "type": {
6770
+ "text": "boolean"
6771
+ },
6772
+ "default": "false",
6773
+ "description": "Specify if input is a read only",
6774
+ "fieldName": "readOnly"
6775
+ },
6776
+ {
6777
+ "name": "action",
6778
+ "type": {
6779
+ "text": "string | undefined"
6780
+ },
6781
+ "fieldName": "action"
6782
+ },
6783
+ {
6784
+ "name": "method",
6785
+ "type": {
6786
+ "text": "string | undefined"
6787
+ },
6788
+ "fieldName": "method"
6789
+ },
6790
+ {
6791
+ "name": "target",
6792
+ "type": {
6793
+ "text": "string | undefined"
6626
6794
  },
6795
+ "fieldName": "target"
6796
+ },
6797
+ {
6798
+ "name": "enctype",
6799
+ "type": {
6800
+ "text": "string | undefined"
6801
+ },
6802
+ "fieldName": "enctype"
6803
+ }
6804
+ ],
6805
+ "superclass": {
6806
+ "name": "LitElement",
6807
+ "package": "lit"
6808
+ },
6809
+ "summary": "`bm-form`",
6810
+ "tagName": "bm-form",
6811
+ "customElement": true
6812
+ }
6813
+ ],
6814
+ "exports": [
6815
+ {
6816
+ "kind": "js",
6817
+ "name": "validators",
6818
+ "declaration": {
6819
+ "name": "validators",
6820
+ "package": "@viasat/beam-shared/components/form"
6821
+ }
6822
+ },
6823
+ {
6824
+ "kind": "js",
6825
+ "name": "BmForm",
6826
+ "declaration": {
6827
+ "name": "BmForm",
6828
+ "module": "libs/web-components/src/lib/wip/Form/Form.ts"
6829
+ }
6830
+ },
6831
+ {
6832
+ "kind": "custom-element-definition",
6833
+ "name": "bm-form",
6834
+ "declaration": {
6835
+ "name": "BmForm",
6836
+ "module": "libs/web-components/src/lib/wip/Form/Form.ts"
6837
+ }
6838
+ }
6839
+ ]
6840
+ },
6841
+ {
6842
+ "kind": "javascript-module",
6843
+ "path": "libs/web-components/src/lib/wip/Form/Form.utils.ts",
6844
+ "declarations": [
6845
+ {
6846
+ "kind": "function",
6847
+ "name": "createId",
6848
+ "return": {
6849
+ "type": {
6850
+ "text": "string"
6851
+ }
6852
+ }
6853
+ }
6854
+ ],
6855
+ "exports": [
6856
+ {
6857
+ "kind": "js",
6858
+ "name": "createId",
6859
+ "declaration": {
6860
+ "name": "createId",
6861
+ "module": "libs/web-components/src/lib/wip/Form/Form.utils.ts"
6862
+ }
6863
+ }
6864
+ ]
6865
+ },
6866
+ {
6867
+ "kind": "javascript-module",
6868
+ "path": "libs/web-components/src/lib/wip/Form/index.ts",
6869
+ "declarations": [],
6870
+ "exports": [
6871
+ {
6872
+ "kind": "js",
6873
+ "name": "*",
6874
+ "declaration": {
6875
+ "name": "*",
6876
+ "package": "./Form"
6877
+ }
6878
+ },
6879
+ {
6880
+ "kind": "js",
6881
+ "name": "*",
6882
+ "declaration": {
6883
+ "name": "*",
6884
+ "package": "./Form.decorator"
6885
+ }
6886
+ }
6887
+ ]
6888
+ },
6889
+ {
6890
+ "kind": "javascript-module",
6891
+ "path": "libs/web-components/src/lib/wip/FileUpload/FileUpload.Button.ts",
6892
+ "declarations": [
6893
+ {
6894
+ "kind": "class",
6895
+ "description": "`bm-file-upload-button`\n\n### Attributes:\n- **error** - Specify if FileUpload is in error state\n- **accept** - Specify the accepted file types\n- **multiple** - Specify if multiple files can be uploaded",
6896
+ "name": "BmFileUploadButton",
6897
+ "slots": [
6898
+ {
6899
+ "description": "Specify text for the Button",
6900
+ "name": "default",
6901
+ "inheritedFrom": {
6902
+ "name": "BmButton",
6903
+ "module": "libs/web-components/src/lib/Button/Button.ts"
6904
+ }
6905
+ },
6906
+ {
6907
+ "description": "Specify if the Button displays icon before the text",
6908
+ "name": "iconBefore",
6909
+ "inheritedFrom": {
6910
+ "name": "BmButton",
6911
+ "module": "libs/web-components/src/lib/Button/Button.ts"
6912
+ }
6913
+ },
6914
+ {
6915
+ "description": "Specify if the Button displays icon after the text",
6916
+ "name": "iconAfter",
6627
6917
  "inheritedFrom": {
6628
6918
  "name": "BmButton",
6629
6919
  "module": "libs/web-components/src/lib/Button/Button.ts"
6630
6920
  }
6631
6921
  }
6632
6922
  ],
6633
- "attributes": [
6923
+ "members": [
6634
6924
  {
6925
+ "kind": "field",
6635
6926
  "name": "error",
6636
6927
  "type": {
6637
6928
  "text": "boolean | undefined"
6638
6929
  },
6639
6930
  "description": "Specify if FileUpload is in error state",
6640
- "fieldName": "error"
6931
+ "attribute": "error"
6641
6932
  },
6642
6933
  {
6934
+ "kind": "field",
6643
6935
  "name": "accept",
6644
6936
  "type": {
6645
6937
  "text": "string | undefined"
6646
6938
  },
6647
6939
  "description": "Specify the accepted file types",
6648
- "fieldName": "accept"
6940
+ "attribute": "accept"
6649
6941
  },
6650
6942
  {
6943
+ "kind": "field",
6651
6944
  "name": "multiple",
6652
6945
  "type": {
6653
6946
  "text": "boolean | undefined"
6654
6947
  },
6655
6948
  "description": "Specify if multiple files can be uploaded",
6656
- "fieldName": "multiple"
6949
+ "attribute": "multiple"
6657
6950
  },
6658
6951
  {
6952
+ "kind": "field",
6659
6953
  "name": "appearance",
6660
6954
  "type": {
6661
6955
  "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
6662
6956
  },
6663
- "default": "'accent'",
6957
+ "default": "'neutral-subtle'",
6664
6958
  "description": "Specify the appearance of a Button",
6665
- "fieldName": "appearance",
6959
+ "attribute": "appearance",
6666
6960
  "inheritedFrom": {
6667
6961
  "name": "BmButton",
6668
6962
  "module": "libs/web-components/src/lib/Button/Button.ts"
6669
6963
  }
6670
6964
  },
6671
6965
  {
6966
+ "kind": "field",
6672
6967
  "name": "kind",
6673
6968
  "type": {
6674
6969
  "text": "'filled' | 'outline' | 'ghost' | 'bare'"
6675
6970
  },
6676
- "default": "'filled'",
6971
+ "default": "'outline'",
6677
6972
  "description": "Specify the kind of Button",
6678
- "fieldName": "kind",
6973
+ "attribute": "kind",
6679
6974
  "inheritedFrom": {
6680
6975
  "name": "BmButton",
6681
6976
  "module": "libs/web-components/src/lib/Button/Button.ts"
6682
6977
  }
6683
6978
  },
6684
6979
  {
6980
+ "kind": "field",
6685
6981
  "name": "size",
6686
6982
  "type": {
6687
6983
  "text": "'sm' | 'md' | 'lg'"
6688
6984
  },
6689
6985
  "default": "'md'",
6690
6986
  "description": "Specify the size of a Button",
6691
- "fieldName": "size",
6987
+ "attribute": "size",
6692
6988
  "inheritedFrom": {
6693
6989
  "name": "BmButton",
6694
6990
  "module": "libs/web-components/src/lib/Button/Button.ts"
6695
6991
  }
6696
6992
  },
6697
6993
  {
6698
- "name": "disabled",
6994
+ "kind": "field",
6995
+ "name": "iconOnly",
6699
6996
  "type": {
6700
- "text": "boolean"
6997
+ "text": "boolean | undefined"
6701
6998
  },
6999
+ "description": "Specify if the icon displays without text",
7000
+ "attribute": "iconOnly",
6702
7001
  "default": "false",
6703
- "description": "Specify if the Button is disabled",
6704
- "fieldName": "disabled",
6705
7002
  "inheritedFrom": {
6706
7003
  "name": "BmButton",
6707
7004
  "module": "libs/web-components/src/lib/Button/Button.ts"
6708
7005
  }
6709
7006
  },
6710
7007
  {
6711
- "name": "fluid",
7008
+ "kind": "field",
7009
+ "name": "iconBefore",
7010
+ "default": "unsafeSVG(Upload)"
7011
+ },
7012
+ {
7013
+ "kind": "field",
7014
+ "name": "formAssociated",
6712
7015
  "type": {
6713
7016
  "text": "boolean"
6714
7017
  },
6715
- "default": "false",
6716
- "description": "Specify if Button is fluid",
6717
- "fieldName": "fluid",
7018
+ "static": true,
7019
+ "default": "true",
7020
+ "inheritedFrom": {
7021
+ "name": "BmButton",
7022
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7023
+ }
7024
+ },
7025
+ {
7026
+ "kind": "field",
7027
+ "name": "disabled",
7028
+ "type": {
7029
+ "text": "boolean"
7030
+ },
7031
+ "default": "false",
7032
+ "description": "Specify if the Button is disabled",
7033
+ "attribute": "disabled",
7034
+ "inheritedFrom": {
7035
+ "name": "BmButton",
7036
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7037
+ }
7038
+ },
7039
+ {
7040
+ "kind": "field",
7041
+ "name": "fluid",
7042
+ "type": {
7043
+ "text": "boolean"
7044
+ },
7045
+ "default": "false",
7046
+ "description": "Specify if Button is fluid",
7047
+ "attribute": "fluid",
7048
+ "inheritedFrom": {
7049
+ "name": "BmButton",
7050
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7051
+ }
7052
+ },
7053
+ {
7054
+ "kind": "field",
7055
+ "name": "width",
7056
+ "type": {
7057
+ "text": "string | undefined"
7058
+ },
7059
+ "description": "Specify the width of a Button",
7060
+ "attribute": "width",
7061
+ "inheritedFrom": {
7062
+ "name": "BmButton",
7063
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7064
+ }
7065
+ },
7066
+ {
7067
+ "kind": "field",
7068
+ "name": "height",
7069
+ "type": {
7070
+ "text": "string | undefined"
7071
+ },
7072
+ "description": "Specify the height of a Button",
7073
+ "attribute": "height",
7074
+ "inheritedFrom": {
7075
+ "name": "BmButton",
7076
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7077
+ }
7078
+ },
7079
+ {
7080
+ "kind": "field",
7081
+ "name": "theme",
7082
+ "type": {
7083
+ "text": "'light' | 'dark' | undefined"
7084
+ },
7085
+ "description": "Specify the theme of the Button",
7086
+ "attribute": "theme",
7087
+ "inheritedFrom": {
7088
+ "name": "BmButton",
7089
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7090
+ }
7091
+ },
7092
+ {
7093
+ "kind": "field",
7094
+ "name": "type",
7095
+ "type": {
7096
+ "text": "string"
7097
+ },
7098
+ "default": "'button'",
7099
+ "attribute": "type",
7100
+ "inheritedFrom": {
7101
+ "name": "BmButton",
7102
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7103
+ }
7104
+ },
7105
+ {
7106
+ "kind": "field",
7107
+ "name": "formContext",
7108
+ "type": {
7109
+ "text": "BmFormContext"
7110
+ },
7111
+ "inheritedFrom": {
7112
+ "name": "BmButton",
7113
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7114
+ }
7115
+ }
7116
+ ],
7117
+ "attributes": [
7118
+ {
7119
+ "name": "error",
7120
+ "type": {
7121
+ "text": "boolean | undefined"
7122
+ },
7123
+ "description": "Specify if FileUpload is in error state",
7124
+ "fieldName": "error"
7125
+ },
7126
+ {
7127
+ "name": "accept",
7128
+ "type": {
7129
+ "text": "string | undefined"
7130
+ },
7131
+ "description": "Specify the accepted file types",
7132
+ "fieldName": "accept"
7133
+ },
7134
+ {
7135
+ "name": "multiple",
7136
+ "type": {
7137
+ "text": "boolean | undefined"
7138
+ },
7139
+ "description": "Specify if multiple files can be uploaded",
7140
+ "fieldName": "multiple"
7141
+ },
7142
+ {
7143
+ "name": "appearance",
7144
+ "type": {
7145
+ "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
7146
+ },
7147
+ "default": "'accent'",
7148
+ "description": "Specify the appearance of a Button",
7149
+ "fieldName": "appearance",
7150
+ "inheritedFrom": {
7151
+ "name": "BmButton",
7152
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7153
+ }
7154
+ },
7155
+ {
7156
+ "name": "kind",
7157
+ "type": {
7158
+ "text": "'filled' | 'outline' | 'ghost' | 'bare'"
7159
+ },
7160
+ "default": "'filled'",
7161
+ "description": "Specify the kind of Button",
7162
+ "fieldName": "kind",
7163
+ "inheritedFrom": {
7164
+ "name": "BmButton",
7165
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7166
+ }
7167
+ },
7168
+ {
7169
+ "name": "size",
7170
+ "type": {
7171
+ "text": "'sm' | 'md' | 'lg'"
7172
+ },
7173
+ "default": "'md'",
7174
+ "description": "Specify the size of a Button",
7175
+ "fieldName": "size",
7176
+ "inheritedFrom": {
7177
+ "name": "BmButton",
7178
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7179
+ }
7180
+ },
7181
+ {
7182
+ "name": "disabled",
7183
+ "type": {
7184
+ "text": "boolean"
7185
+ },
7186
+ "default": "false",
7187
+ "description": "Specify if the Button is disabled",
7188
+ "fieldName": "disabled",
7189
+ "inheritedFrom": {
7190
+ "name": "BmButton",
7191
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7192
+ }
7193
+ },
7194
+ {
7195
+ "name": "fluid",
7196
+ "type": {
7197
+ "text": "boolean"
7198
+ },
7199
+ "default": "false",
7200
+ "description": "Specify if Button is fluid",
7201
+ "fieldName": "fluid",
6718
7202
  "inheritedFrom": {
6719
7203
  "name": "BmButton",
6720
7204
  "module": "libs/web-components/src/lib/Button/Button.ts"
@@ -7372,591 +7856,50 @@
7372
7856
  },
7373
7857
  {
7374
7858
  "kind": "field",
7375
- "name": "fileLimit",
7376
- "type": {
7377
- "text": "number | undefined"
7378
- },
7379
- "description": "Specify how many files can be uploaded",
7380
- "attribute": "fileLimit"
7381
- },
7382
- {
7383
- "kind": "field",
7384
- "name": "maxFileSize",
7385
- "type": {
7386
- "text": "number | undefined"
7387
- },
7388
- "description": "Specify the maximum file size that can be uploaded",
7389
- "attribute": "maxFileSize"
7390
- },
7391
- {
7392
- "kind": "field",
7393
- "name": "required",
7394
- "type": {
7395
- "text": "boolean | undefined"
7396
- },
7397
- "description": "Specify if FileUpload is a required input",
7398
- "default": "false",
7399
- "attribute": "required"
7400
- },
7401
- {
7402
- "kind": "field",
7403
- "name": "readOnly",
7404
- "type": {
7405
- "text": "boolean | undefined"
7406
- },
7407
- "description": "Specify if FileUpload is in read-only state",
7408
- "attribute": "readOnly"
7409
- },
7410
- {
7411
- "kind": "field",
7412
- "name": "hideRequiredMarker",
7413
- "type": {
7414
- "text": "boolean | undefined"
7415
- },
7416
- "description": "Specify if FileUpload displays with an asterisk",
7417
- "default": "false",
7418
- "attribute": "hideRequiredMarker"
7419
- },
7420
- {
7421
- "kind": "field",
7422
- "name": "validationRules",
7423
- "type": {
7424
- "text": "Array<FormValidator>"
7425
- },
7426
- "default": "[]",
7427
- "attribute": "validationRules",
7428
- "description": "Specify form validation rules for FileUpload",
7429
- "inheritedFrom": {
7430
- "name": "FormField",
7431
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7432
- }
7433
- },
7434
- {
7435
- "kind": "field",
7436
- "name": "fluid",
7437
- "type": {
7438
- "text": "boolean | undefined"
7439
- },
7440
- "description": "Specify if FileUpload is fluid",
7441
- "default": "false",
7442
- "attribute": "fluid"
7443
- },
7444
- {
7445
- "kind": "field",
7446
- "name": "width",
7447
- "type": {
7448
- "text": "string | undefined"
7449
- },
7450
- "description": "Specify the width of FileUpload",
7451
- "attribute": "width"
7452
- },
7453
- {
7454
- "kind": "field",
7455
- "name": "theme",
7456
- "type": {
7457
- "text": "'light' | 'dark' | undefined"
7458
- },
7459
- "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
7460
- "attribute": "theme"
7461
- },
7462
- {
7463
- "kind": "field",
7464
- "name": "formContext",
7465
- "type": {
7466
- "text": "BmFormContext"
7467
- },
7468
- "inheritedFrom": {
7469
- "name": "FormField",
7470
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7471
- }
7472
- },
7473
- {
7474
- "kind": "field",
7475
- "name": "pickerRef"
7476
- },
7477
- {
7478
- "kind": "method",
7479
- "name": "formAssociatedCallback",
7480
- "return": {
7481
- "type": {
7482
- "text": "void"
7483
- }
7484
- },
7485
- "inheritedFrom": {
7486
- "name": "FormField",
7487
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7488
- }
7489
- },
7490
- {
7491
- "kind": "method",
7492
- "name": "formResetCallback",
7493
- "return": {
7494
- "type": {
7495
- "text": "void"
7496
- }
7497
- },
7498
- "inheritedFrom": {
7499
- "name": "FormField",
7500
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7501
- }
7502
- },
7503
- {
7504
- "kind": "field",
7505
- "name": "formAssociated",
7506
- "type": {
7507
- "text": "boolean"
7508
- },
7509
- "static": true,
7510
- "default": "true",
7511
- "inheritedFrom": {
7512
- "name": "FormField",
7513
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7514
- }
7515
- },
7516
- {
7517
- "kind": "field",
7518
- "name": "id",
7519
- "type": {
7520
- "text": "string"
7521
- },
7522
- "default": "''",
7523
- "attribute": "id",
7524
- "inheritedFrom": {
7525
- "name": "FormField",
7526
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7527
- }
7528
- },
7529
- {
7530
- "kind": "field",
7531
- "name": "name",
7532
- "type": {
7533
- "text": "string"
7534
- },
7535
- "default": "''",
7536
- "attribute": "name",
7537
- "inheritedFrom": {
7538
- "name": "FormField",
7539
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7540
- }
7541
- },
7542
- {
7543
- "kind": "field",
7544
- "name": "value",
7545
- "type": {
7546
- "text": "string"
7547
- },
7548
- "default": "''",
7549
- "attribute": "value",
7550
- "inheritedFrom": {
7551
- "name": "FormField",
7552
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7553
- }
7554
- },
7555
- {
7556
- "kind": "field",
7557
- "name": "inputAriaLabel",
7558
- "type": {
7559
- "text": "string | undefined"
7560
- },
7561
- "attribute": "input-aria-label",
7562
- "inheritedFrom": {
7563
- "name": "FormField",
7564
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7565
- }
7566
- },
7567
- {
7568
- "kind": "method",
7569
- "name": "finalizeAssociatedCallback",
7570
- "return": {
7571
- "type": {
7572
- "text": "FinalizeAssociatedResult"
7573
- }
7574
- },
7575
- "parameters": [
7576
- {
7577
- "name": "ctxValue",
7578
- "type": {
7579
- "text": "string"
7580
- }
7581
- }
7582
- ],
7583
- "inheritedFrom": {
7584
- "name": "FormField",
7585
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7586
- }
7587
- }
7588
- ],
7589
- "events": [
7590
- {
7591
- "description": "Dispatched when a file is uploaded. Preventing default on this event will make upload asynchronous",
7592
- "name": "bm-selected"
7593
- }
7594
- ],
7595
- "attributes": [
7596
- {
7597
- "name": "accept",
7598
- "type": {
7599
- "text": "string | undefined"
7600
- },
7601
- "description": "Specify what types of files can be uploaded",
7602
- "fieldName": "accept"
7603
- },
7604
- {
7605
- "name": "error",
7606
- "type": {
7607
- "text": "string | boolean | undefined"
7608
- },
7609
- "description": "Specify error text and display error state of FileUpload",
7610
- "fieldName": "error"
7611
- },
7612
- {
7613
- "name": "disabled",
7614
- "type": {
7615
- "text": "boolean | undefined"
7616
- },
7617
- "default": "false",
7618
- "description": "Specify if FileUpload is in disabled state",
7619
- "fieldName": "disabled"
7620
- },
7621
- {
7622
- "name": "multiple",
7623
- "type": {
7624
- "text": "boolean | undefined"
7625
- },
7626
- "description": "Specify if more than one file can be can be uploaded",
7627
- "default": "false",
7628
- "fieldName": "multiple"
7629
- },
7630
- {
7631
- "name": "fileLimit",
7632
- "type": {
7633
- "text": "number | undefined"
7634
- },
7635
- "description": "Specify how many files can be uploaded",
7636
- "fieldName": "fileLimit"
7637
- },
7638
- {
7639
- "name": "maxFileSize",
7640
- "type": {
7641
- "text": "number | undefined"
7642
- },
7643
- "description": "Specify the maximum file size that can be uploaded",
7644
- "fieldName": "maxFileSize"
7645
- },
7646
- {
7647
- "name": "required",
7648
- "type": {
7649
- "text": "boolean | undefined"
7650
- },
7651
- "description": "Specify if FileUpload is a required input",
7652
- "default": "false",
7653
- "fieldName": "required"
7654
- },
7655
- {
7656
- "name": "readOnly",
7657
- "type": {
7658
- "text": "boolean | undefined"
7659
- },
7660
- "description": "Specify if FileUpload is in read-only state",
7661
- "fieldName": "readOnly"
7662
- },
7663
- {
7664
- "name": "hideRequiredMarker",
7665
- "type": {
7666
- "text": "boolean | undefined"
7667
- },
7668
- "description": "Specify if FileUpload displays with an asterisk",
7669
- "default": "false",
7670
- "fieldName": "hideRequiredMarker"
7671
- },
7672
- {
7673
- "name": "validationRules",
7674
- "type": {
7675
- "text": "Array<FormValidator>"
7676
- },
7677
- "default": "[]",
7678
- "fieldName": "validationRules",
7679
- "description": "Specify form validation rules for FileUpload",
7680
- "inheritedFrom": {
7681
- "name": "FormField",
7682
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7683
- }
7684
- },
7685
- {
7686
- "name": "fluid",
7687
- "type": {
7688
- "text": "boolean | undefined"
7689
- },
7690
- "description": "Specify if FileUpload is fluid",
7691
- "default": "false",
7692
- "fieldName": "fluid"
7693
- },
7694
- {
7695
- "name": "width",
7696
- "type": {
7697
- "text": "string | undefined"
7698
- },
7699
- "description": "Specify the width of FileUpload",
7700
- "fieldName": "width"
7701
- },
7702
- {
7703
- "name": "theme",
7704
- "type": {
7705
- "text": "'light' | 'dark' | undefined"
7706
- },
7707
- "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
7708
- "fieldName": "theme"
7709
- },
7710
- {
7711
- "name": "id",
7712
- "type": {
7713
- "text": "string"
7714
- },
7715
- "default": "''",
7716
- "fieldName": "id",
7717
- "inheritedFrom": {
7718
- "name": "FormField",
7719
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7720
- }
7721
- },
7722
- {
7723
- "name": "name",
7724
- "type": {
7725
- "text": "string"
7726
- },
7727
- "default": "''",
7728
- "fieldName": "name",
7729
- "inheritedFrom": {
7730
- "name": "FormField",
7731
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7732
- }
7733
- },
7734
- {
7735
- "name": "value",
7736
- "type": {
7737
- "text": "string"
7738
- },
7739
- "default": "''",
7740
- "fieldName": "value",
7741
- "inheritedFrom": {
7742
- "name": "FormField",
7743
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7744
- }
7745
- },
7746
- {
7747
- "name": "input-aria-label",
7748
- "type": {
7749
- "text": "string | undefined"
7750
- },
7751
- "fieldName": "inputAriaLabel",
7752
- "inheritedFrom": {
7753
- "name": "FormField",
7754
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7755
- }
7756
- }
7757
- ],
7758
- "superclass": {
7759
- "name": "FormField",
7760
- "module": "/libs/web-components/src/lib/wip/Form/Form.decorator"
7761
- },
7762
- "tagName": "bm-file-upload",
7763
- "customElement": true
7764
- }
7765
- ],
7766
- "exports": [
7767
- {
7768
- "kind": "js",
7769
- "name": "BmFileUploadFileSelectedEvent",
7770
- "declaration": {
7771
- "name": "BmFileUploadFileSelectedEvent",
7772
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
7773
- }
7774
- },
7775
- {
7776
- "kind": "js",
7777
- "name": "BmFileUpload",
7778
- "declaration": {
7779
- "name": "BmFileUpload",
7780
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
7781
- }
7782
- },
7783
- {
7784
- "kind": "custom-element-definition",
7785
- "name": "bm-file-upload",
7786
- "declaration": {
7787
- "name": "BmFileUpload",
7788
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
7789
- }
7790
- }
7791
- ]
7792
- },
7793
- {
7794
- "kind": "javascript-module",
7795
- "path": "libs/web-components/src/lib/wip/FileUpload/FileUploadContext.ts",
7796
- "declarations": [
7797
- {
7798
- "kind": "variable",
7799
- "name": "fileUploadContext"
7800
- }
7801
- ],
7802
- "exports": [
7803
- {
7804
- "kind": "js",
7805
- "name": "fileUploadContext",
7806
- "declaration": {
7807
- "name": "fileUploadContext",
7808
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUploadContext.ts"
7809
- }
7810
- }
7811
- ]
7812
- },
7813
- {
7814
- "kind": "javascript-module",
7815
- "path": "libs/web-components/src/lib/wip/FileUpload/FileUploadListContext.ts",
7816
- "declarations": [
7817
- {
7818
- "kind": "variable",
7819
- "name": "fileUploadListContext"
7820
- }
7821
- ],
7822
- "exports": [
7823
- {
7824
- "kind": "js",
7825
- "name": "fileUploadListContext",
7826
- "declaration": {
7827
- "name": "fileUploadListContext",
7828
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUploadListContext.ts"
7829
- }
7830
- }
7831
- ]
7832
- },
7833
- {
7834
- "kind": "javascript-module",
7835
- "path": "libs/web-components/src/lib/wip/FileUpload/index.ts",
7836
- "declarations": [],
7837
- "exports": [
7838
- {
7839
- "kind": "js",
7840
- "name": "*",
7841
- "declaration": {
7842
- "name": "*",
7843
- "package": "./FileUpload"
7844
- }
7845
- },
7846
- {
7847
- "kind": "js",
7848
- "name": "*",
7849
- "declaration": {
7850
- "name": "*",
7851
- "package": "./FileUpload.Button"
7852
- }
7853
- },
7854
- {
7855
- "kind": "js",
7856
- "name": "*",
7857
- "declaration": {
7858
- "name": "*",
7859
- "package": "./FileUpload.Dropzone"
7860
- }
7861
- },
7862
- {
7863
- "kind": "js",
7864
- "name": "*",
7865
- "declaration": {
7866
- "name": "*",
7867
- "package": "./FileUpload.List"
7868
- }
7869
- },
7870
- {
7871
- "kind": "js",
7872
- "name": "*",
7873
- "declaration": {
7874
- "name": "*",
7875
- "package": "./FileUpload.List.Item"
7876
- }
7877
- }
7878
- ]
7879
- },
7880
- {
7881
- "kind": "javascript-module",
7882
- "path": "libs/web-components/src/lib/wip/Form/Form.context.ts",
7883
- "declarations": [
7884
- {
7885
- "kind": "variable",
7886
- "name": "bmFormInitials",
7887
- "type": {
7888
- "text": "BmFormContext"
7889
- },
7890
- "default": "{ required: false, disabled: false, readOnly: false, initialValues: {}, registerField: () => undefined, formBlurHandler: () => undefined, formChangeHandler: () => undefined, }"
7891
- },
7892
- {
7893
- "kind": "variable",
7894
- "name": "bmFormContext"
7895
- }
7896
- ],
7897
- "exports": [
7898
- {
7899
- "kind": "js",
7900
- "name": "bmFormInitials",
7901
- "declaration": {
7902
- "name": "bmFormInitials",
7903
- "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
7904
- }
7905
- },
7906
- {
7907
- "kind": "js",
7908
- "name": "bmFormContext",
7909
- "declaration": {
7910
- "name": "bmFormContext",
7911
- "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
7912
- }
7913
- }
7914
- ]
7915
- },
7916
- {
7917
- "kind": "javascript-module",
7918
- "path": "libs/web-components/src/lib/wip/Form/Form.decorator.ts",
7919
- "declarations": [
7920
- {
7921
- "kind": "class",
7922
- "description": "### Attributes:\n- **id** \n- **name** \n- **value** \n- **validationRules** \n- **input-aria-label** ",
7923
- "name": "FormField",
7924
- "members": [
7925
- {
7926
- "kind": "field",
7927
- "name": "formAssociated",
7859
+ "name": "fileLimit",
7928
7860
  "type": {
7929
- "text": "boolean"
7861
+ "text": "number | undefined"
7930
7862
  },
7931
- "static": true,
7932
- "default": "true"
7863
+ "description": "Specify how many files can be uploaded",
7864
+ "attribute": "fileLimit"
7933
7865
  },
7934
7866
  {
7935
7867
  "kind": "field",
7936
- "name": "id",
7868
+ "name": "maxFileSize",
7937
7869
  "type": {
7938
- "text": "string"
7870
+ "text": "number | undefined"
7939
7871
  },
7940
- "default": "''",
7941
- "attribute": "id"
7872
+ "description": "Specify the maximum file size that can be uploaded",
7873
+ "attribute": "maxFileSize"
7942
7874
  },
7943
7875
  {
7944
7876
  "kind": "field",
7945
- "name": "name",
7877
+ "name": "required",
7946
7878
  "type": {
7947
- "text": "string"
7879
+ "text": "boolean | undefined"
7948
7880
  },
7949
- "default": "''",
7950
- "attribute": "name"
7881
+ "description": "Specify if FileUpload is a required input",
7882
+ "default": "false",
7883
+ "attribute": "required"
7951
7884
  },
7952
7885
  {
7953
7886
  "kind": "field",
7954
- "name": "value",
7887
+ "name": "readOnly",
7955
7888
  "type": {
7956
- "text": "string"
7889
+ "text": "boolean | undefined"
7957
7890
  },
7958
- "default": "''",
7959
- "attribute": "value"
7891
+ "description": "Specify if FileUpload is in read-only state",
7892
+ "attribute": "readOnly"
7893
+ },
7894
+ {
7895
+ "kind": "field",
7896
+ "name": "hideRequiredMarker",
7897
+ "type": {
7898
+ "text": "boolean | undefined"
7899
+ },
7900
+ "description": "Specify if FileUpload displays with an asterisk",
7901
+ "default": "false",
7902
+ "attribute": "hideRequiredMarker"
7960
7903
  },
7961
7904
  {
7962
7905
  "kind": "field",
@@ -7965,23 +7908,56 @@
7965
7908
  "text": "Array<FormValidator>"
7966
7909
  },
7967
7910
  "default": "[]",
7968
- "attribute": "validationRules"
7911
+ "attribute": "validationRules",
7912
+ "description": "Specify form validation rules for FileUpload",
7913
+ "inheritedFrom": {
7914
+ "name": "FormField",
7915
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7916
+ }
7969
7917
  },
7970
7918
  {
7971
7919
  "kind": "field",
7972
- "name": "inputAriaLabel",
7920
+ "name": "fluid",
7921
+ "type": {
7922
+ "text": "boolean | undefined"
7923
+ },
7924
+ "description": "Specify if FileUpload is fluid",
7925
+ "default": "false",
7926
+ "attribute": "fluid"
7927
+ },
7928
+ {
7929
+ "kind": "field",
7930
+ "name": "width",
7973
7931
  "type": {
7974
7932
  "text": "string | undefined"
7975
7933
  },
7976
- "attribute": "input-aria-label"
7934
+ "description": "Specify the width of FileUpload",
7935
+ "attribute": "width"
7936
+ },
7937
+ {
7938
+ "kind": "field",
7939
+ "name": "theme",
7940
+ "type": {
7941
+ "text": "'light' | 'dark' | undefined"
7942
+ },
7943
+ "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
7944
+ "attribute": "theme"
7977
7945
  },
7978
7946
  {
7979
7947
  "kind": "field",
7980
7948
  "name": "formContext",
7981
7949
  "type": {
7982
7950
  "text": "BmFormContext"
7951
+ },
7952
+ "inheritedFrom": {
7953
+ "name": "FormField",
7954
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7983
7955
  }
7984
7956
  },
7957
+ {
7958
+ "kind": "field",
7959
+ "name": "pickerRef"
7960
+ },
7985
7961
  {
7986
7962
  "kind": "method",
7987
7963
  "name": "formAssociatedCallback",
@@ -7989,6 +7965,10 @@
7989
7965
  "type": {
7990
7966
  "text": "void"
7991
7967
  }
7968
+ },
7969
+ "inheritedFrom": {
7970
+ "name": "FormField",
7971
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7992
7972
  }
7993
7973
  },
7994
7974
  {
@@ -7998,349 +7978,345 @@
7998
7978
  "type": {
7999
7979
  "text": "void"
8000
7980
  }
7981
+ },
7982
+ "inheritedFrom": {
7983
+ "name": "FormField",
7984
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8001
7985
  }
8002
7986
  },
8003
7987
  {
8004
- "kind": "method",
8005
- "name": "finalizeAssociatedCallback",
8006
- "return": {
8007
- "type": {
8008
- "text": "FinalizeAssociatedResult"
8009
- }
7988
+ "kind": "field",
7989
+ "name": "formAssociated",
7990
+ "type": {
7991
+ "text": "boolean"
8010
7992
  },
8011
- "parameters": [
8012
- {
8013
- "name": "ctxValue",
8014
- "type": {
8015
- "text": "string"
8016
- }
8017
- }
8018
- ]
8019
- }
8020
- ],
8021
- "attributes": [
7993
+ "static": true,
7994
+ "default": "true",
7995
+ "inheritedFrom": {
7996
+ "name": "FormField",
7997
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7998
+ }
7999
+ },
8022
8000
  {
8001
+ "kind": "field",
8023
8002
  "name": "id",
8024
8003
  "type": {
8025
8004
  "text": "string"
8026
8005
  },
8027
8006
  "default": "''",
8028
- "fieldName": "id"
8007
+ "attribute": "id",
8008
+ "inheritedFrom": {
8009
+ "name": "FormField",
8010
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8011
+ }
8029
8012
  },
8030
8013
  {
8014
+ "kind": "field",
8031
8015
  "name": "name",
8032
8016
  "type": {
8033
8017
  "text": "string"
8034
8018
  },
8035
8019
  "default": "''",
8036
- "fieldName": "name"
8020
+ "attribute": "name",
8021
+ "inheritedFrom": {
8022
+ "name": "FormField",
8023
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8024
+ }
8037
8025
  },
8038
8026
  {
8027
+ "kind": "field",
8039
8028
  "name": "value",
8040
8029
  "type": {
8041
8030
  "text": "string"
8042
8031
  },
8043
8032
  "default": "''",
8044
- "fieldName": "value"
8033
+ "attribute": "value",
8034
+ "inheritedFrom": {
8035
+ "name": "FormField",
8036
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8037
+ }
8045
8038
  },
8046
8039
  {
8047
- "name": "validationRules",
8040
+ "kind": "field",
8041
+ "name": "inputAriaLabel",
8048
8042
  "type": {
8049
- "text": "Array<FormValidator>"
8043
+ "text": "string | undefined"
8050
8044
  },
8051
- "default": "[]",
8052
- "fieldName": "validationRules"
8045
+ "attribute": "input-aria-label",
8046
+ "inheritedFrom": {
8047
+ "name": "FormField",
8048
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8049
+ }
8053
8050
  },
8054
8051
  {
8055
- "name": "input-aria-label",
8056
- "type": {
8057
- "text": "string | undefined"
8052
+ "kind": "method",
8053
+ "name": "finalizeAssociatedCallback",
8054
+ "return": {
8055
+ "type": {
8056
+ "text": "FinalizeAssociatedResult"
8057
+ }
8058
8058
  },
8059
- "fieldName": "inputAriaLabel"
8059
+ "parameters": [
8060
+ {
8061
+ "name": "ctxValue",
8062
+ "type": {
8063
+ "text": "string"
8064
+ }
8065
+ }
8066
+ ],
8067
+ "inheritedFrom": {
8068
+ "name": "FormField",
8069
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8070
+ }
8060
8071
  }
8061
8072
  ],
8062
- "superclass": {
8063
- "name": "LitElement",
8064
- "package": "lit"
8065
- },
8066
- "customElement": true
8067
- }
8068
- ],
8069
- "exports": [
8070
- {
8071
- "kind": "js",
8072
- "name": "FormField",
8073
- "declaration": {
8074
- "name": "FormField",
8075
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8076
- }
8077
- }
8078
- ]
8079
- },
8080
- {
8081
- "kind": "javascript-module",
8082
- "path": "libs/web-components/src/lib/wip/Form/Form.ts",
8083
- "declarations": [
8084
- {
8085
- "kind": "class",
8086
- "description": "### Attributes:\n- **validationMode** - Specify if validation runs on change or when loosing focus\n- **initialValues** - Specify initial values on Form controls based on their names\n- **required** - Specify if input is a required\n- **disabled** - Specify if input is a disabled\n- **readOnly** - Specify if input is a read only\n- **action** \n- **method** \n- **target** \n- **enctype** ",
8087
- "name": "BmForm",
8088
- "slots": [
8073
+ "events": [
8089
8074
  {
8090
- "description": "Add controls to the Form",
8091
- "name": "slot"
8075
+ "description": "Dispatched when a file is uploaded. Preventing default on this event will make upload asynchronous",
8076
+ "name": "bm-selected"
8092
8077
  }
8093
8078
  ],
8094
- "members": [
8095
- {
8096
- "kind": "field",
8097
- "name": "validationMode",
8098
- "type": {
8099
- "text": "'onChange' | 'onBlur' | 'onSubmit'"
8100
- },
8101
- "default": "'onBlur'",
8102
- "description": "Specify if validation runs on change or when loosing focus",
8103
- "attribute": "validationMode"
8104
- },
8105
- {
8106
- "kind": "field",
8107
- "name": "initialValues",
8108
- "type": {
8109
- "text": "Record<string, FormValue>"
8110
- },
8111
- "default": "{}",
8112
- "description": "Specify initial values on Form controls based on their names",
8113
- "attribute": "initialValues"
8114
- },
8115
- {
8116
- "kind": "field",
8117
- "name": "required",
8118
- "type": {
8119
- "text": "boolean"
8120
- },
8121
- "default": "false",
8122
- "description": "Specify if input is a required",
8123
- "attribute": "required"
8124
- },
8125
- {
8126
- "kind": "field",
8127
- "name": "disabled",
8128
- "type": {
8129
- "text": "boolean"
8130
- },
8131
- "default": "false",
8132
- "description": "Specify if input is a disabled",
8133
- "attribute": "disabled"
8134
- },
8135
- {
8136
- "kind": "field",
8137
- "name": "readOnly",
8138
- "type": {
8139
- "text": "boolean"
8140
- },
8141
- "default": "false",
8142
- "description": "Specify if input is a read only",
8143
- "attribute": "readOnly"
8144
- },
8079
+ "attributes": [
8145
8080
  {
8146
- "kind": "field",
8147
- "name": "action",
8081
+ "name": "accept",
8148
8082
  "type": {
8149
8083
  "text": "string | undefined"
8150
8084
  },
8151
- "attribute": "action"
8085
+ "description": "Specify what types of files can be uploaded",
8086
+ "fieldName": "accept"
8152
8087
  },
8153
8088
  {
8154
- "kind": "field",
8155
- "name": "method",
8089
+ "name": "error",
8156
8090
  "type": {
8157
- "text": "string | undefined"
8091
+ "text": "string | boolean | undefined"
8158
8092
  },
8159
- "attribute": "method"
8093
+ "description": "Specify error text and display error state of FileUpload",
8094
+ "fieldName": "error"
8160
8095
  },
8161
8096
  {
8162
- "kind": "field",
8163
- "name": "target",
8097
+ "name": "disabled",
8164
8098
  "type": {
8165
- "text": "string | undefined"
8099
+ "text": "boolean | undefined"
8166
8100
  },
8167
- "attribute": "target"
8101
+ "default": "false",
8102
+ "description": "Specify if FileUpload is in disabled state",
8103
+ "fieldName": "disabled"
8168
8104
  },
8169
8105
  {
8170
- "kind": "field",
8171
- "name": "enctype",
8106
+ "name": "multiple",
8172
8107
  "type": {
8173
- "text": "string | undefined"
8108
+ "text": "boolean | undefined"
8174
8109
  },
8175
- "attribute": "enctype"
8110
+ "description": "Specify if more than one file can be can be uploaded",
8111
+ "default": "false",
8112
+ "fieldName": "multiple"
8176
8113
  },
8177
8114
  {
8178
- "kind": "field",
8179
- "name": "formMeta",
8115
+ "name": "fileLimit",
8180
8116
  "type": {
8181
- "text": "Record<string, FieldMeta>"
8117
+ "text": "number | undefined"
8182
8118
  },
8183
- "default": "{}"
8119
+ "description": "Specify how many files can be uploaded",
8120
+ "fieldName": "fileLimit"
8184
8121
  },
8185
8122
  {
8186
- "kind": "field",
8187
- "name": "formRef"
8123
+ "name": "maxFileSize",
8124
+ "type": {
8125
+ "text": "number | undefined"
8126
+ },
8127
+ "description": "Specify the maximum file size that can be uploaded",
8128
+ "fieldName": "maxFileSize"
8188
8129
  },
8189
8130
  {
8190
- "kind": "field",
8191
- "name": "formContext",
8131
+ "name": "required",
8192
8132
  "type": {
8193
- "text": "BmFormContext"
8133
+ "text": "boolean | undefined"
8194
8134
  },
8195
- "privacy": "public",
8196
- "default": "bmFormInitials"
8197
- }
8198
- ],
8199
- "events": [
8135
+ "description": "Specify if FileUpload is a required input",
8136
+ "default": "false",
8137
+ "fieldName": "required"
8138
+ },
8200
8139
  {
8201
- "description": "Validates the inputs and submits the form",
8202
- "name": "submit"
8203
- }
8204
- ],
8205
- "attributes": [
8140
+ "name": "readOnly",
8141
+ "type": {
8142
+ "text": "boolean | undefined"
8143
+ },
8144
+ "description": "Specify if FileUpload is in read-only state",
8145
+ "fieldName": "readOnly"
8146
+ },
8206
8147
  {
8207
- "name": "validationMode",
8148
+ "name": "hideRequiredMarker",
8208
8149
  "type": {
8209
- "text": "'onChange' | 'onBlur' | 'onSubmit'"
8150
+ "text": "boolean | undefined"
8210
8151
  },
8211
- "default": "'onBlur'",
8212
- "description": "Specify if validation runs on change or when loosing focus",
8213
- "fieldName": "validationMode"
8152
+ "description": "Specify if FileUpload displays with an asterisk",
8153
+ "default": "false",
8154
+ "fieldName": "hideRequiredMarker"
8214
8155
  },
8215
8156
  {
8216
- "name": "initialValues",
8157
+ "name": "validationRules",
8217
8158
  "type": {
8218
- "text": "Record<string, FormValue>"
8159
+ "text": "Array<FormValidator>"
8219
8160
  },
8220
- "default": "{}",
8221
- "description": "Specify initial values on Form controls based on their names",
8222
- "fieldName": "initialValues"
8161
+ "default": "[]",
8162
+ "fieldName": "validationRules",
8163
+ "description": "Specify form validation rules for FileUpload",
8164
+ "inheritedFrom": {
8165
+ "name": "FormField",
8166
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8167
+ }
8223
8168
  },
8224
8169
  {
8225
- "name": "required",
8170
+ "name": "fluid",
8226
8171
  "type": {
8227
- "text": "boolean"
8172
+ "text": "boolean | undefined"
8228
8173
  },
8174
+ "description": "Specify if FileUpload is fluid",
8229
8175
  "default": "false",
8230
- "description": "Specify if input is a required",
8231
- "fieldName": "required"
8176
+ "fieldName": "fluid"
8232
8177
  },
8233
8178
  {
8234
- "name": "disabled",
8179
+ "name": "width",
8235
8180
  "type": {
8236
- "text": "boolean"
8181
+ "text": "string | undefined"
8237
8182
  },
8238
- "default": "false",
8239
- "description": "Specify if input is a disabled",
8240
- "fieldName": "disabled"
8183
+ "description": "Specify the width of FileUpload",
8184
+ "fieldName": "width"
8241
8185
  },
8242
8186
  {
8243
- "name": "readOnly",
8187
+ "name": "theme",
8244
8188
  "type": {
8245
- "text": "boolean"
8189
+ "text": "'light' | 'dark' | undefined"
8246
8190
  },
8247
- "default": "false",
8248
- "description": "Specify if input is a read only",
8249
- "fieldName": "readOnly"
8191
+ "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
8192
+ "fieldName": "theme"
8250
8193
  },
8251
8194
  {
8252
- "name": "action",
8195
+ "name": "id",
8253
8196
  "type": {
8254
- "text": "string | undefined"
8197
+ "text": "string"
8255
8198
  },
8256
- "fieldName": "action"
8199
+ "default": "''",
8200
+ "fieldName": "id",
8201
+ "inheritedFrom": {
8202
+ "name": "FormField",
8203
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8204
+ }
8257
8205
  },
8258
8206
  {
8259
- "name": "method",
8207
+ "name": "name",
8260
8208
  "type": {
8261
- "text": "string | undefined"
8209
+ "text": "string"
8262
8210
  },
8263
- "fieldName": "method"
8211
+ "default": "''",
8212
+ "fieldName": "name",
8213
+ "inheritedFrom": {
8214
+ "name": "FormField",
8215
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8216
+ }
8264
8217
  },
8265
8218
  {
8266
- "name": "target",
8219
+ "name": "value",
8267
8220
  "type": {
8268
- "text": "string | undefined"
8221
+ "text": "string"
8269
8222
  },
8270
- "fieldName": "target"
8223
+ "default": "''",
8224
+ "fieldName": "value",
8225
+ "inheritedFrom": {
8226
+ "name": "FormField",
8227
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8228
+ }
8271
8229
  },
8272
8230
  {
8273
- "name": "enctype",
8231
+ "name": "input-aria-label",
8274
8232
  "type": {
8275
8233
  "text": "string | undefined"
8276
8234
  },
8277
- "fieldName": "enctype"
8235
+ "fieldName": "inputAriaLabel",
8236
+ "inheritedFrom": {
8237
+ "name": "FormField",
8238
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8239
+ }
8278
8240
  }
8279
8241
  ],
8280
8242
  "superclass": {
8281
- "name": "LitElement",
8282
- "package": "lit"
8243
+ "name": "FormField",
8244
+ "module": "/libs/web-components/src/lib/wip/Form/Form.decorator"
8283
8245
  },
8284
- "summary": "`bm-form`",
8285
- "tagName": "bm-form",
8246
+ "tagName": "bm-file-upload",
8286
8247
  "customElement": true
8287
8248
  }
8288
8249
  ],
8289
8250
  "exports": [
8290
8251
  {
8291
8252
  "kind": "js",
8292
- "name": "validators",
8253
+ "name": "BmFileUploadFileSelectedEvent",
8293
8254
  "declaration": {
8294
- "name": "validators",
8295
- "package": "@viasat/beam-shared/components/form"
8255
+ "name": "BmFileUploadFileSelectedEvent",
8256
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
8296
8257
  }
8297
8258
  },
8298
8259
  {
8299
8260
  "kind": "js",
8300
- "name": "BmForm",
8261
+ "name": "BmFileUpload",
8301
8262
  "declaration": {
8302
- "name": "BmForm",
8303
- "module": "libs/web-components/src/lib/wip/Form/Form.ts"
8263
+ "name": "BmFileUpload",
8264
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
8304
8265
  }
8305
8266
  },
8306
8267
  {
8307
8268
  "kind": "custom-element-definition",
8308
- "name": "bm-form",
8269
+ "name": "bm-file-upload",
8309
8270
  "declaration": {
8310
- "name": "BmForm",
8311
- "module": "libs/web-components/src/lib/wip/Form/Form.ts"
8271
+ "name": "BmFileUpload",
8272
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
8312
8273
  }
8313
8274
  }
8314
8275
  ]
8315
8276
  },
8316
8277
  {
8317
8278
  "kind": "javascript-module",
8318
- "path": "libs/web-components/src/lib/wip/Form/Form.utils.ts",
8279
+ "path": "libs/web-components/src/lib/wip/FileUpload/FileUploadContext.ts",
8319
8280
  "declarations": [
8320
8281
  {
8321
- "kind": "function",
8322
- "name": "createId",
8323
- "return": {
8324
- "type": {
8325
- "text": "string"
8326
- }
8282
+ "kind": "variable",
8283
+ "name": "fileUploadContext"
8284
+ }
8285
+ ],
8286
+ "exports": [
8287
+ {
8288
+ "kind": "js",
8289
+ "name": "fileUploadContext",
8290
+ "declaration": {
8291
+ "name": "fileUploadContext",
8292
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUploadContext.ts"
8327
8293
  }
8328
8294
  }
8295
+ ]
8296
+ },
8297
+ {
8298
+ "kind": "javascript-module",
8299
+ "path": "libs/web-components/src/lib/wip/FileUpload/FileUploadListContext.ts",
8300
+ "declarations": [
8301
+ {
8302
+ "kind": "variable",
8303
+ "name": "fileUploadListContext"
8304
+ }
8329
8305
  ],
8330
8306
  "exports": [
8331
8307
  {
8332
8308
  "kind": "js",
8333
- "name": "createId",
8309
+ "name": "fileUploadListContext",
8334
8310
  "declaration": {
8335
- "name": "createId",
8336
- "module": "libs/web-components/src/lib/wip/Form/Form.utils.ts"
8311
+ "name": "fileUploadListContext",
8312
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUploadListContext.ts"
8337
8313
  }
8338
8314
  }
8339
8315
  ]
8340
8316
  },
8341
8317
  {
8342
8318
  "kind": "javascript-module",
8343
- "path": "libs/web-components/src/lib/wip/Form/index.ts",
8319
+ "path": "libs/web-components/src/lib/wip/FileUpload/index.ts",
8344
8320
  "declarations": [],
8345
8321
  "exports": [
8346
8322
  {
@@ -8348,7 +8324,7 @@
8348
8324
  "name": "*",
8349
8325
  "declaration": {
8350
8326
  "name": "*",
8351
- "package": "./Form"
8327
+ "package": "./FileUpload"
8352
8328
  }
8353
8329
  },
8354
8330
  {
@@ -8356,7 +8332,31 @@
8356
8332
  "name": "*",
8357
8333
  "declaration": {
8358
8334
  "name": "*",
8359
- "package": "./Form.decorator"
8335
+ "package": "./FileUpload.Button"
8336
+ }
8337
+ },
8338
+ {
8339
+ "kind": "js",
8340
+ "name": "*",
8341
+ "declaration": {
8342
+ "name": "*",
8343
+ "package": "./FileUpload.Dropzone"
8344
+ }
8345
+ },
8346
+ {
8347
+ "kind": "js",
8348
+ "name": "*",
8349
+ "declaration": {
8350
+ "name": "*",
8351
+ "package": "./FileUpload.List"
8352
+ }
8353
+ },
8354
+ {
8355
+ "kind": "js",
8356
+ "name": "*",
8357
+ "declaration": {
8358
+ "name": "*",
8359
+ "package": "./FileUpload.List.Item"
8360
8360
  }
8361
8361
  }
8362
8362
  ]