@viasat/beam-web-components 2.55.0 → 2.55.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -294,147 +294,273 @@
294
294
  },
295
295
  {
296
296
  "kind": "javascript-module",
297
- "path": "libs/web-components/src/lib/Badge/Badge.ts",
297
+ "path": "libs/web-components/src/lib/Alert/Alert.ts",
298
298
  "declarations": [
299
299
  {
300
300
  "kind": "class",
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",
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",
303
303
  "slots": [
304
304
  {
305
- "description": "Provide text for the Badge",
306
- "name": "default"
305
+ "description": "Specify a different icon for the Alert",
306
+ "name": "icon"
307
307
  },
308
308
  {
309
- "description": "Specify a different icon for the Badge",
310
- "name": "icon"
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"
315
+ },
316
+ {
317
+ "description": "Specify if actions display on the Alert",
318
+ "name": "actions"
311
319
  }
312
320
  ],
313
321
  "members": [
314
322
  {
315
323
  "kind": "field",
316
- "name": "appearance",
324
+ "name": "heading",
317
325
  "type": {
318
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
326
+ "text": "string | undefined"
319
327
  },
320
- "default": "'infoPrimary'",
321
- "description": "Specify the appearance of the Badge",
322
- "attribute": "appearance"
328
+ "description": "Specify the heading text for Alert",
329
+ "attribute": "heading"
323
330
  },
324
331
  {
325
332
  "kind": "field",
326
- "name": "theme",
333
+ "name": "body",
327
334
  "type": {
328
- "text": "'light' | 'dark' | undefined"
335
+ "text": "string | undefined"
329
336
  },
330
- "description": "Theme of the Badge",
331
- "attribute": "theme"
337
+ "description": "Specify the body text for Alert",
338
+ "attribute": "body"
332
339
  },
333
340
  {
334
341
  "kind": "field",
335
342
  "name": "size",
336
343
  "type": {
337
- "text": "'sm' | 'md' | undefined"
344
+ "text": "'sm' | 'md'"
338
345
  },
339
346
  "default": "'sm'",
340
- "description": "Specify the size of the Badge",
347
+ "description": "Specify the size of the Alert",
341
348
  "attribute": "size"
342
349
  },
343
350
  {
344
351
  "kind": "field",
345
- "name": "emphasis",
352
+ "name": "fullWidth",
346
353
  "type": {
347
- "text": "'strong' | 'medium' | 'subtle'"
354
+ "text": "boolean"
348
355
  },
349
- "default": "'strong'",
350
- "description": "Specify the emphasis of the Badge",
351
- "attribute": "emphasis"
356
+ "default": "false",
357
+ "description": "Specify if the Alert has no border radius",
358
+ "attribute": "fullWidth"
359
+ },
360
+ {
361
+ "kind": "field",
362
+ "name": "theme",
363
+ "type": {
364
+ "text": "'light' | 'dark' | undefined"
365
+ },
366
+ "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
367
+ "attribute": "theme"
368
+ },
369
+ {
370
+ "kind": "field",
371
+ "name": "appearance",
372
+ "type": {
373
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
374
+ },
375
+ "default": "'infoPrimary'",
376
+ "description": "Specify the appearance of the Alert",
377
+ "attribute": "appearance"
378
+ },
379
+ {
380
+ "kind": "field",
381
+ "name": "hidden",
382
+ "type": {
383
+ "text": "boolean"
384
+ },
385
+ "default": "false",
386
+ "description": "Specify if the Alert is hidden",
387
+ "attribute": "hidden"
352
388
  },
353
389
  {
354
390
  "kind": "field",
355
391
  "name": "hideIcon",
356
392
  "type": {
357
- "text": "boolean | undefined"
393
+ "text": "boolean"
358
394
  },
359
- "description": "Hides Badge icon",
395
+ "default": "false",
396
+ "description": "Specify if the icon displays on the Alert",
360
397
  "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"
361
434
  }
362
435
  ],
363
436
  "attributes": [
364
437
  {
365
- "name": "appearance",
438
+ "name": "heading",
366
439
  "type": {
367
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
440
+ "text": "string | undefined"
368
441
  },
369
- "default": "'infoPrimary'",
370
- "description": "Specify the appearance of the Badge",
371
- "fieldName": "appearance"
442
+ "description": "Specify the heading text for Alert",
443
+ "fieldName": "heading"
372
444
  },
373
445
  {
374
- "name": "theme",
446
+ "name": "body",
375
447
  "type": {
376
- "text": "'light' | 'dark' | undefined"
448
+ "text": "string | undefined"
377
449
  },
378
- "description": "Theme of the Badge",
379
- "fieldName": "theme"
450
+ "description": "Specify the body text for Alert",
451
+ "fieldName": "body"
380
452
  },
381
453
  {
382
454
  "name": "size",
383
455
  "type": {
384
- "text": "'sm' | 'md' | undefined"
456
+ "text": "'sm' | 'md'"
385
457
  },
386
458
  "default": "'sm'",
387
- "description": "Specify the size of the Badge",
459
+ "description": "Specify the size of the Alert",
388
460
  "fieldName": "size"
389
461
  },
390
462
  {
391
- "name": "emphasis",
463
+ "name": "fullWidth",
392
464
  "type": {
393
- "text": "'strong' | 'medium' | 'subtle'"
465
+ "text": "boolean"
394
466
  },
395
- "default": "'strong'",
396
- "description": "Specify the emphasis of the Badge",
397
- "fieldName": "emphasis"
467
+ "default": "false",
468
+ "description": "Specify if the Alert has no border radius",
469
+ "fieldName": "fullWidth"
470
+ },
471
+ {
472
+ "name": "theme",
473
+ "type": {
474
+ "text": "'light' | 'dark' | undefined"
475
+ },
476
+ "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
477
+ "fieldName": "theme"
478
+ },
479
+ {
480
+ "name": "appearance",
481
+ "type": {
482
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
483
+ },
484
+ "default": "'infoPrimary'",
485
+ "description": "Specify the appearance of the Alert",
486
+ "fieldName": "appearance"
487
+ },
488
+ {
489
+ "name": "hidden",
490
+ "type": {
491
+ "text": "boolean"
492
+ },
493
+ "default": "false",
494
+ "description": "Specify if the Alert is hidden",
495
+ "fieldName": "hidden"
398
496
  },
399
497
  {
400
498
  "name": "hideIcon",
401
499
  "type": {
402
- "text": "boolean | undefined"
500
+ "text": "boolean"
403
501
  },
404
- "description": "Hides Badge icon",
502
+ "default": "false",
503
+ "description": "Specify if the icon displays on the Alert",
405
504
  "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"
406
532
  }
407
533
  ],
408
534
  "superclass": {
409
535
  "name": "LitElement",
410
536
  "package": "lit"
411
537
  },
412
- "tagName": "bm-badge",
538
+ "tagName": "bm-alert",
413
539
  "customElement": true
414
540
  }
415
541
  ],
416
542
  "exports": [
417
543
  {
418
544
  "kind": "js",
419
- "name": "BmBadge",
545
+ "name": "BmAlert",
420
546
  "declaration": {
421
- "name": "BmBadge",
422
- "module": "libs/web-components/src/lib/Badge/Badge.ts"
547
+ "name": "BmAlert",
548
+ "module": "libs/web-components/src/lib/Alert/Alert.ts"
423
549
  }
424
550
  },
425
551
  {
426
552
  "kind": "custom-element-definition",
427
- "name": "bm-badge",
553
+ "name": "bm-alert",
428
554
  "declaration": {
429
- "name": "BmBadge",
430
- "module": "libs/web-components/src/lib/Badge/Badge.ts"
555
+ "name": "BmAlert",
556
+ "module": "libs/web-components/src/lib/Alert/Alert.ts"
431
557
  }
432
558
  }
433
559
  ]
434
560
  },
435
561
  {
436
562
  "kind": "javascript-module",
437
- "path": "libs/web-components/src/lib/Badge/index.ts",
563
+ "path": "libs/web-components/src/lib/Alert/index.ts",
438
564
  "declarations": [],
439
565
  "exports": [
440
566
  {
@@ -442,35 +568,30 @@
442
568
  "name": "*",
443
569
  "declaration": {
444
570
  "name": "*",
445
- "package": "./Badge"
571
+ "package": "./Alert"
446
572
  }
447
573
  }
448
574
  ]
449
575
  },
450
576
  {
451
577
  "kind": "javascript-module",
452
- "path": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts",
578
+ "path": "libs/web-components/src/lib/Badge/Badge.ts",
453
579
  "declarations": [
454
580
  {
455
581
  "kind": "class",
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",
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",
458
584
  "slots": [
459
585
  {
460
- "description": "Provide text for the BadgeDot",
586
+ "description": "Provide text for the Badge",
461
587
  "name": "default"
588
+ },
589
+ {
590
+ "description": "Specify a different icon for the Badge",
591
+ "name": "icon"
462
592
  }
463
593
  ],
464
594
  "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
- },
474
595
  {
475
596
  "kind": "field",
476
597
  "name": "appearance",
@@ -478,14 +599,174 @@
478
599
  "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
479
600
  },
480
601
  "default": "'infoPrimary'",
481
- "description": "Specify the appearance of the BadgeDot",
602
+ "description": "Specify the appearance of the Badge",
482
603
  "attribute": "appearance"
483
604
  },
484
605
  {
485
606
  "kind": "field",
486
- "name": "emphasis",
607
+ "name": "theme",
487
608
  "type": {
488
- "text": "'strong' | 'subtle'"
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'"
629
+ },
630
+ "default": "'strong'",
631
+ "description": "Specify the emphasis of the Badge",
632
+ "attribute": "emphasis"
633
+ },
634
+ {
635
+ "kind": "field",
636
+ "name": "hideIcon",
637
+ "type": {
638
+ "text": "boolean | undefined"
639
+ },
640
+ "description": "Hides Badge icon",
641
+ "attribute": "hideIcon"
642
+ }
643
+ ],
644
+ "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
+ {
655
+ "name": "theme",
656
+ "type": {
657
+ "text": "'light' | 'dark' | undefined"
658
+ },
659
+ "description": "Theme of the Badge",
660
+ "fieldName": "theme"
661
+ },
662
+ {
663
+ "name": "size",
664
+ "type": {
665
+ "text": "'sm' | 'md' | undefined"
666
+ },
667
+ "default": "'sm'",
668
+ "description": "Specify the size of the Badge",
669
+ "fieldName": "size"
670
+ },
671
+ {
672
+ "name": "emphasis",
673
+ "type": {
674
+ "text": "'strong' | 'medium' | 'subtle'"
675
+ },
676
+ "default": "'strong'",
677
+ "description": "Specify the emphasis of the Badge",
678
+ "fieldName": "emphasis"
679
+ },
680
+ {
681
+ "name": "hideIcon",
682
+ "type": {
683
+ "text": "boolean | undefined"
684
+ },
685
+ "description": "Hides Badge icon",
686
+ "fieldName": "hideIcon"
687
+ }
688
+ ],
689
+ "superclass": {
690
+ "name": "LitElement",
691
+ "package": "lit"
692
+ },
693
+ "tagName": "bm-badge",
694
+ "customElement": true
695
+ }
696
+ ],
697
+ "exports": [
698
+ {
699
+ "kind": "js",
700
+ "name": "BmBadge",
701
+ "declaration": {
702
+ "name": "BmBadge",
703
+ "module": "libs/web-components/src/lib/Badge/Badge.ts"
704
+ }
705
+ },
706
+ {
707
+ "kind": "custom-element-definition",
708
+ "name": "bm-badge",
709
+ "declaration": {
710
+ "name": "BmBadge",
711
+ "module": "libs/web-components/src/lib/Badge/Badge.ts"
712
+ }
713
+ }
714
+ ]
715
+ },
716
+ {
717
+ "kind": "javascript-module",
718
+ "path": "libs/web-components/src/lib/Badge/index.ts",
719
+ "declarations": [],
720
+ "exports": [
721
+ {
722
+ "kind": "js",
723
+ "name": "*",
724
+ "declaration": {
725
+ "name": "*",
726
+ "package": "./Badge"
727
+ }
728
+ }
729
+ ]
730
+ },
731
+ {
732
+ "kind": "javascript-module",
733
+ "path": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts",
734
+ "declarations": [
735
+ {
736
+ "kind": "class",
737
+ "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",
738
+ "name": "BmBadgeDot",
739
+ "slots": [
740
+ {
741
+ "description": "Provide text for the BadgeDot",
742
+ "name": "default"
743
+ }
744
+ ],
745
+ "members": [
746
+ {
747
+ "kind": "field",
748
+ "name": "theme",
749
+ "type": {
750
+ "text": "'light' | 'dark' | undefined"
751
+ },
752
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
753
+ "attribute": "theme"
754
+ },
755
+ {
756
+ "kind": "field",
757
+ "name": "appearance",
758
+ "type": {
759
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
760
+ },
761
+ "default": "'infoPrimary'",
762
+ "description": "Specify the appearance of the BadgeDot",
763
+ "attribute": "appearance"
764
+ },
765
+ {
766
+ "kind": "field",
767
+ "name": "emphasis",
768
+ "type": {
769
+ "text": "'strong' | 'subtle'"
489
770
  },
490
771
  "default": "'strong'",
491
772
  "description": "Specify the emphasis of the BadgeDot",
@@ -581,511 +862,111 @@
581
862
  },
582
863
  {
583
864
  "kind": "javascript-module",
584
- "path": "libs/web-components/src/lib/Box/Box.ts",
865
+ "path": "libs/web-components/src/lib/Avatar/Avatar.ts",
585
866
  "declarations": [
586
867
  {
587
868
  "kind": "class",
588
- "description": "`bm-box`\n\n### Attributes:\n- **backgroundColor** - Specify the background color of a Box\n- **borderColor** - Specify the border color of a Box\n- **borderWidth** - Specify the border width of a Box\n- **borderRadius** - Specify the border radius of a Box\n- **px** - Specify before and after padding of a Box\n- **py** - Specify top and bottom padding of a Box\n- **pTop** - Specify top padding of a Box\n- **pBottom** - Specify bottom padding of a Box\n- **pBefore** - Specify before padding of a Box\n- **pAfter** - Specify after padding of a Box\n- **mx** - Specify before and after margin of a Box\n- **my** - Specify top and bottom margin of a Box\n- **mTop** - Specify top margin of a Box\n- **mBottom** - Specify bottom margin of a Box\n- **mBefore** - Specify before margin of a Box\n- **mAfter** - Specify after margin of a Box\n- **m** - Specify all margin\n- **p** - Specify all padding\n- **gap** - Specify gap between child elements\n- **shadow** - Specify if a Box has a shadow",
589
- "name": "BmBox",
869
+ "description": "`bm-avatar`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Avatar\n- **name** - Specify a name to display initials in the Avatar\n- **src** - Pass an image to the Avatar\n- **alt** - Specify alt for image\n- **size** - Specify the size of the Avatar\n- **disabled** - Specify if the Avatar is disabled\n- **shape** - Specify the shape of the Avatar\n- **isInteractive** - If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer\n- **isFocusable** - If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable\n- **withBorder** ",
870
+ "name": "BmAvatar",
590
871
  "slots": [
591
872
  {
592
- "description": "Provide content for the Box",
593
- "name": "default"
873
+ "description": "Customize the default icon",
874
+ "name": "icon"
594
875
  }
595
876
  ],
596
877
  "members": [
597
878
  {
598
879
  "kind": "field",
599
- "name": "backgroundColor",
880
+ "name": "appearance",
600
881
  "type": {
601
- "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'selected-subtle' | 'highlight' | 'transparent' | 'expressive-stronger' | 'expressive-inverse' | undefined"
882
+ "text": "'accent' | 'neutral' | undefined"
602
883
  },
603
- "description": "Specify the background color of a Box",
604
- "attribute": "backgroundColor"
884
+ "default": "'neutral'",
885
+ "description": "Specify the appearance of the Avatar",
886
+ "attribute": "appearance"
605
887
  },
606
888
  {
607
889
  "kind": "field",
608
- "name": "borderColor",
890
+ "name": "name",
609
891
  "type": {
610
- "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | 'strong' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'transparent' | 'expressive-stronger' | 'focus' | undefined"
892
+ "text": "string | undefined"
611
893
  },
612
- "description": "Specify the border color of a Box",
613
- "attribute": "borderColor"
894
+ "description": "Specify a name to display initials in the Avatar",
895
+ "attribute": "name"
614
896
  },
615
897
  {
616
898
  "kind": "field",
617
- "name": "borderWidth",
899
+ "name": "src",
618
900
  "type": {
619
- "text": "'md' | 'lg' | 'xl' | 'none' | 'divider' | undefined"
901
+ "text": "string | undefined"
620
902
  },
621
- "description": "Specify the border width of a Box",
622
- "attribute": "borderWidth"
903
+ "description": "Pass an image to the Avatar",
904
+ "attribute": "src"
623
905
  },
624
906
  {
625
907
  "kind": "field",
626
- "name": "borderRadius",
908
+ "name": "alt",
627
909
  "type": {
628
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'none' | 'round' | undefined"
910
+ "text": "string | undefined"
629
911
  },
630
- "description": "Specify the border radius of a Box",
631
- "attribute": "borderRadius"
912
+ "description": "Specify alt for image",
913
+ "attribute": "alt"
632
914
  },
633
915
  {
634
916
  "kind": "field",
635
- "name": "px",
917
+ "name": "size",
636
918
  "type": {
637
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
919
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined"
638
920
  },
639
- "description": "Specify before and after padding of a Box",
640
- "attribute": "px"
921
+ "default": "'md'",
922
+ "description": "Specify the size of the Avatar",
923
+ "attribute": "size"
641
924
  },
642
925
  {
643
926
  "kind": "field",
644
- "name": "py",
927
+ "name": "disabled",
645
928
  "type": {
646
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
929
+ "text": "boolean | undefined"
647
930
  },
648
- "description": "Specify top and bottom padding of a Box",
649
- "attribute": "py"
931
+ "default": "false",
932
+ "description": "Specify if the Avatar is disabled",
933
+ "attribute": "disabled"
650
934
  },
651
935
  {
652
936
  "kind": "field",
653
- "name": "pTop",
937
+ "name": "shape",
654
938
  "type": {
655
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
939
+ "text": "'circle' | 'square' | undefined"
656
940
  },
657
- "description": "Specify top padding of a Box",
658
- "attribute": "pTop"
941
+ "default": "'circle'",
942
+ "description": "Specify the shape of the Avatar",
943
+ "attribute": "shape"
659
944
  },
660
945
  {
661
946
  "kind": "field",
662
- "name": "pBottom",
947
+ "name": "isInteractive",
663
948
  "type": {
664
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
949
+ "text": "boolean"
665
950
  },
666
- "description": "Specify bottom padding of a Box",
667
- "attribute": "pBottom"
951
+ "default": "false",
952
+ "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
953
+ "attribute": "isInteractive"
668
954
  },
669
955
  {
670
956
  "kind": "field",
671
- "name": "pBefore",
957
+ "name": "isFocusable",
672
958
  "type": {
673
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
959
+ "text": "boolean"
674
960
  },
675
- "description": "Specify before padding of a Box",
676
- "attribute": "pBefore"
961
+ "default": "false",
962
+ "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
963
+ "attribute": "isFocusable"
677
964
  },
678
965
  {
679
966
  "kind": "field",
680
- "name": "pAfter",
967
+ "name": "withBorder",
681
968
  "type": {
682
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
683
- },
684
- "description": "Specify after padding of a Box",
685
- "attribute": "pAfter"
686
- },
687
- {
688
- "kind": "field",
689
- "name": "mx",
690
- "type": {
691
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
692
- },
693
- "description": "Specify before and after margin of a Box",
694
- "attribute": "mx"
695
- },
696
- {
697
- "kind": "field",
698
- "name": "my",
699
- "type": {
700
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
701
- },
702
- "description": "Specify top and bottom margin of a Box",
703
- "attribute": "my"
704
- },
705
- {
706
- "kind": "field",
707
- "name": "mTop",
708
- "type": {
709
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
710
- },
711
- "description": "Specify top margin of a Box",
712
- "attribute": "mTop"
713
- },
714
- {
715
- "kind": "field",
716
- "name": "mBottom",
717
- "type": {
718
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
719
- },
720
- "description": "Specify bottom margin of a Box",
721
- "attribute": "mBottom"
722
- },
723
- {
724
- "kind": "field",
725
- "name": "mBefore",
726
- "type": {
727
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
728
- },
729
- "description": "Specify before margin of a Box",
730
- "attribute": "mBefore"
731
- },
732
- {
733
- "kind": "field",
734
- "name": "mAfter",
735
- "type": {
736
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
737
- },
738
- "description": "Specify after margin of a Box",
739
- "attribute": "mAfter"
740
- },
741
- {
742
- "kind": "field",
743
- "name": "m",
744
- "type": {
745
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
746
- },
747
- "description": "Specify all margin",
748
- "attribute": "m"
749
- },
750
- {
751
- "kind": "field",
752
- "name": "p",
753
- "type": {
754
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
755
- },
756
- "description": "Specify all padding",
757
- "attribute": "p"
758
- },
759
- {
760
- "kind": "field",
761
- "name": "gap",
762
- "type": {
763
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
764
- },
765
- "description": "Specify gap between child elements",
766
- "attribute": "gap"
767
- },
768
- {
769
- "kind": "field",
770
- "name": "shadow",
771
- "type": {
772
- "text": "'sm' | 'md' | 'lg' | 'none' | 'overlay' | undefined"
773
- },
774
- "description": "Specify if a Box has a shadow",
775
- "attribute": "shadow"
776
- }
777
- ],
778
- "attributes": [
779
- {
780
- "name": "backgroundColor",
781
- "type": {
782
- "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'selected-subtle' | 'highlight' | 'transparent' | 'expressive-stronger' | 'expressive-inverse' | undefined"
783
- },
784
- "description": "Specify the background color of a Box",
785
- "fieldName": "backgroundColor"
786
- },
787
- {
788
- "name": "borderColor",
789
- "type": {
790
- "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | 'strong' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'transparent' | 'expressive-stronger' | 'focus' | undefined"
791
- },
792
- "description": "Specify the border color of a Box",
793
- "fieldName": "borderColor"
794
- },
795
- {
796
- "name": "borderWidth",
797
- "type": {
798
- "text": "'md' | 'lg' | 'xl' | 'none' | 'divider' | undefined"
799
- },
800
- "description": "Specify the border width of a Box",
801
- "fieldName": "borderWidth"
802
- },
803
- {
804
- "name": "borderRadius",
805
- "type": {
806
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'none' | 'round' | undefined"
807
- },
808
- "description": "Specify the border radius of a Box",
809
- "fieldName": "borderRadius"
810
- },
811
- {
812
- "name": "px",
813
- "type": {
814
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
815
- },
816
- "description": "Specify before and after padding of a Box",
817
- "fieldName": "px"
818
- },
819
- {
820
- "name": "py",
821
- "type": {
822
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
823
- },
824
- "description": "Specify top and bottom padding of a Box",
825
- "fieldName": "py"
826
- },
827
- {
828
- "name": "pTop",
829
- "type": {
830
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
831
- },
832
- "description": "Specify top padding of a Box",
833
- "fieldName": "pTop"
834
- },
835
- {
836
- "name": "pBottom",
837
- "type": {
838
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
839
- },
840
- "description": "Specify bottom padding of a Box",
841
- "fieldName": "pBottom"
842
- },
843
- {
844
- "name": "pBefore",
845
- "type": {
846
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
847
- },
848
- "description": "Specify before padding of a Box",
849
- "fieldName": "pBefore"
850
- },
851
- {
852
- "name": "pAfter",
853
- "type": {
854
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
855
- },
856
- "description": "Specify after padding of a Box",
857
- "fieldName": "pAfter"
858
- },
859
- {
860
- "name": "mx",
861
- "type": {
862
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
863
- },
864
- "description": "Specify before and after margin of a Box",
865
- "fieldName": "mx"
866
- },
867
- {
868
- "name": "my",
869
- "type": {
870
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
871
- },
872
- "description": "Specify top and bottom margin of a Box",
873
- "fieldName": "my"
874
- },
875
- {
876
- "name": "mTop",
877
- "type": {
878
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
879
- },
880
- "description": "Specify top margin of a Box",
881
- "fieldName": "mTop"
882
- },
883
- {
884
- "name": "mBottom",
885
- "type": {
886
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
887
- },
888
- "description": "Specify bottom margin of a Box",
889
- "fieldName": "mBottom"
890
- },
891
- {
892
- "name": "mBefore",
893
- "type": {
894
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
895
- },
896
- "description": "Specify before margin of a Box",
897
- "fieldName": "mBefore"
898
- },
899
- {
900
- "name": "mAfter",
901
- "type": {
902
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
903
- },
904
- "description": "Specify after margin of a Box",
905
- "fieldName": "mAfter"
906
- },
907
- {
908
- "name": "m",
909
- "type": {
910
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
911
- },
912
- "description": "Specify all margin",
913
- "fieldName": "m"
914
- },
915
- {
916
- "name": "p",
917
- "type": {
918
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
919
- },
920
- "description": "Specify all padding",
921
- "fieldName": "p"
922
- },
923
- {
924
- "name": "gap",
925
- "type": {
926
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
927
- },
928
- "description": "Specify gap between child elements",
929
- "fieldName": "gap"
930
- },
931
- {
932
- "name": "shadow",
933
- "type": {
934
- "text": "'sm' | 'md' | 'lg' | 'none' | 'overlay' | undefined"
935
- },
936
- "description": "Specify if a Box has a shadow",
937
- "fieldName": "shadow"
938
- }
939
- ],
940
- "superclass": {
941
- "name": "LitElement",
942
- "package": "lit"
943
- },
944
- "tagName": "bm-box",
945
- "customElement": true
946
- }
947
- ],
948
- "exports": [
949
- {
950
- "kind": "js",
951
- "name": "BmBox",
952
- "declaration": {
953
- "name": "BmBox",
954
- "module": "libs/web-components/src/lib/Box/Box.ts"
955
- }
956
- },
957
- {
958
- "kind": "custom-element-definition",
959
- "name": "bm-box",
960
- "declaration": {
961
- "name": "BmBox",
962
- "module": "libs/web-components/src/lib/Box/Box.ts"
963
- }
964
- }
965
- ]
966
- },
967
- {
968
- "kind": "javascript-module",
969
- "path": "libs/web-components/src/lib/Box/index.ts",
970
- "declarations": [],
971
- "exports": [
972
- {
973
- "kind": "js",
974
- "name": "*",
975
- "declaration": {
976
- "name": "*",
977
- "package": "./Box"
978
- }
979
- }
980
- ]
981
- },
982
- {
983
- "kind": "javascript-module",
984
- "path": "libs/web-components/src/lib/Avatar/Avatar.ts",
985
- "declarations": [
986
- {
987
- "kind": "class",
988
- "description": "`bm-avatar`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Avatar\n- **name** - Specify a name to display initials in the Avatar\n- **src** - Pass an image to the Avatar\n- **alt** - Specify alt for image\n- **size** - Specify the size of the Avatar\n- **disabled** - Specify if the Avatar is disabled\n- **shape** - Specify the shape of the Avatar\n- **isInteractive** - If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer\n- **isFocusable** - If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable\n- **withBorder** ",
989
- "name": "BmAvatar",
990
- "slots": [
991
- {
992
- "description": "Customize the default icon",
993
- "name": "icon"
994
- }
995
- ],
996
- "members": [
997
- {
998
- "kind": "field",
999
- "name": "appearance",
1000
- "type": {
1001
- "text": "'accent' | 'neutral' | undefined"
1002
- },
1003
- "default": "'neutral'",
1004
- "description": "Specify the appearance of the Avatar",
1005
- "attribute": "appearance"
1006
- },
1007
- {
1008
- "kind": "field",
1009
- "name": "name",
1010
- "type": {
1011
- "text": "string | undefined"
1012
- },
1013
- "description": "Specify a name to display initials in the Avatar",
1014
- "attribute": "name"
1015
- },
1016
- {
1017
- "kind": "field",
1018
- "name": "src",
1019
- "type": {
1020
- "text": "string | undefined"
1021
- },
1022
- "description": "Pass an image to the Avatar",
1023
- "attribute": "src"
1024
- },
1025
- {
1026
- "kind": "field",
1027
- "name": "alt",
1028
- "type": {
1029
- "text": "string | undefined"
1030
- },
1031
- "description": "Specify alt for image",
1032
- "attribute": "alt"
1033
- },
1034
- {
1035
- "kind": "field",
1036
- "name": "size",
1037
- "type": {
1038
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined"
1039
- },
1040
- "default": "'md'",
1041
- "description": "Specify the size of the Avatar",
1042
- "attribute": "size"
1043
- },
1044
- {
1045
- "kind": "field",
1046
- "name": "disabled",
1047
- "type": {
1048
- "text": "boolean | undefined"
1049
- },
1050
- "default": "false",
1051
- "description": "Specify if the Avatar is disabled",
1052
- "attribute": "disabled"
1053
- },
1054
- {
1055
- "kind": "field",
1056
- "name": "shape",
1057
- "type": {
1058
- "text": "'circle' | 'square' | undefined"
1059
- },
1060
- "default": "'circle'",
1061
- "description": "Specify the shape of the Avatar",
1062
- "attribute": "shape"
1063
- },
1064
- {
1065
- "kind": "field",
1066
- "name": "isInteractive",
1067
- "type": {
1068
- "text": "boolean"
1069
- },
1070
- "default": "false",
1071
- "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
1072
- "attribute": "isInteractive"
1073
- },
1074
- {
1075
- "kind": "field",
1076
- "name": "isFocusable",
1077
- "type": {
1078
- "text": "boolean"
1079
- },
1080
- "default": "false",
1081
- "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
1082
- "attribute": "isFocusable"
1083
- },
1084
- {
1085
- "kind": "field",
1086
- "name": "withBorder",
1087
- "type": {
1088
- "text": "boolean"
969
+ "text": "boolean"
1089
970
  },
1090
971
  "default": "false",
1091
972
  "attribute": "withBorder"
@@ -1373,273 +1254,392 @@
1373
1254
  },
1374
1255
  {
1375
1256
  "kind": "javascript-module",
1376
- "path": "libs/web-components/src/lib/Alert/Alert.ts",
1257
+ "path": "libs/web-components/src/lib/Box/Box.ts",
1377
1258
  "declarations": [
1378
1259
  {
1379
1260
  "kind": "class",
1380
- "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",
1381
- "name": "BmAlert",
1261
+ "description": "`bm-box`\n\n### Attributes:\n- **backgroundColor** - Specify the background color of a Box\n- **borderColor** - Specify the border color of a Box\n- **borderWidth** - Specify the border width of a Box\n- **borderRadius** - Specify the border radius of a Box\n- **px** - Specify before and after padding of a Box\n- **py** - Specify top and bottom padding of a Box\n- **pTop** - Specify top padding of a Box\n- **pBottom** - Specify bottom padding of a Box\n- **pBefore** - Specify before padding of a Box\n- **pAfter** - Specify after padding of a Box\n- **mx** - Specify before and after margin of a Box\n- **my** - Specify top and bottom margin of a Box\n- **mTop** - Specify top margin of a Box\n- **mBottom** - Specify bottom margin of a Box\n- **mBefore** - Specify before margin of a Box\n- **mAfter** - Specify after margin of a Box\n- **m** - Specify all margin\n- **p** - Specify all padding\n- **gap** - Specify gap between child elements\n- **shadow** - Specify if a Box has a shadow",
1262
+ "name": "BmBox",
1382
1263
  "slots": [
1383
1264
  {
1384
- "description": "Specify a different icon for the Alert",
1385
- "name": "icon"
1265
+ "description": "Provide content for the Box",
1266
+ "name": "default"
1267
+ }
1268
+ ],
1269
+ "members": [
1270
+ {
1271
+ "kind": "field",
1272
+ "name": "backgroundColor",
1273
+ "type": {
1274
+ "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'selected-subtle' | 'highlight' | 'transparent' | 'expressive-stronger' | 'expressive-inverse' | undefined"
1275
+ },
1276
+ "description": "Specify the background color of a Box",
1277
+ "attribute": "backgroundColor"
1278
+ },
1279
+ {
1280
+ "kind": "field",
1281
+ "name": "borderColor",
1282
+ "type": {
1283
+ "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | 'strong' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'transparent' | 'expressive-stronger' | 'focus' | undefined"
1284
+ },
1285
+ "description": "Specify the border color of a Box",
1286
+ "attribute": "borderColor"
1287
+ },
1288
+ {
1289
+ "kind": "field",
1290
+ "name": "borderWidth",
1291
+ "type": {
1292
+ "text": "'md' | 'lg' | 'xl' | 'none' | 'divider' | undefined"
1293
+ },
1294
+ "description": "Specify the border width of a Box",
1295
+ "attribute": "borderWidth"
1296
+ },
1297
+ {
1298
+ "kind": "field",
1299
+ "name": "borderRadius",
1300
+ "type": {
1301
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'none' | 'round' | undefined"
1302
+ },
1303
+ "description": "Specify the border radius of a Box",
1304
+ "attribute": "borderRadius"
1305
+ },
1306
+ {
1307
+ "kind": "field",
1308
+ "name": "px",
1309
+ "type": {
1310
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1311
+ },
1312
+ "description": "Specify before and after padding of a Box",
1313
+ "attribute": "px"
1386
1314
  },
1387
1315
  {
1388
- "description": "Specify the heading text for Alert or pass the `heading` attribute to set the heading",
1389
- "name": "heading"
1316
+ "kind": "field",
1317
+ "name": "py",
1318
+ "type": {
1319
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1320
+ },
1321
+ "description": "Specify top and bottom padding of a Box",
1322
+ "attribute": "py"
1390
1323
  },
1391
1324
  {
1392
- "description": "Specify the body text for Alert or pass the `body` attribute to set the body",
1393
- "name": "body"
1325
+ "kind": "field",
1326
+ "name": "pTop",
1327
+ "type": {
1328
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1329
+ },
1330
+ "description": "Specify top padding of a Box",
1331
+ "attribute": "pTop"
1394
1332
  },
1395
1333
  {
1396
- "description": "Specify if actions display on the Alert",
1397
- "name": "actions"
1398
- }
1399
- ],
1400
- "members": [
1334
+ "kind": "field",
1335
+ "name": "pBottom",
1336
+ "type": {
1337
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1338
+ },
1339
+ "description": "Specify bottom padding of a Box",
1340
+ "attribute": "pBottom"
1341
+ },
1401
1342
  {
1402
1343
  "kind": "field",
1403
- "name": "heading",
1344
+ "name": "pBefore",
1404
1345
  "type": {
1405
- "text": "string | undefined"
1346
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1406
1347
  },
1407
- "description": "Specify the heading text for Alert",
1408
- "attribute": "heading"
1348
+ "description": "Specify before padding of a Box",
1349
+ "attribute": "pBefore"
1409
1350
  },
1410
1351
  {
1411
1352
  "kind": "field",
1412
- "name": "body",
1353
+ "name": "pAfter",
1413
1354
  "type": {
1414
- "text": "string | undefined"
1355
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1415
1356
  },
1416
- "description": "Specify the body text for Alert",
1417
- "attribute": "body"
1357
+ "description": "Specify after padding of a Box",
1358
+ "attribute": "pAfter"
1418
1359
  },
1419
1360
  {
1420
1361
  "kind": "field",
1421
- "name": "size",
1362
+ "name": "mx",
1422
1363
  "type": {
1423
- "text": "'sm' | 'md'"
1364
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1424
1365
  },
1425
- "default": "'sm'",
1426
- "description": "Specify the size of the Alert",
1427
- "attribute": "size"
1366
+ "description": "Specify before and after margin of a Box",
1367
+ "attribute": "mx"
1428
1368
  },
1429
1369
  {
1430
1370
  "kind": "field",
1431
- "name": "fullWidth",
1371
+ "name": "my",
1432
1372
  "type": {
1433
- "text": "boolean"
1373
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1434
1374
  },
1435
- "default": "false",
1436
- "description": "Specify if the Alert has no border radius",
1437
- "attribute": "fullWidth"
1375
+ "description": "Specify top and bottom margin of a Box",
1376
+ "attribute": "my"
1438
1377
  },
1439
1378
  {
1440
1379
  "kind": "field",
1441
- "name": "theme",
1380
+ "name": "mTop",
1442
1381
  "type": {
1443
- "text": "'light' | 'dark' | undefined"
1382
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1444
1383
  },
1445
- "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
1446
- "attribute": "theme"
1384
+ "description": "Specify top margin of a Box",
1385
+ "attribute": "mTop"
1447
1386
  },
1448
1387
  {
1449
1388
  "kind": "field",
1450
- "name": "appearance",
1389
+ "name": "mBottom",
1451
1390
  "type": {
1452
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
1391
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1453
1392
  },
1454
- "default": "'infoPrimary'",
1455
- "description": "Specify the appearance of the Alert",
1456
- "attribute": "appearance"
1393
+ "description": "Specify bottom margin of a Box",
1394
+ "attribute": "mBottom"
1457
1395
  },
1458
1396
  {
1459
1397
  "kind": "field",
1460
- "name": "hidden",
1398
+ "name": "mBefore",
1461
1399
  "type": {
1462
- "text": "boolean"
1400
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1463
1401
  },
1464
- "default": "false",
1465
- "description": "Specify if the Alert is hidden",
1466
- "attribute": "hidden"
1402
+ "description": "Specify before margin of a Box",
1403
+ "attribute": "mBefore"
1467
1404
  },
1468
1405
  {
1469
1406
  "kind": "field",
1470
- "name": "hideIcon",
1407
+ "name": "mAfter",
1471
1408
  "type": {
1472
- "text": "boolean"
1409
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1473
1410
  },
1474
- "default": "false",
1475
- "description": "Specify if the icon displays on the Alert",
1476
- "attribute": "hideIcon"
1411
+ "description": "Specify after margin of a Box",
1412
+ "attribute": "mAfter"
1477
1413
  },
1478
1414
  {
1479
1415
  "kind": "field",
1480
- "name": "dismissible",
1416
+ "name": "m",
1481
1417
  "type": {
1482
- "text": "boolean"
1418
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1483
1419
  },
1484
- "default": "false",
1485
- "description": "Specify if the Alert can be dismissed",
1486
- "attribute": "dismissible"
1420
+ "description": "Specify all margin",
1421
+ "attribute": "m"
1487
1422
  },
1488
1423
  {
1489
1424
  "kind": "field",
1490
- "name": "disableAutoFocus",
1425
+ "name": "p",
1491
1426
  "type": {
1492
- "text": "boolean"
1427
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1493
1428
  },
1494
- "default": "false",
1495
- "description": "Prevent autofocus on show",
1496
- "attribute": "disableAutoFocus"
1429
+ "description": "Specify all padding",
1430
+ "attribute": "p"
1497
1431
  },
1498
1432
  {
1499
1433
  "kind": "field",
1500
- "name": "disableCloseOnEscape",
1434
+ "name": "gap",
1501
1435
  "type": {
1502
- "text": "boolean"
1436
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1503
1437
  },
1504
- "default": "false",
1505
- "description": "Prevent Escape from closing",
1506
- "attribute": "disableCloseOnEscape"
1507
- }
1508
- ],
1509
- "events": [
1438
+ "description": "Specify gap between child elements",
1439
+ "attribute": "gap"
1440
+ },
1510
1441
  {
1511
- "description": "Dispatched when the Alert has been dismissed",
1512
- "name": "bm-dismiss"
1442
+ "kind": "field",
1443
+ "name": "shadow",
1444
+ "type": {
1445
+ "text": "'sm' | 'md' | 'lg' | 'none' | 'overlay' | undefined"
1446
+ },
1447
+ "description": "Specify if a Box has a shadow",
1448
+ "attribute": "shadow"
1513
1449
  }
1514
1450
  ],
1515
1451
  "attributes": [
1516
1452
  {
1517
- "name": "heading",
1453
+ "name": "backgroundColor",
1518
1454
  "type": {
1519
- "text": "string | undefined"
1455
+ "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'selected-subtle' | 'highlight' | 'transparent' | 'expressive-stronger' | 'expressive-inverse' | undefined"
1520
1456
  },
1521
- "description": "Specify the heading text for Alert",
1522
- "fieldName": "heading"
1457
+ "description": "Specify the background color of a Box",
1458
+ "fieldName": "backgroundColor"
1523
1459
  },
1524
1460
  {
1525
- "name": "body",
1461
+ "name": "borderColor",
1526
1462
  "type": {
1527
- "text": "string | undefined"
1463
+ "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | 'strong' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'transparent' | 'expressive-stronger' | 'focus' | undefined"
1528
1464
  },
1529
- "description": "Specify the body text for Alert",
1530
- "fieldName": "body"
1465
+ "description": "Specify the border color of a Box",
1466
+ "fieldName": "borderColor"
1531
1467
  },
1532
1468
  {
1533
- "name": "size",
1469
+ "name": "borderWidth",
1534
1470
  "type": {
1535
- "text": "'sm' | 'md'"
1471
+ "text": "'md' | 'lg' | 'xl' | 'none' | 'divider' | undefined"
1536
1472
  },
1537
- "default": "'sm'",
1538
- "description": "Specify the size of the Alert",
1539
- "fieldName": "size"
1473
+ "description": "Specify the border width of a Box",
1474
+ "fieldName": "borderWidth"
1540
1475
  },
1541
1476
  {
1542
- "name": "fullWidth",
1477
+ "name": "borderRadius",
1543
1478
  "type": {
1544
- "text": "boolean"
1479
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'none' | 'round' | undefined"
1545
1480
  },
1546
- "default": "false",
1547
- "description": "Specify if the Alert has no border radius",
1548
- "fieldName": "fullWidth"
1481
+ "description": "Specify the border radius of a Box",
1482
+ "fieldName": "borderRadius"
1549
1483
  },
1550
1484
  {
1551
- "name": "theme",
1485
+ "name": "px",
1486
+ "type": {
1487
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1488
+ },
1489
+ "description": "Specify before and after padding of a Box",
1490
+ "fieldName": "px"
1491
+ },
1492
+ {
1493
+ "name": "py",
1494
+ "type": {
1495
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1496
+ },
1497
+ "description": "Specify top and bottom padding of a Box",
1498
+ "fieldName": "py"
1499
+ },
1500
+ {
1501
+ "name": "pTop",
1502
+ "type": {
1503
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1504
+ },
1505
+ "description": "Specify top padding of a Box",
1506
+ "fieldName": "pTop"
1507
+ },
1508
+ {
1509
+ "name": "pBottom",
1510
+ "type": {
1511
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1512
+ },
1513
+ "description": "Specify bottom padding of a Box",
1514
+ "fieldName": "pBottom"
1515
+ },
1516
+ {
1517
+ "name": "pBefore",
1518
+ "type": {
1519
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1520
+ },
1521
+ "description": "Specify before padding of a Box",
1522
+ "fieldName": "pBefore"
1523
+ },
1524
+ {
1525
+ "name": "pAfter",
1526
+ "type": {
1527
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1528
+ },
1529
+ "description": "Specify after padding of a Box",
1530
+ "fieldName": "pAfter"
1531
+ },
1532
+ {
1533
+ "name": "mx",
1534
+ "type": {
1535
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1536
+ },
1537
+ "description": "Specify before and after margin of a Box",
1538
+ "fieldName": "mx"
1539
+ },
1540
+ {
1541
+ "name": "my",
1542
+ "type": {
1543
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1544
+ },
1545
+ "description": "Specify top and bottom margin of a Box",
1546
+ "fieldName": "my"
1547
+ },
1548
+ {
1549
+ "name": "mTop",
1550
+ "type": {
1551
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1552
+ },
1553
+ "description": "Specify top margin of a Box",
1554
+ "fieldName": "mTop"
1555
+ },
1556
+ {
1557
+ "name": "mBottom",
1552
1558
  "type": {
1553
- "text": "'light' | 'dark' | undefined"
1559
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1554
1560
  },
1555
- "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
1556
- "fieldName": "theme"
1561
+ "description": "Specify bottom margin of a Box",
1562
+ "fieldName": "mBottom"
1557
1563
  },
1558
1564
  {
1559
- "name": "appearance",
1565
+ "name": "mBefore",
1560
1566
  "type": {
1561
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
1567
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1562
1568
  },
1563
- "default": "'infoPrimary'",
1564
- "description": "Specify the appearance of the Alert",
1565
- "fieldName": "appearance"
1569
+ "description": "Specify before margin of a Box",
1570
+ "fieldName": "mBefore"
1566
1571
  },
1567
1572
  {
1568
- "name": "hidden",
1573
+ "name": "mAfter",
1569
1574
  "type": {
1570
- "text": "boolean"
1575
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1571
1576
  },
1572
- "default": "false",
1573
- "description": "Specify if the Alert is hidden",
1574
- "fieldName": "hidden"
1577
+ "description": "Specify after margin of a Box",
1578
+ "fieldName": "mAfter"
1575
1579
  },
1576
1580
  {
1577
- "name": "hideIcon",
1581
+ "name": "m",
1578
1582
  "type": {
1579
- "text": "boolean"
1583
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1580
1584
  },
1581
- "default": "false",
1582
- "description": "Specify if the icon displays on the Alert",
1583
- "fieldName": "hideIcon"
1585
+ "description": "Specify all margin",
1586
+ "fieldName": "m"
1584
1587
  },
1585
1588
  {
1586
- "name": "dismissible",
1589
+ "name": "p",
1587
1590
  "type": {
1588
- "text": "boolean"
1591
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1589
1592
  },
1590
- "default": "false",
1591
- "description": "Specify if the Alert can be dismissed",
1592
- "fieldName": "dismissible"
1593
+ "description": "Specify all padding",
1594
+ "fieldName": "p"
1593
1595
  },
1594
1596
  {
1595
- "name": "disableAutoFocus",
1597
+ "name": "gap",
1596
1598
  "type": {
1597
- "text": "boolean"
1599
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1598
1600
  },
1599
- "default": "false",
1600
- "description": "Prevent autofocus on show",
1601
- "fieldName": "disableAutoFocus"
1601
+ "description": "Specify gap between child elements",
1602
+ "fieldName": "gap"
1602
1603
  },
1603
1604
  {
1604
- "name": "disableCloseOnEscape",
1605
+ "name": "shadow",
1605
1606
  "type": {
1606
- "text": "boolean"
1607
+ "text": "'sm' | 'md' | 'lg' | 'none' | 'overlay' | undefined"
1607
1608
  },
1608
- "default": "false",
1609
- "description": "Prevent Escape from closing",
1610
- "fieldName": "disableCloseOnEscape"
1609
+ "description": "Specify if a Box has a shadow",
1610
+ "fieldName": "shadow"
1611
1611
  }
1612
1612
  ],
1613
1613
  "superclass": {
1614
1614
  "name": "LitElement",
1615
1615
  "package": "lit"
1616
1616
  },
1617
- "tagName": "bm-alert",
1617
+ "tagName": "bm-box",
1618
1618
  "customElement": true
1619
1619
  }
1620
1620
  ],
1621
1621
  "exports": [
1622
1622
  {
1623
1623
  "kind": "js",
1624
- "name": "BmAlert",
1624
+ "name": "BmBox",
1625
1625
  "declaration": {
1626
- "name": "BmAlert",
1627
- "module": "libs/web-components/src/lib/Alert/Alert.ts"
1626
+ "name": "BmBox",
1627
+ "module": "libs/web-components/src/lib/Box/Box.ts"
1628
1628
  }
1629
1629
  },
1630
1630
  {
1631
1631
  "kind": "custom-element-definition",
1632
- "name": "bm-alert",
1632
+ "name": "bm-box",
1633
1633
  "declaration": {
1634
- "name": "BmAlert",
1635
- "module": "libs/web-components/src/lib/Alert/Alert.ts"
1634
+ "name": "BmBox",
1635
+ "module": "libs/web-components/src/lib/Box/Box.ts"
1636
1636
  }
1637
1637
  }
1638
1638
  ]
1639
1639
  },
1640
1640
  {
1641
1641
  "kind": "javascript-module",
1642
- "path": "libs/web-components/src/lib/Alert/index.ts",
1642
+ "path": "libs/web-components/src/lib/Box/index.ts",
1643
1643
  "declarations": [],
1644
1644
  "exports": [
1645
1645
  {
@@ -1647,7 +1647,7 @@
1647
1647
  "name": "*",
1648
1648
  "declaration": {
1649
1649
  "name": "*",
1650
- "package": "./Alert"
1650
+ "package": "./Box"
1651
1651
  }
1652
1652
  }
1653
1653
  ]
@@ -2218,98 +2218,6 @@
2218
2218
  }
2219
2219
  ]
2220
2220
  },
2221
- {
2222
- "kind": "javascript-module",
2223
- "path": "libs/web-components/src/lib/CloseButton/CloseButton.ts",
2224
- "declarations": [
2225
- {
2226
- "kind": "class",
2227
- "description": "`bm-close-button`\n\n### Attributes:\n- **size** - Specify the size of the CloseButton\n- **disabled** - Specify if the CloseButton is disabled",
2228
- "name": "BmCloseButton",
2229
- "members": [
2230
- {
2231
- "kind": "field",
2232
- "name": "size",
2233
- "type": {
2234
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
2235
- },
2236
- "default": "'md'",
2237
- "description": "Specify the size of the CloseButton",
2238
- "attribute": "size"
2239
- },
2240
- {
2241
- "kind": "field",
2242
- "name": "disabled",
2243
- "type": {
2244
- "text": "boolean"
2245
- },
2246
- "default": "false",
2247
- "description": "Specify if the CloseButton is disabled",
2248
- "attribute": "disabled"
2249
- }
2250
- ],
2251
- "attributes": [
2252
- {
2253
- "name": "size",
2254
- "type": {
2255
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
2256
- },
2257
- "default": "'md'",
2258
- "description": "Specify the size of the CloseButton",
2259
- "fieldName": "size"
2260
- },
2261
- {
2262
- "name": "disabled",
2263
- "type": {
2264
- "text": "boolean"
2265
- },
2266
- "default": "false",
2267
- "description": "Specify if the CloseButton is disabled",
2268
- "fieldName": "disabled"
2269
- }
2270
- ],
2271
- "superclass": {
2272
- "name": "LitElement",
2273
- "package": "lit"
2274
- },
2275
- "tagName": "bm-close-button",
2276
- "customElement": true
2277
- }
2278
- ],
2279
- "exports": [
2280
- {
2281
- "kind": "js",
2282
- "name": "BmCloseButton",
2283
- "declaration": {
2284
- "name": "BmCloseButton",
2285
- "module": "libs/web-components/src/lib/CloseButton/CloseButton.ts"
2286
- }
2287
- },
2288
- {
2289
- "kind": "custom-element-definition",
2290
- "name": "bm-close-button",
2291
- "declaration": {
2292
- "name": "BmCloseButton",
2293
- "module": "libs/web-components/src/lib/CloseButton/CloseButton.ts"
2294
- }
2295
- }
2296
- ]
2297
- },
2298
- {
2299
- "kind": "javascript-module",
2300
- "path": "libs/web-components/src/lib/CloseButton/index.ts",
2301
- "declarations": [],
2302
- "exports": [
2303
- {
2304
- "kind": "js",
2305
- "name": "*",
2306
- "declaration": {
2307
- "name": "*",
2308
- "package": "./CloseButton"
2309
- }
2310
- }
2311
- ]
2312
- },
2313
2221
  {
2314
2222
  "kind": "javascript-module",
2315
2223
  "path": "libs/web-components/src/lib/Divider/Divider.ts",
@@ -2436,61 +2344,153 @@
2436
2344
  "fieldName": "borderStyle"
2437
2345
  },
2438
2346
  {
2439
- "name": "alignContent",
2347
+ "name": "alignContent",
2348
+ "type": {
2349
+ "text": "'start' | 'end' | 'center'"
2350
+ },
2351
+ "default": "'center'",
2352
+ "description": "Align content to the divider line",
2353
+ "fieldName": "alignContent"
2354
+ },
2355
+ {
2356
+ "name": "length",
2357
+ "type": {
2358
+ "text": "string | undefined"
2359
+ },
2360
+ "fieldName": "length"
2361
+ },
2362
+ {
2363
+ "name": "inset",
2364
+ "type": {
2365
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2366
+ },
2367
+ "default": "'0'",
2368
+ "description": "Add equal padding to each side of the Divider",
2369
+ "fieldName": "inset"
2370
+ }
2371
+ ],
2372
+ "superclass": {
2373
+ "name": "LitElement",
2374
+ "package": "lit"
2375
+ },
2376
+ "tagName": "bm-divider",
2377
+ "customElement": true
2378
+ }
2379
+ ],
2380
+ "exports": [
2381
+ {
2382
+ "kind": "js",
2383
+ "name": "BmDivider",
2384
+ "declaration": {
2385
+ "name": "BmDivider",
2386
+ "module": "libs/web-components/src/lib/Divider/Divider.ts"
2387
+ }
2388
+ },
2389
+ {
2390
+ "kind": "custom-element-definition",
2391
+ "name": "bm-divider",
2392
+ "declaration": {
2393
+ "name": "BmDivider",
2394
+ "module": "libs/web-components/src/lib/Divider/Divider.ts"
2395
+ }
2396
+ }
2397
+ ]
2398
+ },
2399
+ {
2400
+ "kind": "javascript-module",
2401
+ "path": "libs/web-components/src/lib/Divider/index.ts",
2402
+ "declarations": [],
2403
+ "exports": [
2404
+ {
2405
+ "kind": "js",
2406
+ "name": "*",
2407
+ "declaration": {
2408
+ "name": "*",
2409
+ "package": "./Divider"
2410
+ }
2411
+ }
2412
+ ]
2413
+ },
2414
+ {
2415
+ "kind": "javascript-module",
2416
+ "path": "libs/web-components/src/lib/CloseButton/CloseButton.ts",
2417
+ "declarations": [
2418
+ {
2419
+ "kind": "class",
2420
+ "description": "`bm-close-button`\n\n### Attributes:\n- **size** - Specify the size of the CloseButton\n- **disabled** - Specify if the CloseButton is disabled",
2421
+ "name": "BmCloseButton",
2422
+ "members": [
2423
+ {
2424
+ "kind": "field",
2425
+ "name": "size",
2426
+ "type": {
2427
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
2428
+ },
2429
+ "default": "'md'",
2430
+ "description": "Specify the size of the CloseButton",
2431
+ "attribute": "size"
2432
+ },
2433
+ {
2434
+ "kind": "field",
2435
+ "name": "disabled",
2440
2436
  "type": {
2441
- "text": "'start' | 'end' | 'center'"
2437
+ "text": "boolean"
2442
2438
  },
2443
- "default": "'center'",
2444
- "description": "Align content to the divider line",
2445
- "fieldName": "alignContent"
2446
- },
2439
+ "default": "false",
2440
+ "description": "Specify if the CloseButton is disabled",
2441
+ "attribute": "disabled"
2442
+ }
2443
+ ],
2444
+ "attributes": [
2447
2445
  {
2448
- "name": "length",
2446
+ "name": "size",
2449
2447
  "type": {
2450
- "text": "string | undefined"
2448
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
2451
2449
  },
2452
- "fieldName": "length"
2450
+ "default": "'md'",
2451
+ "description": "Specify the size of the CloseButton",
2452
+ "fieldName": "size"
2453
2453
  },
2454
2454
  {
2455
- "name": "inset",
2455
+ "name": "disabled",
2456
2456
  "type": {
2457
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2457
+ "text": "boolean"
2458
2458
  },
2459
- "default": "'0'",
2460
- "description": "Add equal padding to each side of the Divider",
2461
- "fieldName": "inset"
2459
+ "default": "false",
2460
+ "description": "Specify if the CloseButton is disabled",
2461
+ "fieldName": "disabled"
2462
2462
  }
2463
2463
  ],
2464
2464
  "superclass": {
2465
2465
  "name": "LitElement",
2466
2466
  "package": "lit"
2467
2467
  },
2468
- "tagName": "bm-divider",
2468
+ "tagName": "bm-close-button",
2469
2469
  "customElement": true
2470
2470
  }
2471
2471
  ],
2472
2472
  "exports": [
2473
2473
  {
2474
2474
  "kind": "js",
2475
- "name": "BmDivider",
2475
+ "name": "BmCloseButton",
2476
2476
  "declaration": {
2477
- "name": "BmDivider",
2478
- "module": "libs/web-components/src/lib/Divider/Divider.ts"
2477
+ "name": "BmCloseButton",
2478
+ "module": "libs/web-components/src/lib/CloseButton/CloseButton.ts"
2479
2479
  }
2480
2480
  },
2481
2481
  {
2482
2482
  "kind": "custom-element-definition",
2483
- "name": "bm-divider",
2483
+ "name": "bm-close-button",
2484
2484
  "declaration": {
2485
- "name": "BmDivider",
2486
- "module": "libs/web-components/src/lib/Divider/Divider.ts"
2485
+ "name": "BmCloseButton",
2486
+ "module": "libs/web-components/src/lib/CloseButton/CloseButton.ts"
2487
2487
  }
2488
2488
  }
2489
2489
  ]
2490
2490
  },
2491
2491
  {
2492
2492
  "kind": "javascript-module",
2493
- "path": "libs/web-components/src/lib/Divider/index.ts",
2493
+ "path": "libs/web-components/src/lib/CloseButton/index.ts",
2494
2494
  "declarations": [],
2495
2495
  "exports": [
2496
2496
  {
@@ -2498,7 +2498,7 @@
2498
2498
  "name": "*",
2499
2499
  "declaration": {
2500
2500
  "name": "*",
2501
- "package": "./Divider"
2501
+ "package": "./CloseButton"
2502
2502
  }
2503
2503
  }
2504
2504
  ]
@@ -7898,145 +7898,49 @@
7898
7898
  },
7899
7899
  {
7900
7900
  "kind": "javascript-module",
7901
- "path": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts",
7901
+ "path": "libs/web-components/src/lib/wip/Form/Form.context.ts",
7902
+ "declarations": [
7903
+ {
7904
+ "kind": "variable",
7905
+ "name": "bmFormInitials",
7906
+ "type": {
7907
+ "text": "BmFormContext"
7908
+ },
7909
+ "default": "{ required: false, disabled: false, readOnly: false, initialValues: {}, registerField: () => undefined, formBlurHandler: () => undefined, formChangeHandler: () => undefined, }"
7910
+ },
7911
+ {
7912
+ "kind": "variable",
7913
+ "name": "bmFormContext"
7914
+ }
7915
+ ],
7916
+ "exports": [
7917
+ {
7918
+ "kind": "js",
7919
+ "name": "bmFormInitials",
7920
+ "declaration": {
7921
+ "name": "bmFormInitials",
7922
+ "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
7923
+ }
7924
+ },
7925
+ {
7926
+ "kind": "js",
7927
+ "name": "bmFormContext",
7928
+ "declaration": {
7929
+ "name": "bmFormContext",
7930
+ "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
7931
+ }
7932
+ }
7933
+ ]
7934
+ },
7935
+ {
7936
+ "kind": "javascript-module",
7937
+ "path": "libs/web-components/src/lib/wip/Form/Form.decorator.ts",
7902
7938
  "declarations": [
7903
7939
  {
7904
7940
  "kind": "class",
7905
- "description": "### Attributes:\n- **required** - Specify if NativeSelect is a required input\n- **readOnly** - Specify if NativeSelect displays in a read-only state\n- **disabled** - Specify if NativeSelect displays in a disabled state\n- **error** - Specify error text and display error state of a NativeSelect\n- **fluid** - Specify if NativeSelect is fluid\n- **size** - Specify the size of NativeSelect\n- **width** - Specify the width of NativeSelect\n- **ellipse** - Specify if overflow displays ellipsis\n- **hideRequiredMarker** - Specify if the NativeSelect displays with an asterisk\n- **theme** - Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
7906
- "name": "BmNativeSelect",
7907
- "slots": [
7908
- {
7909
- "description": "Specify Options for NativeSelect",
7910
- "name": "slot"
7911
- },
7912
- {
7913
- "description": "Specify Label for NativeSelect",
7914
- "name": "label"
7915
- },
7916
- {
7917
- "description": "Specify HelperText for NativeSelect",
7918
- "name": "helper-text"
7919
- }
7920
- ],
7941
+ "description": "### Attributes:\n- **id** \n- **name** \n- **value** \n- **validationRules** \n- **input-aria-label** ",
7942
+ "name": "FormField",
7921
7943
  "members": [
7922
- {
7923
- "kind": "field",
7924
- "name": "required",
7925
- "type": {
7926
- "text": "boolean"
7927
- },
7928
- "default": "false",
7929
- "description": "Specify if NativeSelect is a required input",
7930
- "attribute": "required"
7931
- },
7932
- {
7933
- "kind": "field",
7934
- "name": "readOnly",
7935
- "type": {
7936
- "text": "boolean"
7937
- },
7938
- "default": "false",
7939
- "description": "Specify if NativeSelect displays in a read-only state",
7940
- "attribute": "readOnly"
7941
- },
7942
- {
7943
- "kind": "field",
7944
- "name": "disabled",
7945
- "type": {
7946
- "text": "boolean"
7947
- },
7948
- "default": "false",
7949
- "description": "Specify if NativeSelect displays in a disabled state",
7950
- "attribute": "disabled"
7951
- },
7952
- {
7953
- "kind": "field",
7954
- "name": "error",
7955
- "type": {
7956
- "text": "string | undefined"
7957
- },
7958
- "description": "Specify error text and display error state of a NativeSelect",
7959
- "attribute": "error"
7960
- },
7961
- {
7962
- "kind": "field",
7963
- "name": "fluid",
7964
- "type": {
7965
- "text": "boolean"
7966
- },
7967
- "default": "false",
7968
- "description": "Specify if NativeSelect is fluid",
7969
- "attribute": "fluid"
7970
- },
7971
- {
7972
- "kind": "field",
7973
- "name": "size",
7974
- "type": {
7975
- "text": "'sm' | 'md' | 'lg'"
7976
- },
7977
- "default": "defaultInputSize",
7978
- "description": "Specify the size of NativeSelect",
7979
- "attribute": "size"
7980
- },
7981
- {
7982
- "kind": "field",
7983
- "name": "width",
7984
- "type": {
7985
- "text": "string | undefined"
7986
- },
7987
- "description": "Specify the width of NativeSelect",
7988
- "attribute": "width"
7989
- },
7990
- {
7991
- "kind": "field",
7992
- "name": "ellipse",
7993
- "type": {
7994
- "text": "boolean"
7995
- },
7996
- "default": "true",
7997
- "description": "Specify if overflow displays ellipsis",
7998
- "attribute": "ellipse"
7999
- },
8000
- {
8001
- "kind": "field",
8002
- "name": "hideRequiredMarker",
8003
- "type": {
8004
- "text": "boolean"
8005
- },
8006
- "default": "false",
8007
- "description": "Specify if the NativeSelect displays with an asterisk",
8008
- "attribute": "hideRequiredMarker"
8009
- },
8010
- {
8011
- "kind": "field",
8012
- "name": "theme",
8013
- "type": {
8014
- "text": "'light' | 'dark' | undefined"
8015
- },
8016
- "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
8017
- "attribute": "theme"
8018
- },
8019
- {
8020
- "kind": "method",
8021
- "name": "finalizeAssociatedCallback",
8022
- "return": {
8023
- "type": {
8024
- "text": "FinalizeAssociatedResult"
8025
- }
8026
- },
8027
- "parameters": [
8028
- {
8029
- "name": "value",
8030
- "type": {
8031
- "text": "string"
8032
- }
8033
- }
8034
- ],
8035
- "inheritedFrom": {
8036
- "name": "FormField",
8037
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8038
- }
8039
- },
8040
7944
  {
8041
7945
  "kind": "field",
8042
7946
  "name": "formAssociated",
@@ -8044,11 +7948,7 @@
8044
7948
  "text": "boolean"
8045
7949
  },
8046
7950
  "static": true,
8047
- "default": "true",
8048
- "inheritedFrom": {
8049
- "name": "FormField",
8050
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8051
- }
7951
+ "default": "true"
8052
7952
  },
8053
7953
  {
8054
7954
  "kind": "field",
@@ -8057,11 +7957,7 @@
8057
7957
  "text": "string"
8058
7958
  },
8059
7959
  "default": "''",
8060
- "attribute": "id",
8061
- "inheritedFrom": {
8062
- "name": "FormField",
8063
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8064
- }
7960
+ "attribute": "id"
8065
7961
  },
8066
7962
  {
8067
7963
  "kind": "field",
@@ -8070,11 +7966,7 @@
8070
7966
  "text": "string"
8071
7967
  },
8072
7968
  "default": "''",
8073
- "attribute": "name",
8074
- "inheritedFrom": {
8075
- "name": "FormField",
8076
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8077
- }
7969
+ "attribute": "name"
8078
7970
  },
8079
7971
  {
8080
7972
  "kind": "field",
@@ -8083,11 +7975,7 @@
8083
7975
  "text": "string"
8084
7976
  },
8085
7977
  "default": "''",
8086
- "attribute": "value",
8087
- "inheritedFrom": {
8088
- "name": "FormField",
8089
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8090
- }
7978
+ "attribute": "value"
8091
7979
  },
8092
7980
  {
8093
7981
  "kind": "field",
@@ -8096,11 +7984,7 @@
8096
7984
  "text": "Array<FormValidator>"
8097
7985
  },
8098
7986
  "default": "[]",
8099
- "attribute": "validationRules",
8100
- "inheritedFrom": {
8101
- "name": "FormField",
8102
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8103
- }
7987
+ "attribute": "validationRules"
8104
7988
  },
8105
7989
  {
8106
7990
  "kind": "field",
@@ -8108,21 +7992,13 @@
8108
7992
  "type": {
8109
7993
  "text": "string | undefined"
8110
7994
  },
8111
- "attribute": "input-aria-label",
8112
- "inheritedFrom": {
8113
- "name": "FormField",
8114
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8115
- }
7995
+ "attribute": "input-aria-label"
8116
7996
  },
8117
7997
  {
8118
7998
  "kind": "field",
8119
7999
  "name": "formContext",
8120
8000
  "type": {
8121
8001
  "text": "BmFormContext"
8122
- },
8123
- "inheritedFrom": {
8124
- "name": "FormField",
8125
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8126
8002
  }
8127
8003
  },
8128
8004
  {
@@ -8132,10 +8008,6 @@
8132
8008
  "type": {
8133
8009
  "text": "void"
8134
8010
  }
8135
- },
8136
- "inheritedFrom": {
8137
- "name": "FormField",
8138
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8139
8011
  }
8140
8012
  },
8141
8013
  {
@@ -8145,112 +8017,34 @@
8145
8017
  "type": {
8146
8018
  "text": "void"
8147
8019
  }
8148
- },
8149
- "inheritedFrom": {
8150
- "name": "FormField",
8151
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8152
8020
  }
8153
- }
8154
- ],
8155
- "attributes": [
8156
- {
8157
- "name": "required",
8158
- "type": {
8159
- "text": "boolean"
8160
- },
8161
- "default": "false",
8162
- "description": "Specify if NativeSelect is a required input",
8163
- "fieldName": "required"
8164
- },
8165
- {
8166
- "name": "readOnly",
8167
- "type": {
8168
- "text": "boolean"
8169
- },
8170
- "default": "false",
8171
- "description": "Specify if NativeSelect displays in a read-only state",
8172
- "fieldName": "readOnly"
8173
- },
8174
- {
8175
- "name": "disabled",
8176
- "type": {
8177
- "text": "boolean"
8178
- },
8179
- "default": "false",
8180
- "description": "Specify if NativeSelect displays in a disabled state",
8181
- "fieldName": "disabled"
8182
- },
8183
- {
8184
- "name": "error",
8185
- "type": {
8186
- "text": "string | undefined"
8187
- },
8188
- "description": "Specify error text and display error state of a NativeSelect",
8189
- "fieldName": "error"
8190
- },
8191
- {
8192
- "name": "fluid",
8193
- "type": {
8194
- "text": "boolean"
8195
- },
8196
- "default": "false",
8197
- "description": "Specify if NativeSelect is fluid",
8198
- "fieldName": "fluid"
8199
8021
  },
8200
8022
  {
8201
- "name": "size",
8202
- "type": {
8203
- "text": "'sm' | 'md' | 'lg'"
8204
- },
8205
- "default": "defaultInputSize",
8206
- "description": "Specify the size of NativeSelect",
8207
- "fieldName": "size"
8208
- },
8209
- {
8210
- "name": "width",
8211
- "type": {
8212
- "text": "string | undefined"
8213
- },
8214
- "description": "Specify the width of NativeSelect",
8215
- "fieldName": "width"
8216
- },
8217
- {
8218
- "name": "ellipse",
8219
- "type": {
8220
- "text": "boolean"
8221
- },
8222
- "default": "true",
8223
- "description": "Specify if overflow displays ellipsis",
8224
- "fieldName": "ellipse"
8225
- },
8226
- {
8227
- "name": "hideRequiredMarker",
8228
- "type": {
8229
- "text": "boolean"
8230
- },
8231
- "default": "false",
8232
- "description": "Specify if the NativeSelect displays with an asterisk",
8233
- "fieldName": "hideRequiredMarker"
8234
- },
8235
- {
8236
- "name": "theme",
8237
- "type": {
8238
- "text": "'light' | 'dark' | undefined"
8023
+ "kind": "method",
8024
+ "name": "finalizeAssociatedCallback",
8025
+ "return": {
8026
+ "type": {
8027
+ "text": "FinalizeAssociatedResult"
8028
+ }
8239
8029
  },
8240
- "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
8241
- "fieldName": "theme"
8242
- },
8030
+ "parameters": [
8031
+ {
8032
+ "name": "ctxValue",
8033
+ "type": {
8034
+ "text": "string"
8035
+ }
8036
+ }
8037
+ ]
8038
+ }
8039
+ ],
8040
+ "attributes": [
8243
8041
  {
8244
8042
  "name": "id",
8245
8043
  "type": {
8246
8044
  "text": "string"
8247
8045
  },
8248
8046
  "default": "''",
8249
- "fieldName": "id",
8250
- "inheritedFrom": {
8251
- "name": "FormField",
8252
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8253
- }
8047
+ "fieldName": "id"
8254
8048
  },
8255
8049
  {
8256
8050
  "name": "name",
@@ -8258,11 +8052,7 @@
8258
8052
  "text": "string"
8259
8053
  },
8260
8054
  "default": "''",
8261
- "fieldName": "name",
8262
- "inheritedFrom": {
8263
- "name": "FormField",
8264
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8265
- }
8055
+ "fieldName": "name"
8266
8056
  },
8267
8057
  {
8268
8058
  "name": "value",
@@ -8270,11 +8060,7 @@
8270
8060
  "text": "string"
8271
8061
  },
8272
8062
  "default": "''",
8273
- "fieldName": "value",
8274
- "inheritedFrom": {
8275
- "name": "FormField",
8276
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8277
- }
8063
+ "fieldName": "value"
8278
8064
  },
8279
8065
  {
8280
8066
  "name": "validationRules",
@@ -8282,327 +8068,459 @@
8282
8068
  "text": "Array<FormValidator>"
8283
8069
  },
8284
8070
  "default": "[]",
8285
- "fieldName": "validationRules",
8286
- "inheritedFrom": {
8287
- "name": "FormField",
8288
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8289
- }
8071
+ "fieldName": "validationRules"
8290
8072
  },
8291
8073
  {
8292
8074
  "name": "input-aria-label",
8293
8075
  "type": {
8294
8076
  "text": "string | undefined"
8295
8077
  },
8296
- "fieldName": "inputAriaLabel",
8297
- "inheritedFrom": {
8298
- "name": "FormField",
8299
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8300
- }
8078
+ "fieldName": "inputAriaLabel"
8301
8079
  }
8302
8080
  ],
8303
8081
  "superclass": {
8304
- "name": "FormField",
8305
- "module": "/libs/web-components/src/lib/wip/Form/Form.decorator"
8082
+ "name": "LitElement",
8083
+ "package": "lit"
8306
8084
  },
8307
- "summary": "`bm-native-select`",
8308
- "tagName": "bm-native-select",
8309
8085
  "customElement": true
8310
8086
  }
8311
8087
  ],
8312
8088
  "exports": [
8313
8089
  {
8314
8090
  "kind": "js",
8315
- "name": "BmNativeSelect",
8316
- "declaration": {
8317
- "name": "BmNativeSelect",
8318
- "module": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts"
8319
- }
8320
- },
8321
- {
8322
- "kind": "custom-element-definition",
8323
- "name": "bm-native-select",
8324
- "declaration": {
8325
- "name": "BmNativeSelect",
8326
- "module": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts"
8327
- }
8328
- }
8329
- ]
8330
- },
8331
- {
8332
- "kind": "javascript-module",
8333
- "path": "libs/web-components/src/lib/wip/NativeSelect/index.ts",
8334
- "declarations": [],
8335
- "exports": [
8336
- {
8337
- "kind": "js",
8338
- "name": "*",
8091
+ "name": "FormField",
8339
8092
  "declaration": {
8340
- "name": "*",
8341
- "package": "./NativeSelect"
8093
+ "name": "FormField",
8094
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8342
8095
  }
8343
8096
  }
8344
8097
  ]
8345
8098
  },
8346
8099
  {
8347
8100
  "kind": "javascript-module",
8348
- "path": "libs/web-components/src/lib/wip/RadioButton/RadioButton.ts",
8101
+ "path": "libs/web-components/src/lib/wip/Form/Form.ts",
8349
8102
  "declarations": [
8350
8103
  {
8351
8104
  "kind": "class",
8352
- "description": "`bm-radio-button`\n\n### Attributes:\n- **label** - Specify the text for the label\n- **error** - Specify error text and display error state of a RadioButton\n- **readOnly** - Specify if RadioButton displays in a read-only state\n- **disabled** - Specify if RadioButton displays in a disabled state\n- **theme** - Specify the theme of the RadioButton. By default it inherits the theme from the parent\n- **value** - The value attribute for the input element\n- **checked** - The checked attribute for the input element\n- **onKeyDown** - A user-defined function to handle keydown events",
8353
- "name": "BmRadioButton",
8105
+ "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** ",
8106
+ "name": "BmForm",
8107
+ "slots": [
8108
+ {
8109
+ "description": "Add controls to the Form",
8110
+ "name": "slot"
8111
+ }
8112
+ ],
8354
8113
  "members": [
8355
8114
  {
8356
8115
  "kind": "field",
8357
- "name": "label",
8116
+ "name": "validationMode",
8358
8117
  "type": {
8359
- "text": "string | undefined"
8118
+ "text": "'onChange' | 'onBlur' | 'onSubmit'"
8360
8119
  },
8361
- "description": "Specify the text for the label",
8362
- "attribute": "label"
8120
+ "default": "'onBlur'",
8121
+ "description": "Specify if validation runs on change or when loosing focus",
8122
+ "attribute": "validationMode"
8363
8123
  },
8364
8124
  {
8365
8125
  "kind": "field",
8366
- "name": "error",
8126
+ "name": "initialValues",
8367
8127
  "type": {
8368
- "text": "boolean | undefined"
8128
+ "text": "Record<string, FormValue>"
8369
8129
  },
8370
- "description": "Specify error text and display error state of a RadioButton",
8371
- "attribute": "error"
8130
+ "default": "{}",
8131
+ "description": "Specify initial values on Form controls based on their names",
8132
+ "attribute": "initialValues"
8372
8133
  },
8373
8134
  {
8374
8135
  "kind": "field",
8375
- "name": "readOnly",
8136
+ "name": "required",
8376
8137
  "type": {
8377
- "text": "boolean | undefined"
8138
+ "text": "boolean"
8378
8139
  },
8379
- "description": "Specify if RadioButton displays in a read-only state",
8380
- "attribute": "readOnly"
8140
+ "default": "false",
8141
+ "description": "Specify if input is a required",
8142
+ "attribute": "required"
8381
8143
  },
8382
8144
  {
8383
8145
  "kind": "field",
8384
8146
  "name": "disabled",
8385
8147
  "type": {
8386
- "text": "boolean | undefined"
8148
+ "text": "boolean"
8387
8149
  },
8388
- "description": "Specify if RadioButton displays in a disabled state",
8150
+ "default": "false",
8151
+ "description": "Specify if input is a disabled",
8389
8152
  "attribute": "disabled"
8390
8153
  },
8391
8154
  {
8392
8155
  "kind": "field",
8393
- "name": "theme",
8156
+ "name": "readOnly",
8394
8157
  "type": {
8395
- "text": "'light' | 'dark' | undefined"
8158
+ "text": "boolean"
8396
8159
  },
8397
- "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
8398
- "attribute": "theme"
8160
+ "default": "false",
8161
+ "description": "Specify if input is a read only",
8162
+ "attribute": "readOnly"
8163
+ },
8164
+ {
8165
+ "kind": "field",
8166
+ "name": "action",
8167
+ "type": {
8168
+ "text": "string | undefined"
8169
+ },
8170
+ "attribute": "action"
8171
+ },
8172
+ {
8173
+ "kind": "field",
8174
+ "name": "method",
8175
+ "type": {
8176
+ "text": "string | undefined"
8177
+ },
8178
+ "attribute": "method"
8399
8179
  },
8400
8180
  {
8401
8181
  "kind": "field",
8402
- "name": "value",
8182
+ "name": "target",
8403
8183
  "type": {
8404
8184
  "text": "string | undefined"
8405
8185
  },
8406
- "description": "The value attribute for the input element",
8407
- "attribute": "value"
8186
+ "attribute": "target"
8408
8187
  },
8409
8188
  {
8410
8189
  "kind": "field",
8411
- "name": "checked",
8190
+ "name": "enctype",
8412
8191
  "type": {
8413
- "text": "boolean"
8192
+ "text": "string | undefined"
8414
8193
  },
8415
- "default": "false",
8416
- "description": "The checked attribute for the input element",
8417
- "attribute": "checked"
8194
+ "attribute": "enctype"
8418
8195
  },
8419
8196
  {
8420
8197
  "kind": "field",
8421
- "name": "onKeyDown",
8198
+ "name": "formMeta",
8422
8199
  "type": {
8423
- "text": "(event: KeyboardEvent) => void | undefined"
8200
+ "text": "Record<string, FieldMeta>"
8424
8201
  },
8425
- "description": "A user-defined function to handle keydown events",
8426
- "attribute": "onKeyDown"
8202
+ "default": "{}"
8427
8203
  },
8428
8204
  {
8429
8205
  "kind": "field",
8430
- "name": "inputChoiceGroupContext",
8431
- "type": {
8432
- "text": "InputChoiceGroupContextProps"
8433
- }
8206
+ "name": "formRef"
8434
8207
  },
8435
8208
  {
8436
8209
  "kind": "field",
8437
- "name": "radioButtonRef"
8438
- },
8210
+ "name": "formContext",
8211
+ "type": {
8212
+ "text": "BmFormContext"
8213
+ },
8214
+ "privacy": "public",
8215
+ "default": "bmFormInitials"
8216
+ }
8217
+ ],
8218
+ "events": [
8439
8219
  {
8440
- "kind": "method",
8441
- "name": "focus"
8220
+ "description": "Validates the inputs and submits the form",
8221
+ "name": "submit"
8442
8222
  }
8443
8223
  ],
8444
8224
  "attributes": [
8445
8225
  {
8446
- "name": "label",
8226
+ "name": "validationMode",
8447
8227
  "type": {
8448
- "text": "string | undefined"
8228
+ "text": "'onChange' | 'onBlur' | 'onSubmit'"
8449
8229
  },
8450
- "description": "Specify the text for the label",
8451
- "fieldName": "label"
8230
+ "default": "'onBlur'",
8231
+ "description": "Specify if validation runs on change or when loosing focus",
8232
+ "fieldName": "validationMode"
8452
8233
  },
8453
8234
  {
8454
- "name": "error",
8235
+ "name": "initialValues",
8455
8236
  "type": {
8456
- "text": "boolean | undefined"
8237
+ "text": "Record<string, FormValue>"
8457
8238
  },
8458
- "description": "Specify error text and display error state of a RadioButton",
8459
- "fieldName": "error"
8239
+ "default": "{}",
8240
+ "description": "Specify initial values on Form controls based on their names",
8241
+ "fieldName": "initialValues"
8460
8242
  },
8461
8243
  {
8462
- "name": "readOnly",
8244
+ "name": "required",
8463
8245
  "type": {
8464
- "text": "boolean | undefined"
8246
+ "text": "boolean"
8465
8247
  },
8466
- "description": "Specify if RadioButton displays in a read-only state",
8467
- "fieldName": "readOnly"
8248
+ "default": "false",
8249
+ "description": "Specify if input is a required",
8250
+ "fieldName": "required"
8468
8251
  },
8469
8252
  {
8470
8253
  "name": "disabled",
8471
8254
  "type": {
8472
- "text": "boolean | undefined"
8255
+ "text": "boolean"
8473
8256
  },
8474
- "description": "Specify if RadioButton displays in a disabled state",
8257
+ "default": "false",
8258
+ "description": "Specify if input is a disabled",
8475
8259
  "fieldName": "disabled"
8476
8260
  },
8477
8261
  {
8478
- "name": "theme",
8262
+ "name": "readOnly",
8479
8263
  "type": {
8480
- "text": "'light' | 'dark' | undefined"
8264
+ "text": "boolean"
8481
8265
  },
8482
- "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
8483
- "fieldName": "theme"
8266
+ "default": "false",
8267
+ "description": "Specify if input is a read only",
8268
+ "fieldName": "readOnly"
8484
8269
  },
8485
8270
  {
8486
- "name": "value",
8271
+ "name": "action",
8487
8272
  "type": {
8488
8273
  "text": "string | undefined"
8489
8274
  },
8490
- "description": "The value attribute for the input element",
8491
- "fieldName": "value"
8275
+ "fieldName": "action"
8492
8276
  },
8493
8277
  {
8494
- "name": "checked",
8278
+ "name": "method",
8495
8279
  "type": {
8496
- "text": "boolean"
8280
+ "text": "string | undefined"
8497
8281
  },
8498
- "default": "false",
8499
- "description": "The checked attribute for the input element",
8500
- "fieldName": "checked"
8282
+ "fieldName": "method"
8501
8283
  },
8502
8284
  {
8503
- "name": "onKeyDown",
8285
+ "name": "target",
8504
8286
  "type": {
8505
- "text": "(event: KeyboardEvent) => void | undefined"
8287
+ "text": "string | undefined"
8506
8288
  },
8507
- "description": "A user-defined function to handle keydown events",
8508
- "fieldName": "onKeyDown"
8289
+ "fieldName": "target"
8290
+ },
8291
+ {
8292
+ "name": "enctype",
8293
+ "type": {
8294
+ "text": "string | undefined"
8295
+ },
8296
+ "fieldName": "enctype"
8509
8297
  }
8510
8298
  ],
8511
8299
  "superclass": {
8512
8300
  "name": "LitElement",
8513
8301
  "package": "lit"
8514
8302
  },
8515
- "tagName": "bm-radio-button",
8303
+ "summary": "`bm-form`",
8304
+ "tagName": "bm-form",
8516
8305
  "customElement": true
8517
8306
  }
8518
8307
  ],
8519
8308
  "exports": [
8520
8309
  {
8521
8310
  "kind": "js",
8522
- "name": "BmRadioButton",
8311
+ "name": "validators",
8523
8312
  "declaration": {
8524
- "name": "BmRadioButton",
8525
- "module": "libs/web-components/src/lib/wip/RadioButton/RadioButton.ts"
8313
+ "name": "validators",
8314
+ "package": "@viasat/beam-shared/components/form"
8315
+ }
8316
+ },
8317
+ {
8318
+ "kind": "js",
8319
+ "name": "BmForm",
8320
+ "declaration": {
8321
+ "name": "BmForm",
8322
+ "module": "libs/web-components/src/lib/wip/Form/Form.ts"
8526
8323
  }
8527
8324
  },
8528
8325
  {
8529
8326
  "kind": "custom-element-definition",
8530
- "name": "bm-radio-button",
8327
+ "name": "bm-form",
8531
8328
  "declaration": {
8532
- "name": "BmRadioButton",
8533
- "module": "libs/web-components/src/lib/wip/RadioButton/RadioButton.ts"
8329
+ "name": "BmForm",
8330
+ "module": "libs/web-components/src/lib/wip/Form/Form.ts"
8534
8331
  }
8535
8332
  }
8536
8333
  ]
8537
8334
  },
8538
8335
  {
8539
8336
  "kind": "javascript-module",
8540
- "path": "libs/web-components/src/lib/wip/RadioButton/index.ts",
8541
- "declarations": [],
8542
- "exports": [
8337
+ "path": "libs/web-components/src/lib/wip/Form/Form.utils.ts",
8338
+ "declarations": [
8543
8339
  {
8544
- "kind": "js",
8545
- "name": "*",
8546
- "declaration": {
8547
- "name": "*",
8548
- "package": "./RadioButton"
8340
+ "kind": "function",
8341
+ "name": "createId",
8342
+ "return": {
8343
+ "type": {
8344
+ "text": "string"
8345
+ }
8549
8346
  }
8550
- },
8347
+ }
8348
+ ],
8349
+ "exports": [
8551
8350
  {
8552
8351
  "kind": "js",
8553
- "name": "*",
8352
+ "name": "createId",
8554
8353
  "declaration": {
8555
- "name": "*",
8556
- "package": "./RadioButtonGroup/RadioButtonGroup"
8354
+ "name": "createId",
8355
+ "module": "libs/web-components/src/lib/wip/Form/Form.utils.ts"
8557
8356
  }
8558
8357
  }
8559
8358
  ]
8560
8359
  },
8561
8360
  {
8562
8361
  "kind": "javascript-module",
8563
- "path": "libs/web-components/src/lib/wip/Form/Form.context.ts",
8564
- "declarations": [
8565
- {
8566
- "kind": "variable",
8567
- "name": "bmFormInitials",
8568
- "type": {
8569
- "text": "BmFormContext"
8570
- },
8571
- "default": "{ required: false, disabled: false, readOnly: false, initialValues: {}, registerField: () => undefined, formBlurHandler: () => undefined, formChangeHandler: () => undefined, }"
8572
- },
8573
- {
8574
- "kind": "variable",
8575
- "name": "bmFormContext"
8576
- }
8577
- ],
8362
+ "path": "libs/web-components/src/lib/wip/Form/index.ts",
8363
+ "declarations": [],
8578
8364
  "exports": [
8579
8365
  {
8580
8366
  "kind": "js",
8581
- "name": "bmFormInitials",
8367
+ "name": "*",
8582
8368
  "declaration": {
8583
- "name": "bmFormInitials",
8584
- "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
8369
+ "name": "*",
8370
+ "package": "./Form"
8585
8371
  }
8586
8372
  },
8587
8373
  {
8588
8374
  "kind": "js",
8589
- "name": "bmFormContext",
8375
+ "name": "*",
8590
8376
  "declaration": {
8591
- "name": "bmFormContext",
8592
- "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
8377
+ "name": "*",
8378
+ "package": "./Form.decorator"
8593
8379
  }
8594
8380
  }
8595
8381
  ]
8596
8382
  },
8597
8383
  {
8598
8384
  "kind": "javascript-module",
8599
- "path": "libs/web-components/src/lib/wip/Form/Form.decorator.ts",
8385
+ "path": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts",
8600
8386
  "declarations": [
8601
8387
  {
8602
8388
  "kind": "class",
8603
- "description": "### Attributes:\n- **id** \n- **name** \n- **value** \n- **validationRules** \n- **input-aria-label** ",
8604
- "name": "FormField",
8389
+ "description": "### Attributes:\n- **required** - Specify if NativeSelect is a required input\n- **readOnly** - Specify if NativeSelect displays in a read-only state\n- **disabled** - Specify if NativeSelect displays in a disabled state\n- **error** - Specify error text and display error state of a NativeSelect\n- **fluid** - Specify if NativeSelect is fluid\n- **size** - Specify the size of NativeSelect\n- **width** - Specify the width of NativeSelect\n- **ellipse** - Specify if overflow displays ellipsis\n- **hideRequiredMarker** - Specify if the NativeSelect displays with an asterisk\n- **theme** - Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
8390
+ "name": "BmNativeSelect",
8391
+ "slots": [
8392
+ {
8393
+ "description": "Specify Options for NativeSelect",
8394
+ "name": "slot"
8395
+ },
8396
+ {
8397
+ "description": "Specify Label for NativeSelect",
8398
+ "name": "label"
8399
+ },
8400
+ {
8401
+ "description": "Specify HelperText for NativeSelect",
8402
+ "name": "helper-text"
8403
+ }
8404
+ ],
8605
8405
  "members": [
8406
+ {
8407
+ "kind": "field",
8408
+ "name": "required",
8409
+ "type": {
8410
+ "text": "boolean"
8411
+ },
8412
+ "default": "false",
8413
+ "description": "Specify if NativeSelect is a required input",
8414
+ "attribute": "required"
8415
+ },
8416
+ {
8417
+ "kind": "field",
8418
+ "name": "readOnly",
8419
+ "type": {
8420
+ "text": "boolean"
8421
+ },
8422
+ "default": "false",
8423
+ "description": "Specify if NativeSelect displays in a read-only state",
8424
+ "attribute": "readOnly"
8425
+ },
8426
+ {
8427
+ "kind": "field",
8428
+ "name": "disabled",
8429
+ "type": {
8430
+ "text": "boolean"
8431
+ },
8432
+ "default": "false",
8433
+ "description": "Specify if NativeSelect displays in a disabled state",
8434
+ "attribute": "disabled"
8435
+ },
8436
+ {
8437
+ "kind": "field",
8438
+ "name": "error",
8439
+ "type": {
8440
+ "text": "string | undefined"
8441
+ },
8442
+ "description": "Specify error text and display error state of a NativeSelect",
8443
+ "attribute": "error"
8444
+ },
8445
+ {
8446
+ "kind": "field",
8447
+ "name": "fluid",
8448
+ "type": {
8449
+ "text": "boolean"
8450
+ },
8451
+ "default": "false",
8452
+ "description": "Specify if NativeSelect is fluid",
8453
+ "attribute": "fluid"
8454
+ },
8455
+ {
8456
+ "kind": "field",
8457
+ "name": "size",
8458
+ "type": {
8459
+ "text": "'sm' | 'md' | 'lg'"
8460
+ },
8461
+ "default": "defaultInputSize",
8462
+ "description": "Specify the size of NativeSelect",
8463
+ "attribute": "size"
8464
+ },
8465
+ {
8466
+ "kind": "field",
8467
+ "name": "width",
8468
+ "type": {
8469
+ "text": "string | undefined"
8470
+ },
8471
+ "description": "Specify the width of NativeSelect",
8472
+ "attribute": "width"
8473
+ },
8474
+ {
8475
+ "kind": "field",
8476
+ "name": "ellipse",
8477
+ "type": {
8478
+ "text": "boolean"
8479
+ },
8480
+ "default": "true",
8481
+ "description": "Specify if overflow displays ellipsis",
8482
+ "attribute": "ellipse"
8483
+ },
8484
+ {
8485
+ "kind": "field",
8486
+ "name": "hideRequiredMarker",
8487
+ "type": {
8488
+ "text": "boolean"
8489
+ },
8490
+ "default": "false",
8491
+ "description": "Specify if the NativeSelect displays with an asterisk",
8492
+ "attribute": "hideRequiredMarker"
8493
+ },
8494
+ {
8495
+ "kind": "field",
8496
+ "name": "theme",
8497
+ "type": {
8498
+ "text": "'light' | 'dark' | undefined"
8499
+ },
8500
+ "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
8501
+ "attribute": "theme"
8502
+ },
8503
+ {
8504
+ "kind": "method",
8505
+ "name": "finalizeAssociatedCallback",
8506
+ "return": {
8507
+ "type": {
8508
+ "text": "FinalizeAssociatedResult"
8509
+ }
8510
+ },
8511
+ "parameters": [
8512
+ {
8513
+ "name": "value",
8514
+ "type": {
8515
+ "text": "string"
8516
+ }
8517
+ }
8518
+ ],
8519
+ "inheritedFrom": {
8520
+ "name": "FormField",
8521
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8522
+ }
8523
+ },
8606
8524
  {
8607
8525
  "kind": "field",
8608
8526
  "name": "formAssociated",
@@ -8610,7 +8528,11 @@
8610
8528
  "text": "boolean"
8611
8529
  },
8612
8530
  "static": true,
8613
- "default": "true"
8531
+ "default": "true",
8532
+ "inheritedFrom": {
8533
+ "name": "FormField",
8534
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8535
+ }
8614
8536
  },
8615
8537
  {
8616
8538
  "kind": "field",
@@ -8619,7 +8541,11 @@
8619
8541
  "text": "string"
8620
8542
  },
8621
8543
  "default": "''",
8622
- "attribute": "id"
8544
+ "attribute": "id",
8545
+ "inheritedFrom": {
8546
+ "name": "FormField",
8547
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8548
+ }
8623
8549
  },
8624
8550
  {
8625
8551
  "kind": "field",
@@ -8628,7 +8554,11 @@
8628
8554
  "text": "string"
8629
8555
  },
8630
8556
  "default": "''",
8631
- "attribute": "name"
8557
+ "attribute": "name",
8558
+ "inheritedFrom": {
8559
+ "name": "FormField",
8560
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8561
+ }
8632
8562
  },
8633
8563
  {
8634
8564
  "kind": "field",
@@ -8637,7 +8567,11 @@
8637
8567
  "text": "string"
8638
8568
  },
8639
8569
  "default": "''",
8640
- "attribute": "value"
8570
+ "attribute": "value",
8571
+ "inheritedFrom": {
8572
+ "name": "FormField",
8573
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8574
+ }
8641
8575
  },
8642
8576
  {
8643
8577
  "kind": "field",
@@ -8646,7 +8580,11 @@
8646
8580
  "text": "Array<FormValidator>"
8647
8581
  },
8648
8582
  "default": "[]",
8649
- "attribute": "validationRules"
8583
+ "attribute": "validationRules",
8584
+ "inheritedFrom": {
8585
+ "name": "FormField",
8586
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8587
+ }
8650
8588
  },
8651
8589
  {
8652
8590
  "kind": "field",
@@ -8654,13 +8592,21 @@
8654
8592
  "type": {
8655
8593
  "text": "string | undefined"
8656
8594
  },
8657
- "attribute": "input-aria-label"
8595
+ "attribute": "input-aria-label",
8596
+ "inheritedFrom": {
8597
+ "name": "FormField",
8598
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8599
+ }
8658
8600
  },
8659
8601
  {
8660
8602
  "kind": "field",
8661
8603
  "name": "formContext",
8662
8604
  "type": {
8663
8605
  "text": "BmFormContext"
8606
+ },
8607
+ "inheritedFrom": {
8608
+ "name": "FormField",
8609
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8664
8610
  }
8665
8611
  },
8666
8612
  {
@@ -8670,6 +8616,10 @@
8670
8616
  "type": {
8671
8617
  "text": "void"
8672
8618
  }
8619
+ },
8620
+ "inheritedFrom": {
8621
+ "name": "FormField",
8622
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8673
8623
  }
8674
8624
  },
8675
8625
  {
@@ -8679,34 +8629,112 @@
8679
8629
  "type": {
8680
8630
  "text": "void"
8681
8631
  }
8682
- }
8683
- },
8684
- {
8685
- "kind": "method",
8686
- "name": "finalizeAssociatedCallback",
8687
- "return": {
8688
- "type": {
8689
- "text": "FinalizeAssociatedResult"
8690
- }
8691
8632
  },
8692
- "parameters": [
8693
- {
8694
- "name": "ctxValue",
8695
- "type": {
8696
- "text": "string"
8697
- }
8698
- }
8699
- ]
8633
+ "inheritedFrom": {
8634
+ "name": "FormField",
8635
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8636
+ }
8700
8637
  }
8701
8638
  ],
8702
8639
  "attributes": [
8640
+ {
8641
+ "name": "required",
8642
+ "type": {
8643
+ "text": "boolean"
8644
+ },
8645
+ "default": "false",
8646
+ "description": "Specify if NativeSelect is a required input",
8647
+ "fieldName": "required"
8648
+ },
8649
+ {
8650
+ "name": "readOnly",
8651
+ "type": {
8652
+ "text": "boolean"
8653
+ },
8654
+ "default": "false",
8655
+ "description": "Specify if NativeSelect displays in a read-only state",
8656
+ "fieldName": "readOnly"
8657
+ },
8658
+ {
8659
+ "name": "disabled",
8660
+ "type": {
8661
+ "text": "boolean"
8662
+ },
8663
+ "default": "false",
8664
+ "description": "Specify if NativeSelect displays in a disabled state",
8665
+ "fieldName": "disabled"
8666
+ },
8667
+ {
8668
+ "name": "error",
8669
+ "type": {
8670
+ "text": "string | undefined"
8671
+ },
8672
+ "description": "Specify error text and display error state of a NativeSelect",
8673
+ "fieldName": "error"
8674
+ },
8675
+ {
8676
+ "name": "fluid",
8677
+ "type": {
8678
+ "text": "boolean"
8679
+ },
8680
+ "default": "false",
8681
+ "description": "Specify if NativeSelect is fluid",
8682
+ "fieldName": "fluid"
8683
+ },
8684
+ {
8685
+ "name": "size",
8686
+ "type": {
8687
+ "text": "'sm' | 'md' | 'lg'"
8688
+ },
8689
+ "default": "defaultInputSize",
8690
+ "description": "Specify the size of NativeSelect",
8691
+ "fieldName": "size"
8692
+ },
8693
+ {
8694
+ "name": "width",
8695
+ "type": {
8696
+ "text": "string | undefined"
8697
+ },
8698
+ "description": "Specify the width of NativeSelect",
8699
+ "fieldName": "width"
8700
+ },
8701
+ {
8702
+ "name": "ellipse",
8703
+ "type": {
8704
+ "text": "boolean"
8705
+ },
8706
+ "default": "true",
8707
+ "description": "Specify if overflow displays ellipsis",
8708
+ "fieldName": "ellipse"
8709
+ },
8710
+ {
8711
+ "name": "hideRequiredMarker",
8712
+ "type": {
8713
+ "text": "boolean"
8714
+ },
8715
+ "default": "false",
8716
+ "description": "Specify if the NativeSelect displays with an asterisk",
8717
+ "fieldName": "hideRequiredMarker"
8718
+ },
8719
+ {
8720
+ "name": "theme",
8721
+ "type": {
8722
+ "text": "'light' | 'dark' | undefined"
8723
+ },
8724
+ "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
8725
+ "fieldName": "theme"
8726
+ },
8703
8727
  {
8704
8728
  "name": "id",
8705
8729
  "type": {
8706
8730
  "text": "string"
8707
8731
  },
8708
8732
  "default": "''",
8709
- "fieldName": "id"
8733
+ "fieldName": "id",
8734
+ "inheritedFrom": {
8735
+ "name": "FormField",
8736
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8737
+ }
8710
8738
  },
8711
8739
  {
8712
8740
  "name": "name",
@@ -8714,7 +8742,11 @@
8714
8742
  "text": "string"
8715
8743
  },
8716
8744
  "default": "''",
8717
- "fieldName": "name"
8745
+ "fieldName": "name",
8746
+ "inheritedFrom": {
8747
+ "name": "FormField",
8748
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8749
+ }
8718
8750
  },
8719
8751
  {
8720
8752
  "name": "value",
@@ -8722,7 +8754,11 @@
8722
8754
  "text": "string"
8723
8755
  },
8724
8756
  "default": "''",
8725
- "fieldName": "value"
8757
+ "fieldName": "value",
8758
+ "inheritedFrom": {
8759
+ "name": "FormField",
8760
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8761
+ }
8726
8762
  },
8727
8763
  {
8728
8764
  "name": "validationRules",
@@ -8730,298 +8766,262 @@
8730
8766
  "text": "Array<FormValidator>"
8731
8767
  },
8732
8768
  "default": "[]",
8733
- "fieldName": "validationRules"
8769
+ "fieldName": "validationRules",
8770
+ "inheritedFrom": {
8771
+ "name": "FormField",
8772
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8773
+ }
8734
8774
  },
8735
8775
  {
8736
8776
  "name": "input-aria-label",
8737
8777
  "type": {
8738
8778
  "text": "string | undefined"
8739
8779
  },
8740
- "fieldName": "inputAriaLabel"
8780
+ "fieldName": "inputAriaLabel",
8781
+ "inheritedFrom": {
8782
+ "name": "FormField",
8783
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8784
+ }
8741
8785
  }
8742
8786
  ],
8743
8787
  "superclass": {
8744
- "name": "LitElement",
8745
- "package": "lit"
8788
+ "name": "FormField",
8789
+ "module": "/libs/web-components/src/lib/wip/Form/Form.decorator"
8746
8790
  },
8791
+ "summary": "`bm-native-select`",
8792
+ "tagName": "bm-native-select",
8747
8793
  "customElement": true
8748
8794
  }
8749
8795
  ],
8750
8796
  "exports": [
8751
8797
  {
8752
8798
  "kind": "js",
8753
- "name": "FormField",
8799
+ "name": "BmNativeSelect",
8754
8800
  "declaration": {
8755
- "name": "FormField",
8756
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8801
+ "name": "BmNativeSelect",
8802
+ "module": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts"
8803
+ }
8804
+ },
8805
+ {
8806
+ "kind": "custom-element-definition",
8807
+ "name": "bm-native-select",
8808
+ "declaration": {
8809
+ "name": "BmNativeSelect",
8810
+ "module": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts"
8757
8811
  }
8758
8812
  }
8759
8813
  ]
8760
8814
  },
8761
8815
  {
8762
8816
  "kind": "javascript-module",
8763
- "path": "libs/web-components/src/lib/wip/Form/Form.ts",
8817
+ "path": "libs/web-components/src/lib/wip/NativeSelect/index.ts",
8818
+ "declarations": [],
8819
+ "exports": [
8820
+ {
8821
+ "kind": "js",
8822
+ "name": "*",
8823
+ "declaration": {
8824
+ "name": "*",
8825
+ "package": "./NativeSelect"
8826
+ }
8827
+ }
8828
+ ]
8829
+ },
8830
+ {
8831
+ "kind": "javascript-module",
8832
+ "path": "libs/web-components/src/lib/wip/RadioButton/RadioButton.ts",
8764
8833
  "declarations": [
8765
8834
  {
8766
8835
  "kind": "class",
8767
- "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** ",
8768
- "name": "BmForm",
8769
- "slots": [
8770
- {
8771
- "description": "Add controls to the Form",
8772
- "name": "slot"
8773
- }
8774
- ],
8836
+ "description": "`bm-radio-button`\n\n### Attributes:\n- **label** - Specify the text for the label\n- **error** - Specify error text and display error state of a RadioButton\n- **readOnly** - Specify if RadioButton displays in a read-only state\n- **disabled** - Specify if RadioButton displays in a disabled state\n- **theme** - Specify the theme of the RadioButton. By default it inherits the theme from the parent\n- **value** - The value attribute for the input element\n- **checked** - The checked attribute for the input element\n- **onKeyDown** - A user-defined function to handle keydown events",
8837
+ "name": "BmRadioButton",
8775
8838
  "members": [
8776
8839
  {
8777
8840
  "kind": "field",
8778
- "name": "validationMode",
8841
+ "name": "label",
8779
8842
  "type": {
8780
- "text": "'onChange' | 'onBlur' | 'onSubmit'"
8843
+ "text": "string | undefined"
8781
8844
  },
8782
- "default": "'onBlur'",
8783
- "description": "Specify if validation runs on change or when loosing focus",
8784
- "attribute": "validationMode"
8845
+ "description": "Specify the text for the label",
8846
+ "attribute": "label"
8785
8847
  },
8786
8848
  {
8787
8849
  "kind": "field",
8788
- "name": "initialValues",
8850
+ "name": "error",
8789
8851
  "type": {
8790
- "text": "Record<string, FormValue>"
8852
+ "text": "boolean | undefined"
8791
8853
  },
8792
- "default": "{}",
8793
- "description": "Specify initial values on Form controls based on their names",
8794
- "attribute": "initialValues"
8854
+ "description": "Specify error text and display error state of a RadioButton",
8855
+ "attribute": "error"
8795
8856
  },
8796
8857
  {
8797
8858
  "kind": "field",
8798
- "name": "required",
8859
+ "name": "readOnly",
8799
8860
  "type": {
8800
- "text": "boolean"
8861
+ "text": "boolean | undefined"
8801
8862
  },
8802
- "default": "false",
8803
- "description": "Specify if input is a required",
8804
- "attribute": "required"
8863
+ "description": "Specify if RadioButton displays in a read-only state",
8864
+ "attribute": "readOnly"
8805
8865
  },
8806
8866
  {
8807
8867
  "kind": "field",
8808
8868
  "name": "disabled",
8809
8869
  "type": {
8810
- "text": "boolean"
8870
+ "text": "boolean | undefined"
8811
8871
  },
8812
- "default": "false",
8813
- "description": "Specify if input is a disabled",
8872
+ "description": "Specify if RadioButton displays in a disabled state",
8814
8873
  "attribute": "disabled"
8815
8874
  },
8816
8875
  {
8817
8876
  "kind": "field",
8818
- "name": "readOnly",
8819
- "type": {
8820
- "text": "boolean"
8821
- },
8822
- "default": "false",
8823
- "description": "Specify if input is a read only",
8824
- "attribute": "readOnly"
8825
- },
8826
- {
8827
- "kind": "field",
8828
- "name": "action",
8877
+ "name": "theme",
8829
8878
  "type": {
8830
- "text": "string | undefined"
8879
+ "text": "'light' | 'dark' | undefined"
8831
8880
  },
8832
- "attribute": "action"
8881
+ "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
8882
+ "attribute": "theme"
8833
8883
  },
8834
8884
  {
8835
8885
  "kind": "field",
8836
- "name": "method",
8886
+ "name": "value",
8837
8887
  "type": {
8838
8888
  "text": "string | undefined"
8839
8889
  },
8840
- "attribute": "method"
8890
+ "description": "The value attribute for the input element",
8891
+ "attribute": "value"
8841
8892
  },
8842
8893
  {
8843
8894
  "kind": "field",
8844
- "name": "target",
8895
+ "name": "checked",
8845
8896
  "type": {
8846
- "text": "string | undefined"
8897
+ "text": "boolean"
8847
8898
  },
8848
- "attribute": "target"
8899
+ "default": "false",
8900
+ "description": "The checked attribute for the input element",
8901
+ "attribute": "checked"
8849
8902
  },
8850
8903
  {
8851
8904
  "kind": "field",
8852
- "name": "enctype",
8905
+ "name": "onKeyDown",
8853
8906
  "type": {
8854
- "text": "string | undefined"
8907
+ "text": "(event: KeyboardEvent) => void | undefined"
8855
8908
  },
8856
- "attribute": "enctype"
8909
+ "description": "A user-defined function to handle keydown events",
8910
+ "attribute": "onKeyDown"
8857
8911
  },
8858
8912
  {
8859
8913
  "kind": "field",
8860
- "name": "formMeta",
8914
+ "name": "inputChoiceGroupContext",
8861
8915
  "type": {
8862
- "text": "Record<string, FieldMeta>"
8863
- },
8864
- "default": "{}"
8916
+ "text": "InputChoiceGroupContextProps"
8917
+ }
8865
8918
  },
8866
8919
  {
8867
8920
  "kind": "field",
8868
- "name": "formRef"
8921
+ "name": "radioButtonRef"
8869
8922
  },
8870
8923
  {
8871
- "kind": "field",
8872
- "name": "formContext",
8873
- "type": {
8874
- "text": "BmFormContext"
8875
- },
8876
- "privacy": "public",
8877
- "default": "bmFormInitials"
8878
- }
8879
- ],
8880
- "events": [
8881
- {
8882
- "description": "Validates the inputs and submits the form",
8883
- "name": "submit"
8924
+ "kind": "method",
8925
+ "name": "focus"
8884
8926
  }
8885
8927
  ],
8886
8928
  "attributes": [
8887
8929
  {
8888
- "name": "validationMode",
8930
+ "name": "label",
8889
8931
  "type": {
8890
- "text": "'onChange' | 'onBlur' | 'onSubmit'"
8932
+ "text": "string | undefined"
8891
8933
  },
8892
- "default": "'onBlur'",
8893
- "description": "Specify if validation runs on change or when loosing focus",
8894
- "fieldName": "validationMode"
8934
+ "description": "Specify the text for the label",
8935
+ "fieldName": "label"
8895
8936
  },
8896
8937
  {
8897
- "name": "initialValues",
8938
+ "name": "error",
8898
8939
  "type": {
8899
- "text": "Record<string, FormValue>"
8940
+ "text": "boolean | undefined"
8900
8941
  },
8901
- "default": "{}",
8902
- "description": "Specify initial values on Form controls based on their names",
8903
- "fieldName": "initialValues"
8942
+ "description": "Specify error text and display error state of a RadioButton",
8943
+ "fieldName": "error"
8904
8944
  },
8905
8945
  {
8906
- "name": "required",
8946
+ "name": "readOnly",
8907
8947
  "type": {
8908
- "text": "boolean"
8948
+ "text": "boolean | undefined"
8909
8949
  },
8910
- "default": "false",
8911
- "description": "Specify if input is a required",
8912
- "fieldName": "required"
8950
+ "description": "Specify if RadioButton displays in a read-only state",
8951
+ "fieldName": "readOnly"
8913
8952
  },
8914
8953
  {
8915
8954
  "name": "disabled",
8916
8955
  "type": {
8917
- "text": "boolean"
8956
+ "text": "boolean | undefined"
8918
8957
  },
8919
- "default": "false",
8920
- "description": "Specify if input is a disabled",
8958
+ "description": "Specify if RadioButton displays in a disabled state",
8921
8959
  "fieldName": "disabled"
8922
8960
  },
8923
8961
  {
8924
- "name": "readOnly",
8925
- "type": {
8926
- "text": "boolean"
8927
- },
8928
- "default": "false",
8929
- "description": "Specify if input is a read only",
8930
- "fieldName": "readOnly"
8931
- },
8932
- {
8933
- "name": "action",
8962
+ "name": "theme",
8934
8963
  "type": {
8935
- "text": "string | undefined"
8964
+ "text": "'light' | 'dark' | undefined"
8936
8965
  },
8937
- "fieldName": "action"
8966
+ "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
8967
+ "fieldName": "theme"
8938
8968
  },
8939
8969
  {
8940
- "name": "method",
8970
+ "name": "value",
8941
8971
  "type": {
8942
8972
  "text": "string | undefined"
8943
8973
  },
8944
- "fieldName": "method"
8974
+ "description": "The value attribute for the input element",
8975
+ "fieldName": "value"
8945
8976
  },
8946
8977
  {
8947
- "name": "target",
8978
+ "name": "checked",
8948
8979
  "type": {
8949
- "text": "string | undefined"
8980
+ "text": "boolean"
8950
8981
  },
8951
- "fieldName": "target"
8982
+ "default": "false",
8983
+ "description": "The checked attribute for the input element",
8984
+ "fieldName": "checked"
8952
8985
  },
8953
8986
  {
8954
- "name": "enctype",
8987
+ "name": "onKeyDown",
8955
8988
  "type": {
8956
- "text": "string | undefined"
8989
+ "text": "(event: KeyboardEvent) => void | undefined"
8957
8990
  },
8958
- "fieldName": "enctype"
8991
+ "description": "A user-defined function to handle keydown events",
8992
+ "fieldName": "onKeyDown"
8959
8993
  }
8960
8994
  ],
8961
8995
  "superclass": {
8962
8996
  "name": "LitElement",
8963
8997
  "package": "lit"
8964
8998
  },
8965
- "summary": "`bm-form`",
8966
- "tagName": "bm-form",
8999
+ "tagName": "bm-radio-button",
8967
9000
  "customElement": true
8968
9001
  }
8969
9002
  ],
8970
9003
  "exports": [
8971
9004
  {
8972
9005
  "kind": "js",
8973
- "name": "validators",
8974
- "declaration": {
8975
- "name": "validators",
8976
- "package": "@viasat/beam-shared/components/form"
8977
- }
8978
- },
8979
- {
8980
- "kind": "js",
8981
- "name": "BmForm",
9006
+ "name": "BmRadioButton",
8982
9007
  "declaration": {
8983
- "name": "BmForm",
8984
- "module": "libs/web-components/src/lib/wip/Form/Form.ts"
9008
+ "name": "BmRadioButton",
9009
+ "module": "libs/web-components/src/lib/wip/RadioButton/RadioButton.ts"
8985
9010
  }
8986
9011
  },
8987
9012
  {
8988
9013
  "kind": "custom-element-definition",
8989
- "name": "bm-form",
8990
- "declaration": {
8991
- "name": "BmForm",
8992
- "module": "libs/web-components/src/lib/wip/Form/Form.ts"
8993
- }
8994
- }
8995
- ]
8996
- },
8997
- {
8998
- "kind": "javascript-module",
8999
- "path": "libs/web-components/src/lib/wip/Form/Form.utils.ts",
9000
- "declarations": [
9001
- {
9002
- "kind": "function",
9003
- "name": "createId",
9004
- "return": {
9005
- "type": {
9006
- "text": "string"
9007
- }
9008
- }
9009
- }
9010
- ],
9011
- "exports": [
9012
- {
9013
- "kind": "js",
9014
- "name": "createId",
9014
+ "name": "bm-radio-button",
9015
9015
  "declaration": {
9016
- "name": "createId",
9017
- "module": "libs/web-components/src/lib/wip/Form/Form.utils.ts"
9016
+ "name": "BmRadioButton",
9017
+ "module": "libs/web-components/src/lib/wip/RadioButton/RadioButton.ts"
9018
9018
  }
9019
9019
  }
9020
9020
  ]
9021
9021
  },
9022
9022
  {
9023
9023
  "kind": "javascript-module",
9024
- "path": "libs/web-components/src/lib/wip/Form/index.ts",
9024
+ "path": "libs/web-components/src/lib/wip/RadioButton/index.ts",
9025
9025
  "declarations": [],
9026
9026
  "exports": [
9027
9027
  {
@@ -9029,7 +9029,7 @@
9029
9029
  "name": "*",
9030
9030
  "declaration": {
9031
9031
  "name": "*",
9032
- "package": "./Form"
9032
+ "package": "./RadioButton"
9033
9033
  }
9034
9034
  },
9035
9035
  {
@@ -9037,7 +9037,7 @@
9037
9037
  "name": "*",
9038
9038
  "declaration": {
9039
9039
  "name": "*",
9040
- "package": "./Form.decorator"
9040
+ "package": "./RadioButtonGroup/RadioButtonGroup"
9041
9041
  }
9042
9042
  }
9043
9043
  ]